[src/erc32] Use ncurses instead of termcap on Cygwin too
[binutils-gdb.git] / sim / frv / model.c
blob1717377e05319ebd655fca7d445d8b03d91c6db0
1 /* Simulator model support for frvbf.
3 THIS FILE IS MACHINE GENERATED WITH CGEN.
5 Copyright 1996-2018 Free Software Foundation, Inc.
7 This file is part of the GNU simulators.
9 This file is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3, or (at your option)
12 any later version.
14 It is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
17 License for more details.
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, see <http://www.gnu.org/licenses/>.
24 #define WANT_CPU frvbf
25 #define WANT_CPU_FRVBF
27 #include "sim-main.h"
29 /* The profiling data is recorded here, but is accessed via the profiling
30 mechanism. After all, this is information for profiling. */
32 #if WITH_PROFILE_MODEL_P
34 /* Model handlers for each insn. */
36 static int
37 model_frv_add (SIM_CPU *current_cpu, void *sem_arg)
39 #define FLD(f) abuf->fields.sfmt_addcc.f
40 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41 const IDESC * UNUSED idesc = abuf->idesc;
42 int cycles = 0;
44 int referenced = 0;
45 int UNUSED insn_referenced = abuf->written;
46 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
48 return cycles;
49 #undef FLD
52 static int
53 model_frv_sub (SIM_CPU *current_cpu, void *sem_arg)
55 #define FLD(f) abuf->fields.sfmt_addcc.f
56 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57 const IDESC * UNUSED idesc = abuf->idesc;
58 int cycles = 0;
60 int referenced = 0;
61 int UNUSED insn_referenced = abuf->written;
62 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
64 return cycles;
65 #undef FLD
68 static int
69 model_frv_and (SIM_CPU *current_cpu, void *sem_arg)
71 #define FLD(f) abuf->fields.sfmt_addcc.f
72 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73 const IDESC * UNUSED idesc = abuf->idesc;
74 int cycles = 0;
76 int referenced = 0;
77 int UNUSED insn_referenced = abuf->written;
78 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
80 return cycles;
81 #undef FLD
84 static int
85 model_frv_or (SIM_CPU *current_cpu, void *sem_arg)
87 #define FLD(f) abuf->fields.sfmt_addcc.f
88 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89 const IDESC * UNUSED idesc = abuf->idesc;
90 int cycles = 0;
92 int referenced = 0;
93 int UNUSED insn_referenced = abuf->written;
94 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
96 return cycles;
97 #undef FLD
100 static int
101 model_frv_xor (SIM_CPU *current_cpu, void *sem_arg)
103 #define FLD(f) abuf->fields.sfmt_addcc.f
104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
105 const IDESC * UNUSED idesc = abuf->idesc;
106 int cycles = 0;
108 int referenced = 0;
109 int UNUSED insn_referenced = abuf->written;
110 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
112 return cycles;
113 #undef FLD
116 static int
117 model_frv_not (SIM_CPU *current_cpu, void *sem_arg)
119 #define FLD(f) abuf->fields.sfmt_scutss.f
120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
121 const IDESC * UNUSED idesc = abuf->idesc;
122 int cycles = 0;
124 int referenced = 0;
125 int UNUSED insn_referenced = abuf->written;
126 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
128 return cycles;
129 #undef FLD
132 static int
133 model_frv_sdiv (SIM_CPU *current_cpu, void *sem_arg)
135 #define FLD(f) abuf->fields.sfmt_addcc.f
136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
137 const IDESC * UNUSED idesc = abuf->idesc;
138 int cycles = 0;
140 int referenced = 0;
141 int UNUSED insn_referenced = abuf->written;
142 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
144 return cycles;
145 #undef FLD
148 static int
149 model_frv_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
151 #define FLD(f) abuf->fields.sfmt_addcc.f
152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
153 const IDESC * UNUSED idesc = abuf->idesc;
154 int cycles = 0;
156 int referenced = 0;
157 int UNUSED insn_referenced = abuf->written;
158 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
160 return cycles;
161 #undef FLD
164 static int
165 model_frv_udiv (SIM_CPU *current_cpu, void *sem_arg)
167 #define FLD(f) abuf->fields.sfmt_addcc.f
168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
169 const IDESC * UNUSED idesc = abuf->idesc;
170 int cycles = 0;
172 int referenced = 0;
173 int UNUSED insn_referenced = abuf->written;
174 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
176 return cycles;
177 #undef FLD
180 static int
181 model_frv_nudiv (SIM_CPU *current_cpu, void *sem_arg)
183 #define FLD(f) abuf->fields.sfmt_addcc.f
184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
185 const IDESC * UNUSED idesc = abuf->idesc;
186 int cycles = 0;
188 int referenced = 0;
189 int UNUSED insn_referenced = abuf->written;
190 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
192 return cycles;
193 #undef FLD
196 static int
197 model_frv_smul (SIM_CPU *current_cpu, void *sem_arg)
199 #define FLD(f) abuf->fields.sfmt_smulcc.f
200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
201 const IDESC * UNUSED idesc = abuf->idesc;
202 int cycles = 0;
204 int referenced = 0;
205 int UNUSED insn_referenced = abuf->written;
206 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
208 return cycles;
209 #undef FLD
212 static int
213 model_frv_umul (SIM_CPU *current_cpu, void *sem_arg)
215 #define FLD(f) abuf->fields.sfmt_smulcc.f
216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
217 const IDESC * UNUSED idesc = abuf->idesc;
218 int cycles = 0;
220 int referenced = 0;
221 int UNUSED insn_referenced = abuf->written;
222 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
224 return cycles;
225 #undef FLD
228 static int
229 model_frv_smu (SIM_CPU *current_cpu, void *sem_arg)
231 #define FLD(f) abuf->fields.sfmt_smass.f
232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
233 const IDESC * UNUSED idesc = abuf->idesc;
234 int cycles = 0;
236 int referenced = 0;
237 int UNUSED insn_referenced = abuf->written;
238 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
240 return cycles;
241 #undef FLD
244 static int
245 model_frv_smass (SIM_CPU *current_cpu, void *sem_arg)
247 #define FLD(f) abuf->fields.sfmt_smass.f
248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
249 const IDESC * UNUSED idesc = abuf->idesc;
250 int cycles = 0;
252 int referenced = 0;
253 int UNUSED insn_referenced = abuf->written;
254 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
256 return cycles;
257 #undef FLD
260 static int
261 model_frv_smsss (SIM_CPU *current_cpu, void *sem_arg)
263 #define FLD(f) abuf->fields.sfmt_smass.f
264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
265 const IDESC * UNUSED idesc = abuf->idesc;
266 int cycles = 0;
268 int referenced = 0;
269 int UNUSED insn_referenced = abuf->written;
270 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
272 return cycles;
273 #undef FLD
276 static int
277 model_frv_sll (SIM_CPU *current_cpu, void *sem_arg)
279 #define FLD(f) abuf->fields.sfmt_addcc.f
280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
281 const IDESC * UNUSED idesc = abuf->idesc;
282 int cycles = 0;
284 int referenced = 0;
285 int UNUSED insn_referenced = abuf->written;
286 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
288 return cycles;
289 #undef FLD
292 static int
293 model_frv_srl (SIM_CPU *current_cpu, void *sem_arg)
295 #define FLD(f) abuf->fields.sfmt_addcc.f
296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
297 const IDESC * UNUSED idesc = abuf->idesc;
298 int cycles = 0;
300 int referenced = 0;
301 int UNUSED insn_referenced = abuf->written;
302 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
304 return cycles;
305 #undef FLD
308 static int
309 model_frv_sra (SIM_CPU *current_cpu, void *sem_arg)
311 #define FLD(f) abuf->fields.sfmt_addcc.f
312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
313 const IDESC * UNUSED idesc = abuf->idesc;
314 int cycles = 0;
316 int referenced = 0;
317 int UNUSED insn_referenced = abuf->written;
318 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
320 return cycles;
321 #undef FLD
324 static int
325 model_frv_slass (SIM_CPU *current_cpu, void *sem_arg)
327 #define FLD(f) abuf->fields.sfmt_addcc.f
328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
329 const IDESC * UNUSED idesc = abuf->idesc;
330 int cycles = 0;
332 int referenced = 0;
333 int UNUSED insn_referenced = abuf->written;
334 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
336 return cycles;
337 #undef FLD
340 static int
341 model_frv_scutss (SIM_CPU *current_cpu, void *sem_arg)
343 #define FLD(f) abuf->fields.sfmt_scutss.f
344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
345 const IDESC * UNUSED idesc = abuf->idesc;
346 int cycles = 0;
348 int referenced = 0;
349 int UNUSED insn_referenced = abuf->written;
350 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
352 return cycles;
353 #undef FLD
356 static int
357 model_frv_scan (SIM_CPU *current_cpu, void *sem_arg)
359 #define FLD(f) abuf->fields.sfmt_addcc.f
360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
361 const IDESC * UNUSED idesc = abuf->idesc;
362 int cycles = 0;
364 int referenced = 0;
365 int UNUSED insn_referenced = abuf->written;
366 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
368 return cycles;
369 #undef FLD
372 static int
373 model_frv_cadd (SIM_CPU *current_cpu, void *sem_arg)
375 #define FLD(f) abuf->fields.sfmt_cswap.f
376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
377 const IDESC * UNUSED idesc = abuf->idesc;
378 int cycles = 0;
380 int referenced = 0;
381 int UNUSED insn_referenced = abuf->written;
382 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
384 return cycles;
385 #undef FLD
388 static int
389 model_frv_csub (SIM_CPU *current_cpu, void *sem_arg)
391 #define FLD(f) abuf->fields.sfmt_cswap.f
392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
393 const IDESC * UNUSED idesc = abuf->idesc;
394 int cycles = 0;
396 int referenced = 0;
397 int UNUSED insn_referenced = abuf->written;
398 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
400 return cycles;
401 #undef FLD
404 static int
405 model_frv_cand (SIM_CPU *current_cpu, void *sem_arg)
407 #define FLD(f) abuf->fields.sfmt_cswap.f
408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
409 const IDESC * UNUSED idesc = abuf->idesc;
410 int cycles = 0;
412 int referenced = 0;
413 int UNUSED insn_referenced = abuf->written;
414 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
416 return cycles;
417 #undef FLD
420 static int
421 model_frv_cor (SIM_CPU *current_cpu, void *sem_arg)
423 #define FLD(f) abuf->fields.sfmt_cswap.f
424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
425 const IDESC * UNUSED idesc = abuf->idesc;
426 int cycles = 0;
428 int referenced = 0;
429 int UNUSED insn_referenced = abuf->written;
430 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
432 return cycles;
433 #undef FLD
436 static int
437 model_frv_cxor (SIM_CPU *current_cpu, void *sem_arg)
439 #define FLD(f) abuf->fields.sfmt_cswap.f
440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
441 const IDESC * UNUSED idesc = abuf->idesc;
442 int cycles = 0;
444 int referenced = 0;
445 int UNUSED insn_referenced = abuf->written;
446 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
448 return cycles;
449 #undef FLD
452 static int
453 model_frv_cnot (SIM_CPU *current_cpu, void *sem_arg)
455 #define FLD(f) abuf->fields.sfmt_cswap.f
456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
457 const IDESC * UNUSED idesc = abuf->idesc;
458 int cycles = 0;
460 int referenced = 0;
461 int UNUSED insn_referenced = abuf->written;
462 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
464 return cycles;
465 #undef FLD
468 static int
469 model_frv_csmul (SIM_CPU *current_cpu, void *sem_arg)
471 #define FLD(f) abuf->fields.sfmt_clddu.f
472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
473 const IDESC * UNUSED idesc = abuf->idesc;
474 int cycles = 0;
476 int referenced = 0;
477 int UNUSED insn_referenced = abuf->written;
478 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
480 return cycles;
481 #undef FLD
484 static int
485 model_frv_csdiv (SIM_CPU *current_cpu, void *sem_arg)
487 #define FLD(f) abuf->fields.sfmt_cswap.f
488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
489 const IDESC * UNUSED idesc = abuf->idesc;
490 int cycles = 0;
492 int referenced = 0;
493 int UNUSED insn_referenced = abuf->written;
494 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
496 return cycles;
497 #undef FLD
500 static int
501 model_frv_cudiv (SIM_CPU *current_cpu, void *sem_arg)
503 #define FLD(f) abuf->fields.sfmt_cswap.f
504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
505 const IDESC * UNUSED idesc = abuf->idesc;
506 int cycles = 0;
508 int referenced = 0;
509 int UNUSED insn_referenced = abuf->written;
510 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
512 return cycles;
513 #undef FLD
516 static int
517 model_frv_csll (SIM_CPU *current_cpu, void *sem_arg)
519 #define FLD(f) abuf->fields.sfmt_cswap.f
520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
521 const IDESC * UNUSED idesc = abuf->idesc;
522 int cycles = 0;
524 int referenced = 0;
525 int UNUSED insn_referenced = abuf->written;
526 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
528 return cycles;
529 #undef FLD
532 static int
533 model_frv_csrl (SIM_CPU *current_cpu, void *sem_arg)
535 #define FLD(f) abuf->fields.sfmt_cswap.f
536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
537 const IDESC * UNUSED idesc = abuf->idesc;
538 int cycles = 0;
540 int referenced = 0;
541 int UNUSED insn_referenced = abuf->written;
542 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
544 return cycles;
545 #undef FLD
548 static int
549 model_frv_csra (SIM_CPU *current_cpu, void *sem_arg)
551 #define FLD(f) abuf->fields.sfmt_cswap.f
552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
553 const IDESC * UNUSED idesc = abuf->idesc;
554 int cycles = 0;
556 int referenced = 0;
557 int UNUSED insn_referenced = abuf->written;
558 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
560 return cycles;
561 #undef FLD
564 static int
565 model_frv_cscan (SIM_CPU *current_cpu, void *sem_arg)
567 #define FLD(f) abuf->fields.sfmt_cswap.f
568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
569 const IDESC * UNUSED idesc = abuf->idesc;
570 int cycles = 0;
572 int referenced = 0;
573 int UNUSED insn_referenced = abuf->written;
574 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
576 return cycles;
577 #undef FLD
580 static int
581 model_frv_addcc (SIM_CPU *current_cpu, void *sem_arg)
583 #define FLD(f) abuf->fields.sfmt_addcc.f
584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
585 const IDESC * UNUSED idesc = abuf->idesc;
586 int cycles = 0;
588 int referenced = 0;
589 int UNUSED insn_referenced = abuf->written;
590 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
592 return cycles;
593 #undef FLD
596 static int
597 model_frv_subcc (SIM_CPU *current_cpu, void *sem_arg)
599 #define FLD(f) abuf->fields.sfmt_addcc.f
600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
601 const IDESC * UNUSED idesc = abuf->idesc;
602 int cycles = 0;
604 int referenced = 0;
605 int UNUSED insn_referenced = abuf->written;
606 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
608 return cycles;
609 #undef FLD
612 static int
613 model_frv_andcc (SIM_CPU *current_cpu, void *sem_arg)
615 #define FLD(f) abuf->fields.sfmt_addcc.f
616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
617 const IDESC * UNUSED idesc = abuf->idesc;
618 int cycles = 0;
620 int referenced = 0;
621 int UNUSED insn_referenced = abuf->written;
622 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
624 return cycles;
625 #undef FLD
628 static int
629 model_frv_orcc (SIM_CPU *current_cpu, void *sem_arg)
631 #define FLD(f) abuf->fields.sfmt_addcc.f
632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
633 const IDESC * UNUSED idesc = abuf->idesc;
634 int cycles = 0;
636 int referenced = 0;
637 int UNUSED insn_referenced = abuf->written;
638 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
640 return cycles;
641 #undef FLD
644 static int
645 model_frv_xorcc (SIM_CPU *current_cpu, void *sem_arg)
647 #define FLD(f) abuf->fields.sfmt_addcc.f
648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
649 const IDESC * UNUSED idesc = abuf->idesc;
650 int cycles = 0;
652 int referenced = 0;
653 int UNUSED insn_referenced = abuf->written;
654 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
656 return cycles;
657 #undef FLD
660 static int
661 model_frv_sllcc (SIM_CPU *current_cpu, void *sem_arg)
663 #define FLD(f) abuf->fields.sfmt_addcc.f
664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
665 const IDESC * UNUSED idesc = abuf->idesc;
666 int cycles = 0;
668 int referenced = 0;
669 int UNUSED insn_referenced = abuf->written;
670 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
672 return cycles;
673 #undef FLD
676 static int
677 model_frv_srlcc (SIM_CPU *current_cpu, void *sem_arg)
679 #define FLD(f) abuf->fields.sfmt_addcc.f
680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
681 const IDESC * UNUSED idesc = abuf->idesc;
682 int cycles = 0;
684 int referenced = 0;
685 int UNUSED insn_referenced = abuf->written;
686 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
688 return cycles;
689 #undef FLD
692 static int
693 model_frv_sracc (SIM_CPU *current_cpu, void *sem_arg)
695 #define FLD(f) abuf->fields.sfmt_addcc.f
696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
697 const IDESC * UNUSED idesc = abuf->idesc;
698 int cycles = 0;
700 int referenced = 0;
701 int UNUSED insn_referenced = abuf->written;
702 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
704 return cycles;
705 #undef FLD
708 static int
709 model_frv_smulcc (SIM_CPU *current_cpu, void *sem_arg)
711 #define FLD(f) abuf->fields.sfmt_smulcc.f
712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
713 const IDESC * UNUSED idesc = abuf->idesc;
714 int cycles = 0;
716 int referenced = 0;
717 int UNUSED insn_referenced = abuf->written;
718 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
720 return cycles;
721 #undef FLD
724 static int
725 model_frv_umulcc (SIM_CPU *current_cpu, void *sem_arg)
727 #define FLD(f) abuf->fields.sfmt_smulcc.f
728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
729 const IDESC * UNUSED idesc = abuf->idesc;
730 int cycles = 0;
732 int referenced = 0;
733 int UNUSED insn_referenced = abuf->written;
734 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
736 return cycles;
737 #undef FLD
740 static int
741 model_frv_caddcc (SIM_CPU *current_cpu, void *sem_arg)
743 #define FLD(f) abuf->fields.sfmt_caddcc.f
744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
745 const IDESC * UNUSED idesc = abuf->idesc;
746 int cycles = 0;
748 int referenced = 0;
749 int UNUSED insn_referenced = abuf->written;
750 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
752 return cycles;
753 #undef FLD
756 static int
757 model_frv_csubcc (SIM_CPU *current_cpu, void *sem_arg)
759 #define FLD(f) abuf->fields.sfmt_caddcc.f
760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
761 const IDESC * UNUSED idesc = abuf->idesc;
762 int cycles = 0;
764 int referenced = 0;
765 int UNUSED insn_referenced = abuf->written;
766 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
768 return cycles;
769 #undef FLD
772 static int
773 model_frv_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
775 #define FLD(f) abuf->fields.sfmt_csmulcc.f
776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
777 const IDESC * UNUSED idesc = abuf->idesc;
778 int cycles = 0;
780 int referenced = 0;
781 int UNUSED insn_referenced = abuf->written;
782 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
784 return cycles;
785 #undef FLD
788 static int
789 model_frv_candcc (SIM_CPU *current_cpu, void *sem_arg)
791 #define FLD(f) abuf->fields.sfmt_caddcc.f
792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
793 const IDESC * UNUSED idesc = abuf->idesc;
794 int cycles = 0;
796 int referenced = 0;
797 int UNUSED insn_referenced = abuf->written;
798 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
800 return cycles;
801 #undef FLD
804 static int
805 model_frv_corcc (SIM_CPU *current_cpu, void *sem_arg)
807 #define FLD(f) abuf->fields.sfmt_caddcc.f
808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
809 const IDESC * UNUSED idesc = abuf->idesc;
810 int cycles = 0;
812 int referenced = 0;
813 int UNUSED insn_referenced = abuf->written;
814 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
816 return cycles;
817 #undef FLD
820 static int
821 model_frv_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
823 #define FLD(f) abuf->fields.sfmt_caddcc.f
824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
825 const IDESC * UNUSED idesc = abuf->idesc;
826 int cycles = 0;
828 int referenced = 0;
829 int UNUSED insn_referenced = abuf->written;
830 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
832 return cycles;
833 #undef FLD
836 static int
837 model_frv_csllcc (SIM_CPU *current_cpu, void *sem_arg)
839 #define FLD(f) abuf->fields.sfmt_caddcc.f
840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
841 const IDESC * UNUSED idesc = abuf->idesc;
842 int cycles = 0;
844 int referenced = 0;
845 int UNUSED insn_referenced = abuf->written;
846 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
848 return cycles;
849 #undef FLD
852 static int
853 model_frv_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
855 #define FLD(f) abuf->fields.sfmt_caddcc.f
856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
857 const IDESC * UNUSED idesc = abuf->idesc;
858 int cycles = 0;
860 int referenced = 0;
861 int UNUSED insn_referenced = abuf->written;
862 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
864 return cycles;
865 #undef FLD
868 static int
869 model_frv_csracc (SIM_CPU *current_cpu, void *sem_arg)
871 #define FLD(f) abuf->fields.sfmt_caddcc.f
872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
873 const IDESC * UNUSED idesc = abuf->idesc;
874 int cycles = 0;
876 int referenced = 0;
877 int UNUSED insn_referenced = abuf->written;
878 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
880 return cycles;
881 #undef FLD
884 static int
885 model_frv_addx (SIM_CPU *current_cpu, void *sem_arg)
887 #define FLD(f) abuf->fields.sfmt_addcc.f
888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
889 const IDESC * UNUSED idesc = abuf->idesc;
890 int cycles = 0;
892 int referenced = 0;
893 int UNUSED insn_referenced = abuf->written;
894 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
896 return cycles;
897 #undef FLD
900 static int
901 model_frv_subx (SIM_CPU *current_cpu, void *sem_arg)
903 #define FLD(f) abuf->fields.sfmt_addcc.f
904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
905 const IDESC * UNUSED idesc = abuf->idesc;
906 int cycles = 0;
908 int referenced = 0;
909 int UNUSED insn_referenced = abuf->written;
910 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
912 return cycles;
913 #undef FLD
916 static int
917 model_frv_addxcc (SIM_CPU *current_cpu, void *sem_arg)
919 #define FLD(f) abuf->fields.sfmt_addcc.f
920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
921 const IDESC * UNUSED idesc = abuf->idesc;
922 int cycles = 0;
924 int referenced = 0;
925 int UNUSED insn_referenced = abuf->written;
926 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
928 return cycles;
929 #undef FLD
932 static int
933 model_frv_subxcc (SIM_CPU *current_cpu, void *sem_arg)
935 #define FLD(f) abuf->fields.sfmt_addcc.f
936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
937 const IDESC * UNUSED idesc = abuf->idesc;
938 int cycles = 0;
940 int referenced = 0;
941 int UNUSED insn_referenced = abuf->written;
942 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
944 return cycles;
945 #undef FLD
948 static int
949 model_frv_addss (SIM_CPU *current_cpu, void *sem_arg)
951 #define FLD(f) abuf->fields.sfmt_addcc.f
952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
953 const IDESC * UNUSED idesc = abuf->idesc;
954 int cycles = 0;
956 int referenced = 0;
957 int UNUSED insn_referenced = abuf->written;
958 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
960 return cycles;
961 #undef FLD
964 static int
965 model_frv_subss (SIM_CPU *current_cpu, void *sem_arg)
967 #define FLD(f) abuf->fields.sfmt_addcc.f
968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
969 const IDESC * UNUSED idesc = abuf->idesc;
970 int cycles = 0;
972 int referenced = 0;
973 int UNUSED insn_referenced = abuf->written;
974 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
976 return cycles;
977 #undef FLD
980 static int
981 model_frv_addi (SIM_CPU *current_cpu, void *sem_arg)
983 #define FLD(f) abuf->fields.sfmt_swapi.f
984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
985 const IDESC * UNUSED idesc = abuf->idesc;
986 int cycles = 0;
988 int referenced = 0;
989 int UNUSED insn_referenced = abuf->written;
990 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
992 return cycles;
993 #undef FLD
996 static int
997 model_frv_subi (SIM_CPU *current_cpu, void *sem_arg)
999 #define FLD(f) abuf->fields.sfmt_swapi.f
1000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1001 const IDESC * UNUSED idesc = abuf->idesc;
1002 int cycles = 0;
1004 int referenced = 0;
1005 int UNUSED insn_referenced = abuf->written;
1006 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1008 return cycles;
1009 #undef FLD
1012 static int
1013 model_frv_andi (SIM_CPU *current_cpu, void *sem_arg)
1015 #define FLD(f) abuf->fields.sfmt_swapi.f
1016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1017 const IDESC * UNUSED idesc = abuf->idesc;
1018 int cycles = 0;
1020 int referenced = 0;
1021 int UNUSED insn_referenced = abuf->written;
1022 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1024 return cycles;
1025 #undef FLD
1028 static int
1029 model_frv_ori (SIM_CPU *current_cpu, void *sem_arg)
1031 #define FLD(f) abuf->fields.sfmt_swapi.f
1032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1033 const IDESC * UNUSED idesc = abuf->idesc;
1034 int cycles = 0;
1036 int referenced = 0;
1037 int UNUSED insn_referenced = abuf->written;
1038 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1040 return cycles;
1041 #undef FLD
1044 static int
1045 model_frv_xori (SIM_CPU *current_cpu, void *sem_arg)
1047 #define FLD(f) abuf->fields.sfmt_swapi.f
1048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1049 const IDESC * UNUSED idesc = abuf->idesc;
1050 int cycles = 0;
1052 int referenced = 0;
1053 int UNUSED insn_referenced = abuf->written;
1054 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1056 return cycles;
1057 #undef FLD
1060 static int
1061 model_frv_sdivi (SIM_CPU *current_cpu, void *sem_arg)
1063 #define FLD(f) abuf->fields.sfmt_swapi.f
1064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1065 const IDESC * UNUSED idesc = abuf->idesc;
1066 int cycles = 0;
1068 int referenced = 0;
1069 int UNUSED insn_referenced = abuf->written;
1070 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1072 return cycles;
1073 #undef FLD
1076 static int
1077 model_frv_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
1079 #define FLD(f) abuf->fields.sfmt_swapi.f
1080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1081 const IDESC * UNUSED idesc = abuf->idesc;
1082 int cycles = 0;
1084 int referenced = 0;
1085 int UNUSED insn_referenced = abuf->written;
1086 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1088 return cycles;
1089 #undef FLD
1092 static int
1093 model_frv_udivi (SIM_CPU *current_cpu, void *sem_arg)
1095 #define FLD(f) abuf->fields.sfmt_swapi.f
1096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1097 const IDESC * UNUSED idesc = abuf->idesc;
1098 int cycles = 0;
1100 int referenced = 0;
1101 int UNUSED insn_referenced = abuf->written;
1102 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1104 return cycles;
1105 #undef FLD
1108 static int
1109 model_frv_nudivi (SIM_CPU *current_cpu, void *sem_arg)
1111 #define FLD(f) abuf->fields.sfmt_swapi.f
1112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1113 const IDESC * UNUSED idesc = abuf->idesc;
1114 int cycles = 0;
1116 int referenced = 0;
1117 int UNUSED insn_referenced = abuf->written;
1118 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1120 return cycles;
1121 #undef FLD
1124 static int
1125 model_frv_smuli (SIM_CPU *current_cpu, void *sem_arg)
1127 #define FLD(f) abuf->fields.sfmt_smuli.f
1128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1129 const IDESC * UNUSED idesc = abuf->idesc;
1130 int cycles = 0;
1132 int referenced = 0;
1133 int UNUSED insn_referenced = abuf->written;
1134 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1136 return cycles;
1137 #undef FLD
1140 static int
1141 model_frv_umuli (SIM_CPU *current_cpu, void *sem_arg)
1143 #define FLD(f) abuf->fields.sfmt_smuli.f
1144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1145 const IDESC * UNUSED idesc = abuf->idesc;
1146 int cycles = 0;
1148 int referenced = 0;
1149 int UNUSED insn_referenced = abuf->written;
1150 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1152 return cycles;
1153 #undef FLD
1156 static int
1157 model_frv_slli (SIM_CPU *current_cpu, void *sem_arg)
1159 #define FLD(f) abuf->fields.sfmt_swapi.f
1160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1161 const IDESC * UNUSED idesc = abuf->idesc;
1162 int cycles = 0;
1164 int referenced = 0;
1165 int UNUSED insn_referenced = abuf->written;
1166 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1168 return cycles;
1169 #undef FLD
1172 static int
1173 model_frv_srli (SIM_CPU *current_cpu, void *sem_arg)
1175 #define FLD(f) abuf->fields.sfmt_swapi.f
1176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1177 const IDESC * UNUSED idesc = abuf->idesc;
1178 int cycles = 0;
1180 int referenced = 0;
1181 int UNUSED insn_referenced = abuf->written;
1182 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1184 return cycles;
1185 #undef FLD
1188 static int
1189 model_frv_srai (SIM_CPU *current_cpu, void *sem_arg)
1191 #define FLD(f) abuf->fields.sfmt_swapi.f
1192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1193 const IDESC * UNUSED idesc = abuf->idesc;
1194 int cycles = 0;
1196 int referenced = 0;
1197 int UNUSED insn_referenced = abuf->written;
1198 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1200 return cycles;
1201 #undef FLD
1204 static int
1205 model_frv_scani (SIM_CPU *current_cpu, void *sem_arg)
1207 #define FLD(f) abuf->fields.sfmt_swapi.f
1208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1209 const IDESC * UNUSED idesc = abuf->idesc;
1210 int cycles = 0;
1212 int referenced = 0;
1213 int UNUSED insn_referenced = abuf->written;
1214 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1216 return cycles;
1217 #undef FLD
1220 static int
1221 model_frv_addicc (SIM_CPU *current_cpu, void *sem_arg)
1223 #define FLD(f) abuf->fields.sfmt_addicc.f
1224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1225 const IDESC * UNUSED idesc = abuf->idesc;
1226 int cycles = 0;
1228 int referenced = 0;
1229 int UNUSED insn_referenced = abuf->written;
1230 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1232 return cycles;
1233 #undef FLD
1236 static int
1237 model_frv_subicc (SIM_CPU *current_cpu, void *sem_arg)
1239 #define FLD(f) abuf->fields.sfmt_addicc.f
1240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1241 const IDESC * UNUSED idesc = abuf->idesc;
1242 int cycles = 0;
1244 int referenced = 0;
1245 int UNUSED insn_referenced = abuf->written;
1246 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1248 return cycles;
1249 #undef FLD
1252 static int
1253 model_frv_andicc (SIM_CPU *current_cpu, void *sem_arg)
1255 #define FLD(f) abuf->fields.sfmt_addicc.f
1256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1257 const IDESC * UNUSED idesc = abuf->idesc;
1258 int cycles = 0;
1260 int referenced = 0;
1261 int UNUSED insn_referenced = abuf->written;
1262 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1264 return cycles;
1265 #undef FLD
1268 static int
1269 model_frv_oricc (SIM_CPU *current_cpu, void *sem_arg)
1271 #define FLD(f) abuf->fields.sfmt_addicc.f
1272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1273 const IDESC * UNUSED idesc = abuf->idesc;
1274 int cycles = 0;
1276 int referenced = 0;
1277 int UNUSED insn_referenced = abuf->written;
1278 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1280 return cycles;
1281 #undef FLD
1284 static int
1285 model_frv_xoricc (SIM_CPU *current_cpu, void *sem_arg)
1287 #define FLD(f) abuf->fields.sfmt_addicc.f
1288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1289 const IDESC * UNUSED idesc = abuf->idesc;
1290 int cycles = 0;
1292 int referenced = 0;
1293 int UNUSED insn_referenced = abuf->written;
1294 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1296 return cycles;
1297 #undef FLD
1300 static int
1301 model_frv_smulicc (SIM_CPU *current_cpu, void *sem_arg)
1303 #define FLD(f) abuf->fields.sfmt_smulicc.f
1304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1305 const IDESC * UNUSED idesc = abuf->idesc;
1306 int cycles = 0;
1308 int referenced = 0;
1309 int UNUSED insn_referenced = abuf->written;
1310 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1312 return cycles;
1313 #undef FLD
1316 static int
1317 model_frv_umulicc (SIM_CPU *current_cpu, void *sem_arg)
1319 #define FLD(f) abuf->fields.sfmt_smulicc.f
1320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1321 const IDESC * UNUSED idesc = abuf->idesc;
1322 int cycles = 0;
1324 int referenced = 0;
1325 int UNUSED insn_referenced = abuf->written;
1326 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1328 return cycles;
1329 #undef FLD
1332 static int
1333 model_frv_sllicc (SIM_CPU *current_cpu, void *sem_arg)
1335 #define FLD(f) abuf->fields.sfmt_addicc.f
1336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1337 const IDESC * UNUSED idesc = abuf->idesc;
1338 int cycles = 0;
1340 int referenced = 0;
1341 int UNUSED insn_referenced = abuf->written;
1342 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1344 return cycles;
1345 #undef FLD
1348 static int
1349 model_frv_srlicc (SIM_CPU *current_cpu, void *sem_arg)
1351 #define FLD(f) abuf->fields.sfmt_addicc.f
1352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1353 const IDESC * UNUSED idesc = abuf->idesc;
1354 int cycles = 0;
1356 int referenced = 0;
1357 int UNUSED insn_referenced = abuf->written;
1358 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1360 return cycles;
1361 #undef FLD
1364 static int
1365 model_frv_sraicc (SIM_CPU *current_cpu, void *sem_arg)
1367 #define FLD(f) abuf->fields.sfmt_addicc.f
1368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1369 const IDESC * UNUSED idesc = abuf->idesc;
1370 int cycles = 0;
1372 int referenced = 0;
1373 int UNUSED insn_referenced = abuf->written;
1374 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1376 return cycles;
1377 #undef FLD
1380 static int
1381 model_frv_addxi (SIM_CPU *current_cpu, void *sem_arg)
1383 #define FLD(f) abuf->fields.sfmt_addicc.f
1384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1385 const IDESC * UNUSED idesc = abuf->idesc;
1386 int cycles = 0;
1388 int referenced = 0;
1389 int UNUSED insn_referenced = abuf->written;
1390 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1392 return cycles;
1393 #undef FLD
1396 static int
1397 model_frv_subxi (SIM_CPU *current_cpu, void *sem_arg)
1399 #define FLD(f) abuf->fields.sfmt_addicc.f
1400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1401 const IDESC * UNUSED idesc = abuf->idesc;
1402 int cycles = 0;
1404 int referenced = 0;
1405 int UNUSED insn_referenced = abuf->written;
1406 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1408 return cycles;
1409 #undef FLD
1412 static int
1413 model_frv_addxicc (SIM_CPU *current_cpu, void *sem_arg)
1415 #define FLD(f) abuf->fields.sfmt_addicc.f
1416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1417 const IDESC * UNUSED idesc = abuf->idesc;
1418 int cycles = 0;
1420 int referenced = 0;
1421 int UNUSED insn_referenced = abuf->written;
1422 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1424 return cycles;
1425 #undef FLD
1428 static int
1429 model_frv_subxicc (SIM_CPU *current_cpu, void *sem_arg)
1431 #define FLD(f) abuf->fields.sfmt_addicc.f
1432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1433 const IDESC * UNUSED idesc = abuf->idesc;
1434 int cycles = 0;
1436 int referenced = 0;
1437 int UNUSED insn_referenced = abuf->written;
1438 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1440 return cycles;
1441 #undef FLD
1444 static int
1445 model_frv_cmpb (SIM_CPU *current_cpu, void *sem_arg)
1447 #define FLD(f) abuf->fields.sfmt_smulcc.f
1448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1449 const IDESC * UNUSED idesc = abuf->idesc;
1450 int cycles = 0;
1452 int referenced = 0;
1453 int UNUSED insn_referenced = abuf->written;
1454 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1456 return cycles;
1457 #undef FLD
1460 static int
1461 model_frv_cmpba (SIM_CPU *current_cpu, void *sem_arg)
1463 #define FLD(f) abuf->fields.sfmt_smulcc.f
1464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1465 const IDESC * UNUSED idesc = abuf->idesc;
1466 int cycles = 0;
1468 int referenced = 0;
1469 int UNUSED insn_referenced = abuf->written;
1470 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1472 return cycles;
1473 #undef FLD
1476 static int
1477 model_frv_setlo (SIM_CPU *current_cpu, void *sem_arg)
1479 #define FLD(f) abuf->fields.sfmt_setlo.f
1480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1481 const IDESC * UNUSED idesc = abuf->idesc;
1482 int cycles = 0;
1484 int referenced = 0;
1485 int UNUSED insn_referenced = abuf->written;
1486 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1488 return cycles;
1489 #undef FLD
1492 static int
1493 model_frv_sethi (SIM_CPU *current_cpu, void *sem_arg)
1495 #define FLD(f) abuf->fields.sfmt_sethi.f
1496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1497 const IDESC * UNUSED idesc = abuf->idesc;
1498 int cycles = 0;
1500 int referenced = 0;
1501 int UNUSED insn_referenced = abuf->written;
1502 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1504 return cycles;
1505 #undef FLD
1508 static int
1509 model_frv_setlos (SIM_CPU *current_cpu, void *sem_arg)
1511 #define FLD(f) abuf->fields.sfmt_setlos.f
1512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1513 const IDESC * UNUSED idesc = abuf->idesc;
1514 int cycles = 0;
1516 int referenced = 0;
1517 int UNUSED insn_referenced = abuf->written;
1518 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1520 return cycles;
1521 #undef FLD
1524 static int
1525 model_frv_ldsb (SIM_CPU *current_cpu, void *sem_arg)
1527 #define FLD(f) abuf->fields.sfmt_addcc.f
1528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1529 const IDESC * UNUSED idesc = abuf->idesc;
1530 int cycles = 0;
1532 int referenced = 0;
1533 int UNUSED insn_referenced = abuf->written;
1534 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1536 return cycles;
1537 #undef FLD
1540 static int
1541 model_frv_ldub (SIM_CPU *current_cpu, void *sem_arg)
1543 #define FLD(f) abuf->fields.sfmt_addcc.f
1544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1545 const IDESC * UNUSED idesc = abuf->idesc;
1546 int cycles = 0;
1548 int referenced = 0;
1549 int UNUSED insn_referenced = abuf->written;
1550 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1552 return cycles;
1553 #undef FLD
1556 static int
1557 model_frv_ldsh (SIM_CPU *current_cpu, void *sem_arg)
1559 #define FLD(f) abuf->fields.sfmt_addcc.f
1560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1561 const IDESC * UNUSED idesc = abuf->idesc;
1562 int cycles = 0;
1564 int referenced = 0;
1565 int UNUSED insn_referenced = abuf->written;
1566 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1568 return cycles;
1569 #undef FLD
1572 static int
1573 model_frv_lduh (SIM_CPU *current_cpu, void *sem_arg)
1575 #define FLD(f) abuf->fields.sfmt_addcc.f
1576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1577 const IDESC * UNUSED idesc = abuf->idesc;
1578 int cycles = 0;
1580 int referenced = 0;
1581 int UNUSED insn_referenced = abuf->written;
1582 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1584 return cycles;
1585 #undef FLD
1588 static int
1589 model_frv_ld (SIM_CPU *current_cpu, void *sem_arg)
1591 #define FLD(f) abuf->fields.sfmt_addcc.f
1592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1593 const IDESC * UNUSED idesc = abuf->idesc;
1594 int cycles = 0;
1596 int referenced = 0;
1597 int UNUSED insn_referenced = abuf->written;
1598 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1600 return cycles;
1601 #undef FLD
1604 static int
1605 model_frv_ldbf (SIM_CPU *current_cpu, void *sem_arg)
1607 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1609 const IDESC * UNUSED idesc = abuf->idesc;
1610 int cycles = 0;
1612 int referenced = 0;
1613 int UNUSED insn_referenced = abuf->written;
1614 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1616 return cycles;
1617 #undef FLD
1620 static int
1621 model_frv_ldhf (SIM_CPU *current_cpu, void *sem_arg)
1623 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1625 const IDESC * UNUSED idesc = abuf->idesc;
1626 int cycles = 0;
1628 int referenced = 0;
1629 int UNUSED insn_referenced = abuf->written;
1630 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1632 return cycles;
1633 #undef FLD
1636 static int
1637 model_frv_ldf (SIM_CPU *current_cpu, void *sem_arg)
1639 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1641 const IDESC * UNUSED idesc = abuf->idesc;
1642 int cycles = 0;
1644 int referenced = 0;
1645 int UNUSED insn_referenced = abuf->written;
1646 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1648 return cycles;
1649 #undef FLD
1652 static int
1653 model_frv_ldc (SIM_CPU *current_cpu, void *sem_arg)
1655 #define FLD(f) abuf->fields.sfmt_ldcu.f
1656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1657 const IDESC * UNUSED idesc = abuf->idesc;
1658 int cycles = 0;
1660 int referenced = 0;
1661 int UNUSED insn_referenced = abuf->written;
1662 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1664 return cycles;
1665 #undef FLD
1668 static int
1669 model_frv_nldsb (SIM_CPU *current_cpu, void *sem_arg)
1671 #define FLD(f) abuf->fields.sfmt_addcc.f
1672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1673 const IDESC * UNUSED idesc = abuf->idesc;
1674 int cycles = 0;
1676 int referenced = 0;
1677 int UNUSED insn_referenced = abuf->written;
1678 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1680 return cycles;
1681 #undef FLD
1684 static int
1685 model_frv_nldub (SIM_CPU *current_cpu, void *sem_arg)
1687 #define FLD(f) abuf->fields.sfmt_addcc.f
1688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1689 const IDESC * UNUSED idesc = abuf->idesc;
1690 int cycles = 0;
1692 int referenced = 0;
1693 int UNUSED insn_referenced = abuf->written;
1694 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1696 return cycles;
1697 #undef FLD
1700 static int
1701 model_frv_nldsh (SIM_CPU *current_cpu, void *sem_arg)
1703 #define FLD(f) abuf->fields.sfmt_addcc.f
1704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1705 const IDESC * UNUSED idesc = abuf->idesc;
1706 int cycles = 0;
1708 int referenced = 0;
1709 int UNUSED insn_referenced = abuf->written;
1710 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1712 return cycles;
1713 #undef FLD
1716 static int
1717 model_frv_nlduh (SIM_CPU *current_cpu, void *sem_arg)
1719 #define FLD(f) abuf->fields.sfmt_addcc.f
1720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1721 const IDESC * UNUSED idesc = abuf->idesc;
1722 int cycles = 0;
1724 int referenced = 0;
1725 int UNUSED insn_referenced = abuf->written;
1726 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1728 return cycles;
1729 #undef FLD
1732 static int
1733 model_frv_nld (SIM_CPU *current_cpu, void *sem_arg)
1735 #define FLD(f) abuf->fields.sfmt_addcc.f
1736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1737 const IDESC * UNUSED idesc = abuf->idesc;
1738 int cycles = 0;
1740 int referenced = 0;
1741 int UNUSED insn_referenced = abuf->written;
1742 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1744 return cycles;
1745 #undef FLD
1748 static int
1749 model_frv_nldbf (SIM_CPU *current_cpu, void *sem_arg)
1751 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1753 const IDESC * UNUSED idesc = abuf->idesc;
1754 int cycles = 0;
1756 int referenced = 0;
1757 int UNUSED insn_referenced = abuf->written;
1758 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1760 return cycles;
1761 #undef FLD
1764 static int
1765 model_frv_nldhf (SIM_CPU *current_cpu, void *sem_arg)
1767 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1769 const IDESC * UNUSED idesc = abuf->idesc;
1770 int cycles = 0;
1772 int referenced = 0;
1773 int UNUSED insn_referenced = abuf->written;
1774 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1776 return cycles;
1777 #undef FLD
1780 static int
1781 model_frv_nldf (SIM_CPU *current_cpu, void *sem_arg)
1783 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1785 const IDESC * UNUSED idesc = abuf->idesc;
1786 int cycles = 0;
1788 int referenced = 0;
1789 int UNUSED insn_referenced = abuf->written;
1790 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1792 return cycles;
1793 #undef FLD
1796 static int
1797 model_frv_ldd (SIM_CPU *current_cpu, void *sem_arg)
1799 #define FLD(f) abuf->fields.sfmt_smulcc.f
1800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1801 const IDESC * UNUSED idesc = abuf->idesc;
1802 int cycles = 0;
1804 int referenced = 0;
1805 int UNUSED insn_referenced = abuf->written;
1806 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1808 return cycles;
1809 #undef FLD
1812 static int
1813 model_frv_lddf (SIM_CPU *current_cpu, void *sem_arg)
1815 #define FLD(f) abuf->fields.sfmt_clddfu.f
1816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1817 const IDESC * UNUSED idesc = abuf->idesc;
1818 int cycles = 0;
1820 int referenced = 0;
1821 int UNUSED insn_referenced = abuf->written;
1822 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1824 return cycles;
1825 #undef FLD
1828 static int
1829 model_frv_lddc (SIM_CPU *current_cpu, void *sem_arg)
1831 #define FLD(f) abuf->fields.sfmt_lddcu.f
1832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1833 const IDESC * UNUSED idesc = abuf->idesc;
1834 int cycles = 0;
1836 int referenced = 0;
1837 int UNUSED insn_referenced = abuf->written;
1838 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1840 return cycles;
1841 #undef FLD
1844 static int
1845 model_frv_nldd (SIM_CPU *current_cpu, void *sem_arg)
1847 #define FLD(f) abuf->fields.sfmt_smulcc.f
1848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1849 const IDESC * UNUSED idesc = abuf->idesc;
1850 int cycles = 0;
1852 int referenced = 0;
1853 int UNUSED insn_referenced = abuf->written;
1854 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1856 return cycles;
1857 #undef FLD
1860 static int
1861 model_frv_nlddf (SIM_CPU *current_cpu, void *sem_arg)
1863 #define FLD(f) abuf->fields.sfmt_clddfu.f
1864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1865 const IDESC * UNUSED idesc = abuf->idesc;
1866 int cycles = 0;
1868 int referenced = 0;
1869 int UNUSED insn_referenced = abuf->written;
1870 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1872 return cycles;
1873 #undef FLD
1876 static int
1877 model_frv_ldq (SIM_CPU *current_cpu, void *sem_arg)
1879 #define FLD(f) abuf->fields.sfmt_smulcc.f
1880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1881 const IDESC * UNUSED idesc = abuf->idesc;
1882 int cycles = 0;
1884 int referenced = 0;
1885 int UNUSED insn_referenced = abuf->written;
1886 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1888 return cycles;
1889 #undef FLD
1892 static int
1893 model_frv_ldqf (SIM_CPU *current_cpu, void *sem_arg)
1895 #define FLD(f) abuf->fields.sfmt_cstdfu.f
1896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1897 const IDESC * UNUSED idesc = abuf->idesc;
1898 int cycles = 0;
1900 int referenced = 0;
1901 int UNUSED insn_referenced = abuf->written;
1902 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1904 return cycles;
1905 #undef FLD
1908 static int
1909 model_frv_ldqc (SIM_CPU *current_cpu, void *sem_arg)
1911 #define FLD(f) abuf->fields.sfmt_stdcu.f
1912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1913 const IDESC * UNUSED idesc = abuf->idesc;
1914 int cycles = 0;
1916 int referenced = 0;
1917 int UNUSED insn_referenced = abuf->written;
1918 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1920 return cycles;
1921 #undef FLD
1924 static int
1925 model_frv_nldq (SIM_CPU *current_cpu, void *sem_arg)
1927 #define FLD(f) abuf->fields.sfmt_smulcc.f
1928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1929 const IDESC * UNUSED idesc = abuf->idesc;
1930 int cycles = 0;
1932 int referenced = 0;
1933 int UNUSED insn_referenced = abuf->written;
1934 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1936 return cycles;
1937 #undef FLD
1940 static int
1941 model_frv_nldqf (SIM_CPU *current_cpu, void *sem_arg)
1943 #define FLD(f) abuf->fields.sfmt_cstdfu.f
1944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1945 const IDESC * UNUSED idesc = abuf->idesc;
1946 int cycles = 0;
1948 int referenced = 0;
1949 int UNUSED insn_referenced = abuf->written;
1950 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1952 return cycles;
1953 #undef FLD
1956 static int
1957 model_frv_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
1959 #define FLD(f) abuf->fields.sfmt_cldsbu.f
1960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1961 const IDESC * UNUSED idesc = abuf->idesc;
1962 int cycles = 0;
1964 int referenced = 0;
1965 int UNUSED insn_referenced = abuf->written;
1966 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1968 return cycles;
1969 #undef FLD
1972 static int
1973 model_frv_ldubu (SIM_CPU *current_cpu, void *sem_arg)
1975 #define FLD(f) abuf->fields.sfmt_cldsbu.f
1976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1977 const IDESC * UNUSED idesc = abuf->idesc;
1978 int cycles = 0;
1980 int referenced = 0;
1981 int UNUSED insn_referenced = abuf->written;
1982 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1984 return cycles;
1985 #undef FLD
1988 static int
1989 model_frv_ldshu (SIM_CPU *current_cpu, void *sem_arg)
1991 #define FLD(f) abuf->fields.sfmt_cldsbu.f
1992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1993 const IDESC * UNUSED idesc = abuf->idesc;
1994 int cycles = 0;
1996 int referenced = 0;
1997 int UNUSED insn_referenced = abuf->written;
1998 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2000 return cycles;
2001 #undef FLD
2004 static int
2005 model_frv_lduhu (SIM_CPU *current_cpu, void *sem_arg)
2007 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2009 const IDESC * UNUSED idesc = abuf->idesc;
2010 int cycles = 0;
2012 int referenced = 0;
2013 int UNUSED insn_referenced = abuf->written;
2014 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2016 return cycles;
2017 #undef FLD
2020 static int
2021 model_frv_ldu (SIM_CPU *current_cpu, void *sem_arg)
2023 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2025 const IDESC * UNUSED idesc = abuf->idesc;
2026 int cycles = 0;
2028 int referenced = 0;
2029 int UNUSED insn_referenced = abuf->written;
2030 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2032 return cycles;
2033 #undef FLD
2036 static int
2037 model_frv_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
2039 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2041 const IDESC * UNUSED idesc = abuf->idesc;
2042 int cycles = 0;
2044 int referenced = 0;
2045 int UNUSED insn_referenced = abuf->written;
2046 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2048 return cycles;
2049 #undef FLD
2052 static int
2053 model_frv_nldubu (SIM_CPU *current_cpu, void *sem_arg)
2055 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2057 const IDESC * UNUSED idesc = abuf->idesc;
2058 int cycles = 0;
2060 int referenced = 0;
2061 int UNUSED insn_referenced = abuf->written;
2062 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2064 return cycles;
2065 #undef FLD
2068 static int
2069 model_frv_nldshu (SIM_CPU *current_cpu, void *sem_arg)
2071 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2073 const IDESC * UNUSED idesc = abuf->idesc;
2074 int cycles = 0;
2076 int referenced = 0;
2077 int UNUSED insn_referenced = abuf->written;
2078 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2080 return cycles;
2081 #undef FLD
2084 static int
2085 model_frv_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
2087 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2089 const IDESC * UNUSED idesc = abuf->idesc;
2090 int cycles = 0;
2092 int referenced = 0;
2093 int UNUSED insn_referenced = abuf->written;
2094 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2096 return cycles;
2097 #undef FLD
2100 static int
2101 model_frv_nldu (SIM_CPU *current_cpu, void *sem_arg)
2103 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2105 const IDESC * UNUSED idesc = abuf->idesc;
2106 int cycles = 0;
2108 int referenced = 0;
2109 int UNUSED insn_referenced = abuf->written;
2110 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2112 return cycles;
2113 #undef FLD
2116 static int
2117 model_frv_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
2119 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2121 const IDESC * UNUSED idesc = abuf->idesc;
2122 int cycles = 0;
2124 int referenced = 0;
2125 int UNUSED insn_referenced = abuf->written;
2126 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2128 return cycles;
2129 #undef FLD
2132 static int
2133 model_frv_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
2135 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2137 const IDESC * UNUSED idesc = abuf->idesc;
2138 int cycles = 0;
2140 int referenced = 0;
2141 int UNUSED insn_referenced = abuf->written;
2142 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2144 return cycles;
2145 #undef FLD
2148 static int
2149 model_frv_ldfu (SIM_CPU *current_cpu, void *sem_arg)
2151 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2153 const IDESC * UNUSED idesc = abuf->idesc;
2154 int cycles = 0;
2156 int referenced = 0;
2157 int UNUSED insn_referenced = abuf->written;
2158 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2160 return cycles;
2161 #undef FLD
2164 static int
2165 model_frv_ldcu (SIM_CPU *current_cpu, void *sem_arg)
2167 #define FLD(f) abuf->fields.sfmt_ldcu.f
2168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2169 const IDESC * UNUSED idesc = abuf->idesc;
2170 int cycles = 0;
2172 int referenced = 0;
2173 int UNUSED insn_referenced = abuf->written;
2174 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2176 return cycles;
2177 #undef FLD
2180 static int
2181 model_frv_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
2183 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2185 const IDESC * UNUSED idesc = abuf->idesc;
2186 int cycles = 0;
2188 int referenced = 0;
2189 int UNUSED insn_referenced = abuf->written;
2190 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2192 return cycles;
2193 #undef FLD
2196 static int
2197 model_frv_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
2199 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2201 const IDESC * UNUSED idesc = abuf->idesc;
2202 int cycles = 0;
2204 int referenced = 0;
2205 int UNUSED insn_referenced = abuf->written;
2206 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2208 return cycles;
2209 #undef FLD
2212 static int
2213 model_frv_nldfu (SIM_CPU *current_cpu, void *sem_arg)
2215 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2217 const IDESC * UNUSED idesc = abuf->idesc;
2218 int cycles = 0;
2220 int referenced = 0;
2221 int UNUSED insn_referenced = abuf->written;
2222 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2224 return cycles;
2225 #undef FLD
2228 static int
2229 model_frv_lddu (SIM_CPU *current_cpu, void *sem_arg)
2231 #define FLD(f) abuf->fields.sfmt_clddu.f
2232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2233 const IDESC * UNUSED idesc = abuf->idesc;
2234 int cycles = 0;
2236 int referenced = 0;
2237 int UNUSED insn_referenced = abuf->written;
2238 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2240 return cycles;
2241 #undef FLD
2244 static int
2245 model_frv_nlddu (SIM_CPU *current_cpu, void *sem_arg)
2247 #define FLD(f) abuf->fields.sfmt_clddu.f
2248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2249 const IDESC * UNUSED idesc = abuf->idesc;
2250 int cycles = 0;
2252 int referenced = 0;
2253 int UNUSED insn_referenced = abuf->written;
2254 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2256 return cycles;
2257 #undef FLD
2260 static int
2261 model_frv_lddfu (SIM_CPU *current_cpu, void *sem_arg)
2263 #define FLD(f) abuf->fields.sfmt_clddfu.f
2264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2265 const IDESC * UNUSED idesc = abuf->idesc;
2266 int cycles = 0;
2268 int referenced = 0;
2269 int UNUSED insn_referenced = abuf->written;
2270 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2272 return cycles;
2273 #undef FLD
2276 static int
2277 model_frv_lddcu (SIM_CPU *current_cpu, void *sem_arg)
2279 #define FLD(f) abuf->fields.sfmt_lddcu.f
2280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2281 const IDESC * UNUSED idesc = abuf->idesc;
2282 int cycles = 0;
2284 int referenced = 0;
2285 int UNUSED insn_referenced = abuf->written;
2286 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2288 return cycles;
2289 #undef FLD
2292 static int
2293 model_frv_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
2295 #define FLD(f) abuf->fields.sfmt_clddfu.f
2296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2297 const IDESC * UNUSED idesc = abuf->idesc;
2298 int cycles = 0;
2300 int referenced = 0;
2301 int UNUSED insn_referenced = abuf->written;
2302 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2304 return cycles;
2305 #undef FLD
2308 static int
2309 model_frv_ldqu (SIM_CPU *current_cpu, void *sem_arg)
2311 #define FLD(f) abuf->fields.sfmt_cstdu.f
2312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2313 const IDESC * UNUSED idesc = abuf->idesc;
2314 int cycles = 0;
2316 int referenced = 0;
2317 int UNUSED insn_referenced = abuf->written;
2318 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2320 return cycles;
2321 #undef FLD
2324 static int
2325 model_frv_nldqu (SIM_CPU *current_cpu, void *sem_arg)
2327 #define FLD(f) abuf->fields.sfmt_cstdu.f
2328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2329 const IDESC * UNUSED idesc = abuf->idesc;
2330 int cycles = 0;
2332 int referenced = 0;
2333 int UNUSED insn_referenced = abuf->written;
2334 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2336 return cycles;
2337 #undef FLD
2340 static int
2341 model_frv_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
2343 #define FLD(f) abuf->fields.sfmt_cstdfu.f
2344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2345 const IDESC * UNUSED idesc = abuf->idesc;
2346 int cycles = 0;
2348 int referenced = 0;
2349 int UNUSED insn_referenced = abuf->written;
2350 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2352 return cycles;
2353 #undef FLD
2356 static int
2357 model_frv_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
2359 #define FLD(f) abuf->fields.sfmt_stdcu.f
2360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2361 const IDESC * UNUSED idesc = abuf->idesc;
2362 int cycles = 0;
2364 int referenced = 0;
2365 int UNUSED insn_referenced = abuf->written;
2366 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2368 return cycles;
2369 #undef FLD
2372 static int
2373 model_frv_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
2375 #define FLD(f) abuf->fields.sfmt_cstdfu.f
2376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2377 const IDESC * UNUSED idesc = abuf->idesc;
2378 int cycles = 0;
2380 int referenced = 0;
2381 int UNUSED insn_referenced = abuf->written;
2382 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2384 return cycles;
2385 #undef FLD
2388 static int
2389 model_frv_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
2391 #define FLD(f) abuf->fields.sfmt_swapi.f
2392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2393 const IDESC * UNUSED idesc = abuf->idesc;
2394 int cycles = 0;
2396 int referenced = 0;
2397 int UNUSED insn_referenced = abuf->written;
2398 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2400 return cycles;
2401 #undef FLD
2404 static int
2405 model_frv_ldshi (SIM_CPU *current_cpu, void *sem_arg)
2407 #define FLD(f) abuf->fields.sfmt_swapi.f
2408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2409 const IDESC * UNUSED idesc = abuf->idesc;
2410 int cycles = 0;
2412 int referenced = 0;
2413 int UNUSED insn_referenced = abuf->written;
2414 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2416 return cycles;
2417 #undef FLD
2420 static int
2421 model_frv_ldi (SIM_CPU *current_cpu, void *sem_arg)
2423 #define FLD(f) abuf->fields.sfmt_swapi.f
2424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2425 const IDESC * UNUSED idesc = abuf->idesc;
2426 int cycles = 0;
2428 int referenced = 0;
2429 int UNUSED insn_referenced = abuf->written;
2430 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2432 return cycles;
2433 #undef FLD
2436 static int
2437 model_frv_ldubi (SIM_CPU *current_cpu, void *sem_arg)
2439 #define FLD(f) abuf->fields.sfmt_swapi.f
2440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2441 const IDESC * UNUSED idesc = abuf->idesc;
2442 int cycles = 0;
2444 int referenced = 0;
2445 int UNUSED insn_referenced = abuf->written;
2446 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2448 return cycles;
2449 #undef FLD
2452 static int
2453 model_frv_lduhi (SIM_CPU *current_cpu, void *sem_arg)
2455 #define FLD(f) abuf->fields.sfmt_swapi.f
2456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2457 const IDESC * UNUSED idesc = abuf->idesc;
2458 int cycles = 0;
2460 int referenced = 0;
2461 int UNUSED insn_referenced = abuf->written;
2462 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2464 return cycles;
2465 #undef FLD
2468 static int
2469 model_frv_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
2471 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2473 const IDESC * UNUSED idesc = abuf->idesc;
2474 int cycles = 0;
2476 int referenced = 0;
2477 int UNUSED insn_referenced = abuf->written;
2478 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2480 return cycles;
2481 #undef FLD
2484 static int
2485 model_frv_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
2487 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2489 const IDESC * UNUSED idesc = abuf->idesc;
2490 int cycles = 0;
2492 int referenced = 0;
2493 int UNUSED insn_referenced = abuf->written;
2494 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2496 return cycles;
2497 #undef FLD
2500 static int
2501 model_frv_ldfi (SIM_CPU *current_cpu, void *sem_arg)
2503 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2505 const IDESC * UNUSED idesc = abuf->idesc;
2506 int cycles = 0;
2508 int referenced = 0;
2509 int UNUSED insn_referenced = abuf->written;
2510 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2512 return cycles;
2513 #undef FLD
2516 static int
2517 model_frv_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
2519 #define FLD(f) abuf->fields.sfmt_swapi.f
2520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2521 const IDESC * UNUSED idesc = abuf->idesc;
2522 int cycles = 0;
2524 int referenced = 0;
2525 int UNUSED insn_referenced = abuf->written;
2526 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2528 return cycles;
2529 #undef FLD
2532 static int
2533 model_frv_nldubi (SIM_CPU *current_cpu, void *sem_arg)
2535 #define FLD(f) abuf->fields.sfmt_swapi.f
2536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2537 const IDESC * UNUSED idesc = abuf->idesc;
2538 int cycles = 0;
2540 int referenced = 0;
2541 int UNUSED insn_referenced = abuf->written;
2542 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2544 return cycles;
2545 #undef FLD
2548 static int
2549 model_frv_nldshi (SIM_CPU *current_cpu, void *sem_arg)
2551 #define FLD(f) abuf->fields.sfmt_swapi.f
2552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2553 const IDESC * UNUSED idesc = abuf->idesc;
2554 int cycles = 0;
2556 int referenced = 0;
2557 int UNUSED insn_referenced = abuf->written;
2558 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2560 return cycles;
2561 #undef FLD
2564 static int
2565 model_frv_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
2567 #define FLD(f) abuf->fields.sfmt_swapi.f
2568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2569 const IDESC * UNUSED idesc = abuf->idesc;
2570 int cycles = 0;
2572 int referenced = 0;
2573 int UNUSED insn_referenced = abuf->written;
2574 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2576 return cycles;
2577 #undef FLD
2580 static int
2581 model_frv_nldi (SIM_CPU *current_cpu, void *sem_arg)
2583 #define FLD(f) abuf->fields.sfmt_swapi.f
2584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2585 const IDESC * UNUSED idesc = abuf->idesc;
2586 int cycles = 0;
2588 int referenced = 0;
2589 int UNUSED insn_referenced = abuf->written;
2590 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2592 return cycles;
2593 #undef FLD
2596 static int
2597 model_frv_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
2599 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2601 const IDESC * UNUSED idesc = abuf->idesc;
2602 int cycles = 0;
2604 int referenced = 0;
2605 int UNUSED insn_referenced = abuf->written;
2606 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2608 return cycles;
2609 #undef FLD
2612 static int
2613 model_frv_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
2615 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2617 const IDESC * UNUSED idesc = abuf->idesc;
2618 int cycles = 0;
2620 int referenced = 0;
2621 int UNUSED insn_referenced = abuf->written;
2622 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2624 return cycles;
2625 #undef FLD
2628 static int
2629 model_frv_nldfi (SIM_CPU *current_cpu, void *sem_arg)
2631 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2633 const IDESC * UNUSED idesc = abuf->idesc;
2634 int cycles = 0;
2636 int referenced = 0;
2637 int UNUSED insn_referenced = abuf->written;
2638 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2640 return cycles;
2641 #undef FLD
2644 static int
2645 model_frv_lddi (SIM_CPU *current_cpu, void *sem_arg)
2647 #define FLD(f) abuf->fields.sfmt_smuli.f
2648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2649 const IDESC * UNUSED idesc = abuf->idesc;
2650 int cycles = 0;
2652 int referenced = 0;
2653 int UNUSED insn_referenced = abuf->written;
2654 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2656 return cycles;
2657 #undef FLD
2660 static int
2661 model_frv_lddfi (SIM_CPU *current_cpu, void *sem_arg)
2663 #define FLD(f) abuf->fields.sfmt_lddfi.f
2664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2665 const IDESC * UNUSED idesc = abuf->idesc;
2666 int cycles = 0;
2668 int referenced = 0;
2669 int UNUSED insn_referenced = abuf->written;
2670 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2672 return cycles;
2673 #undef FLD
2676 static int
2677 model_frv_nlddi (SIM_CPU *current_cpu, void *sem_arg)
2679 #define FLD(f) abuf->fields.sfmt_smuli.f
2680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2681 const IDESC * UNUSED idesc = abuf->idesc;
2682 int cycles = 0;
2684 int referenced = 0;
2685 int UNUSED insn_referenced = abuf->written;
2686 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2688 return cycles;
2689 #undef FLD
2692 static int
2693 model_frv_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
2695 #define FLD(f) abuf->fields.sfmt_lddfi.f
2696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2697 const IDESC * UNUSED idesc = abuf->idesc;
2698 int cycles = 0;
2700 int referenced = 0;
2701 int UNUSED insn_referenced = abuf->written;
2702 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2704 return cycles;
2705 #undef FLD
2708 static int
2709 model_frv_ldqi (SIM_CPU *current_cpu, void *sem_arg)
2711 #define FLD(f) abuf->fields.sfmt_stdi.f
2712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2713 const IDESC * UNUSED idesc = abuf->idesc;
2714 int cycles = 0;
2716 int referenced = 0;
2717 int UNUSED insn_referenced = abuf->written;
2718 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2720 return cycles;
2721 #undef FLD
2724 static int
2725 model_frv_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
2727 #define FLD(f) abuf->fields.sfmt_stdfi.f
2728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2729 const IDESC * UNUSED idesc = abuf->idesc;
2730 int cycles = 0;
2732 int referenced = 0;
2733 int UNUSED insn_referenced = abuf->written;
2734 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2736 return cycles;
2737 #undef FLD
2740 static int
2741 model_frv_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
2743 #define FLD(f) abuf->fields.sfmt_stdfi.f
2744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2745 const IDESC * UNUSED idesc = abuf->idesc;
2746 int cycles = 0;
2748 int referenced = 0;
2749 int UNUSED insn_referenced = abuf->written;
2750 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2752 return cycles;
2753 #undef FLD
2756 static int
2757 model_frv_stb (SIM_CPU *current_cpu, void *sem_arg)
2759 #define FLD(f) abuf->fields.sfmt_cswap.f
2760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2761 const IDESC * UNUSED idesc = abuf->idesc;
2762 int cycles = 0;
2764 int referenced = 0;
2765 int UNUSED insn_referenced = abuf->written;
2766 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2768 return cycles;
2769 #undef FLD
2772 static int
2773 model_frv_sth (SIM_CPU *current_cpu, void *sem_arg)
2775 #define FLD(f) abuf->fields.sfmt_cswap.f
2776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2777 const IDESC * UNUSED idesc = abuf->idesc;
2778 int cycles = 0;
2780 int referenced = 0;
2781 int UNUSED insn_referenced = abuf->written;
2782 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2784 return cycles;
2785 #undef FLD
2788 static int
2789 model_frv_st (SIM_CPU *current_cpu, void *sem_arg)
2791 #define FLD(f) abuf->fields.sfmt_cswap.f
2792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2793 const IDESC * UNUSED idesc = abuf->idesc;
2794 int cycles = 0;
2796 int referenced = 0;
2797 int UNUSED insn_referenced = abuf->written;
2798 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2800 return cycles;
2801 #undef FLD
2804 static int
2805 model_frv_stbf (SIM_CPU *current_cpu, void *sem_arg)
2807 #define FLD(f) abuf->fields.sfmt_cstbfu.f
2808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2809 const IDESC * UNUSED idesc = abuf->idesc;
2810 int cycles = 0;
2812 int referenced = 0;
2813 int UNUSED insn_referenced = abuf->written;
2814 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2816 return cycles;
2817 #undef FLD
2820 static int
2821 model_frv_sthf (SIM_CPU *current_cpu, void *sem_arg)
2823 #define FLD(f) abuf->fields.sfmt_cstbfu.f
2824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2825 const IDESC * UNUSED idesc = abuf->idesc;
2826 int cycles = 0;
2828 int referenced = 0;
2829 int UNUSED insn_referenced = abuf->written;
2830 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2832 return cycles;
2833 #undef FLD
2836 static int
2837 model_frv_stf (SIM_CPU *current_cpu, void *sem_arg)
2839 #define FLD(f) abuf->fields.sfmt_cstbfu.f
2840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2841 const IDESC * UNUSED idesc = abuf->idesc;
2842 int cycles = 0;
2844 int referenced = 0;
2845 int UNUSED insn_referenced = abuf->written;
2846 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2848 return cycles;
2849 #undef FLD
2852 static int
2853 model_frv_stc (SIM_CPU *current_cpu, void *sem_arg)
2855 #define FLD(f) abuf->fields.sfmt_stcu.f
2856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2857 const IDESC * UNUSED idesc = abuf->idesc;
2858 int cycles = 0;
2860 int referenced = 0;
2861 int UNUSED insn_referenced = abuf->written;
2862 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2864 return cycles;
2865 #undef FLD
2868 static int
2869 model_frv_std (SIM_CPU *current_cpu, void *sem_arg)
2871 #define FLD(f) abuf->fields.sfmt_cstdu.f
2872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2873 const IDESC * UNUSED idesc = abuf->idesc;
2874 int cycles = 0;
2876 int referenced = 0;
2877 int UNUSED insn_referenced = abuf->written;
2878 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2880 return cycles;
2881 #undef FLD
2884 static int
2885 model_frv_stdf (SIM_CPU *current_cpu, void *sem_arg)
2887 #define FLD(f) abuf->fields.sfmt_cstdfu.f
2888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2889 const IDESC * UNUSED idesc = abuf->idesc;
2890 int cycles = 0;
2892 int referenced = 0;
2893 int UNUSED insn_referenced = abuf->written;
2894 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2896 return cycles;
2897 #undef FLD
2900 static int
2901 model_frv_stdc (SIM_CPU *current_cpu, void *sem_arg)
2903 #define FLD(f) abuf->fields.sfmt_stdcu.f
2904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2905 const IDESC * UNUSED idesc = abuf->idesc;
2906 int cycles = 0;
2908 int referenced = 0;
2909 int UNUSED insn_referenced = abuf->written;
2910 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2912 return cycles;
2913 #undef FLD
2916 static int
2917 model_frv_stq (SIM_CPU *current_cpu, void *sem_arg)
2919 #define FLD(f) abuf->fields.sfmt_smulcc.f
2920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2921 const IDESC * UNUSED idesc = abuf->idesc;
2922 int cycles = 0;
2924 int referenced = 0;
2925 int UNUSED insn_referenced = abuf->written;
2926 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2928 return cycles;
2929 #undef FLD
2932 static int
2933 model_frv_stqf (SIM_CPU *current_cpu, void *sem_arg)
2935 #define FLD(f) abuf->fields.sfmt_cstdfu.f
2936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2937 const IDESC * UNUSED idesc = abuf->idesc;
2938 int cycles = 0;
2940 int referenced = 0;
2941 int UNUSED insn_referenced = abuf->written;
2942 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2944 return cycles;
2945 #undef FLD
2948 static int
2949 model_frv_stqc (SIM_CPU *current_cpu, void *sem_arg)
2951 #define FLD(f) abuf->fields.sfmt_stdcu.f
2952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2953 const IDESC * UNUSED idesc = abuf->idesc;
2954 int cycles = 0;
2956 int referenced = 0;
2957 int UNUSED insn_referenced = abuf->written;
2958 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2960 return cycles;
2961 #undef FLD
2964 static int
2965 model_frv_stbu (SIM_CPU *current_cpu, void *sem_arg)
2967 #define FLD(f) abuf->fields.sfmt_cstbu.f
2968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2969 const IDESC * UNUSED idesc = abuf->idesc;
2970 int cycles = 0;
2972 int referenced = 0;
2973 int UNUSED insn_referenced = abuf->written;
2974 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2976 return cycles;
2977 #undef FLD
2980 static int
2981 model_frv_sthu (SIM_CPU *current_cpu, void *sem_arg)
2983 #define FLD(f) abuf->fields.sfmt_cstbu.f
2984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2985 const IDESC * UNUSED idesc = abuf->idesc;
2986 int cycles = 0;
2988 int referenced = 0;
2989 int UNUSED insn_referenced = abuf->written;
2990 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2992 return cycles;
2993 #undef FLD
2996 static int
2997 model_frv_stu (SIM_CPU *current_cpu, void *sem_arg)
2999 #define FLD(f) abuf->fields.sfmt_cstbu.f
3000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3001 const IDESC * UNUSED idesc = abuf->idesc;
3002 int cycles = 0;
3004 int referenced = 0;
3005 int UNUSED insn_referenced = abuf->written;
3006 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3008 return cycles;
3009 #undef FLD
3012 static int
3013 model_frv_stbfu (SIM_CPU *current_cpu, void *sem_arg)
3015 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3017 const IDESC * UNUSED idesc = abuf->idesc;
3018 int cycles = 0;
3020 int referenced = 0;
3021 int UNUSED insn_referenced = abuf->written;
3022 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3024 return cycles;
3025 #undef FLD
3028 static int
3029 model_frv_sthfu (SIM_CPU *current_cpu, void *sem_arg)
3031 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3033 const IDESC * UNUSED idesc = abuf->idesc;
3034 int cycles = 0;
3036 int referenced = 0;
3037 int UNUSED insn_referenced = abuf->written;
3038 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3040 return cycles;
3041 #undef FLD
3044 static int
3045 model_frv_stfu (SIM_CPU *current_cpu, void *sem_arg)
3047 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3049 const IDESC * UNUSED idesc = abuf->idesc;
3050 int cycles = 0;
3052 int referenced = 0;
3053 int UNUSED insn_referenced = abuf->written;
3054 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3056 return cycles;
3057 #undef FLD
3060 static int
3061 model_frv_stcu (SIM_CPU *current_cpu, void *sem_arg)
3063 #define FLD(f) abuf->fields.sfmt_stcu.f
3064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3065 const IDESC * UNUSED idesc = abuf->idesc;
3066 int cycles = 0;
3068 int referenced = 0;
3069 int UNUSED insn_referenced = abuf->written;
3070 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3072 return cycles;
3073 #undef FLD
3076 static int
3077 model_frv_stdu (SIM_CPU *current_cpu, void *sem_arg)
3079 #define FLD(f) abuf->fields.sfmt_cstdu.f
3080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3081 const IDESC * UNUSED idesc = abuf->idesc;
3082 int cycles = 0;
3084 int referenced = 0;
3085 int UNUSED insn_referenced = abuf->written;
3086 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3088 return cycles;
3089 #undef FLD
3092 static int
3093 model_frv_stdfu (SIM_CPU *current_cpu, void *sem_arg)
3095 #define FLD(f) abuf->fields.sfmt_cstdfu.f
3096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3097 const IDESC * UNUSED idesc = abuf->idesc;
3098 int cycles = 0;
3100 int referenced = 0;
3101 int UNUSED insn_referenced = abuf->written;
3102 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3104 return cycles;
3105 #undef FLD
3108 static int
3109 model_frv_stdcu (SIM_CPU *current_cpu, void *sem_arg)
3111 #define FLD(f) abuf->fields.sfmt_stdcu.f
3112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3113 const IDESC * UNUSED idesc = abuf->idesc;
3114 int cycles = 0;
3116 int referenced = 0;
3117 int UNUSED insn_referenced = abuf->written;
3118 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3120 return cycles;
3121 #undef FLD
3124 static int
3125 model_frv_stqu (SIM_CPU *current_cpu, void *sem_arg)
3127 #define FLD(f) abuf->fields.sfmt_cstdu.f
3128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3129 const IDESC * UNUSED idesc = abuf->idesc;
3130 int cycles = 0;
3132 int referenced = 0;
3133 int UNUSED insn_referenced = abuf->written;
3134 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3136 return cycles;
3137 #undef FLD
3140 static int
3141 model_frv_stqfu (SIM_CPU *current_cpu, void *sem_arg)
3143 #define FLD(f) abuf->fields.sfmt_cstdfu.f
3144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3145 const IDESC * UNUSED idesc = abuf->idesc;
3146 int cycles = 0;
3148 int referenced = 0;
3149 int UNUSED insn_referenced = abuf->written;
3150 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3152 return cycles;
3153 #undef FLD
3156 static int
3157 model_frv_stqcu (SIM_CPU *current_cpu, void *sem_arg)
3159 #define FLD(f) abuf->fields.sfmt_stdcu.f
3160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3161 const IDESC * UNUSED idesc = abuf->idesc;
3162 int cycles = 0;
3164 int referenced = 0;
3165 int UNUSED insn_referenced = abuf->written;
3166 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3168 return cycles;
3169 #undef FLD
3172 static int
3173 model_frv_cldsb (SIM_CPU *current_cpu, void *sem_arg)
3175 #define FLD(f) abuf->fields.sfmt_cswap.f
3176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3177 const IDESC * UNUSED idesc = abuf->idesc;
3178 int cycles = 0;
3180 int referenced = 0;
3181 int UNUSED insn_referenced = abuf->written;
3182 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3184 return cycles;
3185 #undef FLD
3188 static int
3189 model_frv_cldub (SIM_CPU *current_cpu, void *sem_arg)
3191 #define FLD(f) abuf->fields.sfmt_cswap.f
3192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3193 const IDESC * UNUSED idesc = abuf->idesc;
3194 int cycles = 0;
3196 int referenced = 0;
3197 int UNUSED insn_referenced = abuf->written;
3198 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3200 return cycles;
3201 #undef FLD
3204 static int
3205 model_frv_cldsh (SIM_CPU *current_cpu, void *sem_arg)
3207 #define FLD(f) abuf->fields.sfmt_cswap.f
3208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3209 const IDESC * UNUSED idesc = abuf->idesc;
3210 int cycles = 0;
3212 int referenced = 0;
3213 int UNUSED insn_referenced = abuf->written;
3214 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3216 return cycles;
3217 #undef FLD
3220 static int
3221 model_frv_clduh (SIM_CPU *current_cpu, void *sem_arg)
3223 #define FLD(f) abuf->fields.sfmt_cswap.f
3224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3225 const IDESC * UNUSED idesc = abuf->idesc;
3226 int cycles = 0;
3228 int referenced = 0;
3229 int UNUSED insn_referenced = abuf->written;
3230 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3232 return cycles;
3233 #undef FLD
3236 static int
3237 model_frv_cld (SIM_CPU *current_cpu, void *sem_arg)
3239 #define FLD(f) abuf->fields.sfmt_cswap.f
3240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3241 const IDESC * UNUSED idesc = abuf->idesc;
3242 int cycles = 0;
3244 int referenced = 0;
3245 int UNUSED insn_referenced = abuf->written;
3246 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3248 return cycles;
3249 #undef FLD
3252 static int
3253 model_frv_cldbf (SIM_CPU *current_cpu, void *sem_arg)
3255 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3257 const IDESC * UNUSED idesc = abuf->idesc;
3258 int cycles = 0;
3260 int referenced = 0;
3261 int UNUSED insn_referenced = abuf->written;
3262 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3264 return cycles;
3265 #undef FLD
3268 static int
3269 model_frv_cldhf (SIM_CPU *current_cpu, void *sem_arg)
3271 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3273 const IDESC * UNUSED idesc = abuf->idesc;
3274 int cycles = 0;
3276 int referenced = 0;
3277 int UNUSED insn_referenced = abuf->written;
3278 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3280 return cycles;
3281 #undef FLD
3284 static int
3285 model_frv_cldf (SIM_CPU *current_cpu, void *sem_arg)
3287 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3289 const IDESC * UNUSED idesc = abuf->idesc;
3290 int cycles = 0;
3292 int referenced = 0;
3293 int UNUSED insn_referenced = abuf->written;
3294 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3296 return cycles;
3297 #undef FLD
3300 static int
3301 model_frv_cldd (SIM_CPU *current_cpu, void *sem_arg)
3303 #define FLD(f) abuf->fields.sfmt_clddu.f
3304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3305 const IDESC * UNUSED idesc = abuf->idesc;
3306 int cycles = 0;
3308 int referenced = 0;
3309 int UNUSED insn_referenced = abuf->written;
3310 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3312 return cycles;
3313 #undef FLD
3316 static int
3317 model_frv_clddf (SIM_CPU *current_cpu, void *sem_arg)
3319 #define FLD(f) abuf->fields.sfmt_clddfu.f
3320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3321 const IDESC * UNUSED idesc = abuf->idesc;
3322 int cycles = 0;
3324 int referenced = 0;
3325 int UNUSED insn_referenced = abuf->written;
3326 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3328 return cycles;
3329 #undef FLD
3332 static int
3333 model_frv_cldq (SIM_CPU *current_cpu, void *sem_arg)
3335 #define FLD(f) abuf->fields.sfmt_cswap.f
3336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3337 const IDESC * UNUSED idesc = abuf->idesc;
3338 int cycles = 0;
3340 int referenced = 0;
3341 int UNUSED insn_referenced = abuf->written;
3342 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3344 return cycles;
3345 #undef FLD
3348 static int
3349 model_frv_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
3351 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3353 const IDESC * UNUSED idesc = abuf->idesc;
3354 int cycles = 0;
3356 int referenced = 0;
3357 int UNUSED insn_referenced = abuf->written;
3358 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3360 return cycles;
3361 #undef FLD
3364 static int
3365 model_frv_cldubu (SIM_CPU *current_cpu, void *sem_arg)
3367 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3369 const IDESC * UNUSED idesc = abuf->idesc;
3370 int cycles = 0;
3372 int referenced = 0;
3373 int UNUSED insn_referenced = abuf->written;
3374 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3376 return cycles;
3377 #undef FLD
3380 static int
3381 model_frv_cldshu (SIM_CPU *current_cpu, void *sem_arg)
3383 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3385 const IDESC * UNUSED idesc = abuf->idesc;
3386 int cycles = 0;
3388 int referenced = 0;
3389 int UNUSED insn_referenced = abuf->written;
3390 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3392 return cycles;
3393 #undef FLD
3396 static int
3397 model_frv_clduhu (SIM_CPU *current_cpu, void *sem_arg)
3399 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3401 const IDESC * UNUSED idesc = abuf->idesc;
3402 int cycles = 0;
3404 int referenced = 0;
3405 int UNUSED insn_referenced = abuf->written;
3406 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3408 return cycles;
3409 #undef FLD
3412 static int
3413 model_frv_cldu (SIM_CPU *current_cpu, void *sem_arg)
3415 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3417 const IDESC * UNUSED idesc = abuf->idesc;
3418 int cycles = 0;
3420 int referenced = 0;
3421 int UNUSED insn_referenced = abuf->written;
3422 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3424 return cycles;
3425 #undef FLD
3428 static int
3429 model_frv_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
3431 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3433 const IDESC * UNUSED idesc = abuf->idesc;
3434 int cycles = 0;
3436 int referenced = 0;
3437 int UNUSED insn_referenced = abuf->written;
3438 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3440 return cycles;
3441 #undef FLD
3444 static int
3445 model_frv_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
3447 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3449 const IDESC * UNUSED idesc = abuf->idesc;
3450 int cycles = 0;
3452 int referenced = 0;
3453 int UNUSED insn_referenced = abuf->written;
3454 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3456 return cycles;
3457 #undef FLD
3460 static int
3461 model_frv_cldfu (SIM_CPU *current_cpu, void *sem_arg)
3463 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3465 const IDESC * UNUSED idesc = abuf->idesc;
3466 int cycles = 0;
3468 int referenced = 0;
3469 int UNUSED insn_referenced = abuf->written;
3470 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3472 return cycles;
3473 #undef FLD
3476 static int
3477 model_frv_clddu (SIM_CPU *current_cpu, void *sem_arg)
3479 #define FLD(f) abuf->fields.sfmt_clddu.f
3480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3481 const IDESC * UNUSED idesc = abuf->idesc;
3482 int cycles = 0;
3484 int referenced = 0;
3485 int UNUSED insn_referenced = abuf->written;
3486 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3488 return cycles;
3489 #undef FLD
3492 static int
3493 model_frv_clddfu (SIM_CPU *current_cpu, void *sem_arg)
3495 #define FLD(f) abuf->fields.sfmt_clddfu.f
3496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3497 const IDESC * UNUSED idesc = abuf->idesc;
3498 int cycles = 0;
3500 int referenced = 0;
3501 int UNUSED insn_referenced = abuf->written;
3502 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3504 return cycles;
3505 #undef FLD
3508 static int
3509 model_frv_cldqu (SIM_CPU *current_cpu, void *sem_arg)
3511 #define FLD(f) abuf->fields.sfmt_cstdu.f
3512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3513 const IDESC * UNUSED idesc = abuf->idesc;
3514 int cycles = 0;
3516 int referenced = 0;
3517 int UNUSED insn_referenced = abuf->written;
3518 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3520 return cycles;
3521 #undef FLD
3524 static int
3525 model_frv_cstb (SIM_CPU *current_cpu, void *sem_arg)
3527 #define FLD(f) abuf->fields.sfmt_cswap.f
3528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3529 const IDESC * UNUSED idesc = abuf->idesc;
3530 int cycles = 0;
3532 int referenced = 0;
3533 int UNUSED insn_referenced = abuf->written;
3534 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3536 return cycles;
3537 #undef FLD
3540 static int
3541 model_frv_csth (SIM_CPU *current_cpu, void *sem_arg)
3543 #define FLD(f) abuf->fields.sfmt_cswap.f
3544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3545 const IDESC * UNUSED idesc = abuf->idesc;
3546 int cycles = 0;
3548 int referenced = 0;
3549 int UNUSED insn_referenced = abuf->written;
3550 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3552 return cycles;
3553 #undef FLD
3556 static int
3557 model_frv_cst (SIM_CPU *current_cpu, void *sem_arg)
3559 #define FLD(f) abuf->fields.sfmt_cswap.f
3560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3561 const IDESC * UNUSED idesc = abuf->idesc;
3562 int cycles = 0;
3564 int referenced = 0;
3565 int UNUSED insn_referenced = abuf->written;
3566 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3568 return cycles;
3569 #undef FLD
3572 static int
3573 model_frv_cstbf (SIM_CPU *current_cpu, void *sem_arg)
3575 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3577 const IDESC * UNUSED idesc = abuf->idesc;
3578 int cycles = 0;
3580 int referenced = 0;
3581 int UNUSED insn_referenced = abuf->written;
3582 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3584 return cycles;
3585 #undef FLD
3588 static int
3589 model_frv_csthf (SIM_CPU *current_cpu, void *sem_arg)
3591 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3593 const IDESC * UNUSED idesc = abuf->idesc;
3594 int cycles = 0;
3596 int referenced = 0;
3597 int UNUSED insn_referenced = abuf->written;
3598 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3600 return cycles;
3601 #undef FLD
3604 static int
3605 model_frv_cstf (SIM_CPU *current_cpu, void *sem_arg)
3607 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3609 const IDESC * UNUSED idesc = abuf->idesc;
3610 int cycles = 0;
3612 int referenced = 0;
3613 int UNUSED insn_referenced = abuf->written;
3614 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3616 return cycles;
3617 #undef FLD
3620 static int
3621 model_frv_cstd (SIM_CPU *current_cpu, void *sem_arg)
3623 #define FLD(f) abuf->fields.sfmt_cstdu.f
3624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3625 const IDESC * UNUSED idesc = abuf->idesc;
3626 int cycles = 0;
3628 int referenced = 0;
3629 int UNUSED insn_referenced = abuf->written;
3630 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3632 return cycles;
3633 #undef FLD
3636 static int
3637 model_frv_cstdf (SIM_CPU *current_cpu, void *sem_arg)
3639 #define FLD(f) abuf->fields.sfmt_cstdfu.f
3640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3641 const IDESC * UNUSED idesc = abuf->idesc;
3642 int cycles = 0;
3644 int referenced = 0;
3645 int UNUSED insn_referenced = abuf->written;
3646 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3648 return cycles;
3649 #undef FLD
3652 static int
3653 model_frv_cstq (SIM_CPU *current_cpu, void *sem_arg)
3655 #define FLD(f) abuf->fields.sfmt_cswap.f
3656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3657 const IDESC * UNUSED idesc = abuf->idesc;
3658 int cycles = 0;
3660 int referenced = 0;
3661 int UNUSED insn_referenced = abuf->written;
3662 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3664 return cycles;
3665 #undef FLD
3668 static int
3669 model_frv_cstbu (SIM_CPU *current_cpu, void *sem_arg)
3671 #define FLD(f) abuf->fields.sfmt_cstbu.f
3672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3673 const IDESC * UNUSED idesc = abuf->idesc;
3674 int cycles = 0;
3676 int referenced = 0;
3677 int UNUSED insn_referenced = abuf->written;
3678 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3680 return cycles;
3681 #undef FLD
3684 static int
3685 model_frv_csthu (SIM_CPU *current_cpu, void *sem_arg)
3687 #define FLD(f) abuf->fields.sfmt_cstbu.f
3688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3689 const IDESC * UNUSED idesc = abuf->idesc;
3690 int cycles = 0;
3692 int referenced = 0;
3693 int UNUSED insn_referenced = abuf->written;
3694 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3696 return cycles;
3697 #undef FLD
3700 static int
3701 model_frv_cstu (SIM_CPU *current_cpu, void *sem_arg)
3703 #define FLD(f) abuf->fields.sfmt_cstbu.f
3704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3705 const IDESC * UNUSED idesc = abuf->idesc;
3706 int cycles = 0;
3708 int referenced = 0;
3709 int UNUSED insn_referenced = abuf->written;
3710 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3712 return cycles;
3713 #undef FLD
3716 static int
3717 model_frv_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
3719 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3721 const IDESC * UNUSED idesc = abuf->idesc;
3722 int cycles = 0;
3724 int referenced = 0;
3725 int UNUSED insn_referenced = abuf->written;
3726 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3728 return cycles;
3729 #undef FLD
3732 static int
3733 model_frv_csthfu (SIM_CPU *current_cpu, void *sem_arg)
3735 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3737 const IDESC * UNUSED idesc = abuf->idesc;
3738 int cycles = 0;
3740 int referenced = 0;
3741 int UNUSED insn_referenced = abuf->written;
3742 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3744 return cycles;
3745 #undef FLD
3748 static int
3749 model_frv_cstfu (SIM_CPU *current_cpu, void *sem_arg)
3751 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3753 const IDESC * UNUSED idesc = abuf->idesc;
3754 int cycles = 0;
3756 int referenced = 0;
3757 int UNUSED insn_referenced = abuf->written;
3758 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3760 return cycles;
3761 #undef FLD
3764 static int
3765 model_frv_cstdu (SIM_CPU *current_cpu, void *sem_arg)
3767 #define FLD(f) abuf->fields.sfmt_cstdu.f
3768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3769 const IDESC * UNUSED idesc = abuf->idesc;
3770 int cycles = 0;
3772 int referenced = 0;
3773 int UNUSED insn_referenced = abuf->written;
3774 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3776 return cycles;
3777 #undef FLD
3780 static int
3781 model_frv_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
3783 #define FLD(f) abuf->fields.sfmt_cstdfu.f
3784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3785 const IDESC * UNUSED idesc = abuf->idesc;
3786 int cycles = 0;
3788 int referenced = 0;
3789 int UNUSED insn_referenced = abuf->written;
3790 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3792 return cycles;
3793 #undef FLD
3796 static int
3797 model_frv_stbi (SIM_CPU *current_cpu, void *sem_arg)
3799 #define FLD(f) abuf->fields.sfmt_swapi.f
3800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3801 const IDESC * UNUSED idesc = abuf->idesc;
3802 int cycles = 0;
3804 int referenced = 0;
3805 int UNUSED insn_referenced = abuf->written;
3806 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3808 return cycles;
3809 #undef FLD
3812 static int
3813 model_frv_sthi (SIM_CPU *current_cpu, void *sem_arg)
3815 #define FLD(f) abuf->fields.sfmt_swapi.f
3816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3817 const IDESC * UNUSED idesc = abuf->idesc;
3818 int cycles = 0;
3820 int referenced = 0;
3821 int UNUSED insn_referenced = abuf->written;
3822 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3824 return cycles;
3825 #undef FLD
3828 static int
3829 model_frv_sti (SIM_CPU *current_cpu, void *sem_arg)
3831 #define FLD(f) abuf->fields.sfmt_swapi.f
3832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3833 const IDESC * UNUSED idesc = abuf->idesc;
3834 int cycles = 0;
3836 int referenced = 0;
3837 int UNUSED insn_referenced = abuf->written;
3838 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3840 return cycles;
3841 #undef FLD
3844 static int
3845 model_frv_stbfi (SIM_CPU *current_cpu, void *sem_arg)
3847 #define FLD(f) abuf->fields.sfmt_stbfi.f
3848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3849 const IDESC * UNUSED idesc = abuf->idesc;
3850 int cycles = 0;
3852 int referenced = 0;
3853 int UNUSED insn_referenced = abuf->written;
3854 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3856 return cycles;
3857 #undef FLD
3860 static int
3861 model_frv_sthfi (SIM_CPU *current_cpu, void *sem_arg)
3863 #define FLD(f) abuf->fields.sfmt_stbfi.f
3864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3865 const IDESC * UNUSED idesc = abuf->idesc;
3866 int cycles = 0;
3868 int referenced = 0;
3869 int UNUSED insn_referenced = abuf->written;
3870 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3872 return cycles;
3873 #undef FLD
3876 static int
3877 model_frv_stfi (SIM_CPU *current_cpu, void *sem_arg)
3879 #define FLD(f) abuf->fields.sfmt_stbfi.f
3880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3881 const IDESC * UNUSED idesc = abuf->idesc;
3882 int cycles = 0;
3884 int referenced = 0;
3885 int UNUSED insn_referenced = abuf->written;
3886 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3888 return cycles;
3889 #undef FLD
3892 static int
3893 model_frv_stdi (SIM_CPU *current_cpu, void *sem_arg)
3895 #define FLD(f) abuf->fields.sfmt_stdi.f
3896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3897 const IDESC * UNUSED idesc = abuf->idesc;
3898 int cycles = 0;
3900 int referenced = 0;
3901 int UNUSED insn_referenced = abuf->written;
3902 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3904 return cycles;
3905 #undef FLD
3908 static int
3909 model_frv_stdfi (SIM_CPU *current_cpu, void *sem_arg)
3911 #define FLD(f) abuf->fields.sfmt_stdfi.f
3912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3913 const IDESC * UNUSED idesc = abuf->idesc;
3914 int cycles = 0;
3916 int referenced = 0;
3917 int UNUSED insn_referenced = abuf->written;
3918 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3920 return cycles;
3921 #undef FLD
3924 static int
3925 model_frv_stqi (SIM_CPU *current_cpu, void *sem_arg)
3927 #define FLD(f) abuf->fields.sfmt_stdi.f
3928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3929 const IDESC * UNUSED idesc = abuf->idesc;
3930 int cycles = 0;
3932 int referenced = 0;
3933 int UNUSED insn_referenced = abuf->written;
3934 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3936 return cycles;
3937 #undef FLD
3940 static int
3941 model_frv_stqfi (SIM_CPU *current_cpu, void *sem_arg)
3943 #define FLD(f) abuf->fields.sfmt_stdfi.f
3944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3945 const IDESC * UNUSED idesc = abuf->idesc;
3946 int cycles = 0;
3948 int referenced = 0;
3949 int UNUSED insn_referenced = abuf->written;
3950 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3952 return cycles;
3953 #undef FLD
3956 static int
3957 model_frv_swap (SIM_CPU *current_cpu, void *sem_arg)
3959 #define FLD(f) abuf->fields.sfmt_cswap.f
3960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3961 const IDESC * UNUSED idesc = abuf->idesc;
3962 int cycles = 0;
3964 int referenced = 0;
3965 int UNUSED insn_referenced = abuf->written;
3966 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3968 return cycles;
3969 #undef FLD
3972 static int
3973 model_frv_swapi (SIM_CPU *current_cpu, void *sem_arg)
3975 #define FLD(f) abuf->fields.sfmt_swapi.f
3976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3977 const IDESC * UNUSED idesc = abuf->idesc;
3978 int cycles = 0;
3980 int referenced = 0;
3981 int UNUSED insn_referenced = abuf->written;
3982 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3984 return cycles;
3985 #undef FLD
3988 static int
3989 model_frv_cswap (SIM_CPU *current_cpu, void *sem_arg)
3991 #define FLD(f) abuf->fields.sfmt_cswap.f
3992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3993 const IDESC * UNUSED idesc = abuf->idesc;
3994 int cycles = 0;
3996 int referenced = 0;
3997 int UNUSED insn_referenced = abuf->written;
3998 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4000 return cycles;
4001 #undef FLD
4004 static int
4005 model_frv_movgf (SIM_CPU *current_cpu, void *sem_arg)
4007 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
4008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4009 const IDESC * UNUSED idesc = abuf->idesc;
4010 int cycles = 0;
4012 int referenced = 0;
4013 int UNUSED insn_referenced = abuf->written;
4014 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4016 return cycles;
4017 #undef FLD
4020 static int
4021 model_frv_movfg (SIM_CPU *current_cpu, void *sem_arg)
4023 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
4024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4025 const IDESC * UNUSED idesc = abuf->idesc;
4026 int cycles = 0;
4028 int referenced = 0;
4029 int UNUSED insn_referenced = abuf->written;
4030 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4032 return cycles;
4033 #undef FLD
4036 static int
4037 model_frv_movgfd (SIM_CPU *current_cpu, void *sem_arg)
4039 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
4040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4041 const IDESC * UNUSED idesc = abuf->idesc;
4042 int cycles = 0;
4044 int referenced = 0;
4045 int UNUSED insn_referenced = abuf->written;
4046 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4048 return cycles;
4049 #undef FLD
4052 static int
4053 model_frv_movfgd (SIM_CPU *current_cpu, void *sem_arg)
4055 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
4056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4057 const IDESC * UNUSED idesc = abuf->idesc;
4058 int cycles = 0;
4060 int referenced = 0;
4061 int UNUSED insn_referenced = abuf->written;
4062 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4064 return cycles;
4065 #undef FLD
4068 static int
4069 model_frv_movgfq (SIM_CPU *current_cpu, void *sem_arg)
4071 #define FLD(f) abuf->fields.sfmt_movgfq.f
4072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4073 const IDESC * UNUSED idesc = abuf->idesc;
4074 int cycles = 0;
4076 int referenced = 0;
4077 int UNUSED insn_referenced = abuf->written;
4078 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4080 return cycles;
4081 #undef FLD
4084 static int
4085 model_frv_movfgq (SIM_CPU *current_cpu, void *sem_arg)
4087 #define FLD(f) abuf->fields.sfmt_movfgq.f
4088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4089 const IDESC * UNUSED idesc = abuf->idesc;
4090 int cycles = 0;
4092 int referenced = 0;
4093 int UNUSED insn_referenced = abuf->written;
4094 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4096 return cycles;
4097 #undef FLD
4100 static int
4101 model_frv_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
4103 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
4104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4105 const IDESC * UNUSED idesc = abuf->idesc;
4106 int cycles = 0;
4108 int referenced = 0;
4109 int UNUSED insn_referenced = abuf->written;
4110 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4112 return cycles;
4113 #undef FLD
4116 static int
4117 model_frv_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
4119 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
4120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4121 const IDESC * UNUSED idesc = abuf->idesc;
4122 int cycles = 0;
4124 int referenced = 0;
4125 int UNUSED insn_referenced = abuf->written;
4126 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4128 return cycles;
4129 #undef FLD
4132 static int
4133 model_frv_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
4135 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
4136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4137 const IDESC * UNUSED idesc = abuf->idesc;
4138 int cycles = 0;
4140 int referenced = 0;
4141 int UNUSED insn_referenced = abuf->written;
4142 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4144 return cycles;
4145 #undef FLD
4148 static int
4149 model_frv_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
4151 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
4152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4153 const IDESC * UNUSED idesc = abuf->idesc;
4154 int cycles = 0;
4156 int referenced = 0;
4157 int UNUSED insn_referenced = abuf->written;
4158 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4160 return cycles;
4161 #undef FLD
4164 static int
4165 model_frv_movgs (SIM_CPU *current_cpu, void *sem_arg)
4167 #define FLD(f) abuf->fields.sfmt_movgs.f
4168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4169 const IDESC * UNUSED idesc = abuf->idesc;
4170 int cycles = 0;
4172 int referenced = 0;
4173 int UNUSED insn_referenced = abuf->written;
4174 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4176 return cycles;
4177 #undef FLD
4180 static int
4181 model_frv_movsg (SIM_CPU *current_cpu, void *sem_arg)
4183 #define FLD(f) abuf->fields.sfmt_movsg.f
4184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4185 const IDESC * UNUSED idesc = abuf->idesc;
4186 int cycles = 0;
4188 int referenced = 0;
4189 int UNUSED insn_referenced = abuf->written;
4190 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4192 return cycles;
4193 #undef FLD
4196 static int
4197 model_frv_bra (SIM_CPU *current_cpu, void *sem_arg)
4199 #define FLD(f) abuf->fields.sfmt_fbne.f
4200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4201 const IDESC * UNUSED idesc = abuf->idesc;
4202 int cycles = 0;
4204 int referenced = 0;
4205 int UNUSED insn_referenced = abuf->written;
4206 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4208 return cycles;
4209 #undef FLD
4212 static int
4213 model_frv_bno (SIM_CPU *current_cpu, void *sem_arg)
4215 #define FLD(f) abuf->fields.sfmt_fbne.f
4216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4217 const IDESC * UNUSED idesc = abuf->idesc;
4218 int cycles = 0;
4220 int referenced = 0;
4221 int UNUSED insn_referenced = abuf->written;
4222 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4224 return cycles;
4225 #undef FLD
4228 static int
4229 model_frv_beq (SIM_CPU *current_cpu, void *sem_arg)
4231 #define FLD(f) abuf->fields.sfmt_beq.f
4232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4233 const IDESC * UNUSED idesc = abuf->idesc;
4234 int cycles = 0;
4236 int referenced = 0;
4237 int UNUSED insn_referenced = abuf->written;
4238 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4240 return cycles;
4241 #undef FLD
4244 static int
4245 model_frv_bne (SIM_CPU *current_cpu, void *sem_arg)
4247 #define FLD(f) abuf->fields.sfmt_beq.f
4248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4249 const IDESC * UNUSED idesc = abuf->idesc;
4250 int cycles = 0;
4252 int referenced = 0;
4253 int UNUSED insn_referenced = abuf->written;
4254 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4256 return cycles;
4257 #undef FLD
4260 static int
4261 model_frv_ble (SIM_CPU *current_cpu, void *sem_arg)
4263 #define FLD(f) abuf->fields.sfmt_beq.f
4264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4265 const IDESC * UNUSED idesc = abuf->idesc;
4266 int cycles = 0;
4268 int referenced = 0;
4269 int UNUSED insn_referenced = abuf->written;
4270 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4272 return cycles;
4273 #undef FLD
4276 static int
4277 model_frv_bgt (SIM_CPU *current_cpu, void *sem_arg)
4279 #define FLD(f) abuf->fields.sfmt_beq.f
4280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4281 const IDESC * UNUSED idesc = abuf->idesc;
4282 int cycles = 0;
4284 int referenced = 0;
4285 int UNUSED insn_referenced = abuf->written;
4286 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4288 return cycles;
4289 #undef FLD
4292 static int
4293 model_frv_blt (SIM_CPU *current_cpu, void *sem_arg)
4295 #define FLD(f) abuf->fields.sfmt_beq.f
4296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4297 const IDESC * UNUSED idesc = abuf->idesc;
4298 int cycles = 0;
4300 int referenced = 0;
4301 int UNUSED insn_referenced = abuf->written;
4302 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4304 return cycles;
4305 #undef FLD
4308 static int
4309 model_frv_bge (SIM_CPU *current_cpu, void *sem_arg)
4311 #define FLD(f) abuf->fields.sfmt_beq.f
4312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4313 const IDESC * UNUSED idesc = abuf->idesc;
4314 int cycles = 0;
4316 int referenced = 0;
4317 int UNUSED insn_referenced = abuf->written;
4318 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4320 return cycles;
4321 #undef FLD
4324 static int
4325 model_frv_bls (SIM_CPU *current_cpu, void *sem_arg)
4327 #define FLD(f) abuf->fields.sfmt_beq.f
4328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4329 const IDESC * UNUSED idesc = abuf->idesc;
4330 int cycles = 0;
4332 int referenced = 0;
4333 int UNUSED insn_referenced = abuf->written;
4334 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4336 return cycles;
4337 #undef FLD
4340 static int
4341 model_frv_bhi (SIM_CPU *current_cpu, void *sem_arg)
4343 #define FLD(f) abuf->fields.sfmt_beq.f
4344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4345 const IDESC * UNUSED idesc = abuf->idesc;
4346 int cycles = 0;
4348 int referenced = 0;
4349 int UNUSED insn_referenced = abuf->written;
4350 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4352 return cycles;
4353 #undef FLD
4356 static int
4357 model_frv_bc (SIM_CPU *current_cpu, void *sem_arg)
4359 #define FLD(f) abuf->fields.sfmt_beq.f
4360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4361 const IDESC * UNUSED idesc = abuf->idesc;
4362 int cycles = 0;
4364 int referenced = 0;
4365 int UNUSED insn_referenced = abuf->written;
4366 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4368 return cycles;
4369 #undef FLD
4372 static int
4373 model_frv_bnc (SIM_CPU *current_cpu, void *sem_arg)
4375 #define FLD(f) abuf->fields.sfmt_beq.f
4376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4377 const IDESC * UNUSED idesc = abuf->idesc;
4378 int cycles = 0;
4380 int referenced = 0;
4381 int UNUSED insn_referenced = abuf->written;
4382 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4384 return cycles;
4385 #undef FLD
4388 static int
4389 model_frv_bn (SIM_CPU *current_cpu, void *sem_arg)
4391 #define FLD(f) abuf->fields.sfmt_beq.f
4392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4393 const IDESC * UNUSED idesc = abuf->idesc;
4394 int cycles = 0;
4396 int referenced = 0;
4397 int UNUSED insn_referenced = abuf->written;
4398 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4400 return cycles;
4401 #undef FLD
4404 static int
4405 model_frv_bp (SIM_CPU *current_cpu, void *sem_arg)
4407 #define FLD(f) abuf->fields.sfmt_beq.f
4408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4409 const IDESC * UNUSED idesc = abuf->idesc;
4410 int cycles = 0;
4412 int referenced = 0;
4413 int UNUSED insn_referenced = abuf->written;
4414 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4416 return cycles;
4417 #undef FLD
4420 static int
4421 model_frv_bv (SIM_CPU *current_cpu, void *sem_arg)
4423 #define FLD(f) abuf->fields.sfmt_beq.f
4424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4425 const IDESC * UNUSED idesc = abuf->idesc;
4426 int cycles = 0;
4428 int referenced = 0;
4429 int UNUSED insn_referenced = abuf->written;
4430 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4432 return cycles;
4433 #undef FLD
4436 static int
4437 model_frv_bnv (SIM_CPU *current_cpu, void *sem_arg)
4439 #define FLD(f) abuf->fields.sfmt_beq.f
4440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4441 const IDESC * UNUSED idesc = abuf->idesc;
4442 int cycles = 0;
4444 int referenced = 0;
4445 int UNUSED insn_referenced = abuf->written;
4446 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4448 return cycles;
4449 #undef FLD
4452 static int
4453 model_frv_fbra (SIM_CPU *current_cpu, void *sem_arg)
4455 #define FLD(f) abuf->fields.sfmt_fbne.f
4456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4457 const IDESC * UNUSED idesc = abuf->idesc;
4458 int cycles = 0;
4460 int referenced = 0;
4461 int UNUSED insn_referenced = abuf->written;
4462 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4464 return cycles;
4465 #undef FLD
4468 static int
4469 model_frv_fbno (SIM_CPU *current_cpu, void *sem_arg)
4471 #define FLD(f) abuf->fields.sfmt_fbne.f
4472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4473 const IDESC * UNUSED idesc = abuf->idesc;
4474 int cycles = 0;
4476 int referenced = 0;
4477 int UNUSED insn_referenced = abuf->written;
4478 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4480 return cycles;
4481 #undef FLD
4484 static int
4485 model_frv_fbne (SIM_CPU *current_cpu, void *sem_arg)
4487 #define FLD(f) abuf->fields.sfmt_fbne.f
4488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4489 const IDESC * UNUSED idesc = abuf->idesc;
4490 int cycles = 0;
4492 int referenced = 0;
4493 int UNUSED insn_referenced = abuf->written;
4494 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4496 return cycles;
4497 #undef FLD
4500 static int
4501 model_frv_fbeq (SIM_CPU *current_cpu, void *sem_arg)
4503 #define FLD(f) abuf->fields.sfmt_fbne.f
4504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4505 const IDESC * UNUSED idesc = abuf->idesc;
4506 int cycles = 0;
4508 int referenced = 0;
4509 int UNUSED insn_referenced = abuf->written;
4510 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4512 return cycles;
4513 #undef FLD
4516 static int
4517 model_frv_fblg (SIM_CPU *current_cpu, void *sem_arg)
4519 #define FLD(f) abuf->fields.sfmt_fbne.f
4520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4521 const IDESC * UNUSED idesc = abuf->idesc;
4522 int cycles = 0;
4524 int referenced = 0;
4525 int UNUSED insn_referenced = abuf->written;
4526 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4528 return cycles;
4529 #undef FLD
4532 static int
4533 model_frv_fbue (SIM_CPU *current_cpu, void *sem_arg)
4535 #define FLD(f) abuf->fields.sfmt_fbne.f
4536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4537 const IDESC * UNUSED idesc = abuf->idesc;
4538 int cycles = 0;
4540 int referenced = 0;
4541 int UNUSED insn_referenced = abuf->written;
4542 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4544 return cycles;
4545 #undef FLD
4548 static int
4549 model_frv_fbul (SIM_CPU *current_cpu, void *sem_arg)
4551 #define FLD(f) abuf->fields.sfmt_fbne.f
4552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4553 const IDESC * UNUSED idesc = abuf->idesc;
4554 int cycles = 0;
4556 int referenced = 0;
4557 int UNUSED insn_referenced = abuf->written;
4558 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4560 return cycles;
4561 #undef FLD
4564 static int
4565 model_frv_fbge (SIM_CPU *current_cpu, void *sem_arg)
4567 #define FLD(f) abuf->fields.sfmt_fbne.f
4568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4569 const IDESC * UNUSED idesc = abuf->idesc;
4570 int cycles = 0;
4572 int referenced = 0;
4573 int UNUSED insn_referenced = abuf->written;
4574 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4576 return cycles;
4577 #undef FLD
4580 static int
4581 model_frv_fblt (SIM_CPU *current_cpu, void *sem_arg)
4583 #define FLD(f) abuf->fields.sfmt_fbne.f
4584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4585 const IDESC * UNUSED idesc = abuf->idesc;
4586 int cycles = 0;
4588 int referenced = 0;
4589 int UNUSED insn_referenced = abuf->written;
4590 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4592 return cycles;
4593 #undef FLD
4596 static int
4597 model_frv_fbuge (SIM_CPU *current_cpu, void *sem_arg)
4599 #define FLD(f) abuf->fields.sfmt_fbne.f
4600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4601 const IDESC * UNUSED idesc = abuf->idesc;
4602 int cycles = 0;
4604 int referenced = 0;
4605 int UNUSED insn_referenced = abuf->written;
4606 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4608 return cycles;
4609 #undef FLD
4612 static int
4613 model_frv_fbug (SIM_CPU *current_cpu, void *sem_arg)
4615 #define FLD(f) abuf->fields.sfmt_fbne.f
4616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4617 const IDESC * UNUSED idesc = abuf->idesc;
4618 int cycles = 0;
4620 int referenced = 0;
4621 int UNUSED insn_referenced = abuf->written;
4622 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4624 return cycles;
4625 #undef FLD
4628 static int
4629 model_frv_fble (SIM_CPU *current_cpu, void *sem_arg)
4631 #define FLD(f) abuf->fields.sfmt_fbne.f
4632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4633 const IDESC * UNUSED idesc = abuf->idesc;
4634 int cycles = 0;
4636 int referenced = 0;
4637 int UNUSED insn_referenced = abuf->written;
4638 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4640 return cycles;
4641 #undef FLD
4644 static int
4645 model_frv_fbgt (SIM_CPU *current_cpu, void *sem_arg)
4647 #define FLD(f) abuf->fields.sfmt_fbne.f
4648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4649 const IDESC * UNUSED idesc = abuf->idesc;
4650 int cycles = 0;
4652 int referenced = 0;
4653 int UNUSED insn_referenced = abuf->written;
4654 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4656 return cycles;
4657 #undef FLD
4660 static int
4661 model_frv_fbule (SIM_CPU *current_cpu, void *sem_arg)
4663 #define FLD(f) abuf->fields.sfmt_fbne.f
4664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4665 const IDESC * UNUSED idesc = abuf->idesc;
4666 int cycles = 0;
4668 int referenced = 0;
4669 int UNUSED insn_referenced = abuf->written;
4670 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4672 return cycles;
4673 #undef FLD
4676 static int
4677 model_frv_fbu (SIM_CPU *current_cpu, void *sem_arg)
4679 #define FLD(f) abuf->fields.sfmt_fbne.f
4680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4681 const IDESC * UNUSED idesc = abuf->idesc;
4682 int cycles = 0;
4684 int referenced = 0;
4685 int UNUSED insn_referenced = abuf->written;
4686 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4688 return cycles;
4689 #undef FLD
4692 static int
4693 model_frv_fbo (SIM_CPU *current_cpu, void *sem_arg)
4695 #define FLD(f) abuf->fields.sfmt_fbne.f
4696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4697 const IDESC * UNUSED idesc = abuf->idesc;
4698 int cycles = 0;
4700 int referenced = 0;
4701 int UNUSED insn_referenced = abuf->written;
4702 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4704 return cycles;
4705 #undef FLD
4708 static int
4709 model_frv_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
4711 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
4712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4713 const IDESC * UNUSED idesc = abuf->idesc;
4714 int cycles = 0;
4716 int referenced = 0;
4717 int UNUSED insn_referenced = abuf->written;
4718 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4720 return cycles;
4721 #undef FLD
4724 static int
4725 model_frv_bralr (SIM_CPU *current_cpu, void *sem_arg)
4727 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
4728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4729 const IDESC * UNUSED idesc = abuf->idesc;
4730 int cycles = 0;
4732 int referenced = 0;
4733 int UNUSED insn_referenced = abuf->written;
4734 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4736 return cycles;
4737 #undef FLD
4740 static int
4741 model_frv_bnolr (SIM_CPU *current_cpu, void *sem_arg)
4743 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
4744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4745 const IDESC * UNUSED idesc = abuf->idesc;
4746 int cycles = 0;
4748 int referenced = 0;
4749 int UNUSED insn_referenced = abuf->written;
4750 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4752 return cycles;
4753 #undef FLD
4756 static int
4757 model_frv_beqlr (SIM_CPU *current_cpu, void *sem_arg)
4759 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4761 const IDESC * UNUSED idesc = abuf->idesc;
4762 int cycles = 0;
4764 int referenced = 0;
4765 int UNUSED insn_referenced = abuf->written;
4766 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4768 return cycles;
4769 #undef FLD
4772 static int
4773 model_frv_bnelr (SIM_CPU *current_cpu, void *sem_arg)
4775 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4777 const IDESC * UNUSED idesc = abuf->idesc;
4778 int cycles = 0;
4780 int referenced = 0;
4781 int UNUSED insn_referenced = abuf->written;
4782 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4784 return cycles;
4785 #undef FLD
4788 static int
4789 model_frv_blelr (SIM_CPU *current_cpu, void *sem_arg)
4791 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4793 const IDESC * UNUSED idesc = abuf->idesc;
4794 int cycles = 0;
4796 int referenced = 0;
4797 int UNUSED insn_referenced = abuf->written;
4798 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4800 return cycles;
4801 #undef FLD
4804 static int
4805 model_frv_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
4807 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4809 const IDESC * UNUSED idesc = abuf->idesc;
4810 int cycles = 0;
4812 int referenced = 0;
4813 int UNUSED insn_referenced = abuf->written;
4814 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4816 return cycles;
4817 #undef FLD
4820 static int
4821 model_frv_bltlr (SIM_CPU *current_cpu, void *sem_arg)
4823 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4825 const IDESC * UNUSED idesc = abuf->idesc;
4826 int cycles = 0;
4828 int referenced = 0;
4829 int UNUSED insn_referenced = abuf->written;
4830 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4832 return cycles;
4833 #undef FLD
4836 static int
4837 model_frv_bgelr (SIM_CPU *current_cpu, void *sem_arg)
4839 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4841 const IDESC * UNUSED idesc = abuf->idesc;
4842 int cycles = 0;
4844 int referenced = 0;
4845 int UNUSED insn_referenced = abuf->written;
4846 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4848 return cycles;
4849 #undef FLD
4852 static int
4853 model_frv_blslr (SIM_CPU *current_cpu, void *sem_arg)
4855 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4857 const IDESC * UNUSED idesc = abuf->idesc;
4858 int cycles = 0;
4860 int referenced = 0;
4861 int UNUSED insn_referenced = abuf->written;
4862 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4864 return cycles;
4865 #undef FLD
4868 static int
4869 model_frv_bhilr (SIM_CPU *current_cpu, void *sem_arg)
4871 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4873 const IDESC * UNUSED idesc = abuf->idesc;
4874 int cycles = 0;
4876 int referenced = 0;
4877 int UNUSED insn_referenced = abuf->written;
4878 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4880 return cycles;
4881 #undef FLD
4884 static int
4885 model_frv_bclr (SIM_CPU *current_cpu, void *sem_arg)
4887 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4889 const IDESC * UNUSED idesc = abuf->idesc;
4890 int cycles = 0;
4892 int referenced = 0;
4893 int UNUSED insn_referenced = abuf->written;
4894 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4896 return cycles;
4897 #undef FLD
4900 static int
4901 model_frv_bnclr (SIM_CPU *current_cpu, void *sem_arg)
4903 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4905 const IDESC * UNUSED idesc = abuf->idesc;
4906 int cycles = 0;
4908 int referenced = 0;
4909 int UNUSED insn_referenced = abuf->written;
4910 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4912 return cycles;
4913 #undef FLD
4916 static int
4917 model_frv_bnlr (SIM_CPU *current_cpu, void *sem_arg)
4919 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4921 const IDESC * UNUSED idesc = abuf->idesc;
4922 int cycles = 0;
4924 int referenced = 0;
4925 int UNUSED insn_referenced = abuf->written;
4926 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4928 return cycles;
4929 #undef FLD
4932 static int
4933 model_frv_bplr (SIM_CPU *current_cpu, void *sem_arg)
4935 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4937 const IDESC * UNUSED idesc = abuf->idesc;
4938 int cycles = 0;
4940 int referenced = 0;
4941 int UNUSED insn_referenced = abuf->written;
4942 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4944 return cycles;
4945 #undef FLD
4948 static int
4949 model_frv_bvlr (SIM_CPU *current_cpu, void *sem_arg)
4951 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4953 const IDESC * UNUSED idesc = abuf->idesc;
4954 int cycles = 0;
4956 int referenced = 0;
4957 int UNUSED insn_referenced = abuf->written;
4958 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4960 return cycles;
4961 #undef FLD
4964 static int
4965 model_frv_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
4967 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4969 const IDESC * UNUSED idesc = abuf->idesc;
4970 int cycles = 0;
4972 int referenced = 0;
4973 int UNUSED insn_referenced = abuf->written;
4974 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4976 return cycles;
4977 #undef FLD
4980 static int
4981 model_frv_fbralr (SIM_CPU *current_cpu, void *sem_arg)
4983 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
4984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4985 const IDESC * UNUSED idesc = abuf->idesc;
4986 int cycles = 0;
4988 int referenced = 0;
4989 int UNUSED insn_referenced = abuf->written;
4990 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4992 return cycles;
4993 #undef FLD
4996 static int
4997 model_frv_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
4999 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5001 const IDESC * UNUSED idesc = abuf->idesc;
5002 int cycles = 0;
5004 int referenced = 0;
5005 int UNUSED insn_referenced = abuf->written;
5006 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5008 return cycles;
5009 #undef FLD
5012 static int
5013 model_frv_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
5015 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5017 const IDESC * UNUSED idesc = abuf->idesc;
5018 int cycles = 0;
5020 int referenced = 0;
5021 int UNUSED insn_referenced = abuf->written;
5022 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5024 return cycles;
5025 #undef FLD
5028 static int
5029 model_frv_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
5031 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5033 const IDESC * UNUSED idesc = abuf->idesc;
5034 int cycles = 0;
5036 int referenced = 0;
5037 int UNUSED insn_referenced = abuf->written;
5038 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5040 return cycles;
5041 #undef FLD
5044 static int
5045 model_frv_fblglr (SIM_CPU *current_cpu, void *sem_arg)
5047 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5049 const IDESC * UNUSED idesc = abuf->idesc;
5050 int cycles = 0;
5052 int referenced = 0;
5053 int UNUSED insn_referenced = abuf->written;
5054 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5056 return cycles;
5057 #undef FLD
5060 static int
5061 model_frv_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
5063 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5065 const IDESC * UNUSED idesc = abuf->idesc;
5066 int cycles = 0;
5068 int referenced = 0;
5069 int UNUSED insn_referenced = abuf->written;
5070 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5072 return cycles;
5073 #undef FLD
5076 static int
5077 model_frv_fbullr (SIM_CPU *current_cpu, void *sem_arg)
5079 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5081 const IDESC * UNUSED idesc = abuf->idesc;
5082 int cycles = 0;
5084 int referenced = 0;
5085 int UNUSED insn_referenced = abuf->written;
5086 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5088 return cycles;
5089 #undef FLD
5092 static int
5093 model_frv_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
5095 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5097 const IDESC * UNUSED idesc = abuf->idesc;
5098 int cycles = 0;
5100 int referenced = 0;
5101 int UNUSED insn_referenced = abuf->written;
5102 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5104 return cycles;
5105 #undef FLD
5108 static int
5109 model_frv_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
5111 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5113 const IDESC * UNUSED idesc = abuf->idesc;
5114 int cycles = 0;
5116 int referenced = 0;
5117 int UNUSED insn_referenced = abuf->written;
5118 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5120 return cycles;
5121 #undef FLD
5124 static int
5125 model_frv_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
5127 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5129 const IDESC * UNUSED idesc = abuf->idesc;
5130 int cycles = 0;
5132 int referenced = 0;
5133 int UNUSED insn_referenced = abuf->written;
5134 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5136 return cycles;
5137 #undef FLD
5140 static int
5141 model_frv_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
5143 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5145 const IDESC * UNUSED idesc = abuf->idesc;
5146 int cycles = 0;
5148 int referenced = 0;
5149 int UNUSED insn_referenced = abuf->written;
5150 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5152 return cycles;
5153 #undef FLD
5156 static int
5157 model_frv_fblelr (SIM_CPU *current_cpu, void *sem_arg)
5159 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5161 const IDESC * UNUSED idesc = abuf->idesc;
5162 int cycles = 0;
5164 int referenced = 0;
5165 int UNUSED insn_referenced = abuf->written;
5166 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5168 return cycles;
5169 #undef FLD
5172 static int
5173 model_frv_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
5175 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5177 const IDESC * UNUSED idesc = abuf->idesc;
5178 int cycles = 0;
5180 int referenced = 0;
5181 int UNUSED insn_referenced = abuf->written;
5182 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5184 return cycles;
5185 #undef FLD
5188 static int
5189 model_frv_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
5191 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5193 const IDESC * UNUSED idesc = abuf->idesc;
5194 int cycles = 0;
5196 int referenced = 0;
5197 int UNUSED insn_referenced = abuf->written;
5198 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5200 return cycles;
5201 #undef FLD
5204 static int
5205 model_frv_fbulr (SIM_CPU *current_cpu, void *sem_arg)
5207 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5209 const IDESC * UNUSED idesc = abuf->idesc;
5210 int cycles = 0;
5212 int referenced = 0;
5213 int UNUSED insn_referenced = abuf->written;
5214 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5216 return cycles;
5217 #undef FLD
5220 static int
5221 model_frv_fbolr (SIM_CPU *current_cpu, void *sem_arg)
5223 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5225 const IDESC * UNUSED idesc = abuf->idesc;
5226 int cycles = 0;
5228 int referenced = 0;
5229 int UNUSED insn_referenced = abuf->written;
5230 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5232 return cycles;
5233 #undef FLD
5236 static int
5237 model_frv_bcralr (SIM_CPU *current_cpu, void *sem_arg)
5239 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5241 const IDESC * UNUSED idesc = abuf->idesc;
5242 int cycles = 0;
5244 int referenced = 0;
5245 int UNUSED insn_referenced = abuf->written;
5246 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5248 return cycles;
5249 #undef FLD
5252 static int
5253 model_frv_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
5255 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5257 const IDESC * UNUSED idesc = abuf->idesc;
5258 int cycles = 0;
5260 int referenced = 0;
5261 int UNUSED insn_referenced = abuf->written;
5262 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5264 return cycles;
5265 #undef FLD
5268 static int
5269 model_frv_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
5271 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5273 const IDESC * UNUSED idesc = abuf->idesc;
5274 int cycles = 0;
5276 int referenced = 0;
5277 int UNUSED insn_referenced = abuf->written;
5278 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5280 return cycles;
5281 #undef FLD
5284 static int
5285 model_frv_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
5287 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5289 const IDESC * UNUSED idesc = abuf->idesc;
5290 int cycles = 0;
5292 int referenced = 0;
5293 int UNUSED insn_referenced = abuf->written;
5294 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5296 return cycles;
5297 #undef FLD
5300 static int
5301 model_frv_bclelr (SIM_CPU *current_cpu, void *sem_arg)
5303 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5305 const IDESC * UNUSED idesc = abuf->idesc;
5306 int cycles = 0;
5308 int referenced = 0;
5309 int UNUSED insn_referenced = abuf->written;
5310 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5312 return cycles;
5313 #undef FLD
5316 static int
5317 model_frv_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
5319 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5321 const IDESC * UNUSED idesc = abuf->idesc;
5322 int cycles = 0;
5324 int referenced = 0;
5325 int UNUSED insn_referenced = abuf->written;
5326 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5328 return cycles;
5329 #undef FLD
5332 static int
5333 model_frv_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
5335 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5337 const IDESC * UNUSED idesc = abuf->idesc;
5338 int cycles = 0;
5340 int referenced = 0;
5341 int UNUSED insn_referenced = abuf->written;
5342 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5344 return cycles;
5345 #undef FLD
5348 static int
5349 model_frv_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
5351 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5353 const IDESC * UNUSED idesc = abuf->idesc;
5354 int cycles = 0;
5356 int referenced = 0;
5357 int UNUSED insn_referenced = abuf->written;
5358 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5360 return cycles;
5361 #undef FLD
5364 static int
5365 model_frv_bclslr (SIM_CPU *current_cpu, void *sem_arg)
5367 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5369 const IDESC * UNUSED idesc = abuf->idesc;
5370 int cycles = 0;
5372 int referenced = 0;
5373 int UNUSED insn_referenced = abuf->written;
5374 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5376 return cycles;
5377 #undef FLD
5380 static int
5381 model_frv_bchilr (SIM_CPU *current_cpu, void *sem_arg)
5383 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5385 const IDESC * UNUSED idesc = abuf->idesc;
5386 int cycles = 0;
5388 int referenced = 0;
5389 int UNUSED insn_referenced = abuf->written;
5390 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5392 return cycles;
5393 #undef FLD
5396 static int
5397 model_frv_bcclr (SIM_CPU *current_cpu, void *sem_arg)
5399 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5401 const IDESC * UNUSED idesc = abuf->idesc;
5402 int cycles = 0;
5404 int referenced = 0;
5405 int UNUSED insn_referenced = abuf->written;
5406 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5408 return cycles;
5409 #undef FLD
5412 static int
5413 model_frv_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
5415 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5417 const IDESC * UNUSED idesc = abuf->idesc;
5418 int cycles = 0;
5420 int referenced = 0;
5421 int UNUSED insn_referenced = abuf->written;
5422 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5424 return cycles;
5425 #undef FLD
5428 static int
5429 model_frv_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
5431 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5433 const IDESC * UNUSED idesc = abuf->idesc;
5434 int cycles = 0;
5436 int referenced = 0;
5437 int UNUSED insn_referenced = abuf->written;
5438 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5440 return cycles;
5441 #undef FLD
5444 static int
5445 model_frv_bcplr (SIM_CPU *current_cpu, void *sem_arg)
5447 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5449 const IDESC * UNUSED idesc = abuf->idesc;
5450 int cycles = 0;
5452 int referenced = 0;
5453 int UNUSED insn_referenced = abuf->written;
5454 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5456 return cycles;
5457 #undef FLD
5460 static int
5461 model_frv_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
5463 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5465 const IDESC * UNUSED idesc = abuf->idesc;
5466 int cycles = 0;
5468 int referenced = 0;
5469 int UNUSED insn_referenced = abuf->written;
5470 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5472 return cycles;
5473 #undef FLD
5476 static int
5477 model_frv_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
5479 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5481 const IDESC * UNUSED idesc = abuf->idesc;
5482 int cycles = 0;
5484 int referenced = 0;
5485 int UNUSED insn_referenced = abuf->written;
5486 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5488 return cycles;
5489 #undef FLD
5492 static int
5493 model_frv_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
5495 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5497 const IDESC * UNUSED idesc = abuf->idesc;
5498 int cycles = 0;
5500 int referenced = 0;
5501 int UNUSED insn_referenced = abuf->written;
5502 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5504 return cycles;
5505 #undef FLD
5508 static int
5509 model_frv_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
5511 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5513 const IDESC * UNUSED idesc = abuf->idesc;
5514 int cycles = 0;
5516 int referenced = 0;
5517 int UNUSED insn_referenced = abuf->written;
5518 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5520 return cycles;
5521 #undef FLD
5524 static int
5525 model_frv_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
5527 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5529 const IDESC * UNUSED idesc = abuf->idesc;
5530 int cycles = 0;
5532 int referenced = 0;
5533 int UNUSED insn_referenced = abuf->written;
5534 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5536 return cycles;
5537 #undef FLD
5540 static int
5541 model_frv_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
5543 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5545 const IDESC * UNUSED idesc = abuf->idesc;
5546 int cycles = 0;
5548 int referenced = 0;
5549 int UNUSED insn_referenced = abuf->written;
5550 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5552 return cycles;
5553 #undef FLD
5556 static int
5557 model_frv_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
5559 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5561 const IDESC * UNUSED idesc = abuf->idesc;
5562 int cycles = 0;
5564 int referenced = 0;
5565 int UNUSED insn_referenced = abuf->written;
5566 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5568 return cycles;
5569 #undef FLD
5572 static int
5573 model_frv_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
5575 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5577 const IDESC * UNUSED idesc = abuf->idesc;
5578 int cycles = 0;
5580 int referenced = 0;
5581 int UNUSED insn_referenced = abuf->written;
5582 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5584 return cycles;
5585 #undef FLD
5588 static int
5589 model_frv_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
5591 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5593 const IDESC * UNUSED idesc = abuf->idesc;
5594 int cycles = 0;
5596 int referenced = 0;
5597 int UNUSED insn_referenced = abuf->written;
5598 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5600 return cycles;
5601 #undef FLD
5604 static int
5605 model_frv_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
5607 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5609 const IDESC * UNUSED idesc = abuf->idesc;
5610 int cycles = 0;
5612 int referenced = 0;
5613 int UNUSED insn_referenced = abuf->written;
5614 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5616 return cycles;
5617 #undef FLD
5620 static int
5621 model_frv_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
5623 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5625 const IDESC * UNUSED idesc = abuf->idesc;
5626 int cycles = 0;
5628 int referenced = 0;
5629 int UNUSED insn_referenced = abuf->written;
5630 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5632 return cycles;
5633 #undef FLD
5636 static int
5637 model_frv_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
5639 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5641 const IDESC * UNUSED idesc = abuf->idesc;
5642 int cycles = 0;
5644 int referenced = 0;
5645 int UNUSED insn_referenced = abuf->written;
5646 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5648 return cycles;
5649 #undef FLD
5652 static int
5653 model_frv_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
5655 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5657 const IDESC * UNUSED idesc = abuf->idesc;
5658 int cycles = 0;
5660 int referenced = 0;
5661 int UNUSED insn_referenced = abuf->written;
5662 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5664 return cycles;
5665 #undef FLD
5668 static int
5669 model_frv_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
5671 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5673 const IDESC * UNUSED idesc = abuf->idesc;
5674 int cycles = 0;
5676 int referenced = 0;
5677 int UNUSED insn_referenced = abuf->written;
5678 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5680 return cycles;
5681 #undef FLD
5684 static int
5685 model_frv_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
5687 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5689 const IDESC * UNUSED idesc = abuf->idesc;
5690 int cycles = 0;
5692 int referenced = 0;
5693 int UNUSED insn_referenced = abuf->written;
5694 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5696 return cycles;
5697 #undef FLD
5700 static int
5701 model_frv_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
5703 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5705 const IDESC * UNUSED idesc = abuf->idesc;
5706 int cycles = 0;
5708 int referenced = 0;
5709 int UNUSED insn_referenced = abuf->written;
5710 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5712 return cycles;
5713 #undef FLD
5716 static int
5717 model_frv_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
5719 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5721 const IDESC * UNUSED idesc = abuf->idesc;
5722 int cycles = 0;
5724 int referenced = 0;
5725 int UNUSED insn_referenced = abuf->written;
5726 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5728 return cycles;
5729 #undef FLD
5732 static int
5733 model_frv_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
5735 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5737 const IDESC * UNUSED idesc = abuf->idesc;
5738 int cycles = 0;
5740 int referenced = 0;
5741 int UNUSED insn_referenced = abuf->written;
5742 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5744 return cycles;
5745 #undef FLD
5748 static int
5749 model_frv_jmpl (SIM_CPU *current_cpu, void *sem_arg)
5751 #define FLD(f) abuf->fields.sfmt_cjmpl.f
5752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5753 const IDESC * UNUSED idesc = abuf->idesc;
5754 int cycles = 0;
5756 int referenced = 0;
5757 int UNUSED insn_referenced = abuf->written;
5758 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5760 return cycles;
5761 #undef FLD
5764 static int
5765 model_frv_calll (SIM_CPU *current_cpu, void *sem_arg)
5767 #define FLD(f) abuf->fields.sfmt_cjmpl.f
5768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5769 const IDESC * UNUSED idesc = abuf->idesc;
5770 int cycles = 0;
5772 int referenced = 0;
5773 int UNUSED insn_referenced = abuf->written;
5774 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5776 return cycles;
5777 #undef FLD
5780 static int
5781 model_frv_jmpil (SIM_CPU *current_cpu, void *sem_arg)
5783 #define FLD(f) abuf->fields.sfmt_jmpil.f
5784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5785 const IDESC * UNUSED idesc = abuf->idesc;
5786 int cycles = 0;
5788 int referenced = 0;
5789 int UNUSED insn_referenced = abuf->written;
5790 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5792 return cycles;
5793 #undef FLD
5796 static int
5797 model_frv_callil (SIM_CPU *current_cpu, void *sem_arg)
5799 #define FLD(f) abuf->fields.sfmt_jmpil.f
5800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5801 const IDESC * UNUSED idesc = abuf->idesc;
5802 int cycles = 0;
5804 int referenced = 0;
5805 int UNUSED insn_referenced = abuf->written;
5806 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5808 return cycles;
5809 #undef FLD
5812 static int
5813 model_frv_call (SIM_CPU *current_cpu, void *sem_arg)
5815 #define FLD(f) abuf->fields.sfmt_call.f
5816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5817 const IDESC * UNUSED idesc = abuf->idesc;
5818 int cycles = 0;
5820 int referenced = 0;
5821 int UNUSED insn_referenced = abuf->written;
5822 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5824 return cycles;
5825 #undef FLD
5828 static int
5829 model_frv_rett (SIM_CPU *current_cpu, void *sem_arg)
5831 #define FLD(f) abuf->fields.sfmt_rett.f
5832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5833 const IDESC * UNUSED idesc = abuf->idesc;
5834 int cycles = 0;
5836 int referenced = 0;
5837 int UNUSED insn_referenced = abuf->written;
5838 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5840 return cycles;
5841 #undef FLD
5844 static int
5845 model_frv_rei (SIM_CPU *current_cpu, void *sem_arg)
5847 #define FLD(f) abuf->fields.sfmt_empty.f
5848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5849 const IDESC * UNUSED idesc = abuf->idesc;
5850 int cycles = 0;
5852 int referenced = 0;
5853 int UNUSED insn_referenced = abuf->written;
5854 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5856 return cycles;
5857 #undef FLD
5860 static int
5861 model_frv_tra (SIM_CPU *current_cpu, void *sem_arg)
5863 #define FLD(f) abuf->fields.sfmt_ftne.f
5864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5865 const IDESC * UNUSED idesc = abuf->idesc;
5866 int cycles = 0;
5868 int referenced = 0;
5869 int UNUSED insn_referenced = abuf->written;
5870 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5872 return cycles;
5873 #undef FLD
5876 static int
5877 model_frv_tno (SIM_CPU *current_cpu, void *sem_arg)
5879 #define FLD(f) abuf->fields.sfmt_empty.f
5880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5881 const IDESC * UNUSED idesc = abuf->idesc;
5882 int cycles = 0;
5884 int referenced = 0;
5885 int UNUSED insn_referenced = abuf->written;
5886 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5888 return cycles;
5889 #undef FLD
5892 static int
5893 model_frv_teq (SIM_CPU *current_cpu, void *sem_arg)
5895 #define FLD(f) abuf->fields.sfmt_teq.f
5896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5897 const IDESC * UNUSED idesc = abuf->idesc;
5898 int cycles = 0;
5900 int referenced = 0;
5901 int UNUSED insn_referenced = abuf->written;
5902 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5904 return cycles;
5905 #undef FLD
5908 static int
5909 model_frv_tne (SIM_CPU *current_cpu, void *sem_arg)
5911 #define FLD(f) abuf->fields.sfmt_teq.f
5912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5913 const IDESC * UNUSED idesc = abuf->idesc;
5914 int cycles = 0;
5916 int referenced = 0;
5917 int UNUSED insn_referenced = abuf->written;
5918 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5920 return cycles;
5921 #undef FLD
5924 static int
5925 model_frv_tle (SIM_CPU *current_cpu, void *sem_arg)
5927 #define FLD(f) abuf->fields.sfmt_teq.f
5928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5929 const IDESC * UNUSED idesc = abuf->idesc;
5930 int cycles = 0;
5932 int referenced = 0;
5933 int UNUSED insn_referenced = abuf->written;
5934 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5936 return cycles;
5937 #undef FLD
5940 static int
5941 model_frv_tgt (SIM_CPU *current_cpu, void *sem_arg)
5943 #define FLD(f) abuf->fields.sfmt_teq.f
5944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5945 const IDESC * UNUSED idesc = abuf->idesc;
5946 int cycles = 0;
5948 int referenced = 0;
5949 int UNUSED insn_referenced = abuf->written;
5950 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5952 return cycles;
5953 #undef FLD
5956 static int
5957 model_frv_tlt (SIM_CPU *current_cpu, void *sem_arg)
5959 #define FLD(f) abuf->fields.sfmt_teq.f
5960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5961 const IDESC * UNUSED idesc = abuf->idesc;
5962 int cycles = 0;
5964 int referenced = 0;
5965 int UNUSED insn_referenced = abuf->written;
5966 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5968 return cycles;
5969 #undef FLD
5972 static int
5973 model_frv_tge (SIM_CPU *current_cpu, void *sem_arg)
5975 #define FLD(f) abuf->fields.sfmt_teq.f
5976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5977 const IDESC * UNUSED idesc = abuf->idesc;
5978 int cycles = 0;
5980 int referenced = 0;
5981 int UNUSED insn_referenced = abuf->written;
5982 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5984 return cycles;
5985 #undef FLD
5988 static int
5989 model_frv_tls (SIM_CPU *current_cpu, void *sem_arg)
5991 #define FLD(f) abuf->fields.sfmt_teq.f
5992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5993 const IDESC * UNUSED idesc = abuf->idesc;
5994 int cycles = 0;
5996 int referenced = 0;
5997 int UNUSED insn_referenced = abuf->written;
5998 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6000 return cycles;
6001 #undef FLD
6004 static int
6005 model_frv_thi (SIM_CPU *current_cpu, void *sem_arg)
6007 #define FLD(f) abuf->fields.sfmt_teq.f
6008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6009 const IDESC * UNUSED idesc = abuf->idesc;
6010 int cycles = 0;
6012 int referenced = 0;
6013 int UNUSED insn_referenced = abuf->written;
6014 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6016 return cycles;
6017 #undef FLD
6020 static int
6021 model_frv_tc (SIM_CPU *current_cpu, void *sem_arg)
6023 #define FLD(f) abuf->fields.sfmt_teq.f
6024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6025 const IDESC * UNUSED idesc = abuf->idesc;
6026 int cycles = 0;
6028 int referenced = 0;
6029 int UNUSED insn_referenced = abuf->written;
6030 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6032 return cycles;
6033 #undef FLD
6036 static int
6037 model_frv_tnc (SIM_CPU *current_cpu, void *sem_arg)
6039 #define FLD(f) abuf->fields.sfmt_teq.f
6040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6041 const IDESC * UNUSED idesc = abuf->idesc;
6042 int cycles = 0;
6044 int referenced = 0;
6045 int UNUSED insn_referenced = abuf->written;
6046 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6048 return cycles;
6049 #undef FLD
6052 static int
6053 model_frv_tn (SIM_CPU *current_cpu, void *sem_arg)
6055 #define FLD(f) abuf->fields.sfmt_teq.f
6056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6057 const IDESC * UNUSED idesc = abuf->idesc;
6058 int cycles = 0;
6060 int referenced = 0;
6061 int UNUSED insn_referenced = abuf->written;
6062 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6064 return cycles;
6065 #undef FLD
6068 static int
6069 model_frv_tp (SIM_CPU *current_cpu, void *sem_arg)
6071 #define FLD(f) abuf->fields.sfmt_teq.f
6072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6073 const IDESC * UNUSED idesc = abuf->idesc;
6074 int cycles = 0;
6076 int referenced = 0;
6077 int UNUSED insn_referenced = abuf->written;
6078 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6080 return cycles;
6081 #undef FLD
6084 static int
6085 model_frv_tv (SIM_CPU *current_cpu, void *sem_arg)
6087 #define FLD(f) abuf->fields.sfmt_teq.f
6088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6089 const IDESC * UNUSED idesc = abuf->idesc;
6090 int cycles = 0;
6092 int referenced = 0;
6093 int UNUSED insn_referenced = abuf->written;
6094 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6096 return cycles;
6097 #undef FLD
6100 static int
6101 model_frv_tnv (SIM_CPU *current_cpu, void *sem_arg)
6103 #define FLD(f) abuf->fields.sfmt_teq.f
6104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6105 const IDESC * UNUSED idesc = abuf->idesc;
6106 int cycles = 0;
6108 int referenced = 0;
6109 int UNUSED insn_referenced = abuf->written;
6110 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6112 return cycles;
6113 #undef FLD
6116 static int
6117 model_frv_ftra (SIM_CPU *current_cpu, void *sem_arg)
6119 #define FLD(f) abuf->fields.sfmt_ftne.f
6120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6121 const IDESC * UNUSED idesc = abuf->idesc;
6122 int cycles = 0;
6124 int referenced = 0;
6125 int UNUSED insn_referenced = abuf->written;
6126 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6128 return cycles;
6129 #undef FLD
6132 static int
6133 model_frv_ftno (SIM_CPU *current_cpu, void *sem_arg)
6135 #define FLD(f) abuf->fields.sfmt_empty.f
6136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6137 const IDESC * UNUSED idesc = abuf->idesc;
6138 int cycles = 0;
6140 int referenced = 0;
6141 int UNUSED insn_referenced = abuf->written;
6142 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6144 return cycles;
6145 #undef FLD
6148 static int
6149 model_frv_ftne (SIM_CPU *current_cpu, void *sem_arg)
6151 #define FLD(f) abuf->fields.sfmt_ftne.f
6152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6153 const IDESC * UNUSED idesc = abuf->idesc;
6154 int cycles = 0;
6156 int referenced = 0;
6157 int UNUSED insn_referenced = abuf->written;
6158 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6160 return cycles;
6161 #undef FLD
6164 static int
6165 model_frv_fteq (SIM_CPU *current_cpu, void *sem_arg)
6167 #define FLD(f) abuf->fields.sfmt_ftne.f
6168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6169 const IDESC * UNUSED idesc = abuf->idesc;
6170 int cycles = 0;
6172 int referenced = 0;
6173 int UNUSED insn_referenced = abuf->written;
6174 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6176 return cycles;
6177 #undef FLD
6180 static int
6181 model_frv_ftlg (SIM_CPU *current_cpu, void *sem_arg)
6183 #define FLD(f) abuf->fields.sfmt_ftne.f
6184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6185 const IDESC * UNUSED idesc = abuf->idesc;
6186 int cycles = 0;
6188 int referenced = 0;
6189 int UNUSED insn_referenced = abuf->written;
6190 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6192 return cycles;
6193 #undef FLD
6196 static int
6197 model_frv_ftue (SIM_CPU *current_cpu, void *sem_arg)
6199 #define FLD(f) abuf->fields.sfmt_ftne.f
6200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6201 const IDESC * UNUSED idesc = abuf->idesc;
6202 int cycles = 0;
6204 int referenced = 0;
6205 int UNUSED insn_referenced = abuf->written;
6206 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6208 return cycles;
6209 #undef FLD
6212 static int
6213 model_frv_ftul (SIM_CPU *current_cpu, void *sem_arg)
6215 #define FLD(f) abuf->fields.sfmt_ftne.f
6216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6217 const IDESC * UNUSED idesc = abuf->idesc;
6218 int cycles = 0;
6220 int referenced = 0;
6221 int UNUSED insn_referenced = abuf->written;
6222 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6224 return cycles;
6225 #undef FLD
6228 static int
6229 model_frv_ftge (SIM_CPU *current_cpu, void *sem_arg)
6231 #define FLD(f) abuf->fields.sfmt_ftne.f
6232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6233 const IDESC * UNUSED idesc = abuf->idesc;
6234 int cycles = 0;
6236 int referenced = 0;
6237 int UNUSED insn_referenced = abuf->written;
6238 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6240 return cycles;
6241 #undef FLD
6244 static int
6245 model_frv_ftlt (SIM_CPU *current_cpu, void *sem_arg)
6247 #define FLD(f) abuf->fields.sfmt_ftne.f
6248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6249 const IDESC * UNUSED idesc = abuf->idesc;
6250 int cycles = 0;
6252 int referenced = 0;
6253 int UNUSED insn_referenced = abuf->written;
6254 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6256 return cycles;
6257 #undef FLD
6260 static int
6261 model_frv_ftuge (SIM_CPU *current_cpu, void *sem_arg)
6263 #define FLD(f) abuf->fields.sfmt_ftne.f
6264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6265 const IDESC * UNUSED idesc = abuf->idesc;
6266 int cycles = 0;
6268 int referenced = 0;
6269 int UNUSED insn_referenced = abuf->written;
6270 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6272 return cycles;
6273 #undef FLD
6276 static int
6277 model_frv_ftug (SIM_CPU *current_cpu, void *sem_arg)
6279 #define FLD(f) abuf->fields.sfmt_ftne.f
6280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6281 const IDESC * UNUSED idesc = abuf->idesc;
6282 int cycles = 0;
6284 int referenced = 0;
6285 int UNUSED insn_referenced = abuf->written;
6286 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6288 return cycles;
6289 #undef FLD
6292 static int
6293 model_frv_ftle (SIM_CPU *current_cpu, void *sem_arg)
6295 #define FLD(f) abuf->fields.sfmt_ftne.f
6296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6297 const IDESC * UNUSED idesc = abuf->idesc;
6298 int cycles = 0;
6300 int referenced = 0;
6301 int UNUSED insn_referenced = abuf->written;
6302 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6304 return cycles;
6305 #undef FLD
6308 static int
6309 model_frv_ftgt (SIM_CPU *current_cpu, void *sem_arg)
6311 #define FLD(f) abuf->fields.sfmt_ftne.f
6312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6313 const IDESC * UNUSED idesc = abuf->idesc;
6314 int cycles = 0;
6316 int referenced = 0;
6317 int UNUSED insn_referenced = abuf->written;
6318 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6320 return cycles;
6321 #undef FLD
6324 static int
6325 model_frv_ftule (SIM_CPU *current_cpu, void *sem_arg)
6327 #define FLD(f) abuf->fields.sfmt_ftne.f
6328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6329 const IDESC * UNUSED idesc = abuf->idesc;
6330 int cycles = 0;
6332 int referenced = 0;
6333 int UNUSED insn_referenced = abuf->written;
6334 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6336 return cycles;
6337 #undef FLD
6340 static int
6341 model_frv_ftu (SIM_CPU *current_cpu, void *sem_arg)
6343 #define FLD(f) abuf->fields.sfmt_ftne.f
6344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6345 const IDESC * UNUSED idesc = abuf->idesc;
6346 int cycles = 0;
6348 int referenced = 0;
6349 int UNUSED insn_referenced = abuf->written;
6350 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6352 return cycles;
6353 #undef FLD
6356 static int
6357 model_frv_fto (SIM_CPU *current_cpu, void *sem_arg)
6359 #define FLD(f) abuf->fields.sfmt_ftne.f
6360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6361 const IDESC * UNUSED idesc = abuf->idesc;
6362 int cycles = 0;
6364 int referenced = 0;
6365 int UNUSED insn_referenced = abuf->written;
6366 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6368 return cycles;
6369 #undef FLD
6372 static int
6373 model_frv_tira (SIM_CPU *current_cpu, void *sem_arg)
6375 #define FLD(f) abuf->fields.sfmt_ftine.f
6376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6377 const IDESC * UNUSED idesc = abuf->idesc;
6378 int cycles = 0;
6380 int referenced = 0;
6381 int UNUSED insn_referenced = abuf->written;
6382 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6384 return cycles;
6385 #undef FLD
6388 static int
6389 model_frv_tino (SIM_CPU *current_cpu, void *sem_arg)
6391 #define FLD(f) abuf->fields.sfmt_empty.f
6392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6393 const IDESC * UNUSED idesc = abuf->idesc;
6394 int cycles = 0;
6396 int referenced = 0;
6397 int UNUSED insn_referenced = abuf->written;
6398 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6400 return cycles;
6401 #undef FLD
6404 static int
6405 model_frv_tieq (SIM_CPU *current_cpu, void *sem_arg)
6407 #define FLD(f) abuf->fields.sfmt_tieq.f
6408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6409 const IDESC * UNUSED idesc = abuf->idesc;
6410 int cycles = 0;
6412 int referenced = 0;
6413 int UNUSED insn_referenced = abuf->written;
6414 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6416 return cycles;
6417 #undef FLD
6420 static int
6421 model_frv_tine (SIM_CPU *current_cpu, void *sem_arg)
6423 #define FLD(f) abuf->fields.sfmt_tieq.f
6424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6425 const IDESC * UNUSED idesc = abuf->idesc;
6426 int cycles = 0;
6428 int referenced = 0;
6429 int UNUSED insn_referenced = abuf->written;
6430 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6432 return cycles;
6433 #undef FLD
6436 static int
6437 model_frv_tile (SIM_CPU *current_cpu, void *sem_arg)
6439 #define FLD(f) abuf->fields.sfmt_tieq.f
6440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6441 const IDESC * UNUSED idesc = abuf->idesc;
6442 int cycles = 0;
6444 int referenced = 0;
6445 int UNUSED insn_referenced = abuf->written;
6446 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6448 return cycles;
6449 #undef FLD
6452 static int
6453 model_frv_tigt (SIM_CPU *current_cpu, void *sem_arg)
6455 #define FLD(f) abuf->fields.sfmt_tieq.f
6456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6457 const IDESC * UNUSED idesc = abuf->idesc;
6458 int cycles = 0;
6460 int referenced = 0;
6461 int UNUSED insn_referenced = abuf->written;
6462 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6464 return cycles;
6465 #undef FLD
6468 static int
6469 model_frv_tilt (SIM_CPU *current_cpu, void *sem_arg)
6471 #define FLD(f) abuf->fields.sfmt_tieq.f
6472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6473 const IDESC * UNUSED idesc = abuf->idesc;
6474 int cycles = 0;
6476 int referenced = 0;
6477 int UNUSED insn_referenced = abuf->written;
6478 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6480 return cycles;
6481 #undef FLD
6484 static int
6485 model_frv_tige (SIM_CPU *current_cpu, void *sem_arg)
6487 #define FLD(f) abuf->fields.sfmt_tieq.f
6488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6489 const IDESC * UNUSED idesc = abuf->idesc;
6490 int cycles = 0;
6492 int referenced = 0;
6493 int UNUSED insn_referenced = abuf->written;
6494 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6496 return cycles;
6497 #undef FLD
6500 static int
6501 model_frv_tils (SIM_CPU *current_cpu, void *sem_arg)
6503 #define FLD(f) abuf->fields.sfmt_tieq.f
6504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6505 const IDESC * UNUSED idesc = abuf->idesc;
6506 int cycles = 0;
6508 int referenced = 0;
6509 int UNUSED insn_referenced = abuf->written;
6510 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6512 return cycles;
6513 #undef FLD
6516 static int
6517 model_frv_tihi (SIM_CPU *current_cpu, void *sem_arg)
6519 #define FLD(f) abuf->fields.sfmt_tieq.f
6520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6521 const IDESC * UNUSED idesc = abuf->idesc;
6522 int cycles = 0;
6524 int referenced = 0;
6525 int UNUSED insn_referenced = abuf->written;
6526 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6528 return cycles;
6529 #undef FLD
6532 static int
6533 model_frv_tic (SIM_CPU *current_cpu, void *sem_arg)
6535 #define FLD(f) abuf->fields.sfmt_tieq.f
6536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6537 const IDESC * UNUSED idesc = abuf->idesc;
6538 int cycles = 0;
6540 int referenced = 0;
6541 int UNUSED insn_referenced = abuf->written;
6542 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6544 return cycles;
6545 #undef FLD
6548 static int
6549 model_frv_tinc (SIM_CPU *current_cpu, void *sem_arg)
6551 #define FLD(f) abuf->fields.sfmt_tieq.f
6552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6553 const IDESC * UNUSED idesc = abuf->idesc;
6554 int cycles = 0;
6556 int referenced = 0;
6557 int UNUSED insn_referenced = abuf->written;
6558 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6560 return cycles;
6561 #undef FLD
6564 static int
6565 model_frv_tin (SIM_CPU *current_cpu, void *sem_arg)
6567 #define FLD(f) abuf->fields.sfmt_tieq.f
6568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6569 const IDESC * UNUSED idesc = abuf->idesc;
6570 int cycles = 0;
6572 int referenced = 0;
6573 int UNUSED insn_referenced = abuf->written;
6574 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6576 return cycles;
6577 #undef FLD
6580 static int
6581 model_frv_tip (SIM_CPU *current_cpu, void *sem_arg)
6583 #define FLD(f) abuf->fields.sfmt_tieq.f
6584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6585 const IDESC * UNUSED idesc = abuf->idesc;
6586 int cycles = 0;
6588 int referenced = 0;
6589 int UNUSED insn_referenced = abuf->written;
6590 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6592 return cycles;
6593 #undef FLD
6596 static int
6597 model_frv_tiv (SIM_CPU *current_cpu, void *sem_arg)
6599 #define FLD(f) abuf->fields.sfmt_tieq.f
6600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6601 const IDESC * UNUSED idesc = abuf->idesc;
6602 int cycles = 0;
6604 int referenced = 0;
6605 int UNUSED insn_referenced = abuf->written;
6606 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6608 return cycles;
6609 #undef FLD
6612 static int
6613 model_frv_tinv (SIM_CPU *current_cpu, void *sem_arg)
6615 #define FLD(f) abuf->fields.sfmt_tieq.f
6616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6617 const IDESC * UNUSED idesc = abuf->idesc;
6618 int cycles = 0;
6620 int referenced = 0;
6621 int UNUSED insn_referenced = abuf->written;
6622 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6624 return cycles;
6625 #undef FLD
6628 static int
6629 model_frv_ftira (SIM_CPU *current_cpu, void *sem_arg)
6631 #define FLD(f) abuf->fields.sfmt_ftine.f
6632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6633 const IDESC * UNUSED idesc = abuf->idesc;
6634 int cycles = 0;
6636 int referenced = 0;
6637 int UNUSED insn_referenced = abuf->written;
6638 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6640 return cycles;
6641 #undef FLD
6644 static int
6645 model_frv_ftino (SIM_CPU *current_cpu, void *sem_arg)
6647 #define FLD(f) abuf->fields.sfmt_empty.f
6648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6649 const IDESC * UNUSED idesc = abuf->idesc;
6650 int cycles = 0;
6652 int referenced = 0;
6653 int UNUSED insn_referenced = abuf->written;
6654 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6656 return cycles;
6657 #undef FLD
6660 static int
6661 model_frv_ftine (SIM_CPU *current_cpu, void *sem_arg)
6663 #define FLD(f) abuf->fields.sfmt_ftine.f
6664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6665 const IDESC * UNUSED idesc = abuf->idesc;
6666 int cycles = 0;
6668 int referenced = 0;
6669 int UNUSED insn_referenced = abuf->written;
6670 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6672 return cycles;
6673 #undef FLD
6676 static int
6677 model_frv_ftieq (SIM_CPU *current_cpu, void *sem_arg)
6679 #define FLD(f) abuf->fields.sfmt_ftine.f
6680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6681 const IDESC * UNUSED idesc = abuf->idesc;
6682 int cycles = 0;
6684 int referenced = 0;
6685 int UNUSED insn_referenced = abuf->written;
6686 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6688 return cycles;
6689 #undef FLD
6692 static int
6693 model_frv_ftilg (SIM_CPU *current_cpu, void *sem_arg)
6695 #define FLD(f) abuf->fields.sfmt_ftine.f
6696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6697 const IDESC * UNUSED idesc = abuf->idesc;
6698 int cycles = 0;
6700 int referenced = 0;
6701 int UNUSED insn_referenced = abuf->written;
6702 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6704 return cycles;
6705 #undef FLD
6708 static int
6709 model_frv_ftiue (SIM_CPU *current_cpu, void *sem_arg)
6711 #define FLD(f) abuf->fields.sfmt_ftine.f
6712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6713 const IDESC * UNUSED idesc = abuf->idesc;
6714 int cycles = 0;
6716 int referenced = 0;
6717 int UNUSED insn_referenced = abuf->written;
6718 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6720 return cycles;
6721 #undef FLD
6724 static int
6725 model_frv_ftiul (SIM_CPU *current_cpu, void *sem_arg)
6727 #define FLD(f) abuf->fields.sfmt_ftine.f
6728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6729 const IDESC * UNUSED idesc = abuf->idesc;
6730 int cycles = 0;
6732 int referenced = 0;
6733 int UNUSED insn_referenced = abuf->written;
6734 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6736 return cycles;
6737 #undef FLD
6740 static int
6741 model_frv_ftige (SIM_CPU *current_cpu, void *sem_arg)
6743 #define FLD(f) abuf->fields.sfmt_ftine.f
6744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6745 const IDESC * UNUSED idesc = abuf->idesc;
6746 int cycles = 0;
6748 int referenced = 0;
6749 int UNUSED insn_referenced = abuf->written;
6750 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6752 return cycles;
6753 #undef FLD
6756 static int
6757 model_frv_ftilt (SIM_CPU *current_cpu, void *sem_arg)
6759 #define FLD(f) abuf->fields.sfmt_ftine.f
6760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6761 const IDESC * UNUSED idesc = abuf->idesc;
6762 int cycles = 0;
6764 int referenced = 0;
6765 int UNUSED insn_referenced = abuf->written;
6766 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6768 return cycles;
6769 #undef FLD
6772 static int
6773 model_frv_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
6775 #define FLD(f) abuf->fields.sfmt_ftine.f
6776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6777 const IDESC * UNUSED idesc = abuf->idesc;
6778 int cycles = 0;
6780 int referenced = 0;
6781 int UNUSED insn_referenced = abuf->written;
6782 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6784 return cycles;
6785 #undef FLD
6788 static int
6789 model_frv_ftiug (SIM_CPU *current_cpu, void *sem_arg)
6791 #define FLD(f) abuf->fields.sfmt_ftine.f
6792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6793 const IDESC * UNUSED idesc = abuf->idesc;
6794 int cycles = 0;
6796 int referenced = 0;
6797 int UNUSED insn_referenced = abuf->written;
6798 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6800 return cycles;
6801 #undef FLD
6804 static int
6805 model_frv_ftile (SIM_CPU *current_cpu, void *sem_arg)
6807 #define FLD(f) abuf->fields.sfmt_ftine.f
6808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6809 const IDESC * UNUSED idesc = abuf->idesc;
6810 int cycles = 0;
6812 int referenced = 0;
6813 int UNUSED insn_referenced = abuf->written;
6814 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6816 return cycles;
6817 #undef FLD
6820 static int
6821 model_frv_ftigt (SIM_CPU *current_cpu, void *sem_arg)
6823 #define FLD(f) abuf->fields.sfmt_ftine.f
6824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6825 const IDESC * UNUSED idesc = abuf->idesc;
6826 int cycles = 0;
6828 int referenced = 0;
6829 int UNUSED insn_referenced = abuf->written;
6830 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6832 return cycles;
6833 #undef FLD
6836 static int
6837 model_frv_ftiule (SIM_CPU *current_cpu, void *sem_arg)
6839 #define FLD(f) abuf->fields.sfmt_ftine.f
6840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6841 const IDESC * UNUSED idesc = abuf->idesc;
6842 int cycles = 0;
6844 int referenced = 0;
6845 int UNUSED insn_referenced = abuf->written;
6846 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6848 return cycles;
6849 #undef FLD
6852 static int
6853 model_frv_ftiu (SIM_CPU *current_cpu, void *sem_arg)
6855 #define FLD(f) abuf->fields.sfmt_ftine.f
6856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6857 const IDESC * UNUSED idesc = abuf->idesc;
6858 int cycles = 0;
6860 int referenced = 0;
6861 int UNUSED insn_referenced = abuf->written;
6862 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6864 return cycles;
6865 #undef FLD
6868 static int
6869 model_frv_ftio (SIM_CPU *current_cpu, void *sem_arg)
6871 #define FLD(f) abuf->fields.sfmt_ftine.f
6872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6873 const IDESC * UNUSED idesc = abuf->idesc;
6874 int cycles = 0;
6876 int referenced = 0;
6877 int UNUSED insn_referenced = abuf->written;
6878 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6880 return cycles;
6881 #undef FLD
6884 static int
6885 model_frv_break (SIM_CPU *current_cpu, void *sem_arg)
6887 #define FLD(f) abuf->fields.sfmt_break.f
6888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6889 const IDESC * UNUSED idesc = abuf->idesc;
6890 int cycles = 0;
6892 int referenced = 0;
6893 int UNUSED insn_referenced = abuf->written;
6894 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6896 return cycles;
6897 #undef FLD
6900 static int
6901 model_frv_mtrap (SIM_CPU *current_cpu, void *sem_arg)
6903 #define FLD(f) abuf->fields.sfmt_empty.f
6904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6905 const IDESC * UNUSED idesc = abuf->idesc;
6906 int cycles = 0;
6908 int referenced = 0;
6909 int UNUSED insn_referenced = abuf->written;
6910 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6912 return cycles;
6913 #undef FLD
6916 static int
6917 model_frv_andcr (SIM_CPU *current_cpu, void *sem_arg)
6919 #define FLD(f) abuf->fields.sfmt_andcr.f
6920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6921 const IDESC * UNUSED idesc = abuf->idesc;
6922 int cycles = 0;
6924 int referenced = 0;
6925 int UNUSED insn_referenced = abuf->written;
6926 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6928 return cycles;
6929 #undef FLD
6932 static int
6933 model_frv_orcr (SIM_CPU *current_cpu, void *sem_arg)
6935 #define FLD(f) abuf->fields.sfmt_andcr.f
6936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6937 const IDESC * UNUSED idesc = abuf->idesc;
6938 int cycles = 0;
6940 int referenced = 0;
6941 int UNUSED insn_referenced = abuf->written;
6942 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6944 return cycles;
6945 #undef FLD
6948 static int
6949 model_frv_xorcr (SIM_CPU *current_cpu, void *sem_arg)
6951 #define FLD(f) abuf->fields.sfmt_andcr.f
6952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6953 const IDESC * UNUSED idesc = abuf->idesc;
6954 int cycles = 0;
6956 int referenced = 0;
6957 int UNUSED insn_referenced = abuf->written;
6958 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6960 return cycles;
6961 #undef FLD
6964 static int
6965 model_frv_nandcr (SIM_CPU *current_cpu, void *sem_arg)
6967 #define FLD(f) abuf->fields.sfmt_andcr.f
6968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6969 const IDESC * UNUSED idesc = abuf->idesc;
6970 int cycles = 0;
6972 int referenced = 0;
6973 int UNUSED insn_referenced = abuf->written;
6974 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6976 return cycles;
6977 #undef FLD
6980 static int
6981 model_frv_norcr (SIM_CPU *current_cpu, void *sem_arg)
6983 #define FLD(f) abuf->fields.sfmt_andcr.f
6984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6985 const IDESC * UNUSED idesc = abuf->idesc;
6986 int cycles = 0;
6988 int referenced = 0;
6989 int UNUSED insn_referenced = abuf->written;
6990 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6992 return cycles;
6993 #undef FLD
6996 static int
6997 model_frv_andncr (SIM_CPU *current_cpu, void *sem_arg)
6999 #define FLD(f) abuf->fields.sfmt_andcr.f
7000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7001 const IDESC * UNUSED idesc = abuf->idesc;
7002 int cycles = 0;
7004 int referenced = 0;
7005 int UNUSED insn_referenced = abuf->written;
7006 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7008 return cycles;
7009 #undef FLD
7012 static int
7013 model_frv_orncr (SIM_CPU *current_cpu, void *sem_arg)
7015 #define FLD(f) abuf->fields.sfmt_andcr.f
7016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7017 const IDESC * UNUSED idesc = abuf->idesc;
7018 int cycles = 0;
7020 int referenced = 0;
7021 int UNUSED insn_referenced = abuf->written;
7022 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7024 return cycles;
7025 #undef FLD
7028 static int
7029 model_frv_nandncr (SIM_CPU *current_cpu, void *sem_arg)
7031 #define FLD(f) abuf->fields.sfmt_andcr.f
7032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7033 const IDESC * UNUSED idesc = abuf->idesc;
7034 int cycles = 0;
7036 int referenced = 0;
7037 int UNUSED insn_referenced = abuf->written;
7038 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7040 return cycles;
7041 #undef FLD
7044 static int
7045 model_frv_norncr (SIM_CPU *current_cpu, void *sem_arg)
7047 #define FLD(f) abuf->fields.sfmt_andcr.f
7048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7049 const IDESC * UNUSED idesc = abuf->idesc;
7050 int cycles = 0;
7052 int referenced = 0;
7053 int UNUSED insn_referenced = abuf->written;
7054 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7056 return cycles;
7057 #undef FLD
7060 static int
7061 model_frv_notcr (SIM_CPU *current_cpu, void *sem_arg)
7063 #define FLD(f) abuf->fields.sfmt_andcr.f
7064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7065 const IDESC * UNUSED idesc = abuf->idesc;
7066 int cycles = 0;
7068 int referenced = 0;
7069 int UNUSED insn_referenced = abuf->written;
7070 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7072 return cycles;
7073 #undef FLD
7076 static int
7077 model_frv_ckra (SIM_CPU *current_cpu, void *sem_arg)
7079 #define FLD(f) abuf->fields.sfmt_cckeq.f
7080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7081 const IDESC * UNUSED idesc = abuf->idesc;
7082 int cycles = 0;
7084 int referenced = 0;
7085 int UNUSED insn_referenced = abuf->written;
7086 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7088 return cycles;
7089 #undef FLD
7092 static int
7093 model_frv_ckno (SIM_CPU *current_cpu, void *sem_arg)
7095 #define FLD(f) abuf->fields.sfmt_cckeq.f
7096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7097 const IDESC * UNUSED idesc = abuf->idesc;
7098 int cycles = 0;
7100 int referenced = 0;
7101 int UNUSED insn_referenced = abuf->written;
7102 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7104 return cycles;
7105 #undef FLD
7108 static int
7109 model_frv_ckeq (SIM_CPU *current_cpu, void *sem_arg)
7111 #define FLD(f) abuf->fields.sfmt_cckeq.f
7112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7113 const IDESC * UNUSED idesc = abuf->idesc;
7114 int cycles = 0;
7116 int referenced = 0;
7117 int UNUSED insn_referenced = abuf->written;
7118 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7120 return cycles;
7121 #undef FLD
7124 static int
7125 model_frv_ckne (SIM_CPU *current_cpu, void *sem_arg)
7127 #define FLD(f) abuf->fields.sfmt_cckeq.f
7128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7129 const IDESC * UNUSED idesc = abuf->idesc;
7130 int cycles = 0;
7132 int referenced = 0;
7133 int UNUSED insn_referenced = abuf->written;
7134 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7136 return cycles;
7137 #undef FLD
7140 static int
7141 model_frv_ckle (SIM_CPU *current_cpu, void *sem_arg)
7143 #define FLD(f) abuf->fields.sfmt_cckeq.f
7144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7145 const IDESC * UNUSED idesc = abuf->idesc;
7146 int cycles = 0;
7148 int referenced = 0;
7149 int UNUSED insn_referenced = abuf->written;
7150 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7152 return cycles;
7153 #undef FLD
7156 static int
7157 model_frv_ckgt (SIM_CPU *current_cpu, void *sem_arg)
7159 #define FLD(f) abuf->fields.sfmt_cckeq.f
7160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7161 const IDESC * UNUSED idesc = abuf->idesc;
7162 int cycles = 0;
7164 int referenced = 0;
7165 int UNUSED insn_referenced = abuf->written;
7166 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7168 return cycles;
7169 #undef FLD
7172 static int
7173 model_frv_cklt (SIM_CPU *current_cpu, void *sem_arg)
7175 #define FLD(f) abuf->fields.sfmt_cckeq.f
7176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7177 const IDESC * UNUSED idesc = abuf->idesc;
7178 int cycles = 0;
7180 int referenced = 0;
7181 int UNUSED insn_referenced = abuf->written;
7182 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7184 return cycles;
7185 #undef FLD
7188 static int
7189 model_frv_ckge (SIM_CPU *current_cpu, void *sem_arg)
7191 #define FLD(f) abuf->fields.sfmt_cckeq.f
7192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7193 const IDESC * UNUSED idesc = abuf->idesc;
7194 int cycles = 0;
7196 int referenced = 0;
7197 int UNUSED insn_referenced = abuf->written;
7198 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7200 return cycles;
7201 #undef FLD
7204 static int
7205 model_frv_ckls (SIM_CPU *current_cpu, void *sem_arg)
7207 #define FLD(f) abuf->fields.sfmt_cckeq.f
7208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7209 const IDESC * UNUSED idesc = abuf->idesc;
7210 int cycles = 0;
7212 int referenced = 0;
7213 int UNUSED insn_referenced = abuf->written;
7214 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7216 return cycles;
7217 #undef FLD
7220 static int
7221 model_frv_ckhi (SIM_CPU *current_cpu, void *sem_arg)
7223 #define FLD(f) abuf->fields.sfmt_cckeq.f
7224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7225 const IDESC * UNUSED idesc = abuf->idesc;
7226 int cycles = 0;
7228 int referenced = 0;
7229 int UNUSED insn_referenced = abuf->written;
7230 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7232 return cycles;
7233 #undef FLD
7236 static int
7237 model_frv_ckc (SIM_CPU *current_cpu, void *sem_arg)
7239 #define FLD(f) abuf->fields.sfmt_cckeq.f
7240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7241 const IDESC * UNUSED idesc = abuf->idesc;
7242 int cycles = 0;
7244 int referenced = 0;
7245 int UNUSED insn_referenced = abuf->written;
7246 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7248 return cycles;
7249 #undef FLD
7252 static int
7253 model_frv_cknc (SIM_CPU *current_cpu, void *sem_arg)
7255 #define FLD(f) abuf->fields.sfmt_cckeq.f
7256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7257 const IDESC * UNUSED idesc = abuf->idesc;
7258 int cycles = 0;
7260 int referenced = 0;
7261 int UNUSED insn_referenced = abuf->written;
7262 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7264 return cycles;
7265 #undef FLD
7268 static int
7269 model_frv_ckn (SIM_CPU *current_cpu, void *sem_arg)
7271 #define FLD(f) abuf->fields.sfmt_cckeq.f
7272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7273 const IDESC * UNUSED idesc = abuf->idesc;
7274 int cycles = 0;
7276 int referenced = 0;
7277 int UNUSED insn_referenced = abuf->written;
7278 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7280 return cycles;
7281 #undef FLD
7284 static int
7285 model_frv_ckp (SIM_CPU *current_cpu, void *sem_arg)
7287 #define FLD(f) abuf->fields.sfmt_cckeq.f
7288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7289 const IDESC * UNUSED idesc = abuf->idesc;
7290 int cycles = 0;
7292 int referenced = 0;
7293 int UNUSED insn_referenced = abuf->written;
7294 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7296 return cycles;
7297 #undef FLD
7300 static int
7301 model_frv_ckv (SIM_CPU *current_cpu, void *sem_arg)
7303 #define FLD(f) abuf->fields.sfmt_cckeq.f
7304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7305 const IDESC * UNUSED idesc = abuf->idesc;
7306 int cycles = 0;
7308 int referenced = 0;
7309 int UNUSED insn_referenced = abuf->written;
7310 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7312 return cycles;
7313 #undef FLD
7316 static int
7317 model_frv_cknv (SIM_CPU *current_cpu, void *sem_arg)
7319 #define FLD(f) abuf->fields.sfmt_cckeq.f
7320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7321 const IDESC * UNUSED idesc = abuf->idesc;
7322 int cycles = 0;
7324 int referenced = 0;
7325 int UNUSED insn_referenced = abuf->written;
7326 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7328 return cycles;
7329 #undef FLD
7332 static int
7333 model_frv_fckra (SIM_CPU *current_cpu, void *sem_arg)
7335 #define FLD(f) abuf->fields.sfmt_cfckne.f
7336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7337 const IDESC * UNUSED idesc = abuf->idesc;
7338 int cycles = 0;
7340 int referenced = 0;
7341 int UNUSED insn_referenced = abuf->written;
7342 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7344 return cycles;
7345 #undef FLD
7348 static int
7349 model_frv_fckno (SIM_CPU *current_cpu, void *sem_arg)
7351 #define FLD(f) abuf->fields.sfmt_cfckne.f
7352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7353 const IDESC * UNUSED idesc = abuf->idesc;
7354 int cycles = 0;
7356 int referenced = 0;
7357 int UNUSED insn_referenced = abuf->written;
7358 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7360 return cycles;
7361 #undef FLD
7364 static int
7365 model_frv_fckne (SIM_CPU *current_cpu, void *sem_arg)
7367 #define FLD(f) abuf->fields.sfmt_cfckne.f
7368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7369 const IDESC * UNUSED idesc = abuf->idesc;
7370 int cycles = 0;
7372 int referenced = 0;
7373 int UNUSED insn_referenced = abuf->written;
7374 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7376 return cycles;
7377 #undef FLD
7380 static int
7381 model_frv_fckeq (SIM_CPU *current_cpu, void *sem_arg)
7383 #define FLD(f) abuf->fields.sfmt_cfckne.f
7384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7385 const IDESC * UNUSED idesc = abuf->idesc;
7386 int cycles = 0;
7388 int referenced = 0;
7389 int UNUSED insn_referenced = abuf->written;
7390 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7392 return cycles;
7393 #undef FLD
7396 static int
7397 model_frv_fcklg (SIM_CPU *current_cpu, void *sem_arg)
7399 #define FLD(f) abuf->fields.sfmt_cfckne.f
7400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7401 const IDESC * UNUSED idesc = abuf->idesc;
7402 int cycles = 0;
7404 int referenced = 0;
7405 int UNUSED insn_referenced = abuf->written;
7406 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7408 return cycles;
7409 #undef FLD
7412 static int
7413 model_frv_fckue (SIM_CPU *current_cpu, void *sem_arg)
7415 #define FLD(f) abuf->fields.sfmt_cfckne.f
7416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7417 const IDESC * UNUSED idesc = abuf->idesc;
7418 int cycles = 0;
7420 int referenced = 0;
7421 int UNUSED insn_referenced = abuf->written;
7422 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7424 return cycles;
7425 #undef FLD
7428 static int
7429 model_frv_fckul (SIM_CPU *current_cpu, void *sem_arg)
7431 #define FLD(f) abuf->fields.sfmt_cfckne.f
7432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7433 const IDESC * UNUSED idesc = abuf->idesc;
7434 int cycles = 0;
7436 int referenced = 0;
7437 int UNUSED insn_referenced = abuf->written;
7438 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7440 return cycles;
7441 #undef FLD
7444 static int
7445 model_frv_fckge (SIM_CPU *current_cpu, void *sem_arg)
7447 #define FLD(f) abuf->fields.sfmt_cfckne.f
7448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7449 const IDESC * UNUSED idesc = abuf->idesc;
7450 int cycles = 0;
7452 int referenced = 0;
7453 int UNUSED insn_referenced = abuf->written;
7454 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7456 return cycles;
7457 #undef FLD
7460 static int
7461 model_frv_fcklt (SIM_CPU *current_cpu, void *sem_arg)
7463 #define FLD(f) abuf->fields.sfmt_cfckne.f
7464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7465 const IDESC * UNUSED idesc = abuf->idesc;
7466 int cycles = 0;
7468 int referenced = 0;
7469 int UNUSED insn_referenced = abuf->written;
7470 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7472 return cycles;
7473 #undef FLD
7476 static int
7477 model_frv_fckuge (SIM_CPU *current_cpu, void *sem_arg)
7479 #define FLD(f) abuf->fields.sfmt_cfckne.f
7480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7481 const IDESC * UNUSED idesc = abuf->idesc;
7482 int cycles = 0;
7484 int referenced = 0;
7485 int UNUSED insn_referenced = abuf->written;
7486 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7488 return cycles;
7489 #undef FLD
7492 static int
7493 model_frv_fckug (SIM_CPU *current_cpu, void *sem_arg)
7495 #define FLD(f) abuf->fields.sfmt_cfckne.f
7496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7497 const IDESC * UNUSED idesc = abuf->idesc;
7498 int cycles = 0;
7500 int referenced = 0;
7501 int UNUSED insn_referenced = abuf->written;
7502 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7504 return cycles;
7505 #undef FLD
7508 static int
7509 model_frv_fckle (SIM_CPU *current_cpu, void *sem_arg)
7511 #define FLD(f) abuf->fields.sfmt_cfckne.f
7512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7513 const IDESC * UNUSED idesc = abuf->idesc;
7514 int cycles = 0;
7516 int referenced = 0;
7517 int UNUSED insn_referenced = abuf->written;
7518 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7520 return cycles;
7521 #undef FLD
7524 static int
7525 model_frv_fckgt (SIM_CPU *current_cpu, void *sem_arg)
7527 #define FLD(f) abuf->fields.sfmt_cfckne.f
7528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7529 const IDESC * UNUSED idesc = abuf->idesc;
7530 int cycles = 0;
7532 int referenced = 0;
7533 int UNUSED insn_referenced = abuf->written;
7534 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7536 return cycles;
7537 #undef FLD
7540 static int
7541 model_frv_fckule (SIM_CPU *current_cpu, void *sem_arg)
7543 #define FLD(f) abuf->fields.sfmt_cfckne.f
7544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7545 const IDESC * UNUSED idesc = abuf->idesc;
7546 int cycles = 0;
7548 int referenced = 0;
7549 int UNUSED insn_referenced = abuf->written;
7550 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7552 return cycles;
7553 #undef FLD
7556 static int
7557 model_frv_fcku (SIM_CPU *current_cpu, void *sem_arg)
7559 #define FLD(f) abuf->fields.sfmt_cfckne.f
7560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7561 const IDESC * UNUSED idesc = abuf->idesc;
7562 int cycles = 0;
7564 int referenced = 0;
7565 int UNUSED insn_referenced = abuf->written;
7566 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7568 return cycles;
7569 #undef FLD
7572 static int
7573 model_frv_fcko (SIM_CPU *current_cpu, void *sem_arg)
7575 #define FLD(f) abuf->fields.sfmt_cfckne.f
7576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7577 const IDESC * UNUSED idesc = abuf->idesc;
7578 int cycles = 0;
7580 int referenced = 0;
7581 int UNUSED insn_referenced = abuf->written;
7582 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7584 return cycles;
7585 #undef FLD
7588 static int
7589 model_frv_cckra (SIM_CPU *current_cpu, void *sem_arg)
7591 #define FLD(f) abuf->fields.sfmt_cckeq.f
7592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7593 const IDESC * UNUSED idesc = abuf->idesc;
7594 int cycles = 0;
7596 int referenced = 0;
7597 int UNUSED insn_referenced = abuf->written;
7598 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7600 return cycles;
7601 #undef FLD
7604 static int
7605 model_frv_cckno (SIM_CPU *current_cpu, void *sem_arg)
7607 #define FLD(f) abuf->fields.sfmt_cckeq.f
7608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7609 const IDESC * UNUSED idesc = abuf->idesc;
7610 int cycles = 0;
7612 int referenced = 0;
7613 int UNUSED insn_referenced = abuf->written;
7614 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7616 return cycles;
7617 #undef FLD
7620 static int
7621 model_frv_cckeq (SIM_CPU *current_cpu, void *sem_arg)
7623 #define FLD(f) abuf->fields.sfmt_cckeq.f
7624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7625 const IDESC * UNUSED idesc = abuf->idesc;
7626 int cycles = 0;
7628 int referenced = 0;
7629 int UNUSED insn_referenced = abuf->written;
7630 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7632 return cycles;
7633 #undef FLD
7636 static int
7637 model_frv_cckne (SIM_CPU *current_cpu, void *sem_arg)
7639 #define FLD(f) abuf->fields.sfmt_cckeq.f
7640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7641 const IDESC * UNUSED idesc = abuf->idesc;
7642 int cycles = 0;
7644 int referenced = 0;
7645 int UNUSED insn_referenced = abuf->written;
7646 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7648 return cycles;
7649 #undef FLD
7652 static int
7653 model_frv_cckle (SIM_CPU *current_cpu, void *sem_arg)
7655 #define FLD(f) abuf->fields.sfmt_cckeq.f
7656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7657 const IDESC * UNUSED idesc = abuf->idesc;
7658 int cycles = 0;
7660 int referenced = 0;
7661 int UNUSED insn_referenced = abuf->written;
7662 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7664 return cycles;
7665 #undef FLD
7668 static int
7669 model_frv_cckgt (SIM_CPU *current_cpu, void *sem_arg)
7671 #define FLD(f) abuf->fields.sfmt_cckeq.f
7672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7673 const IDESC * UNUSED idesc = abuf->idesc;
7674 int cycles = 0;
7676 int referenced = 0;
7677 int UNUSED insn_referenced = abuf->written;
7678 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7680 return cycles;
7681 #undef FLD
7684 static int
7685 model_frv_ccklt (SIM_CPU *current_cpu, void *sem_arg)
7687 #define FLD(f) abuf->fields.sfmt_cckeq.f
7688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7689 const IDESC * UNUSED idesc = abuf->idesc;
7690 int cycles = 0;
7692 int referenced = 0;
7693 int UNUSED insn_referenced = abuf->written;
7694 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7696 return cycles;
7697 #undef FLD
7700 static int
7701 model_frv_cckge (SIM_CPU *current_cpu, void *sem_arg)
7703 #define FLD(f) abuf->fields.sfmt_cckeq.f
7704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7705 const IDESC * UNUSED idesc = abuf->idesc;
7706 int cycles = 0;
7708 int referenced = 0;
7709 int UNUSED insn_referenced = abuf->written;
7710 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7712 return cycles;
7713 #undef FLD
7716 static int
7717 model_frv_cckls (SIM_CPU *current_cpu, void *sem_arg)
7719 #define FLD(f) abuf->fields.sfmt_cckeq.f
7720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7721 const IDESC * UNUSED idesc = abuf->idesc;
7722 int cycles = 0;
7724 int referenced = 0;
7725 int UNUSED insn_referenced = abuf->written;
7726 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7728 return cycles;
7729 #undef FLD
7732 static int
7733 model_frv_cckhi (SIM_CPU *current_cpu, void *sem_arg)
7735 #define FLD(f) abuf->fields.sfmt_cckeq.f
7736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7737 const IDESC * UNUSED idesc = abuf->idesc;
7738 int cycles = 0;
7740 int referenced = 0;
7741 int UNUSED insn_referenced = abuf->written;
7742 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7744 return cycles;
7745 #undef FLD
7748 static int
7749 model_frv_cckc (SIM_CPU *current_cpu, void *sem_arg)
7751 #define FLD(f) abuf->fields.sfmt_cckeq.f
7752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7753 const IDESC * UNUSED idesc = abuf->idesc;
7754 int cycles = 0;
7756 int referenced = 0;
7757 int UNUSED insn_referenced = abuf->written;
7758 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7760 return cycles;
7761 #undef FLD
7764 static int
7765 model_frv_ccknc (SIM_CPU *current_cpu, void *sem_arg)
7767 #define FLD(f) abuf->fields.sfmt_cckeq.f
7768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7769 const IDESC * UNUSED idesc = abuf->idesc;
7770 int cycles = 0;
7772 int referenced = 0;
7773 int UNUSED insn_referenced = abuf->written;
7774 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7776 return cycles;
7777 #undef FLD
7780 static int
7781 model_frv_cckn (SIM_CPU *current_cpu, void *sem_arg)
7783 #define FLD(f) abuf->fields.sfmt_cckeq.f
7784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7785 const IDESC * UNUSED idesc = abuf->idesc;
7786 int cycles = 0;
7788 int referenced = 0;
7789 int UNUSED insn_referenced = abuf->written;
7790 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7792 return cycles;
7793 #undef FLD
7796 static int
7797 model_frv_cckp (SIM_CPU *current_cpu, void *sem_arg)
7799 #define FLD(f) abuf->fields.sfmt_cckeq.f
7800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7801 const IDESC * UNUSED idesc = abuf->idesc;
7802 int cycles = 0;
7804 int referenced = 0;
7805 int UNUSED insn_referenced = abuf->written;
7806 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7808 return cycles;
7809 #undef FLD
7812 static int
7813 model_frv_cckv (SIM_CPU *current_cpu, void *sem_arg)
7815 #define FLD(f) abuf->fields.sfmt_cckeq.f
7816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7817 const IDESC * UNUSED idesc = abuf->idesc;
7818 int cycles = 0;
7820 int referenced = 0;
7821 int UNUSED insn_referenced = abuf->written;
7822 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7824 return cycles;
7825 #undef FLD
7828 static int
7829 model_frv_ccknv (SIM_CPU *current_cpu, void *sem_arg)
7831 #define FLD(f) abuf->fields.sfmt_cckeq.f
7832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7833 const IDESC * UNUSED idesc = abuf->idesc;
7834 int cycles = 0;
7836 int referenced = 0;
7837 int UNUSED insn_referenced = abuf->written;
7838 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7840 return cycles;
7841 #undef FLD
7844 static int
7845 model_frv_cfckra (SIM_CPU *current_cpu, void *sem_arg)
7847 #define FLD(f) abuf->fields.sfmt_cfckne.f
7848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7849 const IDESC * UNUSED idesc = abuf->idesc;
7850 int cycles = 0;
7852 int referenced = 0;
7853 int UNUSED insn_referenced = abuf->written;
7854 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7856 return cycles;
7857 #undef FLD
7860 static int
7861 model_frv_cfckno (SIM_CPU *current_cpu, void *sem_arg)
7863 #define FLD(f) abuf->fields.sfmt_cfckne.f
7864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7865 const IDESC * UNUSED idesc = abuf->idesc;
7866 int cycles = 0;
7868 int referenced = 0;
7869 int UNUSED insn_referenced = abuf->written;
7870 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7872 return cycles;
7873 #undef FLD
7876 static int
7877 model_frv_cfckne (SIM_CPU *current_cpu, void *sem_arg)
7879 #define FLD(f) abuf->fields.sfmt_cfckne.f
7880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7881 const IDESC * UNUSED idesc = abuf->idesc;
7882 int cycles = 0;
7884 int referenced = 0;
7885 int UNUSED insn_referenced = abuf->written;
7886 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7888 return cycles;
7889 #undef FLD
7892 static int
7893 model_frv_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
7895 #define FLD(f) abuf->fields.sfmt_cfckne.f
7896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7897 const IDESC * UNUSED idesc = abuf->idesc;
7898 int cycles = 0;
7900 int referenced = 0;
7901 int UNUSED insn_referenced = abuf->written;
7902 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7904 return cycles;
7905 #undef FLD
7908 static int
7909 model_frv_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
7911 #define FLD(f) abuf->fields.sfmt_cfckne.f
7912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7913 const IDESC * UNUSED idesc = abuf->idesc;
7914 int cycles = 0;
7916 int referenced = 0;
7917 int UNUSED insn_referenced = abuf->written;
7918 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7920 return cycles;
7921 #undef FLD
7924 static int
7925 model_frv_cfckue (SIM_CPU *current_cpu, void *sem_arg)
7927 #define FLD(f) abuf->fields.sfmt_cfckne.f
7928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7929 const IDESC * UNUSED idesc = abuf->idesc;
7930 int cycles = 0;
7932 int referenced = 0;
7933 int UNUSED insn_referenced = abuf->written;
7934 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7936 return cycles;
7937 #undef FLD
7940 static int
7941 model_frv_cfckul (SIM_CPU *current_cpu, void *sem_arg)
7943 #define FLD(f) abuf->fields.sfmt_cfckne.f
7944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7945 const IDESC * UNUSED idesc = abuf->idesc;
7946 int cycles = 0;
7948 int referenced = 0;
7949 int UNUSED insn_referenced = abuf->written;
7950 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7952 return cycles;
7953 #undef FLD
7956 static int
7957 model_frv_cfckge (SIM_CPU *current_cpu, void *sem_arg)
7959 #define FLD(f) abuf->fields.sfmt_cfckne.f
7960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7961 const IDESC * UNUSED idesc = abuf->idesc;
7962 int cycles = 0;
7964 int referenced = 0;
7965 int UNUSED insn_referenced = abuf->written;
7966 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7968 return cycles;
7969 #undef FLD
7972 static int
7973 model_frv_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
7975 #define FLD(f) abuf->fields.sfmt_cfckne.f
7976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7977 const IDESC * UNUSED idesc = abuf->idesc;
7978 int cycles = 0;
7980 int referenced = 0;
7981 int UNUSED insn_referenced = abuf->written;
7982 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7984 return cycles;
7985 #undef FLD
7988 static int
7989 model_frv_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
7991 #define FLD(f) abuf->fields.sfmt_cfckne.f
7992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7993 const IDESC * UNUSED idesc = abuf->idesc;
7994 int cycles = 0;
7996 int referenced = 0;
7997 int UNUSED insn_referenced = abuf->written;
7998 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8000 return cycles;
8001 #undef FLD
8004 static int
8005 model_frv_cfckug (SIM_CPU *current_cpu, void *sem_arg)
8007 #define FLD(f) abuf->fields.sfmt_cfckne.f
8008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8009 const IDESC * UNUSED idesc = abuf->idesc;
8010 int cycles = 0;
8012 int referenced = 0;
8013 int UNUSED insn_referenced = abuf->written;
8014 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8016 return cycles;
8017 #undef FLD
8020 static int
8021 model_frv_cfckle (SIM_CPU *current_cpu, void *sem_arg)
8023 #define FLD(f) abuf->fields.sfmt_cfckne.f
8024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8025 const IDESC * UNUSED idesc = abuf->idesc;
8026 int cycles = 0;
8028 int referenced = 0;
8029 int UNUSED insn_referenced = abuf->written;
8030 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8032 return cycles;
8033 #undef FLD
8036 static int
8037 model_frv_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
8039 #define FLD(f) abuf->fields.sfmt_cfckne.f
8040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8041 const IDESC * UNUSED idesc = abuf->idesc;
8042 int cycles = 0;
8044 int referenced = 0;
8045 int UNUSED insn_referenced = abuf->written;
8046 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8048 return cycles;
8049 #undef FLD
8052 static int
8053 model_frv_cfckule (SIM_CPU *current_cpu, void *sem_arg)
8055 #define FLD(f) abuf->fields.sfmt_cfckne.f
8056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8057 const IDESC * UNUSED idesc = abuf->idesc;
8058 int cycles = 0;
8060 int referenced = 0;
8061 int UNUSED insn_referenced = abuf->written;
8062 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8064 return cycles;
8065 #undef FLD
8068 static int
8069 model_frv_cfcku (SIM_CPU *current_cpu, void *sem_arg)
8071 #define FLD(f) abuf->fields.sfmt_cfckne.f
8072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8073 const IDESC * UNUSED idesc = abuf->idesc;
8074 int cycles = 0;
8076 int referenced = 0;
8077 int UNUSED insn_referenced = abuf->written;
8078 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8080 return cycles;
8081 #undef FLD
8084 static int
8085 model_frv_cfcko (SIM_CPU *current_cpu, void *sem_arg)
8087 #define FLD(f) abuf->fields.sfmt_cfckne.f
8088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8089 const IDESC * UNUSED idesc = abuf->idesc;
8090 int cycles = 0;
8092 int referenced = 0;
8093 int UNUSED insn_referenced = abuf->written;
8094 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8096 return cycles;
8097 #undef FLD
8100 static int
8101 model_frv_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
8103 #define FLD(f) abuf->fields.sfmt_cjmpl.f
8104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8105 const IDESC * UNUSED idesc = abuf->idesc;
8106 int cycles = 0;
8108 int referenced = 0;
8109 int UNUSED insn_referenced = abuf->written;
8110 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8112 return cycles;
8113 #undef FLD
8116 static int
8117 model_frv_ccalll (SIM_CPU *current_cpu, void *sem_arg)
8119 #define FLD(f) abuf->fields.sfmt_cjmpl.f
8120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8121 const IDESC * UNUSED idesc = abuf->idesc;
8122 int cycles = 0;
8124 int referenced = 0;
8125 int UNUSED insn_referenced = abuf->written;
8126 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8128 return cycles;
8129 #undef FLD
8132 static int
8133 model_frv_ici (SIM_CPU *current_cpu, void *sem_arg)
8135 #define FLD(f) abuf->fields.sfmt_icpl.f
8136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8137 const IDESC * UNUSED idesc = abuf->idesc;
8138 int cycles = 0;
8140 int referenced = 0;
8141 int UNUSED insn_referenced = abuf->written;
8142 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8144 return cycles;
8145 #undef FLD
8148 static int
8149 model_frv_dci (SIM_CPU *current_cpu, void *sem_arg)
8151 #define FLD(f) abuf->fields.sfmt_icpl.f
8152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8153 const IDESC * UNUSED idesc = abuf->idesc;
8154 int cycles = 0;
8156 int referenced = 0;
8157 int UNUSED insn_referenced = abuf->written;
8158 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8160 return cycles;
8161 #undef FLD
8164 static int
8165 model_frv_icei (SIM_CPU *current_cpu, void *sem_arg)
8167 #define FLD(f) abuf->fields.sfmt_icei.f
8168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8169 const IDESC * UNUSED idesc = abuf->idesc;
8170 int cycles = 0;
8172 int referenced = 0;
8173 int UNUSED insn_referenced = abuf->written;
8174 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8176 return cycles;
8177 #undef FLD
8180 static int
8181 model_frv_dcei (SIM_CPU *current_cpu, void *sem_arg)
8183 #define FLD(f) abuf->fields.sfmt_icei.f
8184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8185 const IDESC * UNUSED idesc = abuf->idesc;
8186 int cycles = 0;
8188 int referenced = 0;
8189 int UNUSED insn_referenced = abuf->written;
8190 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8192 return cycles;
8193 #undef FLD
8196 static int
8197 model_frv_dcf (SIM_CPU *current_cpu, void *sem_arg)
8199 #define FLD(f) abuf->fields.sfmt_icpl.f
8200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8201 const IDESC * UNUSED idesc = abuf->idesc;
8202 int cycles = 0;
8204 int referenced = 0;
8205 int UNUSED insn_referenced = abuf->written;
8206 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8208 return cycles;
8209 #undef FLD
8212 static int
8213 model_frv_dcef (SIM_CPU *current_cpu, void *sem_arg)
8215 #define FLD(f) abuf->fields.sfmt_icei.f
8216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8217 const IDESC * UNUSED idesc = abuf->idesc;
8218 int cycles = 0;
8220 int referenced = 0;
8221 int UNUSED insn_referenced = abuf->written;
8222 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8224 return cycles;
8225 #undef FLD
8228 static int
8229 model_frv_witlb (SIM_CPU *current_cpu, void *sem_arg)
8231 #define FLD(f) abuf->fields.sfmt_empty.f
8232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8233 const IDESC * UNUSED idesc = abuf->idesc;
8234 int cycles = 0;
8236 int referenced = 0;
8237 int UNUSED insn_referenced = abuf->written;
8238 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8240 return cycles;
8241 #undef FLD
8244 static int
8245 model_frv_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
8247 #define FLD(f) abuf->fields.sfmt_empty.f
8248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8249 const IDESC * UNUSED idesc = abuf->idesc;
8250 int cycles = 0;
8252 int referenced = 0;
8253 int UNUSED insn_referenced = abuf->written;
8254 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8256 return cycles;
8257 #undef FLD
8260 static int
8261 model_frv_itlbi (SIM_CPU *current_cpu, void *sem_arg)
8263 #define FLD(f) abuf->fields.sfmt_empty.f
8264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8265 const IDESC * UNUSED idesc = abuf->idesc;
8266 int cycles = 0;
8268 int referenced = 0;
8269 int UNUSED insn_referenced = abuf->written;
8270 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8272 return cycles;
8273 #undef FLD
8276 static int
8277 model_frv_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
8279 #define FLD(f) abuf->fields.sfmt_empty.f
8280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8281 const IDESC * UNUSED idesc = abuf->idesc;
8282 int cycles = 0;
8284 int referenced = 0;
8285 int UNUSED insn_referenced = abuf->written;
8286 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8288 return cycles;
8289 #undef FLD
8292 static int
8293 model_frv_icpl (SIM_CPU *current_cpu, void *sem_arg)
8295 #define FLD(f) abuf->fields.sfmt_icpl.f
8296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8297 const IDESC * UNUSED idesc = abuf->idesc;
8298 int cycles = 0;
8300 int referenced = 0;
8301 int UNUSED insn_referenced = abuf->written;
8302 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8304 return cycles;
8305 #undef FLD
8308 static int
8309 model_frv_dcpl (SIM_CPU *current_cpu, void *sem_arg)
8311 #define FLD(f) abuf->fields.sfmt_icpl.f
8312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8313 const IDESC * UNUSED idesc = abuf->idesc;
8314 int cycles = 0;
8316 int referenced = 0;
8317 int UNUSED insn_referenced = abuf->written;
8318 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8320 return cycles;
8321 #undef FLD
8324 static int
8325 model_frv_icul (SIM_CPU *current_cpu, void *sem_arg)
8327 #define FLD(f) abuf->fields.sfmt_jmpil.f
8328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8329 const IDESC * UNUSED idesc = abuf->idesc;
8330 int cycles = 0;
8332 int referenced = 0;
8333 int UNUSED insn_referenced = abuf->written;
8334 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8336 return cycles;
8337 #undef FLD
8340 static int
8341 model_frv_dcul (SIM_CPU *current_cpu, void *sem_arg)
8343 #define FLD(f) abuf->fields.sfmt_jmpil.f
8344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8345 const IDESC * UNUSED idesc = abuf->idesc;
8346 int cycles = 0;
8348 int referenced = 0;
8349 int UNUSED insn_referenced = abuf->written;
8350 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8352 return cycles;
8353 #undef FLD
8356 static int
8357 model_frv_bar (SIM_CPU *current_cpu, void *sem_arg)
8359 #define FLD(f) abuf->fields.sfmt_empty.f
8360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8361 const IDESC * UNUSED idesc = abuf->idesc;
8362 int cycles = 0;
8364 int referenced = 0;
8365 int UNUSED insn_referenced = abuf->written;
8366 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8368 return cycles;
8369 #undef FLD
8372 static int
8373 model_frv_membar (SIM_CPU *current_cpu, void *sem_arg)
8375 #define FLD(f) abuf->fields.sfmt_empty.f
8376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8377 const IDESC * UNUSED idesc = abuf->idesc;
8378 int cycles = 0;
8380 int referenced = 0;
8381 int UNUSED insn_referenced = abuf->written;
8382 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8384 return cycles;
8385 #undef FLD
8388 static int
8389 model_frv_lrai (SIM_CPU *current_cpu, void *sem_arg)
8391 #define FLD(f) abuf->fields.sfmt_empty.f
8392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8393 const IDESC * UNUSED idesc = abuf->idesc;
8394 int cycles = 0;
8396 int referenced = 0;
8397 int UNUSED insn_referenced = abuf->written;
8398 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8400 return cycles;
8401 #undef FLD
8404 static int
8405 model_frv_lrad (SIM_CPU *current_cpu, void *sem_arg)
8407 #define FLD(f) abuf->fields.sfmt_empty.f
8408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8409 const IDESC * UNUSED idesc = abuf->idesc;
8410 int cycles = 0;
8412 int referenced = 0;
8413 int UNUSED insn_referenced = abuf->written;
8414 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8416 return cycles;
8417 #undef FLD
8420 static int
8421 model_frv_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
8423 #define FLD(f) abuf->fields.sfmt_empty.f
8424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8425 const IDESC * UNUSED idesc = abuf->idesc;
8426 int cycles = 0;
8428 int referenced = 0;
8429 int UNUSED insn_referenced = abuf->written;
8430 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8432 return cycles;
8433 #undef FLD
8436 static int
8437 model_frv_cop1 (SIM_CPU *current_cpu, void *sem_arg)
8439 #define FLD(f) abuf->fields.sfmt_empty.f
8440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8441 const IDESC * UNUSED idesc = abuf->idesc;
8442 int cycles = 0;
8444 int referenced = 0;
8445 int UNUSED insn_referenced = abuf->written;
8446 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8448 return cycles;
8449 #undef FLD
8452 static int
8453 model_frv_cop2 (SIM_CPU *current_cpu, void *sem_arg)
8455 #define FLD(f) abuf->fields.sfmt_empty.f
8456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8457 const IDESC * UNUSED idesc = abuf->idesc;
8458 int cycles = 0;
8460 int referenced = 0;
8461 int UNUSED insn_referenced = abuf->written;
8462 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8464 return cycles;
8465 #undef FLD
8468 static int
8469 model_frv_clrgr (SIM_CPU *current_cpu, void *sem_arg)
8471 #define FLD(f) abuf->fields.sfmt_swapi.f
8472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8473 const IDESC * UNUSED idesc = abuf->idesc;
8474 int cycles = 0;
8476 int referenced = 0;
8477 int UNUSED insn_referenced = abuf->written;
8478 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8480 return cycles;
8481 #undef FLD
8484 static int
8485 model_frv_clrfr (SIM_CPU *current_cpu, void *sem_arg)
8487 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8489 const IDESC * UNUSED idesc = abuf->idesc;
8490 int cycles = 0;
8492 int referenced = 0;
8493 int UNUSED insn_referenced = abuf->written;
8494 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8496 return cycles;
8497 #undef FLD
8500 static int
8501 model_frv_clrga (SIM_CPU *current_cpu, void *sem_arg)
8503 #define FLD(f) abuf->fields.sfmt_empty.f
8504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8505 const IDESC * UNUSED idesc = abuf->idesc;
8506 int cycles = 0;
8508 int referenced = 0;
8509 int UNUSED insn_referenced = abuf->written;
8510 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8512 return cycles;
8513 #undef FLD
8516 static int
8517 model_frv_clrfa (SIM_CPU *current_cpu, void *sem_arg)
8519 #define FLD(f) abuf->fields.sfmt_empty.f
8520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8521 const IDESC * UNUSED idesc = abuf->idesc;
8522 int cycles = 0;
8524 int referenced = 0;
8525 int UNUSED insn_referenced = abuf->written;
8526 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8528 return cycles;
8529 #undef FLD
8532 static int
8533 model_frv_commitgr (SIM_CPU *current_cpu, void *sem_arg)
8535 #define FLD(f) abuf->fields.sfmt_setlos.f
8536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8537 const IDESC * UNUSED idesc = abuf->idesc;
8538 int cycles = 0;
8540 int referenced = 0;
8541 int UNUSED insn_referenced = abuf->written;
8542 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8544 return cycles;
8545 #undef FLD
8548 static int
8549 model_frv_commitfr (SIM_CPU *current_cpu, void *sem_arg)
8551 #define FLD(f) abuf->fields.sfmt_mhsethis.f
8552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8553 const IDESC * UNUSED idesc = abuf->idesc;
8554 int cycles = 0;
8556 int referenced = 0;
8557 int UNUSED insn_referenced = abuf->written;
8558 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8560 return cycles;
8561 #undef FLD
8564 static int
8565 model_frv_commitga (SIM_CPU *current_cpu, void *sem_arg)
8567 #define FLD(f) abuf->fields.sfmt_empty.f
8568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8569 const IDESC * UNUSED idesc = abuf->idesc;
8570 int cycles = 0;
8572 int referenced = 0;
8573 int UNUSED insn_referenced = abuf->written;
8574 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8576 return cycles;
8577 #undef FLD
8580 static int
8581 model_frv_commitfa (SIM_CPU *current_cpu, void *sem_arg)
8583 #define FLD(f) abuf->fields.sfmt_empty.f
8584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8585 const IDESC * UNUSED idesc = abuf->idesc;
8586 int cycles = 0;
8588 int referenced = 0;
8589 int UNUSED insn_referenced = abuf->written;
8590 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8592 return cycles;
8593 #undef FLD
8596 static int
8597 model_frv_fitos (SIM_CPU *current_cpu, void *sem_arg)
8599 #define FLD(f) abuf->fields.sfmt_fditos.f
8600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8601 const IDESC * UNUSED idesc = abuf->idesc;
8602 int cycles = 0;
8604 int referenced = 0;
8605 int UNUSED insn_referenced = abuf->written;
8606 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8608 return cycles;
8609 #undef FLD
8612 static int
8613 model_frv_fstoi (SIM_CPU *current_cpu, void *sem_arg)
8615 #define FLD(f) abuf->fields.sfmt_fdstoi.f
8616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8617 const IDESC * UNUSED idesc = abuf->idesc;
8618 int cycles = 0;
8620 int referenced = 0;
8621 int UNUSED insn_referenced = abuf->written;
8622 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8624 return cycles;
8625 #undef FLD
8628 static int
8629 model_frv_fitod (SIM_CPU *current_cpu, void *sem_arg)
8631 #define FLD(f) abuf->fields.sfmt_fitod.f
8632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8633 const IDESC * UNUSED idesc = abuf->idesc;
8634 int cycles = 0;
8636 int referenced = 0;
8637 int UNUSED insn_referenced = abuf->written;
8638 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8640 return cycles;
8641 #undef FLD
8644 static int
8645 model_frv_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
8647 #define FLD(f) abuf->fields.sfmt_fdtoi.f
8648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8649 const IDESC * UNUSED idesc = abuf->idesc;
8650 int cycles = 0;
8652 int referenced = 0;
8653 int UNUSED insn_referenced = abuf->written;
8654 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8656 return cycles;
8657 #undef FLD
8660 static int
8661 model_frv_fditos (SIM_CPU *current_cpu, void *sem_arg)
8663 #define FLD(f) abuf->fields.sfmt_fditos.f
8664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8665 const IDESC * UNUSED idesc = abuf->idesc;
8666 int cycles = 0;
8668 int referenced = 0;
8669 int UNUSED insn_referenced = abuf->written;
8670 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8672 return cycles;
8673 #undef FLD
8676 static int
8677 model_frv_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
8679 #define FLD(f) abuf->fields.sfmt_fdstoi.f
8680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8681 const IDESC * UNUSED idesc = abuf->idesc;
8682 int cycles = 0;
8684 int referenced = 0;
8685 int UNUSED insn_referenced = abuf->written;
8686 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8688 return cycles;
8689 #undef FLD
8692 static int
8693 model_frv_nfditos (SIM_CPU *current_cpu, void *sem_arg)
8695 #define FLD(f) abuf->fields.sfmt_fditos.f
8696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8697 const IDESC * UNUSED idesc = abuf->idesc;
8698 int cycles = 0;
8700 int referenced = 0;
8701 int UNUSED insn_referenced = abuf->written;
8702 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8704 return cycles;
8705 #undef FLD
8708 static int
8709 model_frv_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
8711 #define FLD(f) abuf->fields.sfmt_fdstoi.f
8712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8713 const IDESC * UNUSED idesc = abuf->idesc;
8714 int cycles = 0;
8716 int referenced = 0;
8717 int UNUSED insn_referenced = abuf->written;
8718 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8720 return cycles;
8721 #undef FLD
8724 static int
8725 model_frv_cfitos (SIM_CPU *current_cpu, void *sem_arg)
8727 #define FLD(f) abuf->fields.sfmt_cfitos.f
8728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8729 const IDESC * UNUSED idesc = abuf->idesc;
8730 int cycles = 0;
8732 int referenced = 0;
8733 int UNUSED insn_referenced = abuf->written;
8734 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8736 return cycles;
8737 #undef FLD
8740 static int
8741 model_frv_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
8743 #define FLD(f) abuf->fields.sfmt_cfstoi.f
8744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8745 const IDESC * UNUSED idesc = abuf->idesc;
8746 int cycles = 0;
8748 int referenced = 0;
8749 int UNUSED insn_referenced = abuf->written;
8750 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8752 return cycles;
8753 #undef FLD
8756 static int
8757 model_frv_nfitos (SIM_CPU *current_cpu, void *sem_arg)
8759 #define FLD(f) abuf->fields.sfmt_fditos.f
8760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8761 const IDESC * UNUSED idesc = abuf->idesc;
8762 int cycles = 0;
8764 int referenced = 0;
8765 int UNUSED insn_referenced = abuf->written;
8766 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8768 return cycles;
8769 #undef FLD
8772 static int
8773 model_frv_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
8775 #define FLD(f) abuf->fields.sfmt_fdstoi.f
8776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8777 const IDESC * UNUSED idesc = abuf->idesc;
8778 int cycles = 0;
8780 int referenced = 0;
8781 int UNUSED insn_referenced = abuf->written;
8782 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8784 return cycles;
8785 #undef FLD
8788 static int
8789 model_frv_fmovs (SIM_CPU *current_cpu, void *sem_arg)
8791 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8793 const IDESC * UNUSED idesc = abuf->idesc;
8794 int cycles = 0;
8796 int referenced = 0;
8797 int UNUSED insn_referenced = abuf->written;
8798 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8800 return cycles;
8801 #undef FLD
8804 static int
8805 model_frv_fmovd (SIM_CPU *current_cpu, void *sem_arg)
8807 #define FLD(f) abuf->fields.sfmt_fmaddd.f
8808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8809 const IDESC * UNUSED idesc = abuf->idesc;
8810 int cycles = 0;
8812 int referenced = 0;
8813 int UNUSED insn_referenced = abuf->written;
8814 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8816 return cycles;
8817 #undef FLD
8820 static int
8821 model_frv_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
8823 #define FLD(f) abuf->fields.sfmt_fdmadds.f
8824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8825 const IDESC * UNUSED idesc = abuf->idesc;
8826 int cycles = 0;
8828 int referenced = 0;
8829 int UNUSED insn_referenced = abuf->written;
8830 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8832 return cycles;
8833 #undef FLD
8836 static int
8837 model_frv_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
8839 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8841 const IDESC * UNUSED idesc = abuf->idesc;
8842 int cycles = 0;
8844 int referenced = 0;
8845 int UNUSED insn_referenced = abuf->written;
8846 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8848 return cycles;
8849 #undef FLD
8852 static int
8853 model_frv_fnegs (SIM_CPU *current_cpu, void *sem_arg)
8855 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8857 const IDESC * UNUSED idesc = abuf->idesc;
8858 int cycles = 0;
8860 int referenced = 0;
8861 int UNUSED insn_referenced = abuf->written;
8862 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8864 return cycles;
8865 #undef FLD
8868 static int
8869 model_frv_fnegd (SIM_CPU *current_cpu, void *sem_arg)
8871 #define FLD(f) abuf->fields.sfmt_fmaddd.f
8872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8873 const IDESC * UNUSED idesc = abuf->idesc;
8874 int cycles = 0;
8876 int referenced = 0;
8877 int UNUSED insn_referenced = abuf->written;
8878 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8880 return cycles;
8881 #undef FLD
8884 static int
8885 model_frv_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
8887 #define FLD(f) abuf->fields.sfmt_fdmadds.f
8888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8889 const IDESC * UNUSED idesc = abuf->idesc;
8890 int cycles = 0;
8892 int referenced = 0;
8893 int UNUSED insn_referenced = abuf->written;
8894 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8896 return cycles;
8897 #undef FLD
8900 static int
8901 model_frv_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
8903 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8905 const IDESC * UNUSED idesc = abuf->idesc;
8906 int cycles = 0;
8908 int referenced = 0;
8909 int UNUSED insn_referenced = abuf->written;
8910 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8912 return cycles;
8913 #undef FLD
8916 static int
8917 model_frv_fabss (SIM_CPU *current_cpu, void *sem_arg)
8919 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8921 const IDESC * UNUSED idesc = abuf->idesc;
8922 int cycles = 0;
8924 int referenced = 0;
8925 int UNUSED insn_referenced = abuf->written;
8926 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8928 return cycles;
8929 #undef FLD
8932 static int
8933 model_frv_fabsd (SIM_CPU *current_cpu, void *sem_arg)
8935 #define FLD(f) abuf->fields.sfmt_fmaddd.f
8936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8937 const IDESC * UNUSED idesc = abuf->idesc;
8938 int cycles = 0;
8940 int referenced = 0;
8941 int UNUSED insn_referenced = abuf->written;
8942 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8944 return cycles;
8945 #undef FLD
8948 static int
8949 model_frv_fdabss (SIM_CPU *current_cpu, void *sem_arg)
8951 #define FLD(f) abuf->fields.sfmt_fdmadds.f
8952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8953 const IDESC * UNUSED idesc = abuf->idesc;
8954 int cycles = 0;
8956 int referenced = 0;
8957 int UNUSED insn_referenced = abuf->written;
8958 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8960 return cycles;
8961 #undef FLD
8964 static int
8965 model_frv_cfabss (SIM_CPU *current_cpu, void *sem_arg)
8967 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8969 const IDESC * UNUSED idesc = abuf->idesc;
8970 int cycles = 0;
8972 int referenced = 0;
8973 int UNUSED insn_referenced = abuf->written;
8974 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8976 return cycles;
8977 #undef FLD
8980 static int
8981 model_frv_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
8983 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8985 const IDESC * UNUSED idesc = abuf->idesc;
8986 int cycles = 0;
8988 int referenced = 0;
8989 int UNUSED insn_referenced = abuf->written;
8990 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8992 return cycles;
8993 #undef FLD
8996 static int
8997 model_frv_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
8999 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9001 const IDESC * UNUSED idesc = abuf->idesc;
9002 int cycles = 0;
9004 int referenced = 0;
9005 int UNUSED insn_referenced = abuf->written;
9006 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9008 return cycles;
9009 #undef FLD
9012 static int
9013 model_frv_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
9015 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9017 const IDESC * UNUSED idesc = abuf->idesc;
9018 int cycles = 0;
9020 int referenced = 0;
9021 int UNUSED insn_referenced = abuf->written;
9022 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9024 return cycles;
9025 #undef FLD
9028 static int
9029 model_frv_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
9031 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9033 const IDESC * UNUSED idesc = abuf->idesc;
9034 int cycles = 0;
9036 int referenced = 0;
9037 int UNUSED insn_referenced = abuf->written;
9038 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9040 return cycles;
9041 #undef FLD
9044 static int
9045 model_frv_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
9047 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9049 const IDESC * UNUSED idesc = abuf->idesc;
9050 int cycles = 0;
9052 int referenced = 0;
9053 int UNUSED insn_referenced = abuf->written;
9054 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9056 return cycles;
9057 #undef FLD
9060 static int
9061 model_frv_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
9063 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9065 const IDESC * UNUSED idesc = abuf->idesc;
9066 int cycles = 0;
9068 int referenced = 0;
9069 int UNUSED insn_referenced = abuf->written;
9070 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9072 return cycles;
9073 #undef FLD
9076 static int
9077 model_frv_fadds (SIM_CPU *current_cpu, void *sem_arg)
9079 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9081 const IDESC * UNUSED idesc = abuf->idesc;
9082 int cycles = 0;
9084 int referenced = 0;
9085 int UNUSED insn_referenced = abuf->written;
9086 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9088 return cycles;
9089 #undef FLD
9092 static int
9093 model_frv_fsubs (SIM_CPU *current_cpu, void *sem_arg)
9095 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9097 const IDESC * UNUSED idesc = abuf->idesc;
9098 int cycles = 0;
9100 int referenced = 0;
9101 int UNUSED insn_referenced = abuf->written;
9102 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9104 return cycles;
9105 #undef FLD
9108 static int
9109 model_frv_fmuls (SIM_CPU *current_cpu, void *sem_arg)
9111 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9113 const IDESC * UNUSED idesc = abuf->idesc;
9114 int cycles = 0;
9116 int referenced = 0;
9117 int UNUSED insn_referenced = abuf->written;
9118 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9120 return cycles;
9121 #undef FLD
9124 static int
9125 model_frv_fdivs (SIM_CPU *current_cpu, void *sem_arg)
9127 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9129 const IDESC * UNUSED idesc = abuf->idesc;
9130 int cycles = 0;
9132 int referenced = 0;
9133 int UNUSED insn_referenced = abuf->written;
9134 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9136 return cycles;
9137 #undef FLD
9140 static int
9141 model_frv_faddd (SIM_CPU *current_cpu, void *sem_arg)
9143 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9145 const IDESC * UNUSED idesc = abuf->idesc;
9146 int cycles = 0;
9148 int referenced = 0;
9149 int UNUSED insn_referenced = abuf->written;
9150 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9152 return cycles;
9153 #undef FLD
9156 static int
9157 model_frv_fsubd (SIM_CPU *current_cpu, void *sem_arg)
9159 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9161 const IDESC * UNUSED idesc = abuf->idesc;
9162 int cycles = 0;
9164 int referenced = 0;
9165 int UNUSED insn_referenced = abuf->written;
9166 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9168 return cycles;
9169 #undef FLD
9172 static int
9173 model_frv_fmuld (SIM_CPU *current_cpu, void *sem_arg)
9175 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9177 const IDESC * UNUSED idesc = abuf->idesc;
9178 int cycles = 0;
9180 int referenced = 0;
9181 int UNUSED insn_referenced = abuf->written;
9182 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9184 return cycles;
9185 #undef FLD
9188 static int
9189 model_frv_fdivd (SIM_CPU *current_cpu, void *sem_arg)
9191 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9193 const IDESC * UNUSED idesc = abuf->idesc;
9194 int cycles = 0;
9196 int referenced = 0;
9197 int UNUSED insn_referenced = abuf->written;
9198 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9200 return cycles;
9201 #undef FLD
9204 static int
9205 model_frv_cfadds (SIM_CPU *current_cpu, void *sem_arg)
9207 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9209 const IDESC * UNUSED idesc = abuf->idesc;
9210 int cycles = 0;
9212 int referenced = 0;
9213 int UNUSED insn_referenced = abuf->written;
9214 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9216 return cycles;
9217 #undef FLD
9220 static int
9221 model_frv_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
9223 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9225 const IDESC * UNUSED idesc = abuf->idesc;
9226 int cycles = 0;
9228 int referenced = 0;
9229 int UNUSED insn_referenced = abuf->written;
9230 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9232 return cycles;
9233 #undef FLD
9236 static int
9237 model_frv_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
9239 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9241 const IDESC * UNUSED idesc = abuf->idesc;
9242 int cycles = 0;
9244 int referenced = 0;
9245 int UNUSED insn_referenced = abuf->written;
9246 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9248 return cycles;
9249 #undef FLD
9252 static int
9253 model_frv_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
9255 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9257 const IDESC * UNUSED idesc = abuf->idesc;
9258 int cycles = 0;
9260 int referenced = 0;
9261 int UNUSED insn_referenced = abuf->written;
9262 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9264 return cycles;
9265 #undef FLD
9268 static int
9269 model_frv_nfadds (SIM_CPU *current_cpu, void *sem_arg)
9271 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9273 const IDESC * UNUSED idesc = abuf->idesc;
9274 int cycles = 0;
9276 int referenced = 0;
9277 int UNUSED insn_referenced = abuf->written;
9278 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9280 return cycles;
9281 #undef FLD
9284 static int
9285 model_frv_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
9287 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9289 const IDESC * UNUSED idesc = abuf->idesc;
9290 int cycles = 0;
9292 int referenced = 0;
9293 int UNUSED insn_referenced = abuf->written;
9294 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9296 return cycles;
9297 #undef FLD
9300 static int
9301 model_frv_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
9303 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9305 const IDESC * UNUSED idesc = abuf->idesc;
9306 int cycles = 0;
9308 int referenced = 0;
9309 int UNUSED insn_referenced = abuf->written;
9310 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9312 return cycles;
9313 #undef FLD
9316 static int
9317 model_frv_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
9319 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9321 const IDESC * UNUSED idesc = abuf->idesc;
9322 int cycles = 0;
9324 int referenced = 0;
9325 int UNUSED insn_referenced = abuf->written;
9326 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9328 return cycles;
9329 #undef FLD
9332 static int
9333 model_frv_fcmps (SIM_CPU *current_cpu, void *sem_arg)
9335 #define FLD(f) abuf->fields.sfmt_cfcmps.f
9336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9337 const IDESC * UNUSED idesc = abuf->idesc;
9338 int cycles = 0;
9340 int referenced = 0;
9341 int UNUSED insn_referenced = abuf->written;
9342 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9344 return cycles;
9345 #undef FLD
9348 static int
9349 model_frv_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
9351 #define FLD(f) abuf->fields.sfmt_fcmpd.f
9352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9353 const IDESC * UNUSED idesc = abuf->idesc;
9354 int cycles = 0;
9356 int referenced = 0;
9357 int UNUSED insn_referenced = abuf->written;
9358 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9360 return cycles;
9361 #undef FLD
9364 static int
9365 model_frv_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
9367 #define FLD(f) abuf->fields.sfmt_cfcmps.f
9368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9369 const IDESC * UNUSED idesc = abuf->idesc;
9370 int cycles = 0;
9372 int referenced = 0;
9373 int UNUSED insn_referenced = abuf->written;
9374 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9376 return cycles;
9377 #undef FLD
9380 static int
9381 model_frv_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
9383 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
9384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9385 const IDESC * UNUSED idesc = abuf->idesc;
9386 int cycles = 0;
9388 int referenced = 0;
9389 int UNUSED insn_referenced = abuf->written;
9390 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9392 return cycles;
9393 #undef FLD
9396 static int
9397 model_frv_fmadds (SIM_CPU *current_cpu, void *sem_arg)
9399 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9401 const IDESC * UNUSED idesc = abuf->idesc;
9402 int cycles = 0;
9404 int referenced = 0;
9405 int UNUSED insn_referenced = abuf->written;
9406 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9408 return cycles;
9409 #undef FLD
9412 static int
9413 model_frv_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
9415 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9417 const IDESC * UNUSED idesc = abuf->idesc;
9418 int cycles = 0;
9420 int referenced = 0;
9421 int UNUSED insn_referenced = abuf->written;
9422 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9424 return cycles;
9425 #undef FLD
9428 static int
9429 model_frv_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
9431 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9433 const IDESC * UNUSED idesc = abuf->idesc;
9434 int cycles = 0;
9436 int referenced = 0;
9437 int UNUSED insn_referenced = abuf->written;
9438 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9440 return cycles;
9441 #undef FLD
9444 static int
9445 model_frv_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
9447 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9449 const IDESC * UNUSED idesc = abuf->idesc;
9450 int cycles = 0;
9452 int referenced = 0;
9453 int UNUSED insn_referenced = abuf->written;
9454 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9456 return cycles;
9457 #undef FLD
9460 static int
9461 model_frv_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
9463 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9465 const IDESC * UNUSED idesc = abuf->idesc;
9466 int cycles = 0;
9468 int referenced = 0;
9469 int UNUSED insn_referenced = abuf->written;
9470 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9472 return cycles;
9473 #undef FLD
9476 static int
9477 model_frv_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
9479 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9481 const IDESC * UNUSED idesc = abuf->idesc;
9482 int cycles = 0;
9484 int referenced = 0;
9485 int UNUSED insn_referenced = abuf->written;
9486 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9488 return cycles;
9489 #undef FLD
9492 static int
9493 model_frv_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
9495 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9497 const IDESC * UNUSED idesc = abuf->idesc;
9498 int cycles = 0;
9500 int referenced = 0;
9501 int UNUSED insn_referenced = abuf->written;
9502 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9504 return cycles;
9505 #undef FLD
9508 static int
9509 model_frv_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
9511 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9513 const IDESC * UNUSED idesc = abuf->idesc;
9514 int cycles = 0;
9516 int referenced = 0;
9517 int UNUSED insn_referenced = abuf->written;
9518 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9520 return cycles;
9521 #undef FLD
9524 static int
9525 model_frv_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
9527 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9529 const IDESC * UNUSED idesc = abuf->idesc;
9530 int cycles = 0;
9532 int referenced = 0;
9533 int UNUSED insn_referenced = abuf->written;
9534 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9536 return cycles;
9537 #undef FLD
9540 static int
9541 model_frv_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
9543 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9545 const IDESC * UNUSED idesc = abuf->idesc;
9546 int cycles = 0;
9548 int referenced = 0;
9549 int UNUSED insn_referenced = abuf->written;
9550 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9552 return cycles;
9553 #undef FLD
9556 static int
9557 model_frv_fmas (SIM_CPU *current_cpu, void *sem_arg)
9559 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9561 const IDESC * UNUSED idesc = abuf->idesc;
9562 int cycles = 0;
9564 int referenced = 0;
9565 int UNUSED insn_referenced = abuf->written;
9566 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9568 return cycles;
9569 #undef FLD
9572 static int
9573 model_frv_fmss (SIM_CPU *current_cpu, void *sem_arg)
9575 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9577 const IDESC * UNUSED idesc = abuf->idesc;
9578 int cycles = 0;
9580 int referenced = 0;
9581 int UNUSED insn_referenced = abuf->written;
9582 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9584 return cycles;
9585 #undef FLD
9588 static int
9589 model_frv_fdmas (SIM_CPU *current_cpu, void *sem_arg)
9591 #define FLD(f) abuf->fields.sfmt_fdmas.f
9592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9593 const IDESC * UNUSED idesc = abuf->idesc;
9594 int cycles = 0;
9596 int referenced = 0;
9597 int UNUSED insn_referenced = abuf->written;
9598 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9600 return cycles;
9601 #undef FLD
9604 static int
9605 model_frv_fdmss (SIM_CPU *current_cpu, void *sem_arg)
9607 #define FLD(f) abuf->fields.sfmt_fdmas.f
9608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9609 const IDESC * UNUSED idesc = abuf->idesc;
9610 int cycles = 0;
9612 int referenced = 0;
9613 int UNUSED insn_referenced = abuf->written;
9614 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9616 return cycles;
9617 #undef FLD
9620 static int
9621 model_frv_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
9623 #define FLD(f) abuf->fields.sfmt_fdmas.f
9624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9625 const IDESC * UNUSED idesc = abuf->idesc;
9626 int cycles = 0;
9628 int referenced = 0;
9629 int UNUSED insn_referenced = abuf->written;
9630 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9632 return cycles;
9633 #undef FLD
9636 static int
9637 model_frv_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
9639 #define FLD(f) abuf->fields.sfmt_fdmas.f
9640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9641 const IDESC * UNUSED idesc = abuf->idesc;
9642 int cycles = 0;
9644 int referenced = 0;
9645 int UNUSED insn_referenced = abuf->written;
9646 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9648 return cycles;
9649 #undef FLD
9652 static int
9653 model_frv_cfmas (SIM_CPU *current_cpu, void *sem_arg)
9655 #define FLD(f) abuf->fields.sfmt_cfmas.f
9656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9657 const IDESC * UNUSED idesc = abuf->idesc;
9658 int cycles = 0;
9660 int referenced = 0;
9661 int UNUSED insn_referenced = abuf->written;
9662 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9664 return cycles;
9665 #undef FLD
9668 static int
9669 model_frv_cfmss (SIM_CPU *current_cpu, void *sem_arg)
9671 #define FLD(f) abuf->fields.sfmt_cfmas.f
9672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9673 const IDESC * UNUSED idesc = abuf->idesc;
9674 int cycles = 0;
9676 int referenced = 0;
9677 int UNUSED insn_referenced = abuf->written;
9678 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9680 return cycles;
9681 #undef FLD
9684 static int
9685 model_frv_fmad (SIM_CPU *current_cpu, void *sem_arg)
9687 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9689 const IDESC * UNUSED idesc = abuf->idesc;
9690 int cycles = 0;
9692 int referenced = 0;
9693 int UNUSED insn_referenced = abuf->written;
9694 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9696 return cycles;
9697 #undef FLD
9700 static int
9701 model_frv_fmsd (SIM_CPU *current_cpu, void *sem_arg)
9703 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9705 const IDESC * UNUSED idesc = abuf->idesc;
9706 int cycles = 0;
9708 int referenced = 0;
9709 int UNUSED insn_referenced = abuf->written;
9710 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9712 return cycles;
9713 #undef FLD
9716 static int
9717 model_frv_nfmas (SIM_CPU *current_cpu, void *sem_arg)
9719 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9721 const IDESC * UNUSED idesc = abuf->idesc;
9722 int cycles = 0;
9724 int referenced = 0;
9725 int UNUSED insn_referenced = abuf->written;
9726 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9728 return cycles;
9729 #undef FLD
9732 static int
9733 model_frv_nfmss (SIM_CPU *current_cpu, void *sem_arg)
9735 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9737 const IDESC * UNUSED idesc = abuf->idesc;
9738 int cycles = 0;
9740 int referenced = 0;
9741 int UNUSED insn_referenced = abuf->written;
9742 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9744 return cycles;
9745 #undef FLD
9748 static int
9749 model_frv_fdadds (SIM_CPU *current_cpu, void *sem_arg)
9751 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9753 const IDESC * UNUSED idesc = abuf->idesc;
9754 int cycles = 0;
9756 int referenced = 0;
9757 int UNUSED insn_referenced = abuf->written;
9758 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9760 return cycles;
9761 #undef FLD
9764 static int
9765 model_frv_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
9767 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9769 const IDESC * UNUSED idesc = abuf->idesc;
9770 int cycles = 0;
9772 int referenced = 0;
9773 int UNUSED insn_referenced = abuf->written;
9774 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9776 return cycles;
9777 #undef FLD
9780 static int
9781 model_frv_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
9783 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9785 const IDESC * UNUSED idesc = abuf->idesc;
9786 int cycles = 0;
9788 int referenced = 0;
9789 int UNUSED insn_referenced = abuf->written;
9790 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9792 return cycles;
9793 #undef FLD
9796 static int
9797 model_frv_fddivs (SIM_CPU *current_cpu, void *sem_arg)
9799 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9801 const IDESC * UNUSED idesc = abuf->idesc;
9802 int cycles = 0;
9804 int referenced = 0;
9805 int UNUSED insn_referenced = abuf->written;
9806 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9808 return cycles;
9809 #undef FLD
9812 static int
9813 model_frv_fdsads (SIM_CPU *current_cpu, void *sem_arg)
9815 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9817 const IDESC * UNUSED idesc = abuf->idesc;
9818 int cycles = 0;
9820 int referenced = 0;
9821 int UNUSED insn_referenced = abuf->written;
9822 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9824 return cycles;
9825 #undef FLD
9828 static int
9829 model_frv_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
9831 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9833 const IDESC * UNUSED idesc = abuf->idesc;
9834 int cycles = 0;
9836 int referenced = 0;
9837 int UNUSED insn_referenced = abuf->written;
9838 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9840 return cycles;
9841 #undef FLD
9844 static int
9845 model_frv_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
9847 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9849 const IDESC * UNUSED idesc = abuf->idesc;
9850 int cycles = 0;
9852 int referenced = 0;
9853 int UNUSED insn_referenced = abuf->written;
9854 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9856 return cycles;
9857 #undef FLD
9860 static int
9861 model_frv_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
9863 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9865 const IDESC * UNUSED idesc = abuf->idesc;
9866 int cycles = 0;
9868 int referenced = 0;
9869 int UNUSED insn_referenced = abuf->written;
9870 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9872 return cycles;
9873 #undef FLD
9876 static int
9877 model_frv_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
9879 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9881 const IDESC * UNUSED idesc = abuf->idesc;
9882 int cycles = 0;
9884 int referenced = 0;
9885 int UNUSED insn_referenced = abuf->written;
9886 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9888 return cycles;
9889 #undef FLD
9892 static int
9893 model_frv_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
9895 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9897 const IDESC * UNUSED idesc = abuf->idesc;
9898 int cycles = 0;
9900 int referenced = 0;
9901 int UNUSED insn_referenced = abuf->written;
9902 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9904 return cycles;
9905 #undef FLD
9908 static int
9909 model_frv_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
9911 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9913 const IDESC * UNUSED idesc = abuf->idesc;
9914 int cycles = 0;
9916 int referenced = 0;
9917 int UNUSED insn_referenced = abuf->written;
9918 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9920 return cycles;
9921 #undef FLD
9924 static int
9925 model_frv_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
9927 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9929 const IDESC * UNUSED idesc = abuf->idesc;
9930 int cycles = 0;
9932 int referenced = 0;
9933 int UNUSED insn_referenced = abuf->written;
9934 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9936 return cycles;
9937 #undef FLD
9940 static int
9941 model_frv_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
9943 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
9944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9945 const IDESC * UNUSED idesc = abuf->idesc;
9946 int cycles = 0;
9948 int referenced = 0;
9949 int UNUSED insn_referenced = abuf->written;
9950 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9952 return cycles;
9953 #undef FLD
9956 static int
9957 model_frv_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
9959 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
9960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9961 const IDESC * UNUSED idesc = abuf->idesc;
9962 int cycles = 0;
9964 int referenced = 0;
9965 int UNUSED insn_referenced = abuf->written;
9966 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9968 return cycles;
9969 #undef FLD
9972 static int
9973 model_frv_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
9975 #define FLD(f) abuf->fields.sfmt_mhsethis.f
9976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9977 const IDESC * UNUSED idesc = abuf->idesc;
9978 int cycles = 0;
9980 int referenced = 0;
9981 int UNUSED insn_referenced = abuf->written;
9982 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9984 return cycles;
9985 #undef FLD
9988 static int
9989 model_frv_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
9991 #define FLD(f) abuf->fields.sfmt_mhdsets.f
9992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9993 const IDESC * UNUSED idesc = abuf->idesc;
9994 int cycles = 0;
9996 int referenced = 0;
9997 int UNUSED insn_referenced = abuf->written;
9998 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10000 return cycles;
10001 #undef FLD
10004 static int
10005 model_frv_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
10007 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
10008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10009 const IDESC * UNUSED idesc = abuf->idesc;
10010 int cycles = 0;
10012 int referenced = 0;
10013 int UNUSED insn_referenced = abuf->written;
10014 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10016 return cycles;
10017 #undef FLD
10020 static int
10021 model_frv_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
10023 #define FLD(f) abuf->fields.sfmt_mhsethih.f
10024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10025 const IDESC * UNUSED idesc = abuf->idesc;
10026 int cycles = 0;
10028 int referenced = 0;
10029 int UNUSED insn_referenced = abuf->written;
10030 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10032 return cycles;
10033 #undef FLD
10036 static int
10037 model_frv_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
10039 #define FLD(f) abuf->fields.sfmt_mhdseth.f
10040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10041 const IDESC * UNUSED idesc = abuf->idesc;
10042 int cycles = 0;
10044 int referenced = 0;
10045 int UNUSED insn_referenced = abuf->written;
10046 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10048 return cycles;
10049 #undef FLD
10052 static int
10053 model_frv_mand (SIM_CPU *current_cpu, void *sem_arg)
10055 #define FLD(f) abuf->fields.sfmt_mwcut.f
10056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10057 const IDESC * UNUSED idesc = abuf->idesc;
10058 int cycles = 0;
10060 int referenced = 0;
10061 int UNUSED insn_referenced = abuf->written;
10062 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10064 return cycles;
10065 #undef FLD
10068 static int
10069 model_frv_mor (SIM_CPU *current_cpu, void *sem_arg)
10071 #define FLD(f) abuf->fields.sfmt_mwcut.f
10072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10073 const IDESC * UNUSED idesc = abuf->idesc;
10074 int cycles = 0;
10076 int referenced = 0;
10077 int UNUSED insn_referenced = abuf->written;
10078 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10080 return cycles;
10081 #undef FLD
10084 static int
10085 model_frv_mxor (SIM_CPU *current_cpu, void *sem_arg)
10087 #define FLD(f) abuf->fields.sfmt_mwcut.f
10088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10089 const IDESC * UNUSED idesc = abuf->idesc;
10090 int cycles = 0;
10092 int referenced = 0;
10093 int UNUSED insn_referenced = abuf->written;
10094 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10096 return cycles;
10097 #undef FLD
10100 static int
10101 model_frv_cmand (SIM_CPU *current_cpu, void *sem_arg)
10103 #define FLD(f) abuf->fields.sfmt_cmand.f
10104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10105 const IDESC * UNUSED idesc = abuf->idesc;
10106 int cycles = 0;
10108 int referenced = 0;
10109 int UNUSED insn_referenced = abuf->written;
10110 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10112 return cycles;
10113 #undef FLD
10116 static int
10117 model_frv_cmor (SIM_CPU *current_cpu, void *sem_arg)
10119 #define FLD(f) abuf->fields.sfmt_cmand.f
10120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10121 const IDESC * UNUSED idesc = abuf->idesc;
10122 int cycles = 0;
10124 int referenced = 0;
10125 int UNUSED insn_referenced = abuf->written;
10126 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10128 return cycles;
10129 #undef FLD
10132 static int
10133 model_frv_cmxor (SIM_CPU *current_cpu, void *sem_arg)
10135 #define FLD(f) abuf->fields.sfmt_cmand.f
10136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10137 const IDESC * UNUSED idesc = abuf->idesc;
10138 int cycles = 0;
10140 int referenced = 0;
10141 int UNUSED insn_referenced = abuf->written;
10142 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10144 return cycles;
10145 #undef FLD
10148 static int
10149 model_frv_mnot (SIM_CPU *current_cpu, void *sem_arg)
10151 #define FLD(f) abuf->fields.sfmt_mcut.f
10152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10153 const IDESC * UNUSED idesc = abuf->idesc;
10154 int cycles = 0;
10156 int referenced = 0;
10157 int UNUSED insn_referenced = abuf->written;
10158 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10160 return cycles;
10161 #undef FLD
10164 static int
10165 model_frv_cmnot (SIM_CPU *current_cpu, void *sem_arg)
10167 #define FLD(f) abuf->fields.sfmt_cmand.f
10168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10169 const IDESC * UNUSED idesc = abuf->idesc;
10170 int cycles = 0;
10172 int referenced = 0;
10173 int UNUSED insn_referenced = abuf->written;
10174 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10176 return cycles;
10177 #undef FLD
10180 static int
10181 model_frv_mrotli (SIM_CPU *current_cpu, void *sem_arg)
10183 #define FLD(f) abuf->fields.sfmt_mwcuti.f
10184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10185 const IDESC * UNUSED idesc = abuf->idesc;
10186 int cycles = 0;
10188 int referenced = 0;
10189 int UNUSED insn_referenced = abuf->written;
10190 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10192 return cycles;
10193 #undef FLD
10196 static int
10197 model_frv_mrotri (SIM_CPU *current_cpu, void *sem_arg)
10199 #define FLD(f) abuf->fields.sfmt_mwcuti.f
10200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10201 const IDESC * UNUSED idesc = abuf->idesc;
10202 int cycles = 0;
10204 int referenced = 0;
10205 int UNUSED insn_referenced = abuf->written;
10206 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10208 return cycles;
10209 #undef FLD
10212 static int
10213 model_frv_mwcut (SIM_CPU *current_cpu, void *sem_arg)
10215 #define FLD(f) abuf->fields.sfmt_mwcut.f
10216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10217 const IDESC * UNUSED idesc = abuf->idesc;
10218 int cycles = 0;
10220 int referenced = 0;
10221 int UNUSED insn_referenced = abuf->written;
10222 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10224 return cycles;
10225 #undef FLD
10228 static int
10229 model_frv_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
10231 #define FLD(f) abuf->fields.sfmt_mwcuti.f
10232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10233 const IDESC * UNUSED idesc = abuf->idesc;
10234 int cycles = 0;
10236 int referenced = 0;
10237 int UNUSED insn_referenced = abuf->written;
10238 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10240 return cycles;
10241 #undef FLD
10244 static int
10245 model_frv_mcut (SIM_CPU *current_cpu, void *sem_arg)
10247 #define FLD(f) abuf->fields.sfmt_mcut.f
10248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10249 const IDESC * UNUSED idesc = abuf->idesc;
10250 int cycles = 0;
10252 int referenced = 0;
10253 int UNUSED insn_referenced = abuf->written;
10254 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10256 return cycles;
10257 #undef FLD
10260 static int
10261 model_frv_mcuti (SIM_CPU *current_cpu, void *sem_arg)
10263 #define FLD(f) abuf->fields.sfmt_mcuti.f
10264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10265 const IDESC * UNUSED idesc = abuf->idesc;
10266 int cycles = 0;
10268 int referenced = 0;
10269 int UNUSED insn_referenced = abuf->written;
10270 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10272 return cycles;
10273 #undef FLD
10276 static int
10277 model_frv_mcutss (SIM_CPU *current_cpu, void *sem_arg)
10279 #define FLD(f) abuf->fields.sfmt_mcut.f
10280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10281 const IDESC * UNUSED idesc = abuf->idesc;
10282 int cycles = 0;
10284 int referenced = 0;
10285 int UNUSED insn_referenced = abuf->written;
10286 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10288 return cycles;
10289 #undef FLD
10292 static int
10293 model_frv_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
10295 #define FLD(f) abuf->fields.sfmt_mcuti.f
10296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10297 const IDESC * UNUSED idesc = abuf->idesc;
10298 int cycles = 0;
10300 int referenced = 0;
10301 int UNUSED insn_referenced = abuf->written;
10302 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10304 return cycles;
10305 #undef FLD
10308 static int
10309 model_frv_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
10311 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
10312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10313 const IDESC * UNUSED idesc = abuf->idesc;
10314 int cycles = 0;
10316 int referenced = 0;
10317 int UNUSED insn_referenced = abuf->written;
10318 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10320 return cycles;
10321 #undef FLD
10324 static int
10325 model_frv_maveh (SIM_CPU *current_cpu, void *sem_arg)
10327 #define FLD(f) abuf->fields.sfmt_mwcut.f
10328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10329 const IDESC * UNUSED idesc = abuf->idesc;
10330 int cycles = 0;
10332 int referenced = 0;
10333 int UNUSED insn_referenced = abuf->written;
10334 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10336 return cycles;
10337 #undef FLD
10340 static int
10341 model_frv_msllhi (SIM_CPU *current_cpu, void *sem_arg)
10343 #define FLD(f) abuf->fields.sfmt_msllhi.f
10344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10345 const IDESC * UNUSED idesc = abuf->idesc;
10346 int cycles = 0;
10348 int referenced = 0;
10349 int UNUSED insn_referenced = abuf->written;
10350 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10352 return cycles;
10353 #undef FLD
10356 static int
10357 model_frv_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
10359 #define FLD(f) abuf->fields.sfmt_msllhi.f
10360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10361 const IDESC * UNUSED idesc = abuf->idesc;
10362 int cycles = 0;
10364 int referenced = 0;
10365 int UNUSED insn_referenced = abuf->written;
10366 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10368 return cycles;
10369 #undef FLD
10372 static int
10373 model_frv_msrahi (SIM_CPU *current_cpu, void *sem_arg)
10375 #define FLD(f) abuf->fields.sfmt_msllhi.f
10376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10377 const IDESC * UNUSED idesc = abuf->idesc;
10378 int cycles = 0;
10380 int referenced = 0;
10381 int UNUSED insn_referenced = abuf->written;
10382 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10384 return cycles;
10385 #undef FLD
10388 static int
10389 model_frv_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
10391 #define FLD(f) abuf->fields.sfmt_mdrotli.f
10392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10393 const IDESC * UNUSED idesc = abuf->idesc;
10394 int cycles = 0;
10396 int referenced = 0;
10397 int UNUSED insn_referenced = abuf->written;
10398 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10400 return cycles;
10401 #undef FLD
10404 static int
10405 model_frv_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
10407 #define FLD(f) abuf->fields.sfmt_mcplhi.f
10408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10409 const IDESC * UNUSED idesc = abuf->idesc;
10410 int cycles = 0;
10412 int referenced = 0;
10413 int UNUSED insn_referenced = abuf->written;
10414 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10416 return cycles;
10417 #undef FLD
10420 static int
10421 model_frv_mcpli (SIM_CPU *current_cpu, void *sem_arg)
10423 #define FLD(f) abuf->fields.sfmt_mwcuti.f
10424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10425 const IDESC * UNUSED idesc = abuf->idesc;
10426 int cycles = 0;
10428 int referenced = 0;
10429 int UNUSED insn_referenced = abuf->written;
10430 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10432 return cycles;
10433 #undef FLD
10436 static int
10437 model_frv_msaths (SIM_CPU *current_cpu, void *sem_arg)
10439 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10441 const IDESC * UNUSED idesc = abuf->idesc;
10442 int cycles = 0;
10444 int referenced = 0;
10445 int UNUSED insn_referenced = abuf->written;
10446 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10448 return cycles;
10449 #undef FLD
10452 static int
10453 model_frv_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
10455 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10457 const IDESC * UNUSED idesc = abuf->idesc;
10458 int cycles = 0;
10460 int referenced = 0;
10461 int UNUSED insn_referenced = abuf->written;
10462 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10464 return cycles;
10465 #undef FLD
10468 static int
10469 model_frv_msathu (SIM_CPU *current_cpu, void *sem_arg)
10471 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10473 const IDESC * UNUSED idesc = abuf->idesc;
10474 int cycles = 0;
10476 int referenced = 0;
10477 int UNUSED insn_referenced = abuf->written;
10478 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10480 return cycles;
10481 #undef FLD
10484 static int
10485 model_frv_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
10487 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
10488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10489 const IDESC * UNUSED idesc = abuf->idesc;
10490 int cycles = 0;
10492 int referenced = 0;
10493 int UNUSED insn_referenced = abuf->written;
10494 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10496 return cycles;
10497 #undef FLD
10500 static int
10501 model_frv_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
10503 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
10504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10505 const IDESC * UNUSED idesc = abuf->idesc;
10506 int cycles = 0;
10508 int referenced = 0;
10509 int UNUSED insn_referenced = abuf->written;
10510 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10512 return cycles;
10513 #undef FLD
10516 static int
10517 model_frv_mabshs (SIM_CPU *current_cpu, void *sem_arg)
10519 #define FLD(f) abuf->fields.sfmt_mabshs.f
10520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10521 const IDESC * UNUSED idesc = abuf->idesc;
10522 int cycles = 0;
10524 int referenced = 0;
10525 int UNUSED insn_referenced = abuf->written;
10526 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10528 return cycles;
10529 #undef FLD
10532 static int
10533 model_frv_maddhss (SIM_CPU *current_cpu, void *sem_arg)
10535 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10537 const IDESC * UNUSED idesc = abuf->idesc;
10538 int cycles = 0;
10540 int referenced = 0;
10541 int UNUSED insn_referenced = abuf->written;
10542 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10544 return cycles;
10545 #undef FLD
10548 static int
10549 model_frv_maddhus (SIM_CPU *current_cpu, void *sem_arg)
10551 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10553 const IDESC * UNUSED idesc = abuf->idesc;
10554 int cycles = 0;
10556 int referenced = 0;
10557 int UNUSED insn_referenced = abuf->written;
10558 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10560 return cycles;
10561 #undef FLD
10564 static int
10565 model_frv_msubhss (SIM_CPU *current_cpu, void *sem_arg)
10567 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10569 const IDESC * UNUSED idesc = abuf->idesc;
10570 int cycles = 0;
10572 int referenced = 0;
10573 int UNUSED insn_referenced = abuf->written;
10574 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10576 return cycles;
10577 #undef FLD
10580 static int
10581 model_frv_msubhus (SIM_CPU *current_cpu, void *sem_arg)
10583 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10585 const IDESC * UNUSED idesc = abuf->idesc;
10586 int cycles = 0;
10588 int referenced = 0;
10589 int UNUSED insn_referenced = abuf->written;
10590 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10592 return cycles;
10593 #undef FLD
10596 static int
10597 model_frv_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
10599 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10601 const IDESC * UNUSED idesc = abuf->idesc;
10602 int cycles = 0;
10604 int referenced = 0;
10605 int UNUSED insn_referenced = abuf->written;
10606 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10608 return cycles;
10609 #undef FLD
10612 static int
10613 model_frv_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
10615 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10617 const IDESC * UNUSED idesc = abuf->idesc;
10618 int cycles = 0;
10620 int referenced = 0;
10621 int UNUSED insn_referenced = abuf->written;
10622 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10624 return cycles;
10625 #undef FLD
10628 static int
10629 model_frv_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
10631 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10633 const IDESC * UNUSED idesc = abuf->idesc;
10634 int cycles = 0;
10636 int referenced = 0;
10637 int UNUSED insn_referenced = abuf->written;
10638 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10640 return cycles;
10641 #undef FLD
10644 static int
10645 model_frv_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
10647 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10649 const IDESC * UNUSED idesc = abuf->idesc;
10650 int cycles = 0;
10652 int referenced = 0;
10653 int UNUSED insn_referenced = abuf->written;
10654 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10656 return cycles;
10657 #undef FLD
10660 static int
10661 model_frv_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
10663 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10665 const IDESC * UNUSED idesc = abuf->idesc;
10666 int cycles = 0;
10668 int referenced = 0;
10669 int UNUSED insn_referenced = abuf->written;
10670 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10672 return cycles;
10673 #undef FLD
10676 static int
10677 model_frv_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
10679 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10681 const IDESC * UNUSED idesc = abuf->idesc;
10682 int cycles = 0;
10684 int referenced = 0;
10685 int UNUSED insn_referenced = abuf->written;
10686 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10688 return cycles;
10689 #undef FLD
10692 static int
10693 model_frv_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
10695 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10697 const IDESC * UNUSED idesc = abuf->idesc;
10698 int cycles = 0;
10700 int referenced = 0;
10701 int UNUSED insn_referenced = abuf->written;
10702 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10704 return cycles;
10705 #undef FLD
10708 static int
10709 model_frv_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
10711 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10713 const IDESC * UNUSED idesc = abuf->idesc;
10714 int cycles = 0;
10716 int referenced = 0;
10717 int UNUSED insn_referenced = abuf->written;
10718 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10720 return cycles;
10721 #undef FLD
10724 static int
10725 model_frv_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
10727 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10729 const IDESC * UNUSED idesc = abuf->idesc;
10730 int cycles = 0;
10732 int referenced = 0;
10733 int UNUSED insn_referenced = abuf->written;
10734 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10736 return cycles;
10737 #undef FLD
10740 static int
10741 model_frv_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
10743 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10745 const IDESC * UNUSED idesc = abuf->idesc;
10746 int cycles = 0;
10748 int referenced = 0;
10749 int UNUSED insn_referenced = abuf->written;
10750 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10752 return cycles;
10753 #undef FLD
10756 static int
10757 model_frv_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
10759 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10761 const IDESC * UNUSED idesc = abuf->idesc;
10762 int cycles = 0;
10764 int referenced = 0;
10765 int UNUSED insn_referenced = abuf->written;
10766 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10768 return cycles;
10769 #undef FLD
10772 static int
10773 model_frv_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
10775 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10777 const IDESC * UNUSED idesc = abuf->idesc;
10778 int cycles = 0;
10780 int referenced = 0;
10781 int UNUSED insn_referenced = abuf->written;
10782 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10784 return cycles;
10785 #undef FLD
10788 static int
10789 model_frv_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
10791 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10793 const IDESC * UNUSED idesc = abuf->idesc;
10794 int cycles = 0;
10796 int referenced = 0;
10797 int UNUSED insn_referenced = abuf->written;
10798 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10800 return cycles;
10801 #undef FLD
10804 static int
10805 model_frv_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
10807 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10809 const IDESC * UNUSED idesc = abuf->idesc;
10810 int cycles = 0;
10812 int referenced = 0;
10813 int UNUSED insn_referenced = abuf->written;
10814 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10816 return cycles;
10817 #undef FLD
10820 static int
10821 model_frv_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
10823 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
10824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10825 const IDESC * UNUSED idesc = abuf->idesc;
10826 int cycles = 0;
10828 int referenced = 0;
10829 int UNUSED insn_referenced = abuf->written;
10830 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10832 return cycles;
10833 #undef FLD
10836 static int
10837 model_frv_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
10839 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
10840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10841 const IDESC * UNUSED idesc = abuf->idesc;
10842 int cycles = 0;
10844 int referenced = 0;
10845 int UNUSED insn_referenced = abuf->written;
10846 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10848 return cycles;
10849 #undef FLD
10852 static int
10853 model_frv_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
10855 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10857 const IDESC * UNUSED idesc = abuf->idesc;
10858 int cycles = 0;
10860 int referenced = 0;
10861 int UNUSED insn_referenced = abuf->written;
10862 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10864 return cycles;
10865 #undef FLD
10868 static int
10869 model_frv_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
10871 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10873 const IDESC * UNUSED idesc = abuf->idesc;
10874 int cycles = 0;
10876 int referenced = 0;
10877 int UNUSED insn_referenced = abuf->written;
10878 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10880 return cycles;
10881 #undef FLD
10884 static int
10885 model_frv_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
10887 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10889 const IDESC * UNUSED idesc = abuf->idesc;
10890 int cycles = 0;
10892 int referenced = 0;
10893 int UNUSED insn_referenced = abuf->written;
10894 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10896 return cycles;
10897 #undef FLD
10900 static int
10901 model_frv_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
10903 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10905 const IDESC * UNUSED idesc = abuf->idesc;
10906 int cycles = 0;
10908 int referenced = 0;
10909 int UNUSED insn_referenced = abuf->written;
10910 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10912 return cycles;
10913 #undef FLD
10916 static int
10917 model_frv_masaccs (SIM_CPU *current_cpu, void *sem_arg)
10919 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10921 const IDESC * UNUSED idesc = abuf->idesc;
10922 int cycles = 0;
10924 int referenced = 0;
10925 int UNUSED insn_referenced = abuf->written;
10926 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10928 return cycles;
10929 #undef FLD
10932 static int
10933 model_frv_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
10935 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10937 const IDESC * UNUSED idesc = abuf->idesc;
10938 int cycles = 0;
10940 int referenced = 0;
10941 int UNUSED insn_referenced = abuf->written;
10942 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10944 return cycles;
10945 #undef FLD
10948 static int
10949 model_frv_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
10951 #define FLD(f) abuf->fields.sfmt_cmmachs.f
10952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10953 const IDESC * UNUSED idesc = abuf->idesc;
10954 int cycles = 0;
10956 int referenced = 0;
10957 int UNUSED insn_referenced = abuf->written;
10958 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10960 return cycles;
10961 #undef FLD
10964 static int
10965 model_frv_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
10967 #define FLD(f) abuf->fields.sfmt_cmmachs.f
10968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10969 const IDESC * UNUSED idesc = abuf->idesc;
10970 int cycles = 0;
10972 int referenced = 0;
10973 int UNUSED insn_referenced = abuf->written;
10974 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10976 return cycles;
10977 #undef FLD
10980 static int
10981 model_frv_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
10983 #define FLD(f) abuf->fields.sfmt_cmmachs.f
10984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10985 const IDESC * UNUSED idesc = abuf->idesc;
10986 int cycles = 0;
10988 int referenced = 0;
10989 int UNUSED insn_referenced = abuf->written;
10990 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10992 return cycles;
10993 #undef FLD
10996 static int
10997 model_frv_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
10999 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11001 const IDESC * UNUSED idesc = abuf->idesc;
11002 int cycles = 0;
11004 int referenced = 0;
11005 int UNUSED insn_referenced = abuf->written;
11006 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11008 return cycles;
11009 #undef FLD
11012 static int
11013 model_frv_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
11015 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11017 const IDESC * UNUSED idesc = abuf->idesc;
11018 int cycles = 0;
11020 int referenced = 0;
11021 int UNUSED insn_referenced = abuf->written;
11022 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11024 return cycles;
11025 #undef FLD
11028 static int
11029 model_frv_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
11031 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11033 const IDESC * UNUSED idesc = abuf->idesc;
11034 int cycles = 0;
11036 int referenced = 0;
11037 int UNUSED insn_referenced = abuf->written;
11038 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11040 return cycles;
11041 #undef FLD
11044 static int
11045 model_frv_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
11047 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11049 const IDESC * UNUSED idesc = abuf->idesc;
11050 int cycles = 0;
11052 int referenced = 0;
11053 int UNUSED insn_referenced = abuf->written;
11054 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11056 return cycles;
11057 #undef FLD
11060 static int
11061 model_frv_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
11063 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11065 const IDESC * UNUSED idesc = abuf->idesc;
11066 int cycles = 0;
11068 int referenced = 0;
11069 int UNUSED insn_referenced = abuf->written;
11070 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11072 return cycles;
11073 #undef FLD
11076 static int
11077 model_frv_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
11079 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11081 const IDESC * UNUSED idesc = abuf->idesc;
11082 int cycles = 0;
11084 int referenced = 0;
11085 int UNUSED insn_referenced = abuf->written;
11086 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11088 return cycles;
11089 #undef FLD
11092 static int
11093 model_frv_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
11095 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11097 const IDESC * UNUSED idesc = abuf->idesc;
11098 int cycles = 0;
11100 int referenced = 0;
11101 int UNUSED insn_referenced = abuf->written;
11102 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11104 return cycles;
11105 #undef FLD
11108 static int
11109 model_frv_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
11111 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11113 const IDESC * UNUSED idesc = abuf->idesc;
11114 int cycles = 0;
11116 int referenced = 0;
11117 int UNUSED insn_referenced = abuf->written;
11118 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11120 return cycles;
11121 #undef FLD
11124 static int
11125 model_frv_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
11127 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11129 const IDESC * UNUSED idesc = abuf->idesc;
11130 int cycles = 0;
11132 int referenced = 0;
11133 int UNUSED insn_referenced = abuf->written;
11134 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11136 return cycles;
11137 #undef FLD
11140 static int
11141 model_frv_mmachs (SIM_CPU *current_cpu, void *sem_arg)
11143 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11145 const IDESC * UNUSED idesc = abuf->idesc;
11146 int cycles = 0;
11148 int referenced = 0;
11149 int UNUSED insn_referenced = abuf->written;
11150 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11152 return cycles;
11153 #undef FLD
11156 static int
11157 model_frv_mmachu (SIM_CPU *current_cpu, void *sem_arg)
11159 #define FLD(f) abuf->fields.sfmt_cmmachu.f
11160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11161 const IDESC * UNUSED idesc = abuf->idesc;
11162 int cycles = 0;
11164 int referenced = 0;
11165 int UNUSED insn_referenced = abuf->written;
11166 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11168 return cycles;
11169 #undef FLD
11172 static int
11173 model_frv_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
11175 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11177 const IDESC * UNUSED idesc = abuf->idesc;
11178 int cycles = 0;
11180 int referenced = 0;
11181 int UNUSED insn_referenced = abuf->written;
11182 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11184 return cycles;
11185 #undef FLD
11188 static int
11189 model_frv_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
11191 #define FLD(f) abuf->fields.sfmt_cmmachu.f
11192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11193 const IDESC * UNUSED idesc = abuf->idesc;
11194 int cycles = 0;
11196 int referenced = 0;
11197 int UNUSED insn_referenced = abuf->written;
11198 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11200 return cycles;
11201 #undef FLD
11204 static int
11205 model_frv_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
11207 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11209 const IDESC * UNUSED idesc = abuf->idesc;
11210 int cycles = 0;
11212 int referenced = 0;
11213 int UNUSED insn_referenced = abuf->written;
11214 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11216 return cycles;
11217 #undef FLD
11220 static int
11221 model_frv_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
11223 #define FLD(f) abuf->fields.sfmt_cmmachu.f
11224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11225 const IDESC * UNUSED idesc = abuf->idesc;
11226 int cycles = 0;
11228 int referenced = 0;
11229 int UNUSED insn_referenced = abuf->written;
11230 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11232 return cycles;
11233 #undef FLD
11236 static int
11237 model_frv_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
11239 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11241 const IDESC * UNUSED idesc = abuf->idesc;
11242 int cycles = 0;
11244 int referenced = 0;
11245 int UNUSED insn_referenced = abuf->written;
11246 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11248 return cycles;
11249 #undef FLD
11252 static int
11253 model_frv_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
11255 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
11256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11257 const IDESC * UNUSED idesc = abuf->idesc;
11258 int cycles = 0;
11260 int referenced = 0;
11261 int UNUSED insn_referenced = abuf->written;
11262 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11264 return cycles;
11265 #undef FLD
11268 static int
11269 model_frv_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
11271 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11273 const IDESC * UNUSED idesc = abuf->idesc;
11274 int cycles = 0;
11276 int referenced = 0;
11277 int UNUSED insn_referenced = abuf->written;
11278 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11280 return cycles;
11281 #undef FLD
11284 static int
11285 model_frv_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
11287 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
11288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11289 const IDESC * UNUSED idesc = abuf->idesc;
11290 int cycles = 0;
11292 int referenced = 0;
11293 int UNUSED insn_referenced = abuf->written;
11294 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11296 return cycles;
11297 #undef FLD
11300 static int
11301 model_frv_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
11303 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11305 const IDESC * UNUSED idesc = abuf->idesc;
11306 int cycles = 0;
11308 int referenced = 0;
11309 int UNUSED insn_referenced = abuf->written;
11310 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11312 return cycles;
11313 #undef FLD
11316 static int
11317 model_frv_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
11319 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11321 const IDESC * UNUSED idesc = abuf->idesc;
11322 int cycles = 0;
11324 int referenced = 0;
11325 int UNUSED insn_referenced = abuf->written;
11326 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11328 return cycles;
11329 #undef FLD
11332 static int
11333 model_frv_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
11335 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11337 const IDESC * UNUSED idesc = abuf->idesc;
11338 int cycles = 0;
11340 int referenced = 0;
11341 int UNUSED insn_referenced = abuf->written;
11342 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11344 return cycles;
11345 #undef FLD
11348 static int
11349 model_frv_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
11351 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11353 const IDESC * UNUSED idesc = abuf->idesc;
11354 int cycles = 0;
11356 int referenced = 0;
11357 int UNUSED insn_referenced = abuf->written;
11358 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11360 return cycles;
11361 #undef FLD
11364 static int
11365 model_frv_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
11367 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11369 const IDESC * UNUSED idesc = abuf->idesc;
11370 int cycles = 0;
11372 int referenced = 0;
11373 int UNUSED insn_referenced = abuf->written;
11374 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11376 return cycles;
11377 #undef FLD
11380 static int
11381 model_frv_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
11383 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11385 const IDESC * UNUSED idesc = abuf->idesc;
11386 int cycles = 0;
11388 int referenced = 0;
11389 int UNUSED insn_referenced = abuf->written;
11390 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11392 return cycles;
11393 #undef FLD
11396 static int
11397 model_frv_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
11399 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11401 const IDESC * UNUSED idesc = abuf->idesc;
11402 int cycles = 0;
11404 int referenced = 0;
11405 int UNUSED insn_referenced = abuf->written;
11406 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11408 return cycles;
11409 #undef FLD
11412 static int
11413 model_frv_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
11415 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11417 const IDESC * UNUSED idesc = abuf->idesc;
11418 int cycles = 0;
11420 int referenced = 0;
11421 int UNUSED insn_referenced = abuf->written;
11422 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11424 return cycles;
11425 #undef FLD
11428 static int
11429 model_frv_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
11431 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11433 const IDESC * UNUSED idesc = abuf->idesc;
11434 int cycles = 0;
11436 int referenced = 0;
11437 int UNUSED insn_referenced = abuf->written;
11438 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11440 return cycles;
11441 #undef FLD
11444 static int
11445 model_frv_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
11447 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11449 const IDESC * UNUSED idesc = abuf->idesc;
11450 int cycles = 0;
11452 int referenced = 0;
11453 int UNUSED insn_referenced = abuf->written;
11454 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11456 return cycles;
11457 #undef FLD
11460 static int
11461 model_frv_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
11463 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11465 const IDESC * UNUSED idesc = abuf->idesc;
11466 int cycles = 0;
11468 int referenced = 0;
11469 int UNUSED insn_referenced = abuf->written;
11470 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11472 return cycles;
11473 #undef FLD
11476 static int
11477 model_frv_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
11479 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11481 const IDESC * UNUSED idesc = abuf->idesc;
11482 int cycles = 0;
11484 int referenced = 0;
11485 int UNUSED insn_referenced = abuf->written;
11486 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11488 return cycles;
11489 #undef FLD
11492 static int
11493 model_frv_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
11495 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11497 const IDESC * UNUSED idesc = abuf->idesc;
11498 int cycles = 0;
11500 int referenced = 0;
11501 int UNUSED insn_referenced = abuf->written;
11502 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11504 return cycles;
11505 #undef FLD
11508 static int
11509 model_frv_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
11511 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11513 const IDESC * UNUSED idesc = abuf->idesc;
11514 int cycles = 0;
11516 int referenced = 0;
11517 int UNUSED insn_referenced = abuf->written;
11518 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11520 return cycles;
11521 #undef FLD
11524 static int
11525 model_frv_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
11527 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11529 const IDESC * UNUSED idesc = abuf->idesc;
11530 int cycles = 0;
11532 int referenced = 0;
11533 int UNUSED insn_referenced = abuf->written;
11534 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11536 return cycles;
11537 #undef FLD
11540 static int
11541 model_frv_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
11543 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
11544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11545 const IDESC * UNUSED idesc = abuf->idesc;
11546 int cycles = 0;
11548 int referenced = 0;
11549 int UNUSED insn_referenced = abuf->written;
11550 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11552 return cycles;
11553 #undef FLD
11556 static int
11557 model_frv_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
11559 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
11560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11561 const IDESC * UNUSED idesc = abuf->idesc;
11562 int cycles = 0;
11564 int referenced = 0;
11565 int UNUSED insn_referenced = abuf->written;
11566 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11568 return cycles;
11569 #undef FLD
11572 static int
11573 model_frv_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
11575 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
11576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11577 const IDESC * UNUSED idesc = abuf->idesc;
11578 int cycles = 0;
11580 int referenced = 0;
11581 int UNUSED insn_referenced = abuf->written;
11582 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11584 return cycles;
11585 #undef FLD
11588 static int
11589 model_frv_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
11591 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
11592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11593 const IDESC * UNUSED idesc = abuf->idesc;
11594 int cycles = 0;
11596 int referenced = 0;
11597 int UNUSED insn_referenced = abuf->written;
11598 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11600 return cycles;
11601 #undef FLD
11604 static int
11605 model_frv_mpackh (SIM_CPU *current_cpu, void *sem_arg)
11607 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
11608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11609 const IDESC * UNUSED idesc = abuf->idesc;
11610 int cycles = 0;
11612 int referenced = 0;
11613 int UNUSED insn_referenced = abuf->written;
11614 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11616 return cycles;
11617 #undef FLD
11620 static int
11621 model_frv_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
11623 #define FLD(f) abuf->fields.sfmt_mdpackh.f
11624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11625 const IDESC * UNUSED idesc = abuf->idesc;
11626 int cycles = 0;
11628 int referenced = 0;
11629 int UNUSED insn_referenced = abuf->written;
11630 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11632 return cycles;
11633 #undef FLD
11636 static int
11637 model_frv_munpackh (SIM_CPU *current_cpu, void *sem_arg)
11639 #define FLD(f) abuf->fields.sfmt_munpackh.f
11640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11641 const IDESC * UNUSED idesc = abuf->idesc;
11642 int cycles = 0;
11644 int referenced = 0;
11645 int UNUSED insn_referenced = abuf->written;
11646 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11648 return cycles;
11649 #undef FLD
11652 static int
11653 model_frv_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
11655 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
11656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11657 const IDESC * UNUSED idesc = abuf->idesc;
11658 int cycles = 0;
11660 int referenced = 0;
11661 int UNUSED insn_referenced = abuf->written;
11662 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11664 return cycles;
11665 #undef FLD
11668 static int
11669 model_frv_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
11671 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
11672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11673 const IDESC * UNUSED idesc = abuf->idesc;
11674 int cycles = 0;
11676 int referenced = 0;
11677 int UNUSED insn_referenced = abuf->written;
11678 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11680 return cycles;
11681 #undef FLD
11684 static int
11685 model_frv_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
11687 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
11688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11689 const IDESC * UNUSED idesc = abuf->idesc;
11690 int cycles = 0;
11692 int referenced = 0;
11693 int UNUSED insn_referenced = abuf->written;
11694 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11696 return cycles;
11697 #undef FLD
11700 static int
11701 model_frv_mhtob (SIM_CPU *current_cpu, void *sem_arg)
11703 #define FLD(f) abuf->fields.sfmt_cmhtob.f
11704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11705 const IDESC * UNUSED idesc = abuf->idesc;
11706 int cycles = 0;
11708 int referenced = 0;
11709 int UNUSED insn_referenced = abuf->written;
11710 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11712 return cycles;
11713 #undef FLD
11716 static int
11717 model_frv_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
11719 #define FLD(f) abuf->fields.sfmt_cmhtob.f
11720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11721 const IDESC * UNUSED idesc = abuf->idesc;
11722 int cycles = 0;
11724 int referenced = 0;
11725 int UNUSED insn_referenced = abuf->written;
11726 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11728 return cycles;
11729 #undef FLD
11732 static int
11733 model_frv_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
11735 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
11736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11737 const IDESC * UNUSED idesc = abuf->idesc;
11738 int cycles = 0;
11740 int referenced = 0;
11741 int UNUSED insn_referenced = abuf->written;
11742 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11744 return cycles;
11745 #undef FLD
11748 static int
11749 model_frv_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
11751 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
11752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11753 const IDESC * UNUSED idesc = abuf->idesc;
11754 int cycles = 0;
11756 int referenced = 0;
11757 int UNUSED insn_referenced = abuf->written;
11758 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11760 return cycles;
11761 #undef FLD
11764 static int
11765 model_frv_mnop (SIM_CPU *current_cpu, void *sem_arg)
11767 #define FLD(f) abuf->fields.sfmt_empty.f
11768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11769 const IDESC * UNUSED idesc = abuf->idesc;
11770 int cycles = 0;
11772 int referenced = 0;
11773 int UNUSED insn_referenced = abuf->written;
11774 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11776 return cycles;
11777 #undef FLD
11780 static int
11781 model_frv_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
11783 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
11784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11785 const IDESC * UNUSED idesc = abuf->idesc;
11786 int cycles = 0;
11788 int referenced = 0;
11789 int UNUSED insn_referenced = abuf->written;
11790 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11792 return cycles;
11793 #undef FLD
11796 static int
11797 model_frv_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
11799 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
11800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11801 const IDESC * UNUSED idesc = abuf->idesc;
11802 int cycles = 0;
11804 int referenced = 0;
11805 int UNUSED insn_referenced = abuf->written;
11806 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11808 return cycles;
11809 #undef FLD
11812 static int
11813 model_frv_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
11815 #define FLD(f) abuf->fields.sfmt_mcuti.f
11816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11817 const IDESC * UNUSED idesc = abuf->idesc;
11818 int cycles = 0;
11820 int referenced = 0;
11821 int UNUSED insn_referenced = abuf->written;
11822 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11824 return cycles;
11825 #undef FLD
11828 static int
11829 model_frv_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
11831 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
11832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11833 const IDESC * UNUSED idesc = abuf->idesc;
11834 int cycles = 0;
11836 int referenced = 0;
11837 int UNUSED insn_referenced = abuf->written;
11838 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11840 return cycles;
11841 #undef FLD
11844 static int
11845 model_frv_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
11847 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11849 const IDESC * UNUSED idesc = abuf->idesc;
11850 int cycles = 0;
11852 int referenced = 0;
11853 int UNUSED insn_referenced = abuf->written;
11854 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11856 return cycles;
11857 #undef FLD
11860 static int
11861 model_frv_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
11863 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
11864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11865 const IDESC * UNUSED idesc = abuf->idesc;
11866 int cycles = 0;
11868 int referenced = 0;
11869 int UNUSED insn_referenced = abuf->written;
11870 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11872 return cycles;
11873 #undef FLD
11876 static int
11877 model_frv_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
11879 #define FLD(f) abuf->fields.sfmt_empty.f
11880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11881 const IDESC * UNUSED idesc = abuf->idesc;
11882 int cycles = 0;
11884 int referenced = 0;
11885 int UNUSED insn_referenced = abuf->written;
11886 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11888 return cycles;
11889 #undef FLD
11892 static int
11893 model_frv_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
11895 #define FLD(f) abuf->fields.sfmt_empty.f
11896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11897 const IDESC * UNUSED idesc = abuf->idesc;
11898 int cycles = 0;
11900 int referenced = 0;
11901 int UNUSED insn_referenced = abuf->written;
11902 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11904 return cycles;
11905 #undef FLD
11908 static int
11909 model_frv_fnop (SIM_CPU *current_cpu, void *sem_arg)
11911 #define FLD(f) abuf->fields.sfmt_empty.f
11912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11913 const IDESC * UNUSED idesc = abuf->idesc;
11914 int cycles = 0;
11916 int referenced = 0;
11917 int UNUSED insn_referenced = abuf->written;
11918 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11920 return cycles;
11921 #undef FLD
11924 static int
11925 model_fr550_add (SIM_CPU *current_cpu, void *sem_arg)
11927 #define FLD(f) abuf->fields.sfmt_addcc.f
11928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11929 const IDESC * UNUSED idesc = abuf->idesc;
11930 int cycles = 0;
11932 int referenced = 0;
11933 int UNUSED insn_referenced = abuf->written;
11934 INT in_GRi = -1;
11935 INT in_GRj = -1;
11936 INT out_GRk = -1;
11937 INT out_ICCi_1 = -1;
11938 in_GRi = FLD (in_GRi);
11939 in_GRj = FLD (in_GRj);
11940 out_GRk = FLD (out_GRk);
11941 referenced |= 1 << 0;
11942 referenced |= 1 << 1;
11943 referenced |= 1 << 2;
11944 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
11946 return cycles;
11947 #undef FLD
11950 static int
11951 model_fr550_sub (SIM_CPU *current_cpu, void *sem_arg)
11953 #define FLD(f) abuf->fields.sfmt_addcc.f
11954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11955 const IDESC * UNUSED idesc = abuf->idesc;
11956 int cycles = 0;
11958 int referenced = 0;
11959 int UNUSED insn_referenced = abuf->written;
11960 INT in_GRi = -1;
11961 INT in_GRj = -1;
11962 INT out_GRk = -1;
11963 INT out_ICCi_1 = -1;
11964 in_GRi = FLD (in_GRi);
11965 in_GRj = FLD (in_GRj);
11966 out_GRk = FLD (out_GRk);
11967 referenced |= 1 << 0;
11968 referenced |= 1 << 1;
11969 referenced |= 1 << 2;
11970 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
11972 return cycles;
11973 #undef FLD
11976 static int
11977 model_fr550_and (SIM_CPU *current_cpu, void *sem_arg)
11979 #define FLD(f) abuf->fields.sfmt_addcc.f
11980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11981 const IDESC * UNUSED idesc = abuf->idesc;
11982 int cycles = 0;
11984 int referenced = 0;
11985 int UNUSED insn_referenced = abuf->written;
11986 INT in_GRi = -1;
11987 INT in_GRj = -1;
11988 INT out_GRk = -1;
11989 INT out_ICCi_1 = -1;
11990 in_GRi = FLD (in_GRi);
11991 in_GRj = FLD (in_GRj);
11992 out_GRk = FLD (out_GRk);
11993 referenced |= 1 << 0;
11994 referenced |= 1 << 1;
11995 referenced |= 1 << 2;
11996 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
11998 return cycles;
11999 #undef FLD
12002 static int
12003 model_fr550_or (SIM_CPU *current_cpu, void *sem_arg)
12005 #define FLD(f) abuf->fields.sfmt_addcc.f
12006 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12007 const IDESC * UNUSED idesc = abuf->idesc;
12008 int cycles = 0;
12010 int referenced = 0;
12011 int UNUSED insn_referenced = abuf->written;
12012 INT in_GRi = -1;
12013 INT in_GRj = -1;
12014 INT out_GRk = -1;
12015 INT out_ICCi_1 = -1;
12016 in_GRi = FLD (in_GRi);
12017 in_GRj = FLD (in_GRj);
12018 out_GRk = FLD (out_GRk);
12019 referenced |= 1 << 0;
12020 referenced |= 1 << 1;
12021 referenced |= 1 << 2;
12022 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12024 return cycles;
12025 #undef FLD
12028 static int
12029 model_fr550_xor (SIM_CPU *current_cpu, void *sem_arg)
12031 #define FLD(f) abuf->fields.sfmt_addcc.f
12032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12033 const IDESC * UNUSED idesc = abuf->idesc;
12034 int cycles = 0;
12036 int referenced = 0;
12037 int UNUSED insn_referenced = abuf->written;
12038 INT in_GRi = -1;
12039 INT in_GRj = -1;
12040 INT out_GRk = -1;
12041 INT out_ICCi_1 = -1;
12042 in_GRi = FLD (in_GRi);
12043 in_GRj = FLD (in_GRj);
12044 out_GRk = FLD (out_GRk);
12045 referenced |= 1 << 0;
12046 referenced |= 1 << 1;
12047 referenced |= 1 << 2;
12048 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12050 return cycles;
12051 #undef FLD
12054 static int
12055 model_fr550_not (SIM_CPU *current_cpu, void *sem_arg)
12057 #define FLD(f) abuf->fields.sfmt_scutss.f
12058 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12059 const IDESC * UNUSED idesc = abuf->idesc;
12060 int cycles = 0;
12062 int referenced = 0;
12063 int UNUSED insn_referenced = abuf->written;
12064 INT in_GRi = -1;
12065 INT in_GRj = -1;
12066 INT out_GRk = -1;
12067 INT out_ICCi_1 = -1;
12068 in_GRj = FLD (in_GRj);
12069 out_GRk = FLD (out_GRk);
12070 referenced |= 1 << 1;
12071 referenced |= 1 << 2;
12072 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12074 return cycles;
12075 #undef FLD
12078 static int
12079 model_fr550_sdiv (SIM_CPU *current_cpu, void *sem_arg)
12081 #define FLD(f) abuf->fields.sfmt_addcc.f
12082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12083 const IDESC * UNUSED idesc = abuf->idesc;
12084 int cycles = 0;
12086 int referenced = 0;
12087 int UNUSED insn_referenced = abuf->written;
12088 INT in_GRi = -1;
12089 INT in_GRj = -1;
12090 INT out_GRk = -1;
12091 INT out_ICCi_1 = -1;
12092 in_GRi = FLD (in_GRi);
12093 in_GRj = FLD (in_GRj);
12094 out_GRk = FLD (out_GRk);
12095 referenced |= 1 << 0;
12096 referenced |= 1 << 1;
12097 referenced |= 1 << 2;
12098 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12100 return cycles;
12101 #undef FLD
12104 static int
12105 model_fr550_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
12107 #define FLD(f) abuf->fields.sfmt_addcc.f
12108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12109 const IDESC * UNUSED idesc = abuf->idesc;
12110 int cycles = 0;
12112 int referenced = 0;
12113 int UNUSED insn_referenced = abuf->written;
12114 INT in_GRi = -1;
12115 INT in_GRj = -1;
12116 INT out_GRk = -1;
12117 INT out_ICCi_1 = -1;
12118 in_GRi = FLD (in_GRi);
12119 in_GRj = FLD (in_GRj);
12120 out_GRk = FLD (out_GRk);
12121 referenced |= 1 << 0;
12122 referenced |= 1 << 1;
12123 referenced |= 1 << 2;
12124 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12126 return cycles;
12127 #undef FLD
12130 static int
12131 model_fr550_udiv (SIM_CPU *current_cpu, void *sem_arg)
12133 #define FLD(f) abuf->fields.sfmt_addcc.f
12134 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12135 const IDESC * UNUSED idesc = abuf->idesc;
12136 int cycles = 0;
12138 int referenced = 0;
12139 int UNUSED insn_referenced = abuf->written;
12140 INT in_GRi = -1;
12141 INT in_GRj = -1;
12142 INT out_GRk = -1;
12143 INT out_ICCi_1 = -1;
12144 in_GRi = FLD (in_GRi);
12145 in_GRj = FLD (in_GRj);
12146 out_GRk = FLD (out_GRk);
12147 referenced |= 1 << 0;
12148 referenced |= 1 << 1;
12149 referenced |= 1 << 2;
12150 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12152 return cycles;
12153 #undef FLD
12156 static int
12157 model_fr550_nudiv (SIM_CPU *current_cpu, void *sem_arg)
12159 #define FLD(f) abuf->fields.sfmt_addcc.f
12160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12161 const IDESC * UNUSED idesc = abuf->idesc;
12162 int cycles = 0;
12164 int referenced = 0;
12165 int UNUSED insn_referenced = abuf->written;
12166 INT in_GRi = -1;
12167 INT in_GRj = -1;
12168 INT out_GRk = -1;
12169 INT out_ICCi_1 = -1;
12170 in_GRi = FLD (in_GRi);
12171 in_GRj = FLD (in_GRj);
12172 out_GRk = FLD (out_GRk);
12173 referenced |= 1 << 0;
12174 referenced |= 1 << 1;
12175 referenced |= 1 << 2;
12176 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12178 return cycles;
12179 #undef FLD
12182 static int
12183 model_fr550_smul (SIM_CPU *current_cpu, void *sem_arg)
12185 #define FLD(f) abuf->fields.sfmt_smulcc.f
12186 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12187 const IDESC * UNUSED idesc = abuf->idesc;
12188 int cycles = 0;
12190 int referenced = 0;
12191 int UNUSED insn_referenced = abuf->written;
12192 INT in_GRi = -1;
12193 INT in_GRj = -1;
12194 INT out_GRdoublek = -1;
12195 INT out_ICCi_1 = -1;
12196 in_GRi = FLD (in_GRi);
12197 in_GRj = FLD (in_GRj);
12198 out_GRdoublek = FLD (out_GRdoublek);
12199 referenced |= 1 << 0;
12200 referenced |= 1 << 1;
12201 referenced |= 1 << 2;
12202 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
12204 return cycles;
12205 #undef FLD
12208 static int
12209 model_fr550_umul (SIM_CPU *current_cpu, void *sem_arg)
12211 #define FLD(f) abuf->fields.sfmt_smulcc.f
12212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12213 const IDESC * UNUSED idesc = abuf->idesc;
12214 int cycles = 0;
12216 int referenced = 0;
12217 int UNUSED insn_referenced = abuf->written;
12218 INT in_GRi = -1;
12219 INT in_GRj = -1;
12220 INT out_GRdoublek = -1;
12221 INT out_ICCi_1 = -1;
12222 in_GRi = FLD (in_GRi);
12223 in_GRj = FLD (in_GRj);
12224 out_GRdoublek = FLD (out_GRdoublek);
12225 referenced |= 1 << 0;
12226 referenced |= 1 << 1;
12227 referenced |= 1 << 2;
12228 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
12230 return cycles;
12231 #undef FLD
12234 static int
12235 model_fr550_smu (SIM_CPU *current_cpu, void *sem_arg)
12237 #define FLD(f) abuf->fields.sfmt_smass.f
12238 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12239 const IDESC * UNUSED idesc = abuf->idesc;
12240 int cycles = 0;
12242 int referenced = 0;
12243 int UNUSED insn_referenced = abuf->written;
12244 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12246 return cycles;
12247 #undef FLD
12250 static int
12251 model_fr550_smass (SIM_CPU *current_cpu, void *sem_arg)
12253 #define FLD(f) abuf->fields.sfmt_smass.f
12254 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12255 const IDESC * UNUSED idesc = abuf->idesc;
12256 int cycles = 0;
12258 int referenced = 0;
12259 int UNUSED insn_referenced = abuf->written;
12260 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12262 return cycles;
12263 #undef FLD
12266 static int
12267 model_fr550_smsss (SIM_CPU *current_cpu, void *sem_arg)
12269 #define FLD(f) abuf->fields.sfmt_smass.f
12270 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12271 const IDESC * UNUSED idesc = abuf->idesc;
12272 int cycles = 0;
12274 int referenced = 0;
12275 int UNUSED insn_referenced = abuf->written;
12276 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12278 return cycles;
12279 #undef FLD
12282 static int
12283 model_fr550_sll (SIM_CPU *current_cpu, void *sem_arg)
12285 #define FLD(f) abuf->fields.sfmt_addcc.f
12286 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12287 const IDESC * UNUSED idesc = abuf->idesc;
12288 int cycles = 0;
12290 int referenced = 0;
12291 int UNUSED insn_referenced = abuf->written;
12292 INT in_GRi = -1;
12293 INT in_GRj = -1;
12294 INT out_GRk = -1;
12295 INT out_ICCi_1 = -1;
12296 in_GRi = FLD (in_GRi);
12297 in_GRj = FLD (in_GRj);
12298 out_GRk = FLD (out_GRk);
12299 referenced |= 1 << 0;
12300 referenced |= 1 << 1;
12301 referenced |= 1 << 2;
12302 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12304 return cycles;
12305 #undef FLD
12308 static int
12309 model_fr550_srl (SIM_CPU *current_cpu, void *sem_arg)
12311 #define FLD(f) abuf->fields.sfmt_addcc.f
12312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12313 const IDESC * UNUSED idesc = abuf->idesc;
12314 int cycles = 0;
12316 int referenced = 0;
12317 int UNUSED insn_referenced = abuf->written;
12318 INT in_GRi = -1;
12319 INT in_GRj = -1;
12320 INT out_GRk = -1;
12321 INT out_ICCi_1 = -1;
12322 in_GRi = FLD (in_GRi);
12323 in_GRj = FLD (in_GRj);
12324 out_GRk = FLD (out_GRk);
12325 referenced |= 1 << 0;
12326 referenced |= 1 << 1;
12327 referenced |= 1 << 2;
12328 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12330 return cycles;
12331 #undef FLD
12334 static int
12335 model_fr550_sra (SIM_CPU *current_cpu, void *sem_arg)
12337 #define FLD(f) abuf->fields.sfmt_addcc.f
12338 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12339 const IDESC * UNUSED idesc = abuf->idesc;
12340 int cycles = 0;
12342 int referenced = 0;
12343 int UNUSED insn_referenced = abuf->written;
12344 INT in_GRi = -1;
12345 INT in_GRj = -1;
12346 INT out_GRk = -1;
12347 INT out_ICCi_1 = -1;
12348 in_GRi = FLD (in_GRi);
12349 in_GRj = FLD (in_GRj);
12350 out_GRk = FLD (out_GRk);
12351 referenced |= 1 << 0;
12352 referenced |= 1 << 1;
12353 referenced |= 1 << 2;
12354 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12356 return cycles;
12357 #undef FLD
12360 static int
12361 model_fr550_slass (SIM_CPU *current_cpu, void *sem_arg)
12363 #define FLD(f) abuf->fields.sfmt_addcc.f
12364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12365 const IDESC * UNUSED idesc = abuf->idesc;
12366 int cycles = 0;
12368 int referenced = 0;
12369 int UNUSED insn_referenced = abuf->written;
12370 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12372 return cycles;
12373 #undef FLD
12376 static int
12377 model_fr550_scutss (SIM_CPU *current_cpu, void *sem_arg)
12379 #define FLD(f) abuf->fields.sfmt_scutss.f
12380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12381 const IDESC * UNUSED idesc = abuf->idesc;
12382 int cycles = 0;
12384 int referenced = 0;
12385 int UNUSED insn_referenced = abuf->written;
12386 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12388 return cycles;
12389 #undef FLD
12392 static int
12393 model_fr550_scan (SIM_CPU *current_cpu, void *sem_arg)
12395 #define FLD(f) abuf->fields.sfmt_addcc.f
12396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12397 const IDESC * UNUSED idesc = abuf->idesc;
12398 int cycles = 0;
12400 int referenced = 0;
12401 int UNUSED insn_referenced = abuf->written;
12402 INT in_GRi = -1;
12403 INT in_GRj = -1;
12404 INT out_GRk = -1;
12405 INT out_ICCi_1 = -1;
12406 in_GRi = FLD (in_GRi);
12407 in_GRj = FLD (in_GRj);
12408 out_GRk = FLD (out_GRk);
12409 referenced |= 1 << 0;
12410 referenced |= 1 << 1;
12411 referenced |= 1 << 2;
12412 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12414 return cycles;
12415 #undef FLD
12418 static int
12419 model_fr550_cadd (SIM_CPU *current_cpu, void *sem_arg)
12421 #define FLD(f) abuf->fields.sfmt_cswap.f
12422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12423 const IDESC * UNUSED idesc = abuf->idesc;
12424 int cycles = 0;
12426 int referenced = 0;
12427 int UNUSED insn_referenced = abuf->written;
12428 INT in_GRi = -1;
12429 INT in_GRj = -1;
12430 INT out_GRk = -1;
12431 INT out_ICCi_1 = -1;
12432 in_GRi = FLD (in_GRi);
12433 in_GRj = FLD (in_GRj);
12434 out_GRk = FLD (out_GRk);
12435 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12436 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12437 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12438 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12440 return cycles;
12441 #undef FLD
12444 static int
12445 model_fr550_csub (SIM_CPU *current_cpu, void *sem_arg)
12447 #define FLD(f) abuf->fields.sfmt_cswap.f
12448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12449 const IDESC * UNUSED idesc = abuf->idesc;
12450 int cycles = 0;
12452 int referenced = 0;
12453 int UNUSED insn_referenced = abuf->written;
12454 INT in_GRi = -1;
12455 INT in_GRj = -1;
12456 INT out_GRk = -1;
12457 INT out_ICCi_1 = -1;
12458 in_GRi = FLD (in_GRi);
12459 in_GRj = FLD (in_GRj);
12460 out_GRk = FLD (out_GRk);
12461 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12462 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12463 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12464 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12466 return cycles;
12467 #undef FLD
12470 static int
12471 model_fr550_cand (SIM_CPU *current_cpu, void *sem_arg)
12473 #define FLD(f) abuf->fields.sfmt_cswap.f
12474 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12475 const IDESC * UNUSED idesc = abuf->idesc;
12476 int cycles = 0;
12478 int referenced = 0;
12479 int UNUSED insn_referenced = abuf->written;
12480 INT in_GRi = -1;
12481 INT in_GRj = -1;
12482 INT out_GRk = -1;
12483 INT out_ICCi_1 = -1;
12484 in_GRi = FLD (in_GRi);
12485 in_GRj = FLD (in_GRj);
12486 out_GRk = FLD (out_GRk);
12487 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12488 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12489 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12490 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12492 return cycles;
12493 #undef FLD
12496 static int
12497 model_fr550_cor (SIM_CPU *current_cpu, void *sem_arg)
12499 #define FLD(f) abuf->fields.sfmt_cswap.f
12500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12501 const IDESC * UNUSED idesc = abuf->idesc;
12502 int cycles = 0;
12504 int referenced = 0;
12505 int UNUSED insn_referenced = abuf->written;
12506 INT in_GRi = -1;
12507 INT in_GRj = -1;
12508 INT out_GRk = -1;
12509 INT out_ICCi_1 = -1;
12510 in_GRi = FLD (in_GRi);
12511 in_GRj = FLD (in_GRj);
12512 out_GRk = FLD (out_GRk);
12513 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12514 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12515 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12516 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12518 return cycles;
12519 #undef FLD
12522 static int
12523 model_fr550_cxor (SIM_CPU *current_cpu, void *sem_arg)
12525 #define FLD(f) abuf->fields.sfmt_cswap.f
12526 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12527 const IDESC * UNUSED idesc = abuf->idesc;
12528 int cycles = 0;
12530 int referenced = 0;
12531 int UNUSED insn_referenced = abuf->written;
12532 INT in_GRi = -1;
12533 INT in_GRj = -1;
12534 INT out_GRk = -1;
12535 INT out_ICCi_1 = -1;
12536 in_GRi = FLD (in_GRi);
12537 in_GRj = FLD (in_GRj);
12538 out_GRk = FLD (out_GRk);
12539 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12540 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12541 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12542 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12544 return cycles;
12545 #undef FLD
12548 static int
12549 model_fr550_cnot (SIM_CPU *current_cpu, void *sem_arg)
12551 #define FLD(f) abuf->fields.sfmt_cswap.f
12552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12553 const IDESC * UNUSED idesc = abuf->idesc;
12554 int cycles = 0;
12556 int referenced = 0;
12557 int UNUSED insn_referenced = abuf->written;
12558 INT in_GRi = -1;
12559 INT in_GRj = -1;
12560 INT out_GRk = -1;
12561 INT out_ICCi_1 = -1;
12562 in_GRj = FLD (in_GRj);
12563 out_GRk = FLD (out_GRk);
12564 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
12565 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
12566 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12568 return cycles;
12569 #undef FLD
12572 static int
12573 model_fr550_csmul (SIM_CPU *current_cpu, void *sem_arg)
12575 #define FLD(f) abuf->fields.sfmt_clddu.f
12576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12577 const IDESC * UNUSED idesc = abuf->idesc;
12578 int cycles = 0;
12580 int referenced = 0;
12581 int UNUSED insn_referenced = abuf->written;
12582 INT in_GRi = -1;
12583 INT in_GRj = -1;
12584 INT out_GRdoublek = -1;
12585 INT out_ICCi_1 = -1;
12586 in_GRi = FLD (in_GRi);
12587 in_GRj = FLD (in_GRj);
12588 out_GRdoublek = FLD (out_GRdoublek);
12589 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12590 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12591 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12592 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
12594 return cycles;
12595 #undef FLD
12598 static int
12599 model_fr550_csdiv (SIM_CPU *current_cpu, void *sem_arg)
12601 #define FLD(f) abuf->fields.sfmt_cswap.f
12602 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12603 const IDESC * UNUSED idesc = abuf->idesc;
12604 int cycles = 0;
12606 int referenced = 0;
12607 int UNUSED insn_referenced = abuf->written;
12608 INT in_GRi = -1;
12609 INT in_GRj = -1;
12610 INT out_GRk = -1;
12611 INT out_ICCi_1 = -1;
12612 in_GRi = FLD (in_GRi);
12613 in_GRj = FLD (in_GRj);
12614 out_GRk = FLD (out_GRk);
12615 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12616 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12617 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
12618 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12620 return cycles;
12621 #undef FLD
12624 static int
12625 model_fr550_cudiv (SIM_CPU *current_cpu, void *sem_arg)
12627 #define FLD(f) abuf->fields.sfmt_cswap.f
12628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12629 const IDESC * UNUSED idesc = abuf->idesc;
12630 int cycles = 0;
12632 int referenced = 0;
12633 int UNUSED insn_referenced = abuf->written;
12634 INT in_GRi = -1;
12635 INT in_GRj = -1;
12636 INT out_GRk = -1;
12637 INT out_ICCi_1 = -1;
12638 in_GRi = FLD (in_GRi);
12639 in_GRj = FLD (in_GRj);
12640 out_GRk = FLD (out_GRk);
12641 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12642 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12643 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
12644 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12646 return cycles;
12647 #undef FLD
12650 static int
12651 model_fr550_csll (SIM_CPU *current_cpu, void *sem_arg)
12653 #define FLD(f) abuf->fields.sfmt_cswap.f
12654 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12655 const IDESC * UNUSED idesc = abuf->idesc;
12656 int cycles = 0;
12658 int referenced = 0;
12659 int UNUSED insn_referenced = abuf->written;
12660 INT in_GRi = -1;
12661 INT in_GRj = -1;
12662 INT out_GRk = -1;
12663 INT out_ICCi_1 = -1;
12664 in_GRi = FLD (in_GRi);
12665 in_GRj = FLD (in_GRj);
12666 out_GRk = FLD (out_GRk);
12667 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12668 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12669 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12670 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12672 return cycles;
12673 #undef FLD
12676 static int
12677 model_fr550_csrl (SIM_CPU *current_cpu, void *sem_arg)
12679 #define FLD(f) abuf->fields.sfmt_cswap.f
12680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12681 const IDESC * UNUSED idesc = abuf->idesc;
12682 int cycles = 0;
12684 int referenced = 0;
12685 int UNUSED insn_referenced = abuf->written;
12686 INT in_GRi = -1;
12687 INT in_GRj = -1;
12688 INT out_GRk = -1;
12689 INT out_ICCi_1 = -1;
12690 in_GRi = FLD (in_GRi);
12691 in_GRj = FLD (in_GRj);
12692 out_GRk = FLD (out_GRk);
12693 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12694 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12695 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12696 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12698 return cycles;
12699 #undef FLD
12702 static int
12703 model_fr550_csra (SIM_CPU *current_cpu, void *sem_arg)
12705 #define FLD(f) abuf->fields.sfmt_cswap.f
12706 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12707 const IDESC * UNUSED idesc = abuf->idesc;
12708 int cycles = 0;
12710 int referenced = 0;
12711 int UNUSED insn_referenced = abuf->written;
12712 INT in_GRi = -1;
12713 INT in_GRj = -1;
12714 INT out_GRk = -1;
12715 INT out_ICCi_1 = -1;
12716 in_GRi = FLD (in_GRi);
12717 in_GRj = FLD (in_GRj);
12718 out_GRk = FLD (out_GRk);
12719 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12720 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12721 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12722 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12724 return cycles;
12725 #undef FLD
12728 static int
12729 model_fr550_cscan (SIM_CPU *current_cpu, void *sem_arg)
12731 #define FLD(f) abuf->fields.sfmt_cswap.f
12732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12733 const IDESC * UNUSED idesc = abuf->idesc;
12734 int cycles = 0;
12736 int referenced = 0;
12737 int UNUSED insn_referenced = abuf->written;
12738 INT in_GRi = -1;
12739 INT in_GRj = -1;
12740 INT out_GRk = -1;
12741 INT out_ICCi_1 = -1;
12742 in_GRi = FLD (in_GRi);
12743 in_GRj = FLD (in_GRj);
12744 out_GRk = FLD (out_GRk);
12745 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12746 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12747 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12748 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12750 return cycles;
12751 #undef FLD
12754 static int
12755 model_fr550_addcc (SIM_CPU *current_cpu, void *sem_arg)
12757 #define FLD(f) abuf->fields.sfmt_addcc.f
12758 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12759 const IDESC * UNUSED idesc = abuf->idesc;
12760 int cycles = 0;
12762 int referenced = 0;
12763 int UNUSED insn_referenced = abuf->written;
12764 INT in_GRi = -1;
12765 INT in_GRj = -1;
12766 INT out_GRk = -1;
12767 INT out_ICCi_1 = -1;
12768 in_GRi = FLD (in_GRi);
12769 in_GRj = FLD (in_GRj);
12770 out_GRk = FLD (out_GRk);
12771 out_ICCi_1 = FLD (out_ICCi_1);
12772 referenced |= 1 << 0;
12773 referenced |= 1 << 1;
12774 referenced |= 1 << 2;
12775 referenced |= 1 << 3;
12776 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12778 return cycles;
12779 #undef FLD
12782 static int
12783 model_fr550_subcc (SIM_CPU *current_cpu, void *sem_arg)
12785 #define FLD(f) abuf->fields.sfmt_addcc.f
12786 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12787 const IDESC * UNUSED idesc = abuf->idesc;
12788 int cycles = 0;
12790 int referenced = 0;
12791 int UNUSED insn_referenced = abuf->written;
12792 INT in_GRi = -1;
12793 INT in_GRj = -1;
12794 INT out_GRk = -1;
12795 INT out_ICCi_1 = -1;
12796 in_GRi = FLD (in_GRi);
12797 in_GRj = FLD (in_GRj);
12798 out_GRk = FLD (out_GRk);
12799 out_ICCi_1 = FLD (out_ICCi_1);
12800 referenced |= 1 << 0;
12801 referenced |= 1 << 1;
12802 referenced |= 1 << 2;
12803 referenced |= 1 << 3;
12804 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12806 return cycles;
12807 #undef FLD
12810 static int
12811 model_fr550_andcc (SIM_CPU *current_cpu, void *sem_arg)
12813 #define FLD(f) abuf->fields.sfmt_addcc.f
12814 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12815 const IDESC * UNUSED idesc = abuf->idesc;
12816 int cycles = 0;
12818 int referenced = 0;
12819 int UNUSED insn_referenced = abuf->written;
12820 INT in_GRi = -1;
12821 INT in_GRj = -1;
12822 INT out_GRk = -1;
12823 INT out_ICCi_1 = -1;
12824 in_GRi = FLD (in_GRi);
12825 in_GRj = FLD (in_GRj);
12826 out_GRk = FLD (out_GRk);
12827 out_ICCi_1 = FLD (out_ICCi_1);
12828 referenced |= 1 << 0;
12829 referenced |= 1 << 1;
12830 referenced |= 1 << 2;
12831 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
12832 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12834 return cycles;
12835 #undef FLD
12838 static int
12839 model_fr550_orcc (SIM_CPU *current_cpu, void *sem_arg)
12841 #define FLD(f) abuf->fields.sfmt_addcc.f
12842 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12843 const IDESC * UNUSED idesc = abuf->idesc;
12844 int cycles = 0;
12846 int referenced = 0;
12847 int UNUSED insn_referenced = abuf->written;
12848 INT in_GRi = -1;
12849 INT in_GRj = -1;
12850 INT out_GRk = -1;
12851 INT out_ICCi_1 = -1;
12852 in_GRi = FLD (in_GRi);
12853 in_GRj = FLD (in_GRj);
12854 out_GRk = FLD (out_GRk);
12855 out_ICCi_1 = FLD (out_ICCi_1);
12856 referenced |= 1 << 0;
12857 referenced |= 1 << 1;
12858 referenced |= 1 << 2;
12859 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
12860 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12862 return cycles;
12863 #undef FLD
12866 static int
12867 model_fr550_xorcc (SIM_CPU *current_cpu, void *sem_arg)
12869 #define FLD(f) abuf->fields.sfmt_addcc.f
12870 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12871 const IDESC * UNUSED idesc = abuf->idesc;
12872 int cycles = 0;
12874 int referenced = 0;
12875 int UNUSED insn_referenced = abuf->written;
12876 INT in_GRi = -1;
12877 INT in_GRj = -1;
12878 INT out_GRk = -1;
12879 INT out_ICCi_1 = -1;
12880 in_GRi = FLD (in_GRi);
12881 in_GRj = FLD (in_GRj);
12882 out_GRk = FLD (out_GRk);
12883 out_ICCi_1 = FLD (out_ICCi_1);
12884 referenced |= 1 << 0;
12885 referenced |= 1 << 1;
12886 referenced |= 1 << 2;
12887 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
12888 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12890 return cycles;
12891 #undef FLD
12894 static int
12895 model_fr550_sllcc (SIM_CPU *current_cpu, void *sem_arg)
12897 #define FLD(f) abuf->fields.sfmt_addcc.f
12898 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12899 const IDESC * UNUSED idesc = abuf->idesc;
12900 int cycles = 0;
12902 int referenced = 0;
12903 int UNUSED insn_referenced = abuf->written;
12904 INT in_GRi = -1;
12905 INT in_GRj = -1;
12906 INT out_GRk = -1;
12907 INT out_ICCi_1 = -1;
12908 in_GRi = FLD (in_GRi);
12909 in_GRj = FLD (in_GRj);
12910 out_GRk = FLD (out_GRk);
12911 out_ICCi_1 = FLD (out_ICCi_1);
12912 referenced |= 1 << 0;
12913 referenced |= 1 << 1;
12914 referenced |= 1 << 2;
12915 referenced |= 1 << 3;
12916 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12918 return cycles;
12919 #undef FLD
12922 static int
12923 model_fr550_srlcc (SIM_CPU *current_cpu, void *sem_arg)
12925 #define FLD(f) abuf->fields.sfmt_addcc.f
12926 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12927 const IDESC * UNUSED idesc = abuf->idesc;
12928 int cycles = 0;
12930 int referenced = 0;
12931 int UNUSED insn_referenced = abuf->written;
12932 INT in_GRi = -1;
12933 INT in_GRj = -1;
12934 INT out_GRk = -1;
12935 INT out_ICCi_1 = -1;
12936 in_GRi = FLD (in_GRi);
12937 in_GRj = FLD (in_GRj);
12938 out_GRk = FLD (out_GRk);
12939 out_ICCi_1 = FLD (out_ICCi_1);
12940 referenced |= 1 << 0;
12941 referenced |= 1 << 1;
12942 referenced |= 1 << 2;
12943 referenced |= 1 << 3;
12944 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12946 return cycles;
12947 #undef FLD
12950 static int
12951 model_fr550_sracc (SIM_CPU *current_cpu, void *sem_arg)
12953 #define FLD(f) abuf->fields.sfmt_addcc.f
12954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12955 const IDESC * UNUSED idesc = abuf->idesc;
12956 int cycles = 0;
12958 int referenced = 0;
12959 int UNUSED insn_referenced = abuf->written;
12960 INT in_GRi = -1;
12961 INT in_GRj = -1;
12962 INT out_GRk = -1;
12963 INT out_ICCi_1 = -1;
12964 in_GRi = FLD (in_GRi);
12965 in_GRj = FLD (in_GRj);
12966 out_GRk = FLD (out_GRk);
12967 out_ICCi_1 = FLD (out_ICCi_1);
12968 referenced |= 1 << 0;
12969 referenced |= 1 << 1;
12970 referenced |= 1 << 2;
12971 referenced |= 1 << 3;
12972 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12974 return cycles;
12975 #undef FLD
12978 static int
12979 model_fr550_smulcc (SIM_CPU *current_cpu, void *sem_arg)
12981 #define FLD(f) abuf->fields.sfmt_smulcc.f
12982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12983 const IDESC * UNUSED idesc = abuf->idesc;
12984 int cycles = 0;
12986 int referenced = 0;
12987 int UNUSED insn_referenced = abuf->written;
12988 INT in_GRi = -1;
12989 INT in_GRj = -1;
12990 INT out_GRdoublek = -1;
12991 INT out_ICCi_1 = -1;
12992 in_GRi = FLD (in_GRi);
12993 in_GRj = FLD (in_GRj);
12994 out_GRdoublek = FLD (out_GRdoublek);
12995 out_ICCi_1 = FLD (out_ICCi_1);
12996 referenced |= 1 << 0;
12997 referenced |= 1 << 1;
12998 referenced |= 1 << 2;
12999 referenced |= 1 << 3;
13000 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13002 return cycles;
13003 #undef FLD
13006 static int
13007 model_fr550_umulcc (SIM_CPU *current_cpu, void *sem_arg)
13009 #define FLD(f) abuf->fields.sfmt_smulcc.f
13010 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13011 const IDESC * UNUSED idesc = abuf->idesc;
13012 int cycles = 0;
13014 int referenced = 0;
13015 int UNUSED insn_referenced = abuf->written;
13016 INT in_GRi = -1;
13017 INT in_GRj = -1;
13018 INT out_GRdoublek = -1;
13019 INT out_ICCi_1 = -1;
13020 in_GRi = FLD (in_GRi);
13021 in_GRj = FLD (in_GRj);
13022 out_GRdoublek = FLD (out_GRdoublek);
13023 out_ICCi_1 = FLD (out_ICCi_1);
13024 referenced |= 1 << 0;
13025 referenced |= 1 << 1;
13026 referenced |= 1 << 2;
13027 referenced |= 1 << 3;
13028 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13030 return cycles;
13031 #undef FLD
13034 static int
13035 model_fr550_caddcc (SIM_CPU *current_cpu, void *sem_arg)
13037 #define FLD(f) abuf->fields.sfmt_caddcc.f
13038 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13039 const IDESC * UNUSED idesc = abuf->idesc;
13040 int cycles = 0;
13042 int referenced = 0;
13043 int UNUSED insn_referenced = abuf->written;
13044 INT in_GRi = -1;
13045 INT in_GRj = -1;
13046 INT out_GRk = -1;
13047 INT out_ICCi_1 = -1;
13048 in_GRi = FLD (in_GRi);
13049 in_GRj = FLD (in_GRj);
13050 out_GRk = FLD (out_GRk);
13051 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13052 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13053 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13054 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13056 return cycles;
13057 #undef FLD
13060 static int
13061 model_fr550_csubcc (SIM_CPU *current_cpu, void *sem_arg)
13063 #define FLD(f) abuf->fields.sfmt_caddcc.f
13064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13065 const IDESC * UNUSED idesc = abuf->idesc;
13066 int cycles = 0;
13068 int referenced = 0;
13069 int UNUSED insn_referenced = abuf->written;
13070 INT in_GRi = -1;
13071 INT in_GRj = -1;
13072 INT out_GRk = -1;
13073 INT out_ICCi_1 = -1;
13074 in_GRi = FLD (in_GRi);
13075 in_GRj = FLD (in_GRj);
13076 out_GRk = FLD (out_GRk);
13077 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13078 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13079 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13080 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13082 return cycles;
13083 #undef FLD
13086 static int
13087 model_fr550_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
13089 #define FLD(f) abuf->fields.sfmt_csmulcc.f
13090 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13091 const IDESC * UNUSED idesc = abuf->idesc;
13092 int cycles = 0;
13094 int referenced = 0;
13095 int UNUSED insn_referenced = abuf->written;
13096 INT in_GRi = -1;
13097 INT in_GRj = -1;
13098 INT out_GRdoublek = -1;
13099 INT out_ICCi_1 = -1;
13100 in_GRi = FLD (in_GRi);
13101 in_GRj = FLD (in_GRj);
13102 out_GRdoublek = FLD (out_GRdoublek);
13103 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13104 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13105 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13106 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13108 return cycles;
13109 #undef FLD
13112 static int
13113 model_fr550_candcc (SIM_CPU *current_cpu, void *sem_arg)
13115 #define FLD(f) abuf->fields.sfmt_caddcc.f
13116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13117 const IDESC * UNUSED idesc = abuf->idesc;
13118 int cycles = 0;
13120 int referenced = 0;
13121 int UNUSED insn_referenced = abuf->written;
13122 INT in_GRi = -1;
13123 INT in_GRj = -1;
13124 INT out_GRk = -1;
13125 INT out_ICCi_1 = -1;
13126 in_GRi = FLD (in_GRi);
13127 in_GRj = FLD (in_GRj);
13128 out_GRk = FLD (out_GRk);
13129 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13130 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13131 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13132 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13134 return cycles;
13135 #undef FLD
13138 static int
13139 model_fr550_corcc (SIM_CPU *current_cpu, void *sem_arg)
13141 #define FLD(f) abuf->fields.sfmt_caddcc.f
13142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13143 const IDESC * UNUSED idesc = abuf->idesc;
13144 int cycles = 0;
13146 int referenced = 0;
13147 int UNUSED insn_referenced = abuf->written;
13148 INT in_GRi = -1;
13149 INT in_GRj = -1;
13150 INT out_GRk = -1;
13151 INT out_ICCi_1 = -1;
13152 in_GRi = FLD (in_GRi);
13153 in_GRj = FLD (in_GRj);
13154 out_GRk = FLD (out_GRk);
13155 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13156 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13157 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13158 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13160 return cycles;
13161 #undef FLD
13164 static int
13165 model_fr550_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
13167 #define FLD(f) abuf->fields.sfmt_caddcc.f
13168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13169 const IDESC * UNUSED idesc = abuf->idesc;
13170 int cycles = 0;
13172 int referenced = 0;
13173 int UNUSED insn_referenced = abuf->written;
13174 INT in_GRi = -1;
13175 INT in_GRj = -1;
13176 INT out_GRk = -1;
13177 INT out_ICCi_1 = -1;
13178 in_GRi = FLD (in_GRi);
13179 in_GRj = FLD (in_GRj);
13180 out_GRk = FLD (out_GRk);
13181 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13182 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13183 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13184 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13186 return cycles;
13187 #undef FLD
13190 static int
13191 model_fr550_csllcc (SIM_CPU *current_cpu, void *sem_arg)
13193 #define FLD(f) abuf->fields.sfmt_caddcc.f
13194 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13195 const IDESC * UNUSED idesc = abuf->idesc;
13196 int cycles = 0;
13198 int referenced = 0;
13199 int UNUSED insn_referenced = abuf->written;
13200 INT in_GRi = -1;
13201 INT in_GRj = -1;
13202 INT out_GRk = -1;
13203 INT out_ICCi_1 = -1;
13204 in_GRi = FLD (in_GRi);
13205 in_GRj = FLD (in_GRj);
13206 out_GRk = FLD (out_GRk);
13207 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13208 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13209 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13210 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13212 return cycles;
13213 #undef FLD
13216 static int
13217 model_fr550_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
13219 #define FLD(f) abuf->fields.sfmt_caddcc.f
13220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13221 const IDESC * UNUSED idesc = abuf->idesc;
13222 int cycles = 0;
13224 int referenced = 0;
13225 int UNUSED insn_referenced = abuf->written;
13226 INT in_GRi = -1;
13227 INT in_GRj = -1;
13228 INT out_GRk = -1;
13229 INT out_ICCi_1 = -1;
13230 in_GRi = FLD (in_GRi);
13231 in_GRj = FLD (in_GRj);
13232 out_GRk = FLD (out_GRk);
13233 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13234 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13235 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13236 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13238 return cycles;
13239 #undef FLD
13242 static int
13243 model_fr550_csracc (SIM_CPU *current_cpu, void *sem_arg)
13245 #define FLD(f) abuf->fields.sfmt_caddcc.f
13246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13247 const IDESC * UNUSED idesc = abuf->idesc;
13248 int cycles = 0;
13250 int referenced = 0;
13251 int UNUSED insn_referenced = abuf->written;
13252 INT in_GRi = -1;
13253 INT in_GRj = -1;
13254 INT out_GRk = -1;
13255 INT out_ICCi_1 = -1;
13256 in_GRi = FLD (in_GRi);
13257 in_GRj = FLD (in_GRj);
13258 out_GRk = FLD (out_GRk);
13259 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13260 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13261 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13262 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13264 return cycles;
13265 #undef FLD
13268 static int
13269 model_fr550_addx (SIM_CPU *current_cpu, void *sem_arg)
13271 #define FLD(f) abuf->fields.sfmt_addcc.f
13272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13273 const IDESC * UNUSED idesc = abuf->idesc;
13274 int cycles = 0;
13276 int referenced = 0;
13277 int UNUSED insn_referenced = abuf->written;
13278 INT in_GRi = -1;
13279 INT in_GRj = -1;
13280 INT out_GRk = -1;
13281 INT out_ICCi_1 = -1;
13282 in_GRi = FLD (in_GRi);
13283 in_GRj = FLD (in_GRj);
13284 out_GRk = FLD (out_GRk);
13285 referenced |= 1 << 0;
13286 referenced |= 1 << 1;
13287 referenced |= 1 << 2;
13288 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13290 return cycles;
13291 #undef FLD
13294 static int
13295 model_fr550_subx (SIM_CPU *current_cpu, void *sem_arg)
13297 #define FLD(f) abuf->fields.sfmt_addcc.f
13298 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13299 const IDESC * UNUSED idesc = abuf->idesc;
13300 int cycles = 0;
13302 int referenced = 0;
13303 int UNUSED insn_referenced = abuf->written;
13304 INT in_GRi = -1;
13305 INT in_GRj = -1;
13306 INT out_GRk = -1;
13307 INT out_ICCi_1 = -1;
13308 in_GRi = FLD (in_GRi);
13309 in_GRj = FLD (in_GRj);
13310 out_GRk = FLD (out_GRk);
13311 referenced |= 1 << 0;
13312 referenced |= 1 << 1;
13313 referenced |= 1 << 2;
13314 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13316 return cycles;
13317 #undef FLD
13320 static int
13321 model_fr550_addxcc (SIM_CPU *current_cpu, void *sem_arg)
13323 #define FLD(f) abuf->fields.sfmt_addcc.f
13324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13325 const IDESC * UNUSED idesc = abuf->idesc;
13326 int cycles = 0;
13328 int referenced = 0;
13329 int UNUSED insn_referenced = abuf->written;
13330 INT in_GRi = -1;
13331 INT in_GRj = -1;
13332 INT out_GRk = -1;
13333 INT out_ICCi_1 = -1;
13334 in_GRi = FLD (in_GRi);
13335 in_GRj = FLD (in_GRj);
13336 out_GRk = FLD (out_GRk);
13337 out_ICCi_1 = FLD (out_ICCi_1);
13338 referenced |= 1 << 0;
13339 referenced |= 1 << 1;
13340 referenced |= 1 << 2;
13341 referenced |= 1 << 3;
13342 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13344 return cycles;
13345 #undef FLD
13348 static int
13349 model_fr550_subxcc (SIM_CPU *current_cpu, void *sem_arg)
13351 #define FLD(f) abuf->fields.sfmt_addcc.f
13352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13353 const IDESC * UNUSED idesc = abuf->idesc;
13354 int cycles = 0;
13356 int referenced = 0;
13357 int UNUSED insn_referenced = abuf->written;
13358 INT in_GRi = -1;
13359 INT in_GRj = -1;
13360 INT out_GRk = -1;
13361 INT out_ICCi_1 = -1;
13362 in_GRi = FLD (in_GRi);
13363 in_GRj = FLD (in_GRj);
13364 out_GRk = FLD (out_GRk);
13365 out_ICCi_1 = FLD (out_ICCi_1);
13366 referenced |= 1 << 0;
13367 referenced |= 1 << 1;
13368 referenced |= 1 << 2;
13369 referenced |= 1 << 3;
13370 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13372 return cycles;
13373 #undef FLD
13376 static int
13377 model_fr550_addss (SIM_CPU *current_cpu, void *sem_arg)
13379 #define FLD(f) abuf->fields.sfmt_addcc.f
13380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13381 const IDESC * UNUSED idesc = abuf->idesc;
13382 int cycles = 0;
13384 int referenced = 0;
13385 int UNUSED insn_referenced = abuf->written;
13386 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
13388 return cycles;
13389 #undef FLD
13392 static int
13393 model_fr550_subss (SIM_CPU *current_cpu, void *sem_arg)
13395 #define FLD(f) abuf->fields.sfmt_addcc.f
13396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13397 const IDESC * UNUSED idesc = abuf->idesc;
13398 int cycles = 0;
13400 int referenced = 0;
13401 int UNUSED insn_referenced = abuf->written;
13402 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
13404 return cycles;
13405 #undef FLD
13408 static int
13409 model_fr550_addi (SIM_CPU *current_cpu, void *sem_arg)
13411 #define FLD(f) abuf->fields.sfmt_swapi.f
13412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13413 const IDESC * UNUSED idesc = abuf->idesc;
13414 int cycles = 0;
13416 int referenced = 0;
13417 int UNUSED insn_referenced = abuf->written;
13418 INT in_GRi = -1;
13419 INT in_GRj = -1;
13420 INT out_GRk = -1;
13421 INT out_ICCi_1 = -1;
13422 in_GRi = FLD (in_GRi);
13423 out_GRk = FLD (out_GRk);
13424 referenced |= 1 << 0;
13425 referenced |= 1 << 2;
13426 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13428 return cycles;
13429 #undef FLD
13432 static int
13433 model_fr550_subi (SIM_CPU *current_cpu, void *sem_arg)
13435 #define FLD(f) abuf->fields.sfmt_swapi.f
13436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13437 const IDESC * UNUSED idesc = abuf->idesc;
13438 int cycles = 0;
13440 int referenced = 0;
13441 int UNUSED insn_referenced = abuf->written;
13442 INT in_GRi = -1;
13443 INT in_GRj = -1;
13444 INT out_GRk = -1;
13445 INT out_ICCi_1 = -1;
13446 in_GRi = FLD (in_GRi);
13447 out_GRk = FLD (out_GRk);
13448 referenced |= 1 << 0;
13449 referenced |= 1 << 2;
13450 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13452 return cycles;
13453 #undef FLD
13456 static int
13457 model_fr550_andi (SIM_CPU *current_cpu, void *sem_arg)
13459 #define FLD(f) abuf->fields.sfmt_swapi.f
13460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13461 const IDESC * UNUSED idesc = abuf->idesc;
13462 int cycles = 0;
13464 int referenced = 0;
13465 int UNUSED insn_referenced = abuf->written;
13466 INT in_GRi = -1;
13467 INT in_GRj = -1;
13468 INT out_GRk = -1;
13469 INT out_ICCi_1 = -1;
13470 in_GRi = FLD (in_GRi);
13471 out_GRk = FLD (out_GRk);
13472 referenced |= 1 << 0;
13473 referenced |= 1 << 2;
13474 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13476 return cycles;
13477 #undef FLD
13480 static int
13481 model_fr550_ori (SIM_CPU *current_cpu, void *sem_arg)
13483 #define FLD(f) abuf->fields.sfmt_swapi.f
13484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13485 const IDESC * UNUSED idesc = abuf->idesc;
13486 int cycles = 0;
13488 int referenced = 0;
13489 int UNUSED insn_referenced = abuf->written;
13490 INT in_GRi = -1;
13491 INT in_GRj = -1;
13492 INT out_GRk = -1;
13493 INT out_ICCi_1 = -1;
13494 in_GRi = FLD (in_GRi);
13495 out_GRk = FLD (out_GRk);
13496 referenced |= 1 << 0;
13497 referenced |= 1 << 2;
13498 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13500 return cycles;
13501 #undef FLD
13504 static int
13505 model_fr550_xori (SIM_CPU *current_cpu, void *sem_arg)
13507 #define FLD(f) abuf->fields.sfmt_swapi.f
13508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13509 const IDESC * UNUSED idesc = abuf->idesc;
13510 int cycles = 0;
13512 int referenced = 0;
13513 int UNUSED insn_referenced = abuf->written;
13514 INT in_GRi = -1;
13515 INT in_GRj = -1;
13516 INT out_GRk = -1;
13517 INT out_ICCi_1 = -1;
13518 in_GRi = FLD (in_GRi);
13519 out_GRk = FLD (out_GRk);
13520 referenced |= 1 << 0;
13521 referenced |= 1 << 2;
13522 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13524 return cycles;
13525 #undef FLD
13528 static int
13529 model_fr550_sdivi (SIM_CPU *current_cpu, void *sem_arg)
13531 #define FLD(f) abuf->fields.sfmt_swapi.f
13532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13533 const IDESC * UNUSED idesc = abuf->idesc;
13534 int cycles = 0;
13536 int referenced = 0;
13537 int UNUSED insn_referenced = abuf->written;
13538 INT in_GRi = -1;
13539 INT in_GRj = -1;
13540 INT out_GRk = -1;
13541 INT out_ICCi_1 = -1;
13542 in_GRi = FLD (in_GRi);
13543 out_GRk = FLD (out_GRk);
13544 referenced |= 1 << 0;
13545 referenced |= 1 << 2;
13546 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13548 return cycles;
13549 #undef FLD
13552 static int
13553 model_fr550_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
13555 #define FLD(f) abuf->fields.sfmt_swapi.f
13556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13557 const IDESC * UNUSED idesc = abuf->idesc;
13558 int cycles = 0;
13560 int referenced = 0;
13561 int UNUSED insn_referenced = abuf->written;
13562 INT in_GRi = -1;
13563 INT in_GRj = -1;
13564 INT out_GRk = -1;
13565 INT out_ICCi_1 = -1;
13566 in_GRi = FLD (in_GRi);
13567 out_GRk = FLD (out_GRk);
13568 referenced |= 1 << 0;
13569 referenced |= 1 << 2;
13570 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13572 return cycles;
13573 #undef FLD
13576 static int
13577 model_fr550_udivi (SIM_CPU *current_cpu, void *sem_arg)
13579 #define FLD(f) abuf->fields.sfmt_swapi.f
13580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13581 const IDESC * UNUSED idesc = abuf->idesc;
13582 int cycles = 0;
13584 int referenced = 0;
13585 int UNUSED insn_referenced = abuf->written;
13586 INT in_GRi = -1;
13587 INT in_GRj = -1;
13588 INT out_GRk = -1;
13589 INT out_ICCi_1 = -1;
13590 in_GRi = FLD (in_GRi);
13591 out_GRk = FLD (out_GRk);
13592 referenced |= 1 << 0;
13593 referenced |= 1 << 2;
13594 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13596 return cycles;
13597 #undef FLD
13600 static int
13601 model_fr550_nudivi (SIM_CPU *current_cpu, void *sem_arg)
13603 #define FLD(f) abuf->fields.sfmt_swapi.f
13604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13605 const IDESC * UNUSED idesc = abuf->idesc;
13606 int cycles = 0;
13608 int referenced = 0;
13609 int UNUSED insn_referenced = abuf->written;
13610 INT in_GRi = -1;
13611 INT in_GRj = -1;
13612 INT out_GRk = -1;
13613 INT out_ICCi_1 = -1;
13614 in_GRi = FLD (in_GRi);
13615 out_GRk = FLD (out_GRk);
13616 referenced |= 1 << 0;
13617 referenced |= 1 << 2;
13618 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13620 return cycles;
13621 #undef FLD
13624 static int
13625 model_fr550_smuli (SIM_CPU *current_cpu, void *sem_arg)
13627 #define FLD(f) abuf->fields.sfmt_smuli.f
13628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13629 const IDESC * UNUSED idesc = abuf->idesc;
13630 int cycles = 0;
13632 int referenced = 0;
13633 int UNUSED insn_referenced = abuf->written;
13634 INT in_GRi = -1;
13635 INT in_GRj = -1;
13636 INT out_GRdoublek = -1;
13637 INT out_ICCi_1 = -1;
13638 in_GRi = FLD (in_GRi);
13639 out_GRdoublek = FLD (out_GRdoublek);
13640 referenced |= 1 << 0;
13641 referenced |= 1 << 2;
13642 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13644 return cycles;
13645 #undef FLD
13648 static int
13649 model_fr550_umuli (SIM_CPU *current_cpu, void *sem_arg)
13651 #define FLD(f) abuf->fields.sfmt_smuli.f
13652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13653 const IDESC * UNUSED idesc = abuf->idesc;
13654 int cycles = 0;
13656 int referenced = 0;
13657 int UNUSED insn_referenced = abuf->written;
13658 INT in_GRi = -1;
13659 INT in_GRj = -1;
13660 INT out_GRdoublek = -1;
13661 INT out_ICCi_1 = -1;
13662 in_GRi = FLD (in_GRi);
13663 out_GRdoublek = FLD (out_GRdoublek);
13664 referenced |= 1 << 0;
13665 referenced |= 1 << 2;
13666 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13668 return cycles;
13669 #undef FLD
13672 static int
13673 model_fr550_slli (SIM_CPU *current_cpu, void *sem_arg)
13675 #define FLD(f) abuf->fields.sfmt_swapi.f
13676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13677 const IDESC * UNUSED idesc = abuf->idesc;
13678 int cycles = 0;
13680 int referenced = 0;
13681 int UNUSED insn_referenced = abuf->written;
13682 INT in_GRi = -1;
13683 INT in_GRj = -1;
13684 INT out_GRk = -1;
13685 INT out_ICCi_1 = -1;
13686 in_GRi = FLD (in_GRi);
13687 out_GRk = FLD (out_GRk);
13688 referenced |= 1 << 0;
13689 referenced |= 1 << 2;
13690 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13692 return cycles;
13693 #undef FLD
13696 static int
13697 model_fr550_srli (SIM_CPU *current_cpu, void *sem_arg)
13699 #define FLD(f) abuf->fields.sfmt_swapi.f
13700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13701 const IDESC * UNUSED idesc = abuf->idesc;
13702 int cycles = 0;
13704 int referenced = 0;
13705 int UNUSED insn_referenced = abuf->written;
13706 INT in_GRi = -1;
13707 INT in_GRj = -1;
13708 INT out_GRk = -1;
13709 INT out_ICCi_1 = -1;
13710 in_GRi = FLD (in_GRi);
13711 out_GRk = FLD (out_GRk);
13712 referenced |= 1 << 0;
13713 referenced |= 1 << 2;
13714 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13716 return cycles;
13717 #undef FLD
13720 static int
13721 model_fr550_srai (SIM_CPU *current_cpu, void *sem_arg)
13723 #define FLD(f) abuf->fields.sfmt_swapi.f
13724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13725 const IDESC * UNUSED idesc = abuf->idesc;
13726 int cycles = 0;
13728 int referenced = 0;
13729 int UNUSED insn_referenced = abuf->written;
13730 INT in_GRi = -1;
13731 INT in_GRj = -1;
13732 INT out_GRk = -1;
13733 INT out_ICCi_1 = -1;
13734 in_GRi = FLD (in_GRi);
13735 out_GRk = FLD (out_GRk);
13736 referenced |= 1 << 0;
13737 referenced |= 1 << 2;
13738 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13740 return cycles;
13741 #undef FLD
13744 static int
13745 model_fr550_scani (SIM_CPU *current_cpu, void *sem_arg)
13747 #define FLD(f) abuf->fields.sfmt_swapi.f
13748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13749 const IDESC * UNUSED idesc = abuf->idesc;
13750 int cycles = 0;
13752 int referenced = 0;
13753 int UNUSED insn_referenced = abuf->written;
13754 INT in_GRi = -1;
13755 INT in_GRj = -1;
13756 INT out_GRk = -1;
13757 INT out_ICCi_1 = -1;
13758 in_GRi = FLD (in_GRi);
13759 out_GRk = FLD (out_GRk);
13760 referenced |= 1 << 0;
13761 referenced |= 1 << 2;
13762 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13764 return cycles;
13765 #undef FLD
13768 static int
13769 model_fr550_addicc (SIM_CPU *current_cpu, void *sem_arg)
13771 #define FLD(f) abuf->fields.sfmt_addicc.f
13772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13773 const IDESC * UNUSED idesc = abuf->idesc;
13774 int cycles = 0;
13776 int referenced = 0;
13777 int UNUSED insn_referenced = abuf->written;
13778 INT in_GRi = -1;
13779 INT in_GRj = -1;
13780 INT out_GRk = -1;
13781 INT out_ICCi_1 = -1;
13782 in_GRi = FLD (in_GRi);
13783 out_GRk = FLD (out_GRk);
13784 out_ICCi_1 = FLD (out_ICCi_1);
13785 referenced |= 1 << 0;
13786 referenced |= 1 << 2;
13787 referenced |= 1 << 3;
13788 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13790 return cycles;
13791 #undef FLD
13794 static int
13795 model_fr550_subicc (SIM_CPU *current_cpu, void *sem_arg)
13797 #define FLD(f) abuf->fields.sfmt_addicc.f
13798 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13799 const IDESC * UNUSED idesc = abuf->idesc;
13800 int cycles = 0;
13802 int referenced = 0;
13803 int UNUSED insn_referenced = abuf->written;
13804 INT in_GRi = -1;
13805 INT in_GRj = -1;
13806 INT out_GRk = -1;
13807 INT out_ICCi_1 = -1;
13808 in_GRi = FLD (in_GRi);
13809 out_GRk = FLD (out_GRk);
13810 out_ICCi_1 = FLD (out_ICCi_1);
13811 referenced |= 1 << 0;
13812 referenced |= 1 << 2;
13813 referenced |= 1 << 3;
13814 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13816 return cycles;
13817 #undef FLD
13820 static int
13821 model_fr550_andicc (SIM_CPU *current_cpu, void *sem_arg)
13823 #define FLD(f) abuf->fields.sfmt_addicc.f
13824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13825 const IDESC * UNUSED idesc = abuf->idesc;
13826 int cycles = 0;
13828 int referenced = 0;
13829 int UNUSED insn_referenced = abuf->written;
13830 INT in_GRi = -1;
13831 INT in_GRj = -1;
13832 INT out_GRk = -1;
13833 INT out_ICCi_1 = -1;
13834 in_GRi = FLD (in_GRi);
13835 out_GRk = FLD (out_GRk);
13836 out_ICCi_1 = FLD (out_ICCi_1);
13837 referenced |= 1 << 0;
13838 referenced |= 1 << 2;
13839 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
13840 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13842 return cycles;
13843 #undef FLD
13846 static int
13847 model_fr550_oricc (SIM_CPU *current_cpu, void *sem_arg)
13849 #define FLD(f) abuf->fields.sfmt_addicc.f
13850 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13851 const IDESC * UNUSED idesc = abuf->idesc;
13852 int cycles = 0;
13854 int referenced = 0;
13855 int UNUSED insn_referenced = abuf->written;
13856 INT in_GRi = -1;
13857 INT in_GRj = -1;
13858 INT out_GRk = -1;
13859 INT out_ICCi_1 = -1;
13860 in_GRi = FLD (in_GRi);
13861 out_GRk = FLD (out_GRk);
13862 out_ICCi_1 = FLD (out_ICCi_1);
13863 referenced |= 1 << 0;
13864 referenced |= 1 << 2;
13865 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
13866 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13868 return cycles;
13869 #undef FLD
13872 static int
13873 model_fr550_xoricc (SIM_CPU *current_cpu, void *sem_arg)
13875 #define FLD(f) abuf->fields.sfmt_addicc.f
13876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13877 const IDESC * UNUSED idesc = abuf->idesc;
13878 int cycles = 0;
13880 int referenced = 0;
13881 int UNUSED insn_referenced = abuf->written;
13882 INT in_GRi = -1;
13883 INT in_GRj = -1;
13884 INT out_GRk = -1;
13885 INT out_ICCi_1 = -1;
13886 in_GRi = FLD (in_GRi);
13887 out_GRk = FLD (out_GRk);
13888 out_ICCi_1 = FLD (out_ICCi_1);
13889 referenced |= 1 << 0;
13890 referenced |= 1 << 2;
13891 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
13892 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13894 return cycles;
13895 #undef FLD
13898 static int
13899 model_fr550_smulicc (SIM_CPU *current_cpu, void *sem_arg)
13901 #define FLD(f) abuf->fields.sfmt_smulicc.f
13902 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13903 const IDESC * UNUSED idesc = abuf->idesc;
13904 int cycles = 0;
13906 int referenced = 0;
13907 int UNUSED insn_referenced = abuf->written;
13908 INT in_GRi = -1;
13909 INT in_GRj = -1;
13910 INT out_GRdoublek = -1;
13911 INT out_ICCi_1 = -1;
13912 in_GRi = FLD (in_GRi);
13913 out_GRdoublek = FLD (out_GRdoublek);
13914 out_ICCi_1 = FLD (out_ICCi_1);
13915 referenced |= 1 << 0;
13916 referenced |= 1 << 2;
13917 referenced |= 1 << 3;
13918 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13920 return cycles;
13921 #undef FLD
13924 static int
13925 model_fr550_umulicc (SIM_CPU *current_cpu, void *sem_arg)
13927 #define FLD(f) abuf->fields.sfmt_smulicc.f
13928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13929 const IDESC * UNUSED idesc = abuf->idesc;
13930 int cycles = 0;
13932 int referenced = 0;
13933 int UNUSED insn_referenced = abuf->written;
13934 INT in_GRi = -1;
13935 INT in_GRj = -1;
13936 INT out_GRdoublek = -1;
13937 INT out_ICCi_1 = -1;
13938 in_GRi = FLD (in_GRi);
13939 out_GRdoublek = FLD (out_GRdoublek);
13940 out_ICCi_1 = FLD (out_ICCi_1);
13941 referenced |= 1 << 0;
13942 referenced |= 1 << 2;
13943 referenced |= 1 << 3;
13944 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13946 return cycles;
13947 #undef FLD
13950 static int
13951 model_fr550_sllicc (SIM_CPU *current_cpu, void *sem_arg)
13953 #define FLD(f) abuf->fields.sfmt_addicc.f
13954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13955 const IDESC * UNUSED idesc = abuf->idesc;
13956 int cycles = 0;
13958 int referenced = 0;
13959 int UNUSED insn_referenced = abuf->written;
13960 INT in_GRi = -1;
13961 INT in_GRj = -1;
13962 INT out_GRk = -1;
13963 INT out_ICCi_1 = -1;
13964 in_GRi = FLD (in_GRi);
13965 out_GRk = FLD (out_GRk);
13966 out_ICCi_1 = FLD (out_ICCi_1);
13967 referenced |= 1 << 0;
13968 referenced |= 1 << 2;
13969 referenced |= 1 << 3;
13970 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13972 return cycles;
13973 #undef FLD
13976 static int
13977 model_fr550_srlicc (SIM_CPU *current_cpu, void *sem_arg)
13979 #define FLD(f) abuf->fields.sfmt_addicc.f
13980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13981 const IDESC * UNUSED idesc = abuf->idesc;
13982 int cycles = 0;
13984 int referenced = 0;
13985 int UNUSED insn_referenced = abuf->written;
13986 INT in_GRi = -1;
13987 INT in_GRj = -1;
13988 INT out_GRk = -1;
13989 INT out_ICCi_1 = -1;
13990 in_GRi = FLD (in_GRi);
13991 out_GRk = FLD (out_GRk);
13992 out_ICCi_1 = FLD (out_ICCi_1);
13993 referenced |= 1 << 0;
13994 referenced |= 1 << 2;
13995 referenced |= 1 << 3;
13996 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13998 return cycles;
13999 #undef FLD
14002 static int
14003 model_fr550_sraicc (SIM_CPU *current_cpu, void *sem_arg)
14005 #define FLD(f) abuf->fields.sfmt_addicc.f
14006 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14007 const IDESC * UNUSED idesc = abuf->idesc;
14008 int cycles = 0;
14010 int referenced = 0;
14011 int UNUSED insn_referenced = abuf->written;
14012 INT in_GRi = -1;
14013 INT in_GRj = -1;
14014 INT out_GRk = -1;
14015 INT out_ICCi_1 = -1;
14016 in_GRi = FLD (in_GRi);
14017 out_GRk = FLD (out_GRk);
14018 out_ICCi_1 = FLD (out_ICCi_1);
14019 referenced |= 1 << 0;
14020 referenced |= 1 << 2;
14021 referenced |= 1 << 3;
14022 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14024 return cycles;
14025 #undef FLD
14028 static int
14029 model_fr550_addxi (SIM_CPU *current_cpu, void *sem_arg)
14031 #define FLD(f) abuf->fields.sfmt_addicc.f
14032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14033 const IDESC * UNUSED idesc = abuf->idesc;
14034 int cycles = 0;
14036 int referenced = 0;
14037 int UNUSED insn_referenced = abuf->written;
14038 INT in_GRi = -1;
14039 INT in_GRj = -1;
14040 INT out_GRk = -1;
14041 INT out_ICCi_1 = -1;
14042 in_GRi = FLD (in_GRi);
14043 out_GRk = FLD (out_GRk);
14044 referenced |= 1 << 0;
14045 referenced |= 1 << 2;
14046 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14048 return cycles;
14049 #undef FLD
14052 static int
14053 model_fr550_subxi (SIM_CPU *current_cpu, void *sem_arg)
14055 #define FLD(f) abuf->fields.sfmt_addicc.f
14056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14057 const IDESC * UNUSED idesc = abuf->idesc;
14058 int cycles = 0;
14060 int referenced = 0;
14061 int UNUSED insn_referenced = abuf->written;
14062 INT in_GRi = -1;
14063 INT in_GRj = -1;
14064 INT out_GRk = -1;
14065 INT out_ICCi_1 = -1;
14066 in_GRi = FLD (in_GRi);
14067 out_GRk = FLD (out_GRk);
14068 referenced |= 1 << 0;
14069 referenced |= 1 << 2;
14070 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14072 return cycles;
14073 #undef FLD
14076 static int
14077 model_fr550_addxicc (SIM_CPU *current_cpu, void *sem_arg)
14079 #define FLD(f) abuf->fields.sfmt_addicc.f
14080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14081 const IDESC * UNUSED idesc = abuf->idesc;
14082 int cycles = 0;
14084 int referenced = 0;
14085 int UNUSED insn_referenced = abuf->written;
14086 INT in_GRi = -1;
14087 INT in_GRj = -1;
14088 INT out_GRk = -1;
14089 INT out_ICCi_1 = -1;
14090 in_GRi = FLD (in_GRi);
14091 out_GRk = FLD (out_GRk);
14092 out_ICCi_1 = FLD (out_ICCi_1);
14093 referenced |= 1 << 0;
14094 referenced |= 1 << 2;
14095 referenced |= 1 << 3;
14096 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14098 return cycles;
14099 #undef FLD
14102 static int
14103 model_fr550_subxicc (SIM_CPU *current_cpu, void *sem_arg)
14105 #define FLD(f) abuf->fields.sfmt_addicc.f
14106 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14107 const IDESC * UNUSED idesc = abuf->idesc;
14108 int cycles = 0;
14110 int referenced = 0;
14111 int UNUSED insn_referenced = abuf->written;
14112 INT in_GRi = -1;
14113 INT in_GRj = -1;
14114 INT out_GRk = -1;
14115 INT out_ICCi_1 = -1;
14116 in_GRi = FLD (in_GRi);
14117 out_GRk = FLD (out_GRk);
14118 out_ICCi_1 = FLD (out_ICCi_1);
14119 referenced |= 1 << 0;
14120 referenced |= 1 << 2;
14121 referenced |= 1 << 3;
14122 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14124 return cycles;
14125 #undef FLD
14128 static int
14129 model_fr550_cmpb (SIM_CPU *current_cpu, void *sem_arg)
14131 #define FLD(f) abuf->fields.sfmt_smulcc.f
14132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14133 const IDESC * UNUSED idesc = abuf->idesc;
14134 int cycles = 0;
14136 int referenced = 0;
14137 int UNUSED insn_referenced = abuf->written;
14138 INT in_GRi = -1;
14139 INT in_GRj = -1;
14140 INT out_GRk = -1;
14141 INT out_ICCi_1 = -1;
14142 in_GRi = FLD (in_GRi);
14143 in_GRj = FLD (in_GRj);
14144 out_ICCi_1 = FLD (out_ICCi_1);
14145 referenced |= 1 << 0;
14146 referenced |= 1 << 1;
14147 referenced |= 1 << 3;
14148 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14150 return cycles;
14151 #undef FLD
14154 static int
14155 model_fr550_cmpba (SIM_CPU *current_cpu, void *sem_arg)
14157 #define FLD(f) abuf->fields.sfmt_smulcc.f
14158 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14159 const IDESC * UNUSED idesc = abuf->idesc;
14160 int cycles = 0;
14162 int referenced = 0;
14163 int UNUSED insn_referenced = abuf->written;
14164 INT in_GRi = -1;
14165 INT in_GRj = -1;
14166 INT out_GRk = -1;
14167 INT out_ICCi_1 = -1;
14168 in_GRi = FLD (in_GRi);
14169 in_GRj = FLD (in_GRj);
14170 out_ICCi_1 = FLD (out_ICCi_1);
14171 referenced |= 1 << 0;
14172 referenced |= 1 << 1;
14173 referenced |= 1 << 3;
14174 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14176 return cycles;
14177 #undef FLD
14180 static int
14181 model_fr550_setlo (SIM_CPU *current_cpu, void *sem_arg)
14183 #define FLD(f) abuf->fields.sfmt_setlo.f
14184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14185 const IDESC * UNUSED idesc = abuf->idesc;
14186 int cycles = 0;
14188 int referenced = 0;
14189 int UNUSED insn_referenced = abuf->written;
14190 INT out_GRkhi = -1;
14191 INT out_GRklo = -1;
14192 out_GRklo = FLD (out_GRklo);
14193 referenced |= 1 << 1;
14194 cycles += frvbf_model_fr550_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
14196 return cycles;
14197 #undef FLD
14200 static int
14201 model_fr550_sethi (SIM_CPU *current_cpu, void *sem_arg)
14203 #define FLD(f) abuf->fields.sfmt_sethi.f
14204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14205 const IDESC * UNUSED idesc = abuf->idesc;
14206 int cycles = 0;
14208 int referenced = 0;
14209 int UNUSED insn_referenced = abuf->written;
14210 INT out_GRkhi = -1;
14211 INT out_GRklo = -1;
14212 out_GRkhi = FLD (out_GRkhi);
14213 referenced |= 1 << 0;
14214 cycles += frvbf_model_fr550_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
14216 return cycles;
14217 #undef FLD
14220 static int
14221 model_fr550_setlos (SIM_CPU *current_cpu, void *sem_arg)
14223 #define FLD(f) abuf->fields.sfmt_setlos.f
14224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14225 const IDESC * UNUSED idesc = abuf->idesc;
14226 int cycles = 0;
14228 int referenced = 0;
14229 int UNUSED insn_referenced = abuf->written;
14230 INT in_GRi = -1;
14231 INT in_GRj = -1;
14232 INT out_GRk = -1;
14233 INT out_ICCi_1 = -1;
14234 out_GRk = FLD (out_GRk);
14235 referenced |= 1 << 2;
14236 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14238 return cycles;
14239 #undef FLD
14242 static int
14243 model_fr550_ldsb (SIM_CPU *current_cpu, void *sem_arg)
14245 #define FLD(f) abuf->fields.sfmt_addcc.f
14246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14247 const IDESC * UNUSED idesc = abuf->idesc;
14248 int cycles = 0;
14250 int referenced = 0;
14251 int UNUSED insn_referenced = abuf->written;
14252 INT in_GRi = -1;
14253 INT in_GRj = -1;
14254 INT out_GRk = -1;
14255 INT out_GRdoublek = -1;
14256 in_GRi = FLD (in_GRi);
14257 in_GRj = FLD (in_GRj);
14258 out_GRk = FLD (out_GRk);
14259 referenced |= 1 << 0;
14260 referenced |= 1 << 1;
14261 referenced |= 1 << 2;
14262 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14264 return cycles;
14265 #undef FLD
14268 static int
14269 model_fr550_ldub (SIM_CPU *current_cpu, void *sem_arg)
14271 #define FLD(f) abuf->fields.sfmt_addcc.f
14272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14273 const IDESC * UNUSED idesc = abuf->idesc;
14274 int cycles = 0;
14276 int referenced = 0;
14277 int UNUSED insn_referenced = abuf->written;
14278 INT in_GRi = -1;
14279 INT in_GRj = -1;
14280 INT out_GRk = -1;
14281 INT out_GRdoublek = -1;
14282 in_GRi = FLD (in_GRi);
14283 in_GRj = FLD (in_GRj);
14284 out_GRk = FLD (out_GRk);
14285 referenced |= 1 << 0;
14286 referenced |= 1 << 1;
14287 referenced |= 1 << 2;
14288 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14290 return cycles;
14291 #undef FLD
14294 static int
14295 model_fr550_ldsh (SIM_CPU *current_cpu, void *sem_arg)
14297 #define FLD(f) abuf->fields.sfmt_addcc.f
14298 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14299 const IDESC * UNUSED idesc = abuf->idesc;
14300 int cycles = 0;
14302 int referenced = 0;
14303 int UNUSED insn_referenced = abuf->written;
14304 INT in_GRi = -1;
14305 INT in_GRj = -1;
14306 INT out_GRk = -1;
14307 INT out_GRdoublek = -1;
14308 in_GRi = FLD (in_GRi);
14309 in_GRj = FLD (in_GRj);
14310 out_GRk = FLD (out_GRk);
14311 referenced |= 1 << 0;
14312 referenced |= 1 << 1;
14313 referenced |= 1 << 2;
14314 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14316 return cycles;
14317 #undef FLD
14320 static int
14321 model_fr550_lduh (SIM_CPU *current_cpu, void *sem_arg)
14323 #define FLD(f) abuf->fields.sfmt_addcc.f
14324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14325 const IDESC * UNUSED idesc = abuf->idesc;
14326 int cycles = 0;
14328 int referenced = 0;
14329 int UNUSED insn_referenced = abuf->written;
14330 INT in_GRi = -1;
14331 INT in_GRj = -1;
14332 INT out_GRk = -1;
14333 INT out_GRdoublek = -1;
14334 in_GRi = FLD (in_GRi);
14335 in_GRj = FLD (in_GRj);
14336 out_GRk = FLD (out_GRk);
14337 referenced |= 1 << 0;
14338 referenced |= 1 << 1;
14339 referenced |= 1 << 2;
14340 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14342 return cycles;
14343 #undef FLD
14346 static int
14347 model_fr550_ld (SIM_CPU *current_cpu, void *sem_arg)
14349 #define FLD(f) abuf->fields.sfmt_addcc.f
14350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14351 const IDESC * UNUSED idesc = abuf->idesc;
14352 int cycles = 0;
14354 int referenced = 0;
14355 int UNUSED insn_referenced = abuf->written;
14356 INT in_GRi = -1;
14357 INT in_GRj = -1;
14358 INT out_GRk = -1;
14359 INT out_GRdoublek = -1;
14360 in_GRi = FLD (in_GRi);
14361 in_GRj = FLD (in_GRj);
14362 out_GRk = FLD (out_GRk);
14363 referenced |= 1 << 0;
14364 referenced |= 1 << 1;
14365 referenced |= 1 << 2;
14366 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14368 return cycles;
14369 #undef FLD
14372 static int
14373 model_fr550_ldbf (SIM_CPU *current_cpu, void *sem_arg)
14375 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14377 const IDESC * UNUSED idesc = abuf->idesc;
14378 int cycles = 0;
14380 int referenced = 0;
14381 int UNUSED insn_referenced = abuf->written;
14382 INT in_GRi = -1;
14383 INT in_GRj = -1;
14384 INT out_FRintk = -1;
14385 INT out_FRdoublek = -1;
14386 in_GRi = FLD (in_GRi);
14387 in_GRj = FLD (in_GRj);
14388 out_FRintk = FLD (out_FRintk);
14389 referenced |= 1 << 0;
14390 referenced |= 1 << 1;
14391 referenced |= 1 << 2;
14392 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14394 return cycles;
14395 #undef FLD
14398 static int
14399 model_fr550_ldhf (SIM_CPU *current_cpu, void *sem_arg)
14401 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14403 const IDESC * UNUSED idesc = abuf->idesc;
14404 int cycles = 0;
14406 int referenced = 0;
14407 int UNUSED insn_referenced = abuf->written;
14408 INT in_GRi = -1;
14409 INT in_GRj = -1;
14410 INT out_FRintk = -1;
14411 INT out_FRdoublek = -1;
14412 in_GRi = FLD (in_GRi);
14413 in_GRj = FLD (in_GRj);
14414 out_FRintk = FLD (out_FRintk);
14415 referenced |= 1 << 0;
14416 referenced |= 1 << 1;
14417 referenced |= 1 << 2;
14418 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14420 return cycles;
14421 #undef FLD
14424 static int
14425 model_fr550_ldf (SIM_CPU *current_cpu, void *sem_arg)
14427 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14429 const IDESC * UNUSED idesc = abuf->idesc;
14430 int cycles = 0;
14432 int referenced = 0;
14433 int UNUSED insn_referenced = abuf->written;
14434 INT in_GRi = -1;
14435 INT in_GRj = -1;
14436 INT out_FRintk = -1;
14437 INT out_FRdoublek = -1;
14438 in_GRi = FLD (in_GRi);
14439 in_GRj = FLD (in_GRj);
14440 out_FRintk = FLD (out_FRintk);
14441 referenced |= 1 << 0;
14442 referenced |= 1 << 1;
14443 referenced |= 1 << 2;
14444 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14446 return cycles;
14447 #undef FLD
14450 static int
14451 model_fr550_ldc (SIM_CPU *current_cpu, void *sem_arg)
14453 #define FLD(f) abuf->fields.sfmt_ldcu.f
14454 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14455 const IDESC * UNUSED idesc = abuf->idesc;
14456 int cycles = 0;
14458 int referenced = 0;
14459 int UNUSED insn_referenced = abuf->written;
14460 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14462 return cycles;
14463 #undef FLD
14466 static int
14467 model_fr550_nldsb (SIM_CPU *current_cpu, void *sem_arg)
14469 #define FLD(f) abuf->fields.sfmt_addcc.f
14470 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14471 const IDESC * UNUSED idesc = abuf->idesc;
14472 int cycles = 0;
14474 int referenced = 0;
14475 int UNUSED insn_referenced = abuf->written;
14476 INT in_GRi = -1;
14477 INT in_GRj = -1;
14478 INT out_GRk = -1;
14479 INT out_GRdoublek = -1;
14480 in_GRi = FLD (in_GRi);
14481 in_GRj = FLD (in_GRj);
14482 out_GRk = FLD (out_GRk);
14483 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14484 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14485 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14486 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14488 return cycles;
14489 #undef FLD
14492 static int
14493 model_fr550_nldub (SIM_CPU *current_cpu, void *sem_arg)
14495 #define FLD(f) abuf->fields.sfmt_addcc.f
14496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14497 const IDESC * UNUSED idesc = abuf->idesc;
14498 int cycles = 0;
14500 int referenced = 0;
14501 int UNUSED insn_referenced = abuf->written;
14502 INT in_GRi = -1;
14503 INT in_GRj = -1;
14504 INT out_GRk = -1;
14505 INT out_GRdoublek = -1;
14506 in_GRi = FLD (in_GRi);
14507 in_GRj = FLD (in_GRj);
14508 out_GRk = FLD (out_GRk);
14509 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14510 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14511 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14512 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14514 return cycles;
14515 #undef FLD
14518 static int
14519 model_fr550_nldsh (SIM_CPU *current_cpu, void *sem_arg)
14521 #define FLD(f) abuf->fields.sfmt_addcc.f
14522 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14523 const IDESC * UNUSED idesc = abuf->idesc;
14524 int cycles = 0;
14526 int referenced = 0;
14527 int UNUSED insn_referenced = abuf->written;
14528 INT in_GRi = -1;
14529 INT in_GRj = -1;
14530 INT out_GRk = -1;
14531 INT out_GRdoublek = -1;
14532 in_GRi = FLD (in_GRi);
14533 in_GRj = FLD (in_GRj);
14534 out_GRk = FLD (out_GRk);
14535 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14536 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14537 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14538 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14540 return cycles;
14541 #undef FLD
14544 static int
14545 model_fr550_nlduh (SIM_CPU *current_cpu, void *sem_arg)
14547 #define FLD(f) abuf->fields.sfmt_addcc.f
14548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14549 const IDESC * UNUSED idesc = abuf->idesc;
14550 int cycles = 0;
14552 int referenced = 0;
14553 int UNUSED insn_referenced = abuf->written;
14554 INT in_GRi = -1;
14555 INT in_GRj = -1;
14556 INT out_GRk = -1;
14557 INT out_GRdoublek = -1;
14558 in_GRi = FLD (in_GRi);
14559 in_GRj = FLD (in_GRj);
14560 out_GRk = FLD (out_GRk);
14561 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14562 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14563 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14564 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14566 return cycles;
14567 #undef FLD
14570 static int
14571 model_fr550_nld (SIM_CPU *current_cpu, void *sem_arg)
14573 #define FLD(f) abuf->fields.sfmt_addcc.f
14574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14575 const IDESC * UNUSED idesc = abuf->idesc;
14576 int cycles = 0;
14578 int referenced = 0;
14579 int UNUSED insn_referenced = abuf->written;
14580 INT in_GRi = -1;
14581 INT in_GRj = -1;
14582 INT out_GRk = -1;
14583 INT out_GRdoublek = -1;
14584 in_GRi = FLD (in_GRi);
14585 in_GRj = FLD (in_GRj);
14586 out_GRk = FLD (out_GRk);
14587 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14588 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14589 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14590 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14592 return cycles;
14593 #undef FLD
14596 static int
14597 model_fr550_nldbf (SIM_CPU *current_cpu, void *sem_arg)
14599 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14601 const IDESC * UNUSED idesc = abuf->idesc;
14602 int cycles = 0;
14604 int referenced = 0;
14605 int UNUSED insn_referenced = abuf->written;
14606 INT in_GRi = -1;
14607 INT in_GRj = -1;
14608 INT out_FRintk = -1;
14609 INT out_FRdoublek = -1;
14610 in_GRi = FLD (in_GRi);
14611 in_GRj = FLD (in_GRj);
14612 out_FRintk = FLD (out_FRintk);
14613 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14614 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14615 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14616 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14618 return cycles;
14619 #undef FLD
14622 static int
14623 model_fr550_nldhf (SIM_CPU *current_cpu, void *sem_arg)
14625 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14626 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14627 const IDESC * UNUSED idesc = abuf->idesc;
14628 int cycles = 0;
14630 int referenced = 0;
14631 int UNUSED insn_referenced = abuf->written;
14632 INT in_GRi = -1;
14633 INT in_GRj = -1;
14634 INT out_FRintk = -1;
14635 INT out_FRdoublek = -1;
14636 in_GRi = FLD (in_GRi);
14637 in_GRj = FLD (in_GRj);
14638 out_FRintk = FLD (out_FRintk);
14639 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14640 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14641 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14642 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14644 return cycles;
14645 #undef FLD
14648 static int
14649 model_fr550_nldf (SIM_CPU *current_cpu, void *sem_arg)
14651 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14653 const IDESC * UNUSED idesc = abuf->idesc;
14654 int cycles = 0;
14656 int referenced = 0;
14657 int UNUSED insn_referenced = abuf->written;
14658 INT in_GRi = -1;
14659 INT in_GRj = -1;
14660 INT out_FRintk = -1;
14661 INT out_FRdoublek = -1;
14662 in_GRi = FLD (in_GRi);
14663 in_GRj = FLD (in_GRj);
14664 out_FRintk = FLD (out_FRintk);
14665 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14666 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14667 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14668 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14670 return cycles;
14671 #undef FLD
14674 static int
14675 model_fr550_ldd (SIM_CPU *current_cpu, void *sem_arg)
14677 #define FLD(f) abuf->fields.sfmt_smulcc.f
14678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14679 const IDESC * UNUSED idesc = abuf->idesc;
14680 int cycles = 0;
14682 int referenced = 0;
14683 int UNUSED insn_referenced = abuf->written;
14684 INT in_GRi = -1;
14685 INT in_GRj = -1;
14686 INT out_GRk = -1;
14687 INT out_GRdoublek = -1;
14688 in_GRi = FLD (in_GRi);
14689 in_GRj = FLD (in_GRj);
14690 out_GRdoublek = FLD (out_GRdoublek);
14691 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14692 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14693 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
14694 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14696 return cycles;
14697 #undef FLD
14700 static int
14701 model_fr550_lddf (SIM_CPU *current_cpu, void *sem_arg)
14703 #define FLD(f) abuf->fields.sfmt_clddfu.f
14704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14705 const IDESC * UNUSED idesc = abuf->idesc;
14706 int cycles = 0;
14708 int referenced = 0;
14709 int UNUSED insn_referenced = abuf->written;
14710 INT in_GRi = -1;
14711 INT in_GRj = -1;
14712 INT out_FRintk = -1;
14713 INT out_FRdoublek = -1;
14714 in_GRi = FLD (in_GRi);
14715 in_GRj = FLD (in_GRj);
14716 out_FRdoublek = FLD (out_FRdoublek);
14717 referenced |= 1 << 0;
14718 referenced |= 1 << 1;
14719 referenced |= 1 << 3;
14720 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14722 return cycles;
14723 #undef FLD
14726 static int
14727 model_fr550_lddc (SIM_CPU *current_cpu, void *sem_arg)
14729 #define FLD(f) abuf->fields.sfmt_lddcu.f
14730 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14731 const IDESC * UNUSED idesc = abuf->idesc;
14732 int cycles = 0;
14734 int referenced = 0;
14735 int UNUSED insn_referenced = abuf->written;
14736 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14738 return cycles;
14739 #undef FLD
14742 static int
14743 model_fr550_nldd (SIM_CPU *current_cpu, void *sem_arg)
14745 #define FLD(f) abuf->fields.sfmt_smulcc.f
14746 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14747 const IDESC * UNUSED idesc = abuf->idesc;
14748 int cycles = 0;
14750 int referenced = 0;
14751 int UNUSED insn_referenced = abuf->written;
14752 INT in_GRi = -1;
14753 INT in_GRj = -1;
14754 INT out_GRk = -1;
14755 INT out_GRdoublek = -1;
14756 in_GRi = FLD (in_GRi);
14757 in_GRj = FLD (in_GRj);
14758 out_GRdoublek = FLD (out_GRdoublek);
14759 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14760 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14761 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
14762 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14764 return cycles;
14765 #undef FLD
14768 static int
14769 model_fr550_nlddf (SIM_CPU *current_cpu, void *sem_arg)
14771 #define FLD(f) abuf->fields.sfmt_clddfu.f
14772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14773 const IDESC * UNUSED idesc = abuf->idesc;
14774 int cycles = 0;
14776 int referenced = 0;
14777 int UNUSED insn_referenced = abuf->written;
14778 INT in_GRi = -1;
14779 INT in_GRj = -1;
14780 INT out_FRintk = -1;
14781 INT out_FRdoublek = -1;
14782 in_GRi = FLD (in_GRi);
14783 in_GRj = FLD (in_GRj);
14784 out_FRdoublek = FLD (out_FRdoublek);
14785 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14786 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14787 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
14788 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14790 return cycles;
14791 #undef FLD
14794 static int
14795 model_fr550_ldq (SIM_CPU *current_cpu, void *sem_arg)
14797 #define FLD(f) abuf->fields.sfmt_smulcc.f
14798 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14799 const IDESC * UNUSED idesc = abuf->idesc;
14800 int cycles = 0;
14802 int referenced = 0;
14803 int UNUSED insn_referenced = abuf->written;
14804 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14806 return cycles;
14807 #undef FLD
14810 static int
14811 model_fr550_ldqf (SIM_CPU *current_cpu, void *sem_arg)
14813 #define FLD(f) abuf->fields.sfmt_cstdfu.f
14814 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14815 const IDESC * UNUSED idesc = abuf->idesc;
14816 int cycles = 0;
14818 int referenced = 0;
14819 int UNUSED insn_referenced = abuf->written;
14820 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14822 return cycles;
14823 #undef FLD
14826 static int
14827 model_fr550_ldqc (SIM_CPU *current_cpu, void *sem_arg)
14829 #define FLD(f) abuf->fields.sfmt_stdcu.f
14830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14831 const IDESC * UNUSED idesc = abuf->idesc;
14832 int cycles = 0;
14834 int referenced = 0;
14835 int UNUSED insn_referenced = abuf->written;
14836 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14838 return cycles;
14839 #undef FLD
14842 static int
14843 model_fr550_nldq (SIM_CPU *current_cpu, void *sem_arg)
14845 #define FLD(f) abuf->fields.sfmt_smulcc.f
14846 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14847 const IDESC * UNUSED idesc = abuf->idesc;
14848 int cycles = 0;
14850 int referenced = 0;
14851 int UNUSED insn_referenced = abuf->written;
14852 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14854 return cycles;
14855 #undef FLD
14858 static int
14859 model_fr550_nldqf (SIM_CPU *current_cpu, void *sem_arg)
14861 #define FLD(f) abuf->fields.sfmt_cstdfu.f
14862 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14863 const IDESC * UNUSED idesc = abuf->idesc;
14864 int cycles = 0;
14866 int referenced = 0;
14867 int UNUSED insn_referenced = abuf->written;
14868 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14870 return cycles;
14871 #undef FLD
14874 static int
14875 model_fr550_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
14877 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14878 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14879 const IDESC * UNUSED idesc = abuf->idesc;
14880 int cycles = 0;
14882 int referenced = 0;
14883 int UNUSED insn_referenced = abuf->written;
14884 INT in_GRi = -1;
14885 INT in_GRj = -1;
14886 INT out_GRk = -1;
14887 INT out_GRdoublek = -1;
14888 in_GRi = FLD (in_GRi);
14889 in_GRj = FLD (in_GRj);
14890 out_GRk = FLD (out_GRk);
14891 referenced |= 1 << 0;
14892 referenced |= 1 << 1;
14893 referenced |= 1 << 2;
14894 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14896 return cycles;
14897 #undef FLD
14900 static int
14901 model_fr550_ldubu (SIM_CPU *current_cpu, void *sem_arg)
14903 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14905 const IDESC * UNUSED idesc = abuf->idesc;
14906 int cycles = 0;
14908 int referenced = 0;
14909 int UNUSED insn_referenced = abuf->written;
14910 INT in_GRi = -1;
14911 INT in_GRj = -1;
14912 INT out_GRk = -1;
14913 INT out_GRdoublek = -1;
14914 in_GRi = FLD (in_GRi);
14915 in_GRj = FLD (in_GRj);
14916 out_GRk = FLD (out_GRk);
14917 referenced |= 1 << 0;
14918 referenced |= 1 << 1;
14919 referenced |= 1 << 2;
14920 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14922 return cycles;
14923 #undef FLD
14926 static int
14927 model_fr550_ldshu (SIM_CPU *current_cpu, void *sem_arg)
14929 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14931 const IDESC * UNUSED idesc = abuf->idesc;
14932 int cycles = 0;
14934 int referenced = 0;
14935 int UNUSED insn_referenced = abuf->written;
14936 INT in_GRi = -1;
14937 INT in_GRj = -1;
14938 INT out_GRk = -1;
14939 INT out_GRdoublek = -1;
14940 in_GRi = FLD (in_GRi);
14941 in_GRj = FLD (in_GRj);
14942 out_GRk = FLD (out_GRk);
14943 referenced |= 1 << 0;
14944 referenced |= 1 << 1;
14945 referenced |= 1 << 2;
14946 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14948 return cycles;
14949 #undef FLD
14952 static int
14953 model_fr550_lduhu (SIM_CPU *current_cpu, void *sem_arg)
14955 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14957 const IDESC * UNUSED idesc = abuf->idesc;
14958 int cycles = 0;
14960 int referenced = 0;
14961 int UNUSED insn_referenced = abuf->written;
14962 INT in_GRi = -1;
14963 INT in_GRj = -1;
14964 INT out_GRk = -1;
14965 INT out_GRdoublek = -1;
14966 in_GRi = FLD (in_GRi);
14967 in_GRj = FLD (in_GRj);
14968 out_GRk = FLD (out_GRk);
14969 referenced |= 1 << 0;
14970 referenced |= 1 << 1;
14971 referenced |= 1 << 2;
14972 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14974 return cycles;
14975 #undef FLD
14978 static int
14979 model_fr550_ldu (SIM_CPU *current_cpu, void *sem_arg)
14981 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14983 const IDESC * UNUSED idesc = abuf->idesc;
14984 int cycles = 0;
14986 int referenced = 0;
14987 int UNUSED insn_referenced = abuf->written;
14988 INT in_GRi = -1;
14989 INT in_GRj = -1;
14990 INT out_GRk = -1;
14991 INT out_GRdoublek = -1;
14992 in_GRi = FLD (in_GRi);
14993 in_GRj = FLD (in_GRj);
14994 out_GRk = FLD (out_GRk);
14995 referenced |= 1 << 0;
14996 referenced |= 1 << 1;
14997 referenced |= 1 << 2;
14998 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15000 return cycles;
15001 #undef FLD
15004 static int
15005 model_fr550_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
15007 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15009 const IDESC * UNUSED idesc = abuf->idesc;
15010 int cycles = 0;
15012 int referenced = 0;
15013 int UNUSED insn_referenced = abuf->written;
15014 INT in_GRi = -1;
15015 INT in_GRj = -1;
15016 INT out_GRk = -1;
15017 INT out_GRdoublek = -1;
15018 in_GRi = FLD (in_GRi);
15019 in_GRj = FLD (in_GRj);
15020 out_GRk = FLD (out_GRk);
15021 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15022 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15023 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15024 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15026 return cycles;
15027 #undef FLD
15030 static int
15031 model_fr550_nldubu (SIM_CPU *current_cpu, void *sem_arg)
15033 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15034 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15035 const IDESC * UNUSED idesc = abuf->idesc;
15036 int cycles = 0;
15038 int referenced = 0;
15039 int UNUSED insn_referenced = abuf->written;
15040 INT in_GRi = -1;
15041 INT in_GRj = -1;
15042 INT out_GRk = -1;
15043 INT out_GRdoublek = -1;
15044 in_GRi = FLD (in_GRi);
15045 in_GRj = FLD (in_GRj);
15046 out_GRk = FLD (out_GRk);
15047 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15048 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15049 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15050 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15052 return cycles;
15053 #undef FLD
15056 static int
15057 model_fr550_nldshu (SIM_CPU *current_cpu, void *sem_arg)
15059 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15061 const IDESC * UNUSED idesc = abuf->idesc;
15062 int cycles = 0;
15064 int referenced = 0;
15065 int UNUSED insn_referenced = abuf->written;
15066 INT in_GRi = -1;
15067 INT in_GRj = -1;
15068 INT out_GRk = -1;
15069 INT out_GRdoublek = -1;
15070 in_GRi = FLD (in_GRi);
15071 in_GRj = FLD (in_GRj);
15072 out_GRk = FLD (out_GRk);
15073 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15074 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15075 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15076 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15078 return cycles;
15079 #undef FLD
15082 static int
15083 model_fr550_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
15085 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15086 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15087 const IDESC * UNUSED idesc = abuf->idesc;
15088 int cycles = 0;
15090 int referenced = 0;
15091 int UNUSED insn_referenced = abuf->written;
15092 INT in_GRi = -1;
15093 INT in_GRj = -1;
15094 INT out_GRk = -1;
15095 INT out_GRdoublek = -1;
15096 in_GRi = FLD (in_GRi);
15097 in_GRj = FLD (in_GRj);
15098 out_GRk = FLD (out_GRk);
15099 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15100 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15101 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15102 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15104 return cycles;
15105 #undef FLD
15108 static int
15109 model_fr550_nldu (SIM_CPU *current_cpu, void *sem_arg)
15111 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15113 const IDESC * UNUSED idesc = abuf->idesc;
15114 int cycles = 0;
15116 int referenced = 0;
15117 int UNUSED insn_referenced = abuf->written;
15118 INT in_GRi = -1;
15119 INT in_GRj = -1;
15120 INT out_GRk = -1;
15121 INT out_GRdoublek = -1;
15122 in_GRi = FLD (in_GRi);
15123 in_GRj = FLD (in_GRj);
15124 out_GRk = FLD (out_GRk);
15125 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15126 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15127 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15128 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15130 return cycles;
15131 #undef FLD
15134 static int
15135 model_fr550_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
15137 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15138 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15139 const IDESC * UNUSED idesc = abuf->idesc;
15140 int cycles = 0;
15142 int referenced = 0;
15143 int UNUSED insn_referenced = abuf->written;
15144 INT in_GRi = -1;
15145 INT in_GRj = -1;
15146 INT out_FRintk = -1;
15147 INT out_FRdoublek = -1;
15148 in_GRi = FLD (in_GRi);
15149 in_GRj = FLD (in_GRj);
15150 out_FRintk = FLD (out_FRintk);
15151 referenced |= 1 << 0;
15152 referenced |= 1 << 1;
15153 referenced |= 1 << 2;
15154 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15156 return cycles;
15157 #undef FLD
15160 static int
15161 model_fr550_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
15163 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15165 const IDESC * UNUSED idesc = abuf->idesc;
15166 int cycles = 0;
15168 int referenced = 0;
15169 int UNUSED insn_referenced = abuf->written;
15170 INT in_GRi = -1;
15171 INT in_GRj = -1;
15172 INT out_FRintk = -1;
15173 INT out_FRdoublek = -1;
15174 in_GRi = FLD (in_GRi);
15175 in_GRj = FLD (in_GRj);
15176 out_FRintk = FLD (out_FRintk);
15177 referenced |= 1 << 0;
15178 referenced |= 1 << 1;
15179 referenced |= 1 << 2;
15180 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15182 return cycles;
15183 #undef FLD
15186 static int
15187 model_fr550_ldfu (SIM_CPU *current_cpu, void *sem_arg)
15189 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15190 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15191 const IDESC * UNUSED idesc = abuf->idesc;
15192 int cycles = 0;
15194 int referenced = 0;
15195 int UNUSED insn_referenced = abuf->written;
15196 INT in_GRi = -1;
15197 INT in_GRj = -1;
15198 INT out_FRintk = -1;
15199 INT out_FRdoublek = -1;
15200 in_GRi = FLD (in_GRi);
15201 in_GRj = FLD (in_GRj);
15202 out_FRintk = FLD (out_FRintk);
15203 referenced |= 1 << 0;
15204 referenced |= 1 << 1;
15205 referenced |= 1 << 2;
15206 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15208 return cycles;
15209 #undef FLD
15212 static int
15213 model_fr550_ldcu (SIM_CPU *current_cpu, void *sem_arg)
15215 #define FLD(f) abuf->fields.sfmt_ldcu.f
15216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15217 const IDESC * UNUSED idesc = abuf->idesc;
15218 int cycles = 0;
15220 int referenced = 0;
15221 int UNUSED insn_referenced = abuf->written;
15222 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15224 return cycles;
15225 #undef FLD
15228 static int
15229 model_fr550_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
15231 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15233 const IDESC * UNUSED idesc = abuf->idesc;
15234 int cycles = 0;
15236 int referenced = 0;
15237 int UNUSED insn_referenced = abuf->written;
15238 INT in_GRi = -1;
15239 INT in_GRj = -1;
15240 INT out_FRintk = -1;
15241 INT out_FRdoublek = -1;
15242 in_GRi = FLD (in_GRi);
15243 in_GRj = FLD (in_GRj);
15244 out_FRintk = FLD (out_FRintk);
15245 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15246 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15247 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
15248 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15250 return cycles;
15251 #undef FLD
15254 static int
15255 model_fr550_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
15257 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15258 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15259 const IDESC * UNUSED idesc = abuf->idesc;
15260 int cycles = 0;
15262 int referenced = 0;
15263 int UNUSED insn_referenced = abuf->written;
15264 INT in_GRi = -1;
15265 INT in_GRj = -1;
15266 INT out_FRintk = -1;
15267 INT out_FRdoublek = -1;
15268 in_GRi = FLD (in_GRi);
15269 in_GRj = FLD (in_GRj);
15270 out_FRintk = FLD (out_FRintk);
15271 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15272 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15273 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
15274 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15276 return cycles;
15277 #undef FLD
15280 static int
15281 model_fr550_nldfu (SIM_CPU *current_cpu, void *sem_arg)
15283 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15285 const IDESC * UNUSED idesc = abuf->idesc;
15286 int cycles = 0;
15288 int referenced = 0;
15289 int UNUSED insn_referenced = abuf->written;
15290 INT in_GRi = -1;
15291 INT in_GRj = -1;
15292 INT out_FRintk = -1;
15293 INT out_FRdoublek = -1;
15294 in_GRi = FLD (in_GRi);
15295 in_GRj = FLD (in_GRj);
15296 out_FRintk = FLD (out_FRintk);
15297 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15298 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15299 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
15300 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15302 return cycles;
15303 #undef FLD
15306 static int
15307 model_fr550_lddu (SIM_CPU *current_cpu, void *sem_arg)
15309 #define FLD(f) abuf->fields.sfmt_clddu.f
15310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15311 const IDESC * UNUSED idesc = abuf->idesc;
15312 int cycles = 0;
15314 int referenced = 0;
15315 int UNUSED insn_referenced = abuf->written;
15316 INT in_GRi = -1;
15317 INT in_GRj = -1;
15318 INT out_GRk = -1;
15319 INT out_GRdoublek = -1;
15320 in_GRi = FLD (in_GRi);
15321 in_GRj = FLD (in_GRj);
15322 out_GRdoublek = FLD (out_GRdoublek);
15323 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15324 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15325 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
15326 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15328 return cycles;
15329 #undef FLD
15332 static int
15333 model_fr550_nlddu (SIM_CPU *current_cpu, void *sem_arg)
15335 #define FLD(f) abuf->fields.sfmt_clddu.f
15336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15337 const IDESC * UNUSED idesc = abuf->idesc;
15338 int cycles = 0;
15340 int referenced = 0;
15341 int UNUSED insn_referenced = abuf->written;
15342 INT in_GRi = -1;
15343 INT in_GRj = -1;
15344 INT out_GRk = -1;
15345 INT out_GRdoublek = -1;
15346 in_GRi = FLD (in_GRi);
15347 in_GRj = FLD (in_GRj);
15348 out_GRdoublek = FLD (out_GRdoublek);
15349 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15350 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15351 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
15352 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15354 return cycles;
15355 #undef FLD
15358 static int
15359 model_fr550_lddfu (SIM_CPU *current_cpu, void *sem_arg)
15361 #define FLD(f) abuf->fields.sfmt_clddfu.f
15362 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15363 const IDESC * UNUSED idesc = abuf->idesc;
15364 int cycles = 0;
15366 int referenced = 0;
15367 int UNUSED insn_referenced = abuf->written;
15368 INT in_GRi = -1;
15369 INT in_GRj = -1;
15370 INT out_FRintk = -1;
15371 INT out_FRdoublek = -1;
15372 in_GRi = FLD (in_GRi);
15373 in_GRj = FLD (in_GRj);
15374 out_FRdoublek = FLD (out_FRdoublek);
15375 referenced |= 1 << 0;
15376 referenced |= 1 << 1;
15377 referenced |= 1 << 3;
15378 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15380 return cycles;
15381 #undef FLD
15384 static int
15385 model_fr550_lddcu (SIM_CPU *current_cpu, void *sem_arg)
15387 #define FLD(f) abuf->fields.sfmt_lddcu.f
15388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15389 const IDESC * UNUSED idesc = abuf->idesc;
15390 int cycles = 0;
15392 int referenced = 0;
15393 int UNUSED insn_referenced = abuf->written;
15394 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15396 return cycles;
15397 #undef FLD
15400 static int
15401 model_fr550_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
15403 #define FLD(f) abuf->fields.sfmt_clddfu.f
15404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15405 const IDESC * UNUSED idesc = abuf->idesc;
15406 int cycles = 0;
15408 int referenced = 0;
15409 int UNUSED insn_referenced = abuf->written;
15410 INT in_GRi = -1;
15411 INT in_GRj = -1;
15412 INT out_FRintk = -1;
15413 INT out_FRdoublek = -1;
15414 in_GRi = FLD (in_GRi);
15415 in_GRj = FLD (in_GRj);
15416 out_FRdoublek = FLD (out_FRdoublek);
15417 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15418 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15419 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
15420 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15422 return cycles;
15423 #undef FLD
15426 static int
15427 model_fr550_ldqu (SIM_CPU *current_cpu, void *sem_arg)
15429 #define FLD(f) abuf->fields.sfmt_cstdu.f
15430 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15431 const IDESC * UNUSED idesc = abuf->idesc;
15432 int cycles = 0;
15434 int referenced = 0;
15435 int UNUSED insn_referenced = abuf->written;
15436 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15438 return cycles;
15439 #undef FLD
15442 static int
15443 model_fr550_nldqu (SIM_CPU *current_cpu, void *sem_arg)
15445 #define FLD(f) abuf->fields.sfmt_cstdu.f
15446 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15447 const IDESC * UNUSED idesc = abuf->idesc;
15448 int cycles = 0;
15450 int referenced = 0;
15451 int UNUSED insn_referenced = abuf->written;
15452 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15454 return cycles;
15455 #undef FLD
15458 static int
15459 model_fr550_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
15461 #define FLD(f) abuf->fields.sfmt_cstdfu.f
15462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15463 const IDESC * UNUSED idesc = abuf->idesc;
15464 int cycles = 0;
15466 int referenced = 0;
15467 int UNUSED insn_referenced = abuf->written;
15468 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15470 return cycles;
15471 #undef FLD
15474 static int
15475 model_fr550_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
15477 #define FLD(f) abuf->fields.sfmt_stdcu.f
15478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15479 const IDESC * UNUSED idesc = abuf->idesc;
15480 int cycles = 0;
15482 int referenced = 0;
15483 int UNUSED insn_referenced = abuf->written;
15484 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15486 return cycles;
15487 #undef FLD
15490 static int
15491 model_fr550_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
15493 #define FLD(f) abuf->fields.sfmt_cstdfu.f
15494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15495 const IDESC * UNUSED idesc = abuf->idesc;
15496 int cycles = 0;
15498 int referenced = 0;
15499 int UNUSED insn_referenced = abuf->written;
15500 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15502 return cycles;
15503 #undef FLD
15506 static int
15507 model_fr550_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
15509 #define FLD(f) abuf->fields.sfmt_swapi.f
15510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15511 const IDESC * UNUSED idesc = abuf->idesc;
15512 int cycles = 0;
15514 int referenced = 0;
15515 int UNUSED insn_referenced = abuf->written;
15516 INT in_GRi = -1;
15517 INT in_GRj = -1;
15518 INT out_GRk = -1;
15519 INT out_GRdoublek = -1;
15520 in_GRi = FLD (in_GRi);
15521 out_GRk = FLD (out_GRk);
15522 referenced |= 1 << 0;
15523 referenced |= 1 << 2;
15524 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15526 return cycles;
15527 #undef FLD
15530 static int
15531 model_fr550_ldshi (SIM_CPU *current_cpu, void *sem_arg)
15533 #define FLD(f) abuf->fields.sfmt_swapi.f
15534 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15535 const IDESC * UNUSED idesc = abuf->idesc;
15536 int cycles = 0;
15538 int referenced = 0;
15539 int UNUSED insn_referenced = abuf->written;
15540 INT in_GRi = -1;
15541 INT in_GRj = -1;
15542 INT out_GRk = -1;
15543 INT out_GRdoublek = -1;
15544 in_GRi = FLD (in_GRi);
15545 out_GRk = FLD (out_GRk);
15546 referenced |= 1 << 0;
15547 referenced |= 1 << 2;
15548 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15550 return cycles;
15551 #undef FLD
15554 static int
15555 model_fr550_ldi (SIM_CPU *current_cpu, void *sem_arg)
15557 #define FLD(f) abuf->fields.sfmt_swapi.f
15558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15559 const IDESC * UNUSED idesc = abuf->idesc;
15560 int cycles = 0;
15562 int referenced = 0;
15563 int UNUSED insn_referenced = abuf->written;
15564 INT in_GRi = -1;
15565 INT in_GRj = -1;
15566 INT out_GRk = -1;
15567 INT out_GRdoublek = -1;
15568 in_GRi = FLD (in_GRi);
15569 out_GRk = FLD (out_GRk);
15570 referenced |= 1 << 0;
15571 referenced |= 1 << 2;
15572 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15574 return cycles;
15575 #undef FLD
15578 static int
15579 model_fr550_ldubi (SIM_CPU *current_cpu, void *sem_arg)
15581 #define FLD(f) abuf->fields.sfmt_swapi.f
15582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15583 const IDESC * UNUSED idesc = abuf->idesc;
15584 int cycles = 0;
15586 int referenced = 0;
15587 int UNUSED insn_referenced = abuf->written;
15588 INT in_GRi = -1;
15589 INT in_GRj = -1;
15590 INT out_GRk = -1;
15591 INT out_GRdoublek = -1;
15592 in_GRi = FLD (in_GRi);
15593 out_GRk = FLD (out_GRk);
15594 referenced |= 1 << 0;
15595 referenced |= 1 << 2;
15596 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15598 return cycles;
15599 #undef FLD
15602 static int
15603 model_fr550_lduhi (SIM_CPU *current_cpu, void *sem_arg)
15605 #define FLD(f) abuf->fields.sfmt_swapi.f
15606 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15607 const IDESC * UNUSED idesc = abuf->idesc;
15608 int cycles = 0;
15610 int referenced = 0;
15611 int UNUSED insn_referenced = abuf->written;
15612 INT in_GRi = -1;
15613 INT in_GRj = -1;
15614 INT out_GRk = -1;
15615 INT out_GRdoublek = -1;
15616 in_GRi = FLD (in_GRi);
15617 out_GRk = FLD (out_GRk);
15618 referenced |= 1 << 0;
15619 referenced |= 1 << 2;
15620 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15622 return cycles;
15623 #undef FLD
15626 static int
15627 model_fr550_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
15629 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15630 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15631 const IDESC * UNUSED idesc = abuf->idesc;
15632 int cycles = 0;
15634 int referenced = 0;
15635 int UNUSED insn_referenced = abuf->written;
15636 INT in_GRi = -1;
15637 INT in_GRj = -1;
15638 INT out_FRintk = -1;
15639 INT out_FRdoublek = -1;
15640 in_GRi = FLD (in_GRi);
15641 out_FRintk = FLD (out_FRintk);
15642 referenced |= 1 << 0;
15643 referenced |= 1 << 2;
15644 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15646 return cycles;
15647 #undef FLD
15650 static int
15651 model_fr550_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
15653 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15654 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15655 const IDESC * UNUSED idesc = abuf->idesc;
15656 int cycles = 0;
15658 int referenced = 0;
15659 int UNUSED insn_referenced = abuf->written;
15660 INT in_GRi = -1;
15661 INT in_GRj = -1;
15662 INT out_FRintk = -1;
15663 INT out_FRdoublek = -1;
15664 in_GRi = FLD (in_GRi);
15665 out_FRintk = FLD (out_FRintk);
15666 referenced |= 1 << 0;
15667 referenced |= 1 << 2;
15668 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15670 return cycles;
15671 #undef FLD
15674 static int
15675 model_fr550_ldfi (SIM_CPU *current_cpu, void *sem_arg)
15677 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15679 const IDESC * UNUSED idesc = abuf->idesc;
15680 int cycles = 0;
15682 int referenced = 0;
15683 int UNUSED insn_referenced = abuf->written;
15684 INT in_GRi = -1;
15685 INT in_GRj = -1;
15686 INT out_FRintk = -1;
15687 INT out_FRdoublek = -1;
15688 in_GRi = FLD (in_GRi);
15689 out_FRintk = FLD (out_FRintk);
15690 referenced |= 1 << 0;
15691 referenced |= 1 << 2;
15692 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15694 return cycles;
15695 #undef FLD
15698 static int
15699 model_fr550_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
15701 #define FLD(f) abuf->fields.sfmt_swapi.f
15702 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15703 const IDESC * UNUSED idesc = abuf->idesc;
15704 int cycles = 0;
15706 int referenced = 0;
15707 int UNUSED insn_referenced = abuf->written;
15708 INT in_GRi = -1;
15709 INT in_GRj = -1;
15710 INT out_GRk = -1;
15711 INT out_GRdoublek = -1;
15712 in_GRi = FLD (in_GRi);
15713 out_GRk = FLD (out_GRk);
15714 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15715 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15716 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15718 return cycles;
15719 #undef FLD
15722 static int
15723 model_fr550_nldubi (SIM_CPU *current_cpu, void *sem_arg)
15725 #define FLD(f) abuf->fields.sfmt_swapi.f
15726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15727 const IDESC * UNUSED idesc = abuf->idesc;
15728 int cycles = 0;
15730 int referenced = 0;
15731 int UNUSED insn_referenced = abuf->written;
15732 INT in_GRi = -1;
15733 INT in_GRj = -1;
15734 INT out_GRk = -1;
15735 INT out_GRdoublek = -1;
15736 in_GRi = FLD (in_GRi);
15737 out_GRk = FLD (out_GRk);
15738 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15739 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15740 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15742 return cycles;
15743 #undef FLD
15746 static int
15747 model_fr550_nldshi (SIM_CPU *current_cpu, void *sem_arg)
15749 #define FLD(f) abuf->fields.sfmt_swapi.f
15750 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15751 const IDESC * UNUSED idesc = abuf->idesc;
15752 int cycles = 0;
15754 int referenced = 0;
15755 int UNUSED insn_referenced = abuf->written;
15756 INT in_GRi = -1;
15757 INT in_GRj = -1;
15758 INT out_GRk = -1;
15759 INT out_GRdoublek = -1;
15760 in_GRi = FLD (in_GRi);
15761 out_GRk = FLD (out_GRk);
15762 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15763 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15764 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15766 return cycles;
15767 #undef FLD
15770 static int
15771 model_fr550_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
15773 #define FLD(f) abuf->fields.sfmt_swapi.f
15774 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15775 const IDESC * UNUSED idesc = abuf->idesc;
15776 int cycles = 0;
15778 int referenced = 0;
15779 int UNUSED insn_referenced = abuf->written;
15780 INT in_GRi = -1;
15781 INT in_GRj = -1;
15782 INT out_GRk = -1;
15783 INT out_GRdoublek = -1;
15784 in_GRi = FLD (in_GRi);
15785 out_GRk = FLD (out_GRk);
15786 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15787 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15788 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15790 return cycles;
15791 #undef FLD
15794 static int
15795 model_fr550_nldi (SIM_CPU *current_cpu, void *sem_arg)
15797 #define FLD(f) abuf->fields.sfmt_swapi.f
15798 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15799 const IDESC * UNUSED idesc = abuf->idesc;
15800 int cycles = 0;
15802 int referenced = 0;
15803 int UNUSED insn_referenced = abuf->written;
15804 INT in_GRi = -1;
15805 INT in_GRj = -1;
15806 INT out_GRk = -1;
15807 INT out_GRdoublek = -1;
15808 in_GRi = FLD (in_GRi);
15809 out_GRk = FLD (out_GRk);
15810 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15811 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15812 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15814 return cycles;
15815 #undef FLD
15818 static int
15819 model_fr550_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
15821 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15822 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15823 const IDESC * UNUSED idesc = abuf->idesc;
15824 int cycles = 0;
15826 int referenced = 0;
15827 int UNUSED insn_referenced = abuf->written;
15828 INT in_GRi = -1;
15829 INT in_GRj = -1;
15830 INT out_FRintk = -1;
15831 INT out_FRdoublek = -1;
15832 in_GRi = FLD (in_GRi);
15833 out_FRintk = FLD (out_FRintk);
15834 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15835 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15836 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15838 return cycles;
15839 #undef FLD
15842 static int
15843 model_fr550_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
15845 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15846 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15847 const IDESC * UNUSED idesc = abuf->idesc;
15848 int cycles = 0;
15850 int referenced = 0;
15851 int UNUSED insn_referenced = abuf->written;
15852 INT in_GRi = -1;
15853 INT in_GRj = -1;
15854 INT out_FRintk = -1;
15855 INT out_FRdoublek = -1;
15856 in_GRi = FLD (in_GRi);
15857 out_FRintk = FLD (out_FRintk);
15858 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15859 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15860 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15862 return cycles;
15863 #undef FLD
15866 static int
15867 model_fr550_nldfi (SIM_CPU *current_cpu, void *sem_arg)
15869 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15870 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15871 const IDESC * UNUSED idesc = abuf->idesc;
15872 int cycles = 0;
15874 int referenced = 0;
15875 int UNUSED insn_referenced = abuf->written;
15876 INT in_GRi = -1;
15877 INT in_GRj = -1;
15878 INT out_FRintk = -1;
15879 INT out_FRdoublek = -1;
15880 in_GRi = FLD (in_GRi);
15881 out_FRintk = FLD (out_FRintk);
15882 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15883 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15884 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15886 return cycles;
15887 #undef FLD
15890 static int
15891 model_fr550_lddi (SIM_CPU *current_cpu, void *sem_arg)
15893 #define FLD(f) abuf->fields.sfmt_smuli.f
15894 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15895 const IDESC * UNUSED idesc = abuf->idesc;
15896 int cycles = 0;
15898 int referenced = 0;
15899 int UNUSED insn_referenced = abuf->written;
15900 INT in_GRi = -1;
15901 INT in_GRj = -1;
15902 INT out_GRk = -1;
15903 INT out_GRdoublek = -1;
15904 in_GRi = FLD (in_GRi);
15905 out_GRdoublek = FLD (out_GRdoublek);
15906 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15907 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
15908 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15910 return cycles;
15911 #undef FLD
15914 static int
15915 model_fr550_lddfi (SIM_CPU *current_cpu, void *sem_arg)
15917 #define FLD(f) abuf->fields.sfmt_lddfi.f
15918 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15919 const IDESC * UNUSED idesc = abuf->idesc;
15920 int cycles = 0;
15922 int referenced = 0;
15923 int UNUSED insn_referenced = abuf->written;
15924 INT in_GRi = -1;
15925 INT in_GRj = -1;
15926 INT out_FRintk = -1;
15927 INT out_FRdoublek = -1;
15928 in_GRi = FLD (in_GRi);
15929 out_FRdoublek = FLD (out_FRdoublek);
15930 referenced |= 1 << 0;
15931 referenced |= 1 << 3;
15932 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15934 return cycles;
15935 #undef FLD
15938 static int
15939 model_fr550_nlddi (SIM_CPU *current_cpu, void *sem_arg)
15941 #define FLD(f) abuf->fields.sfmt_smuli.f
15942 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15943 const IDESC * UNUSED idesc = abuf->idesc;
15944 int cycles = 0;
15946 int referenced = 0;
15947 int UNUSED insn_referenced = abuf->written;
15948 INT in_GRi = -1;
15949 INT in_GRj = -1;
15950 INT out_GRk = -1;
15951 INT out_GRdoublek = -1;
15952 in_GRi = FLD (in_GRi);
15953 out_GRdoublek = FLD (out_GRdoublek);
15954 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15955 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
15956 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15958 return cycles;
15959 #undef FLD
15962 static int
15963 model_fr550_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
15965 #define FLD(f) abuf->fields.sfmt_lddfi.f
15966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15967 const IDESC * UNUSED idesc = abuf->idesc;
15968 int cycles = 0;
15970 int referenced = 0;
15971 int UNUSED insn_referenced = abuf->written;
15972 INT in_GRi = -1;
15973 INT in_GRj = -1;
15974 INT out_FRintk = -1;
15975 INT out_FRdoublek = -1;
15976 in_GRi = FLD (in_GRi);
15977 out_FRdoublek = FLD (out_FRdoublek);
15978 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15979 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
15980 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15982 return cycles;
15983 #undef FLD
15986 static int
15987 model_fr550_ldqi (SIM_CPU *current_cpu, void *sem_arg)
15989 #define FLD(f) abuf->fields.sfmt_stdi.f
15990 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15991 const IDESC * UNUSED idesc = abuf->idesc;
15992 int cycles = 0;
15994 int referenced = 0;
15995 int UNUSED insn_referenced = abuf->written;
15996 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15998 return cycles;
15999 #undef FLD
16002 static int
16003 model_fr550_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
16005 #define FLD(f) abuf->fields.sfmt_stdfi.f
16006 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16007 const IDESC * UNUSED idesc = abuf->idesc;
16008 int cycles = 0;
16010 int referenced = 0;
16011 int UNUSED insn_referenced = abuf->written;
16012 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16014 return cycles;
16015 #undef FLD
16018 static int
16019 model_fr550_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
16021 #define FLD(f) abuf->fields.sfmt_stdfi.f
16022 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16023 const IDESC * UNUSED idesc = abuf->idesc;
16024 int cycles = 0;
16026 int referenced = 0;
16027 int UNUSED insn_referenced = abuf->written;
16028 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16030 return cycles;
16031 #undef FLD
16034 static int
16035 model_fr550_stb (SIM_CPU *current_cpu, void *sem_arg)
16037 #define FLD(f) abuf->fields.sfmt_cswap.f
16038 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16039 const IDESC * UNUSED idesc = abuf->idesc;
16040 int cycles = 0;
16042 int referenced = 0;
16043 int UNUSED insn_referenced = abuf->written;
16044 INT in_GRi = -1;
16045 INT in_GRj = -1;
16046 INT in_GRk = -1;
16047 INT in_GRdoublek = -1;
16048 in_GRi = FLD (in_GRi);
16049 in_GRj = FLD (in_GRj);
16050 in_GRk = FLD (in_GRk);
16051 referenced |= 1 << 0;
16052 referenced |= 1 << 1;
16053 referenced |= 1 << 2;
16054 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16056 return cycles;
16057 #undef FLD
16060 static int
16061 model_fr550_sth (SIM_CPU *current_cpu, void *sem_arg)
16063 #define FLD(f) abuf->fields.sfmt_cswap.f
16064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16065 const IDESC * UNUSED idesc = abuf->idesc;
16066 int cycles = 0;
16068 int referenced = 0;
16069 int UNUSED insn_referenced = abuf->written;
16070 INT in_GRi = -1;
16071 INT in_GRj = -1;
16072 INT in_GRk = -1;
16073 INT in_GRdoublek = -1;
16074 in_GRi = FLD (in_GRi);
16075 in_GRj = FLD (in_GRj);
16076 in_GRk = FLD (in_GRk);
16077 referenced |= 1 << 0;
16078 referenced |= 1 << 1;
16079 referenced |= 1 << 2;
16080 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16082 return cycles;
16083 #undef FLD
16086 static int
16087 model_fr550_st (SIM_CPU *current_cpu, void *sem_arg)
16089 #define FLD(f) abuf->fields.sfmt_cswap.f
16090 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16091 const IDESC * UNUSED idesc = abuf->idesc;
16092 int cycles = 0;
16094 int referenced = 0;
16095 int UNUSED insn_referenced = abuf->written;
16096 INT in_GRi = -1;
16097 INT in_GRj = -1;
16098 INT in_GRk = -1;
16099 INT in_GRdoublek = -1;
16100 in_GRi = FLD (in_GRi);
16101 in_GRj = FLD (in_GRj);
16102 in_GRk = FLD (in_GRk);
16103 referenced |= 1 << 0;
16104 referenced |= 1 << 1;
16105 referenced |= 1 << 2;
16106 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16108 return cycles;
16109 #undef FLD
16112 static int
16113 model_fr550_stbf (SIM_CPU *current_cpu, void *sem_arg)
16115 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16117 const IDESC * UNUSED idesc = abuf->idesc;
16118 int cycles = 0;
16120 int referenced = 0;
16121 int UNUSED insn_referenced = abuf->written;
16122 INT in_GRi = -1;
16123 INT in_GRj = -1;
16124 INT in_FRintk = -1;
16125 INT in_FRdoublek = -1;
16126 in_GRi = FLD (in_GRi);
16127 in_GRj = FLD (in_GRj);
16128 in_FRintk = FLD (in_FRintk);
16129 referenced |= 1 << 0;
16130 referenced |= 1 << 1;
16131 referenced |= 1 << 2;
16132 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16134 return cycles;
16135 #undef FLD
16138 static int
16139 model_fr550_sthf (SIM_CPU *current_cpu, void *sem_arg)
16141 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16143 const IDESC * UNUSED idesc = abuf->idesc;
16144 int cycles = 0;
16146 int referenced = 0;
16147 int UNUSED insn_referenced = abuf->written;
16148 INT in_GRi = -1;
16149 INT in_GRj = -1;
16150 INT in_FRintk = -1;
16151 INT in_FRdoublek = -1;
16152 in_GRi = FLD (in_GRi);
16153 in_GRj = FLD (in_GRj);
16154 in_FRintk = FLD (in_FRintk);
16155 referenced |= 1 << 0;
16156 referenced |= 1 << 1;
16157 referenced |= 1 << 2;
16158 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16160 return cycles;
16161 #undef FLD
16164 static int
16165 model_fr550_stf (SIM_CPU *current_cpu, void *sem_arg)
16167 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16169 const IDESC * UNUSED idesc = abuf->idesc;
16170 int cycles = 0;
16172 int referenced = 0;
16173 int UNUSED insn_referenced = abuf->written;
16174 INT in_GRi = -1;
16175 INT in_GRj = -1;
16176 INT in_FRintk = -1;
16177 INT in_FRdoublek = -1;
16178 in_GRi = FLD (in_GRi);
16179 in_GRj = FLD (in_GRj);
16180 in_FRintk = FLD (in_FRintk);
16181 referenced |= 1 << 0;
16182 referenced |= 1 << 1;
16183 referenced |= 1 << 2;
16184 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16186 return cycles;
16187 #undef FLD
16190 static int
16191 model_fr550_stc (SIM_CPU *current_cpu, void *sem_arg)
16193 #define FLD(f) abuf->fields.sfmt_stcu.f
16194 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16195 const IDESC * UNUSED idesc = abuf->idesc;
16196 int cycles = 0;
16198 int referenced = 0;
16199 int UNUSED insn_referenced = abuf->written;
16200 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16202 return cycles;
16203 #undef FLD
16206 static int
16207 model_fr550_std (SIM_CPU *current_cpu, void *sem_arg)
16209 #define FLD(f) abuf->fields.sfmt_cstdu.f
16210 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16211 const IDESC * UNUSED idesc = abuf->idesc;
16212 int cycles = 0;
16214 int referenced = 0;
16215 int UNUSED insn_referenced = abuf->written;
16216 INT in_GRi = -1;
16217 INT in_GRj = -1;
16218 INT in_GRk = -1;
16219 INT in_GRdoublek = -1;
16220 in_GRi = FLD (in_GRi);
16221 in_GRj = FLD (in_GRj);
16222 in_GRdoublek = FLD (in_GRdoublek);
16223 referenced |= 1 << 0;
16224 referenced |= 1 << 1;
16225 referenced |= 1 << 3;
16226 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16228 return cycles;
16229 #undef FLD
16232 static int
16233 model_fr550_stdf (SIM_CPU *current_cpu, void *sem_arg)
16235 #define FLD(f) abuf->fields.sfmt_cstdfu.f
16236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16237 const IDESC * UNUSED idesc = abuf->idesc;
16238 int cycles = 0;
16240 int referenced = 0;
16241 int UNUSED insn_referenced = abuf->written;
16242 INT in_GRi = -1;
16243 INT in_GRj = -1;
16244 INT in_FRintk = -1;
16245 INT in_FRdoublek = -1;
16246 in_GRi = FLD (in_GRi);
16247 in_GRj = FLD (in_GRj);
16248 in_FRdoublek = FLD (in_FRdoublek);
16249 referenced |= 1 << 0;
16250 referenced |= 1 << 1;
16251 referenced |= 1 << 3;
16252 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16254 return cycles;
16255 #undef FLD
16258 static int
16259 model_fr550_stdc (SIM_CPU *current_cpu, void *sem_arg)
16261 #define FLD(f) abuf->fields.sfmt_stdcu.f
16262 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16263 const IDESC * UNUSED idesc = abuf->idesc;
16264 int cycles = 0;
16266 int referenced = 0;
16267 int UNUSED insn_referenced = abuf->written;
16268 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16270 return cycles;
16271 #undef FLD
16274 static int
16275 model_fr550_stq (SIM_CPU *current_cpu, void *sem_arg)
16277 #define FLD(f) abuf->fields.sfmt_smulcc.f
16278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16279 const IDESC * UNUSED idesc = abuf->idesc;
16280 int cycles = 0;
16282 int referenced = 0;
16283 int UNUSED insn_referenced = abuf->written;
16284 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16286 return cycles;
16287 #undef FLD
16290 static int
16291 model_fr550_stqf (SIM_CPU *current_cpu, void *sem_arg)
16293 #define FLD(f) abuf->fields.sfmt_cstdfu.f
16294 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16295 const IDESC * UNUSED idesc = abuf->idesc;
16296 int cycles = 0;
16298 int referenced = 0;
16299 int UNUSED insn_referenced = abuf->written;
16300 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16302 return cycles;
16303 #undef FLD
16306 static int
16307 model_fr550_stqc (SIM_CPU *current_cpu, void *sem_arg)
16309 #define FLD(f) abuf->fields.sfmt_stdcu.f
16310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16311 const IDESC * UNUSED idesc = abuf->idesc;
16312 int cycles = 0;
16314 int referenced = 0;
16315 int UNUSED insn_referenced = abuf->written;
16316 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16318 return cycles;
16319 #undef FLD
16322 static int
16323 model_fr550_stbu (SIM_CPU *current_cpu, void *sem_arg)
16325 #define FLD(f) abuf->fields.sfmt_cstbu.f
16326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16327 const IDESC * UNUSED idesc = abuf->idesc;
16328 int cycles = 0;
16330 int referenced = 0;
16331 int UNUSED insn_referenced = abuf->written;
16332 INT in_GRi = -1;
16333 INT in_GRj = -1;
16334 INT in_GRk = -1;
16335 INT in_GRdoublek = -1;
16336 in_GRi = FLD (in_GRi);
16337 in_GRj = FLD (in_GRj);
16338 in_GRk = FLD (in_GRk);
16339 referenced |= 1 << 0;
16340 referenced |= 1 << 1;
16341 referenced |= 1 << 2;
16342 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16344 return cycles;
16345 #undef FLD
16348 static int
16349 model_fr550_sthu (SIM_CPU *current_cpu, void *sem_arg)
16351 #define FLD(f) abuf->fields.sfmt_cstbu.f
16352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16353 const IDESC * UNUSED idesc = abuf->idesc;
16354 int cycles = 0;
16356 int referenced = 0;
16357 int UNUSED insn_referenced = abuf->written;
16358 INT in_GRi = -1;
16359 INT in_GRj = -1;
16360 INT in_GRk = -1;
16361 INT in_GRdoublek = -1;
16362 in_GRi = FLD (in_GRi);
16363 in_GRj = FLD (in_GRj);
16364 in_GRk = FLD (in_GRk);
16365 referenced |= 1 << 0;
16366 referenced |= 1 << 1;
16367 referenced |= 1 << 2;
16368 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16370 return cycles;
16371 #undef FLD
16374 static int
16375 model_fr550_stu (SIM_CPU *current_cpu, void *sem_arg)
16377 #define FLD(f) abuf->fields.sfmt_cstbu.f
16378 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16379 const IDESC * UNUSED idesc = abuf->idesc;
16380 int cycles = 0;
16382 int referenced = 0;
16383 int UNUSED insn_referenced = abuf->written;
16384 INT in_GRi = -1;
16385 INT in_GRj = -1;
16386 INT in_GRk = -1;
16387 INT in_GRdoublek = -1;
16388 in_GRi = FLD (in_GRi);
16389 in_GRj = FLD (in_GRj);
16390 in_GRk = FLD (in_GRk);
16391 referenced |= 1 << 0;
16392 referenced |= 1 << 1;
16393 referenced |= 1 << 2;
16394 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16396 return cycles;
16397 #undef FLD
16400 static int
16401 model_fr550_stbfu (SIM_CPU *current_cpu, void *sem_arg)
16403 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16405 const IDESC * UNUSED idesc = abuf->idesc;
16406 int cycles = 0;
16408 int referenced = 0;
16409 int UNUSED insn_referenced = abuf->written;
16410 INT in_GRi = -1;
16411 INT in_GRj = -1;
16412 INT in_FRintk = -1;
16413 INT in_FRdoublek = -1;
16414 in_GRi = FLD (in_GRi);
16415 in_GRj = FLD (in_GRj);
16416 in_FRintk = FLD (in_FRintk);
16417 referenced |= 1 << 0;
16418 referenced |= 1 << 1;
16419 referenced |= 1 << 2;
16420 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16422 return cycles;
16423 #undef FLD
16426 static int
16427 model_fr550_sthfu (SIM_CPU *current_cpu, void *sem_arg)
16429 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16430 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16431 const IDESC * UNUSED idesc = abuf->idesc;
16432 int cycles = 0;
16434 int referenced = 0;
16435 int UNUSED insn_referenced = abuf->written;
16436 INT in_GRi = -1;
16437 INT in_GRj = -1;
16438 INT in_FRintk = -1;
16439 INT in_FRdoublek = -1;
16440 in_GRi = FLD (in_GRi);
16441 in_GRj = FLD (in_GRj);
16442 in_FRintk = FLD (in_FRintk);
16443 referenced |= 1 << 0;
16444 referenced |= 1 << 1;
16445 referenced |= 1 << 2;
16446 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16448 return cycles;
16449 #undef FLD
16452 static int
16453 model_fr550_stfu (SIM_CPU *current_cpu, void *sem_arg)
16455 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16457 const IDESC * UNUSED idesc = abuf->idesc;
16458 int cycles = 0;
16460 int referenced = 0;
16461 int UNUSED insn_referenced = abuf->written;
16462 INT in_GRi = -1;
16463 INT in_GRj = -1;
16464 INT in_FRintk = -1;
16465 INT in_FRdoublek = -1;
16466 in_GRi = FLD (in_GRi);
16467 in_GRj = FLD (in_GRj);
16468 in_FRintk = FLD (in_FRintk);
16469 referenced |= 1 << 0;
16470 referenced |= 1 << 1;
16471 referenced |= 1 << 2;
16472 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16474 return cycles;
16475 #undef FLD
16478 static int
16479 model_fr550_stcu (SIM_CPU *current_cpu, void *sem_arg)
16481 #define FLD(f) abuf->fields.sfmt_stcu.f
16482 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16483 const IDESC * UNUSED idesc = abuf->idesc;
16484 int cycles = 0;
16486 int referenced = 0;
16487 int UNUSED insn_referenced = abuf->written;
16488 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16490 return cycles;
16491 #undef FLD
16494 static int
16495 model_fr550_stdu (SIM_CPU *current_cpu, void *sem_arg)
16497 #define FLD(f) abuf->fields.sfmt_cstdu.f
16498 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16499 const IDESC * UNUSED idesc = abuf->idesc;
16500 int cycles = 0;
16502 int referenced = 0;
16503 int UNUSED insn_referenced = abuf->written;
16504 INT in_GRi = -1;
16505 INT in_GRj = -1;
16506 INT in_GRk = -1;
16507 INT in_GRdoublek = -1;
16508 in_GRi = FLD (in_GRi);
16509 in_GRj = FLD (in_GRj);
16510 in_GRdoublek = FLD (in_GRdoublek);
16511 referenced |= 1 << 0;
16512 referenced |= 1 << 1;
16513 referenced |= 1 << 3;
16514 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16516 return cycles;
16517 #undef FLD
16520 static int
16521 model_fr550_stdfu (SIM_CPU *current_cpu, void *sem_arg)
16523 #define FLD(f) abuf->fields.sfmt_cstdfu.f
16524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16525 const IDESC * UNUSED idesc = abuf->idesc;
16526 int cycles = 0;
16528 int referenced = 0;
16529 int UNUSED insn_referenced = abuf->written;
16530 INT in_GRi = -1;
16531 INT in_GRj = -1;
16532 INT in_FRintk = -1;
16533 INT in_FRdoublek = -1;
16534 in_GRi = FLD (in_GRi);
16535 in_GRj = FLD (in_GRj);
16536 in_FRdoublek = FLD (in_FRdoublek);
16537 referenced |= 1 << 0;
16538 referenced |= 1 << 1;
16539 referenced |= 1 << 3;
16540 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16542 return cycles;
16543 #undef FLD
16546 static int
16547 model_fr550_stdcu (SIM_CPU *current_cpu, void *sem_arg)
16549 #define FLD(f) abuf->fields.sfmt_stdcu.f
16550 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16551 const IDESC * UNUSED idesc = abuf->idesc;
16552 int cycles = 0;
16554 int referenced = 0;
16555 int UNUSED insn_referenced = abuf->written;
16556 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16558 return cycles;
16559 #undef FLD
16562 static int
16563 model_fr550_stqu (SIM_CPU *current_cpu, void *sem_arg)
16565 #define FLD(f) abuf->fields.sfmt_cstdu.f
16566 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16567 const IDESC * UNUSED idesc = abuf->idesc;
16568 int cycles = 0;
16570 int referenced = 0;
16571 int UNUSED insn_referenced = abuf->written;
16572 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16574 return cycles;
16575 #undef FLD
16578 static int
16579 model_fr550_stqfu (SIM_CPU *current_cpu, void *sem_arg)
16581 #define FLD(f) abuf->fields.sfmt_cstdfu.f
16582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16583 const IDESC * UNUSED idesc = abuf->idesc;
16584 int cycles = 0;
16586 int referenced = 0;
16587 int UNUSED insn_referenced = abuf->written;
16588 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16590 return cycles;
16591 #undef FLD
16594 static int
16595 model_fr550_stqcu (SIM_CPU *current_cpu, void *sem_arg)
16597 #define FLD(f) abuf->fields.sfmt_stdcu.f
16598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16599 const IDESC * UNUSED idesc = abuf->idesc;
16600 int cycles = 0;
16602 int referenced = 0;
16603 int UNUSED insn_referenced = abuf->written;
16604 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16606 return cycles;
16607 #undef FLD
16610 static int
16611 model_fr550_cldsb (SIM_CPU *current_cpu, void *sem_arg)
16613 #define FLD(f) abuf->fields.sfmt_cswap.f
16614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16615 const IDESC * UNUSED idesc = abuf->idesc;
16616 int cycles = 0;
16618 int referenced = 0;
16619 int UNUSED insn_referenced = abuf->written;
16620 INT in_GRi = -1;
16621 INT in_GRj = -1;
16622 INT out_GRk = -1;
16623 INT out_GRdoublek = -1;
16624 in_GRi = FLD (in_GRi);
16625 in_GRj = FLD (in_GRj);
16626 out_GRk = FLD (out_GRk);
16627 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16628 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16629 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16630 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16632 return cycles;
16633 #undef FLD
16636 static int
16637 model_fr550_cldub (SIM_CPU *current_cpu, void *sem_arg)
16639 #define FLD(f) abuf->fields.sfmt_cswap.f
16640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16641 const IDESC * UNUSED idesc = abuf->idesc;
16642 int cycles = 0;
16644 int referenced = 0;
16645 int UNUSED insn_referenced = abuf->written;
16646 INT in_GRi = -1;
16647 INT in_GRj = -1;
16648 INT out_GRk = -1;
16649 INT out_GRdoublek = -1;
16650 in_GRi = FLD (in_GRi);
16651 in_GRj = FLD (in_GRj);
16652 out_GRk = FLD (out_GRk);
16653 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16654 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16655 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16656 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16658 return cycles;
16659 #undef FLD
16662 static int
16663 model_fr550_cldsh (SIM_CPU *current_cpu, void *sem_arg)
16665 #define FLD(f) abuf->fields.sfmt_cswap.f
16666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16667 const IDESC * UNUSED idesc = abuf->idesc;
16668 int cycles = 0;
16670 int referenced = 0;
16671 int UNUSED insn_referenced = abuf->written;
16672 INT in_GRi = -1;
16673 INT in_GRj = -1;
16674 INT out_GRk = -1;
16675 INT out_GRdoublek = -1;
16676 in_GRi = FLD (in_GRi);
16677 in_GRj = FLD (in_GRj);
16678 out_GRk = FLD (out_GRk);
16679 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16680 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16681 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16682 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16684 return cycles;
16685 #undef FLD
16688 static int
16689 model_fr550_clduh (SIM_CPU *current_cpu, void *sem_arg)
16691 #define FLD(f) abuf->fields.sfmt_cswap.f
16692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16693 const IDESC * UNUSED idesc = abuf->idesc;
16694 int cycles = 0;
16696 int referenced = 0;
16697 int UNUSED insn_referenced = abuf->written;
16698 INT in_GRi = -1;
16699 INT in_GRj = -1;
16700 INT out_GRk = -1;
16701 INT out_GRdoublek = -1;
16702 in_GRi = FLD (in_GRi);
16703 in_GRj = FLD (in_GRj);
16704 out_GRk = FLD (out_GRk);
16705 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16706 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16707 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16708 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16710 return cycles;
16711 #undef FLD
16714 static int
16715 model_fr550_cld (SIM_CPU *current_cpu, void *sem_arg)
16717 #define FLD(f) abuf->fields.sfmt_cswap.f
16718 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16719 const IDESC * UNUSED idesc = abuf->idesc;
16720 int cycles = 0;
16722 int referenced = 0;
16723 int UNUSED insn_referenced = abuf->written;
16724 INT in_GRi = -1;
16725 INT in_GRj = -1;
16726 INT out_GRk = -1;
16727 INT out_GRdoublek = -1;
16728 in_GRi = FLD (in_GRi);
16729 in_GRj = FLD (in_GRj);
16730 out_GRk = FLD (out_GRk);
16731 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16732 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16733 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16734 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16736 return cycles;
16737 #undef FLD
16740 static int
16741 model_fr550_cldbf (SIM_CPU *current_cpu, void *sem_arg)
16743 #define FLD(f) abuf->fields.sfmt_cldbfu.f
16744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16745 const IDESC * UNUSED idesc = abuf->idesc;
16746 int cycles = 0;
16748 int referenced = 0;
16749 int UNUSED insn_referenced = abuf->written;
16750 INT in_GRi = -1;
16751 INT in_GRj = -1;
16752 INT out_FRintk = -1;
16753 INT out_FRdoublek = -1;
16754 in_GRi = FLD (in_GRi);
16755 in_GRj = FLD (in_GRj);
16756 out_FRintk = FLD (out_FRintk);
16757 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16758 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16759 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16760 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
16762 return cycles;
16763 #undef FLD
16766 static int
16767 model_fr550_cldhf (SIM_CPU *current_cpu, void *sem_arg)
16769 #define FLD(f) abuf->fields.sfmt_cldbfu.f
16770 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16771 const IDESC * UNUSED idesc = abuf->idesc;
16772 int cycles = 0;
16774 int referenced = 0;
16775 int UNUSED insn_referenced = abuf->written;
16776 INT in_GRi = -1;
16777 INT in_GRj = -1;
16778 INT out_FRintk = -1;
16779 INT out_FRdoublek = -1;
16780 in_GRi = FLD (in_GRi);
16781 in_GRj = FLD (in_GRj);
16782 out_FRintk = FLD (out_FRintk);
16783 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16784 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16785 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16786 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
16788 return cycles;
16789 #undef FLD
16792 static int
16793 model_fr550_cldf (SIM_CPU *current_cpu, void *sem_arg)
16795 #define FLD(f) abuf->fields.sfmt_cldbfu.f
16796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16797 const IDESC * UNUSED idesc = abuf->idesc;
16798 int cycles = 0;
16800 int referenced = 0;
16801 int UNUSED insn_referenced = abuf->written;
16802 INT in_GRi = -1;
16803 INT in_GRj = -1;
16804 INT out_FRintk = -1;
16805 INT out_FRdoublek = -1;
16806 in_GRi = FLD (in_GRi);
16807 in_GRj = FLD (in_GRj);
16808 out_FRintk = FLD (out_FRintk);
16809 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16810 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16811 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16812 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
16814 return cycles;
16815 #undef FLD
16818 static int
16819 model_fr550_cldd (SIM_CPU *current_cpu, void *sem_arg)
16821 #define FLD(f) abuf->fields.sfmt_clddu.f
16822 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16823 const IDESC * UNUSED idesc = abuf->idesc;
16824 int cycles = 0;
16826 int referenced = 0;
16827 int UNUSED insn_referenced = abuf->written;
16828 INT in_GRi = -1;
16829 INT in_GRj = -1;
16830 INT out_GRk = -1;
16831 INT out_GRdoublek = -1;
16832 in_GRi = FLD (in_GRi);
16833 in_GRj = FLD (in_GRj);
16834 out_GRdoublek = FLD (out_GRdoublek);
16835 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16836 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16837 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
16838 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16840 return cycles;
16841 #undef FLD
16844 static int
16845 model_fr550_clddf (SIM_CPU *current_cpu, void *sem_arg)
16847 #define FLD(f) abuf->fields.sfmt_clddfu.f
16848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16849 const IDESC * UNUSED idesc = abuf->idesc;
16850 int cycles = 0;
16852 int referenced = 0;
16853 int UNUSED insn_referenced = abuf->written;
16854 INT in_GRi = -1;
16855 INT in_GRj = -1;
16856 INT out_FRintk = -1;
16857 INT out_FRdoublek = -1;
16858 in_GRi = FLD (in_GRi);
16859 in_GRj = FLD (in_GRj);
16860 out_FRdoublek = FLD (out_FRdoublek);
16861 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16862 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16863 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
16864 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
16866 return cycles;
16867 #undef FLD
16870 static int
16871 model_fr550_cldq (SIM_CPU *current_cpu, void *sem_arg)
16873 #define FLD(f) abuf->fields.sfmt_cswap.f
16874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16875 const IDESC * UNUSED idesc = abuf->idesc;
16876 int cycles = 0;
16878 int referenced = 0;
16879 int UNUSED insn_referenced = abuf->written;
16880 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16882 return cycles;
16883 #undef FLD
16886 static int
16887 model_fr550_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
16889 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16890 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16891 const IDESC * UNUSED idesc = abuf->idesc;
16892 int cycles = 0;
16894 int referenced = 0;
16895 int UNUSED insn_referenced = abuf->written;
16896 INT in_GRi = -1;
16897 INT in_GRj = -1;
16898 INT out_GRk = -1;
16899 INT out_GRdoublek = -1;
16900 in_GRi = FLD (in_GRi);
16901 in_GRj = FLD (in_GRj);
16902 out_GRk = FLD (out_GRk);
16903 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16904 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16905 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
16906 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16908 return cycles;
16909 #undef FLD
16912 static int
16913 model_fr550_cldubu (SIM_CPU *current_cpu, void *sem_arg)
16915 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16917 const IDESC * UNUSED idesc = abuf->idesc;
16918 int cycles = 0;
16920 int referenced = 0;
16921 int UNUSED insn_referenced = abuf->written;
16922 INT in_GRi = -1;
16923 INT in_GRj = -1;
16924 INT out_GRk = -1;
16925 INT out_GRdoublek = -1;
16926 in_GRi = FLD (in_GRi);
16927 in_GRj = FLD (in_GRj);
16928 out_GRk = FLD (out_GRk);
16929 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16930 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16931 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
16932 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16934 return cycles;
16935 #undef FLD
16938 static int
16939 model_fr550_cldshu (SIM_CPU *current_cpu, void *sem_arg)
16941 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16942 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16943 const IDESC * UNUSED idesc = abuf->idesc;
16944 int cycles = 0;
16946 int referenced = 0;
16947 int UNUSED insn_referenced = abuf->written;
16948 INT in_GRi = -1;
16949 INT in_GRj = -1;
16950 INT out_GRk = -1;
16951 INT out_GRdoublek = -1;
16952 in_GRi = FLD (in_GRi);
16953 in_GRj = FLD (in_GRj);
16954 out_GRk = FLD (out_GRk);
16955 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16956 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16957 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
16958 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16960 return cycles;
16961 #undef FLD
16964 static int
16965 model_fr550_clduhu (SIM_CPU *current_cpu, void *sem_arg)
16967 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16969 const IDESC * UNUSED idesc = abuf->idesc;
16970 int cycles = 0;
16972 int referenced = 0;
16973 int UNUSED insn_referenced = abuf->written;
16974 INT in_GRi = -1;
16975 INT in_GRj = -1;
16976 INT out_GRk = -1;
16977 INT out_GRdoublek = -1;
16978 in_GRi = FLD (in_GRi);
16979 in_GRj = FLD (in_GRj);
16980 out_GRk = FLD (out_GRk);
16981 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16982 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16983 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
16984 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16986 return cycles;
16987 #undef FLD
16990 static int
16991 model_fr550_cldu (SIM_CPU *current_cpu, void *sem_arg)
16993 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16994 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16995 const IDESC * UNUSED idesc = abuf->idesc;
16996 int cycles = 0;
16998 int referenced = 0;
16999 int UNUSED insn_referenced = abuf->written;
17000 INT in_GRi = -1;
17001 INT in_GRj = -1;
17002 INT out_GRk = -1;
17003 INT out_GRdoublek = -1;
17004 in_GRi = FLD (in_GRi);
17005 in_GRj = FLD (in_GRj);
17006 out_GRk = FLD (out_GRk);
17007 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17008 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17009 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
17010 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
17012 return cycles;
17013 #undef FLD
17016 static int
17017 model_fr550_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
17019 #define FLD(f) abuf->fields.sfmt_cldbfu.f
17020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17021 const IDESC * UNUSED idesc = abuf->idesc;
17022 int cycles = 0;
17024 int referenced = 0;
17025 int UNUSED insn_referenced = abuf->written;
17026 INT in_GRi = -1;
17027 INT in_GRj = -1;
17028 INT out_FRintk = -1;
17029 INT out_FRdoublek = -1;
17030 in_GRi = FLD (in_GRi);
17031 in_GRj = FLD (in_GRj);
17032 out_FRintk = FLD (out_FRintk);
17033 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17034 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17035 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
17036 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
17038 return cycles;
17039 #undef FLD
17042 static int
17043 model_fr550_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
17045 #define FLD(f) abuf->fields.sfmt_cldbfu.f
17046 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17047 const IDESC * UNUSED idesc = abuf->idesc;
17048 int cycles = 0;
17050 int referenced = 0;
17051 int UNUSED insn_referenced = abuf->written;
17052 INT in_GRi = -1;
17053 INT in_GRj = -1;
17054 INT out_FRintk = -1;
17055 INT out_FRdoublek = -1;
17056 in_GRi = FLD (in_GRi);
17057 in_GRj = FLD (in_GRj);
17058 out_FRintk = FLD (out_FRintk);
17059 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17060 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17061 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
17062 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
17064 return cycles;
17065 #undef FLD
17068 static int
17069 model_fr550_cldfu (SIM_CPU *current_cpu, void *sem_arg)
17071 #define FLD(f) abuf->fields.sfmt_cldbfu.f
17072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17073 const IDESC * UNUSED idesc = abuf->idesc;
17074 int cycles = 0;
17076 int referenced = 0;
17077 int UNUSED insn_referenced = abuf->written;
17078 INT in_GRi = -1;
17079 INT in_GRj = -1;
17080 INT out_FRintk = -1;
17081 INT out_FRdoublek = -1;
17082 in_GRi = FLD (in_GRi);
17083 in_GRj = FLD (in_GRj);
17084 out_FRintk = FLD (out_FRintk);
17085 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17086 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17087 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
17088 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
17090 return cycles;
17091 #undef FLD
17094 static int
17095 model_fr550_clddu (SIM_CPU *current_cpu, void *sem_arg)
17097 #define FLD(f) abuf->fields.sfmt_clddu.f
17098 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17099 const IDESC * UNUSED idesc = abuf->idesc;
17100 int cycles = 0;
17102 int referenced = 0;
17103 int UNUSED insn_referenced = abuf->written;
17104 INT in_GRi = -1;
17105 INT in_GRj = -1;
17106 INT out_GRk = -1;
17107 INT out_GRdoublek = -1;
17108 in_GRi = FLD (in_GRi);
17109 in_GRj = FLD (in_GRj);
17110 out_GRdoublek = FLD (out_GRdoublek);
17111 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17112 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17113 if (insn_referenced & (1 << 7)) referenced |= 1 << 3;
17114 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
17116 return cycles;
17117 #undef FLD
17120 static int
17121 model_fr550_clddfu (SIM_CPU *current_cpu, void *sem_arg)
17123 #define FLD(f) abuf->fields.sfmt_clddfu.f
17124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17125 const IDESC * UNUSED idesc = abuf->idesc;
17126 int cycles = 0;
17128 int referenced = 0;
17129 int UNUSED insn_referenced = abuf->written;
17130 INT in_GRi = -1;
17131 INT in_GRj = -1;
17132 INT out_FRintk = -1;
17133 INT out_FRdoublek = -1;
17134 in_GRi = FLD (in_GRi);
17135 in_GRj = FLD (in_GRj);
17136 out_FRdoublek = FLD (out_FRdoublek);
17137 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17138 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17139 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
17140 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
17142 return cycles;
17143 #undef FLD
17146 static int
17147 model_fr550_cldqu (SIM_CPU *current_cpu, void *sem_arg)
17149 #define FLD(f) abuf->fields.sfmt_cstdu.f
17150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17151 const IDESC * UNUSED idesc = abuf->idesc;
17152 int cycles = 0;
17154 int referenced = 0;
17155 int UNUSED insn_referenced = abuf->written;
17156 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17158 return cycles;
17159 #undef FLD
17162 static int
17163 model_fr550_cstb (SIM_CPU *current_cpu, void *sem_arg)
17165 #define FLD(f) abuf->fields.sfmt_cswap.f
17166 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17167 const IDESC * UNUSED idesc = abuf->idesc;
17168 int cycles = 0;
17170 int referenced = 0;
17171 int UNUSED insn_referenced = abuf->written;
17172 INT in_GRi = -1;
17173 INT in_GRj = -1;
17174 INT in_GRk = -1;
17175 INT in_GRdoublek = -1;
17176 in_GRi = FLD (in_GRi);
17177 in_GRj = FLD (in_GRj);
17178 in_GRk = FLD (in_GRk);
17179 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17180 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17181 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17182 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17184 return cycles;
17185 #undef FLD
17188 static int
17189 model_fr550_csth (SIM_CPU *current_cpu, void *sem_arg)
17191 #define FLD(f) abuf->fields.sfmt_cswap.f
17192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17193 const IDESC * UNUSED idesc = abuf->idesc;
17194 int cycles = 0;
17196 int referenced = 0;
17197 int UNUSED insn_referenced = abuf->written;
17198 INT in_GRi = -1;
17199 INT in_GRj = -1;
17200 INT in_GRk = -1;
17201 INT in_GRdoublek = -1;
17202 in_GRi = FLD (in_GRi);
17203 in_GRj = FLD (in_GRj);
17204 in_GRk = FLD (in_GRk);
17205 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17206 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17207 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17208 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17210 return cycles;
17211 #undef FLD
17214 static int
17215 model_fr550_cst (SIM_CPU *current_cpu, void *sem_arg)
17217 #define FLD(f) abuf->fields.sfmt_cswap.f
17218 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17219 const IDESC * UNUSED idesc = abuf->idesc;
17220 int cycles = 0;
17222 int referenced = 0;
17223 int UNUSED insn_referenced = abuf->written;
17224 INT in_GRi = -1;
17225 INT in_GRj = -1;
17226 INT in_GRk = -1;
17227 INT in_GRdoublek = -1;
17228 in_GRi = FLD (in_GRi);
17229 in_GRj = FLD (in_GRj);
17230 in_GRk = FLD (in_GRk);
17231 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17232 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17233 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17234 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17236 return cycles;
17237 #undef FLD
17240 static int
17241 model_fr550_cstbf (SIM_CPU *current_cpu, void *sem_arg)
17243 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17245 const IDESC * UNUSED idesc = abuf->idesc;
17246 int cycles = 0;
17248 int referenced = 0;
17249 int UNUSED insn_referenced = abuf->written;
17250 INT in_GRi = -1;
17251 INT in_GRj = -1;
17252 INT in_FRintk = -1;
17253 INT in_FRdoublek = -1;
17254 in_GRi = FLD (in_GRi);
17255 in_GRj = FLD (in_GRj);
17256 in_FRintk = FLD (in_FRintk);
17257 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17258 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17259 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17260 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17262 return cycles;
17263 #undef FLD
17266 static int
17267 model_fr550_csthf (SIM_CPU *current_cpu, void *sem_arg)
17269 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17270 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17271 const IDESC * UNUSED idesc = abuf->idesc;
17272 int cycles = 0;
17274 int referenced = 0;
17275 int UNUSED insn_referenced = abuf->written;
17276 INT in_GRi = -1;
17277 INT in_GRj = -1;
17278 INT in_FRintk = -1;
17279 INT in_FRdoublek = -1;
17280 in_GRi = FLD (in_GRi);
17281 in_GRj = FLD (in_GRj);
17282 in_FRintk = FLD (in_FRintk);
17283 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17284 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17285 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17286 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17288 return cycles;
17289 #undef FLD
17292 static int
17293 model_fr550_cstf (SIM_CPU *current_cpu, void *sem_arg)
17295 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17297 const IDESC * UNUSED idesc = abuf->idesc;
17298 int cycles = 0;
17300 int referenced = 0;
17301 int UNUSED insn_referenced = abuf->written;
17302 INT in_GRi = -1;
17303 INT in_GRj = -1;
17304 INT in_FRintk = -1;
17305 INT in_FRdoublek = -1;
17306 in_GRi = FLD (in_GRi);
17307 in_GRj = FLD (in_GRj);
17308 in_FRintk = FLD (in_FRintk);
17309 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17310 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17311 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17312 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17314 return cycles;
17315 #undef FLD
17318 static int
17319 model_fr550_cstd (SIM_CPU *current_cpu, void *sem_arg)
17321 #define FLD(f) abuf->fields.sfmt_cstdu.f
17322 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17323 const IDESC * UNUSED idesc = abuf->idesc;
17324 int cycles = 0;
17326 int referenced = 0;
17327 int UNUSED insn_referenced = abuf->written;
17328 INT in_GRi = -1;
17329 INT in_GRj = -1;
17330 INT in_GRk = -1;
17331 INT in_GRdoublek = -1;
17332 in_GRi = FLD (in_GRi);
17333 in_GRj = FLD (in_GRj);
17334 in_GRdoublek = FLD (in_GRdoublek);
17335 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17336 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17337 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
17338 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17340 return cycles;
17341 #undef FLD
17344 static int
17345 model_fr550_cstdf (SIM_CPU *current_cpu, void *sem_arg)
17347 #define FLD(f) abuf->fields.sfmt_cstdfu.f
17348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17349 const IDESC * UNUSED idesc = abuf->idesc;
17350 int cycles = 0;
17352 int referenced = 0;
17353 int UNUSED insn_referenced = abuf->written;
17354 INT in_GRi = -1;
17355 INT in_GRj = -1;
17356 INT in_FRintk = -1;
17357 INT in_FRdoublek = -1;
17358 in_GRi = FLD (in_GRi);
17359 in_GRj = FLD (in_GRj);
17360 in_FRdoublek = FLD (in_FRdoublek);
17361 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17362 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17363 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
17364 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17366 return cycles;
17367 #undef FLD
17370 static int
17371 model_fr550_cstq (SIM_CPU *current_cpu, void *sem_arg)
17373 #define FLD(f) abuf->fields.sfmt_cswap.f
17374 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17375 const IDESC * UNUSED idesc = abuf->idesc;
17376 int cycles = 0;
17378 int referenced = 0;
17379 int UNUSED insn_referenced = abuf->written;
17380 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17382 return cycles;
17383 #undef FLD
17386 static int
17387 model_fr550_cstbu (SIM_CPU *current_cpu, void *sem_arg)
17389 #define FLD(f) abuf->fields.sfmt_cstbu.f
17390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17391 const IDESC * UNUSED idesc = abuf->idesc;
17392 int cycles = 0;
17394 int referenced = 0;
17395 int UNUSED insn_referenced = abuf->written;
17396 INT in_GRi = -1;
17397 INT in_GRj = -1;
17398 INT in_GRk = -1;
17399 INT in_GRdoublek = -1;
17400 in_GRi = FLD (in_GRi);
17401 in_GRj = FLD (in_GRj);
17402 in_GRk = FLD (in_GRk);
17403 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17404 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17405 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17406 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17408 return cycles;
17409 #undef FLD
17412 static int
17413 model_fr550_csthu (SIM_CPU *current_cpu, void *sem_arg)
17415 #define FLD(f) abuf->fields.sfmt_cstbu.f
17416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17417 const IDESC * UNUSED idesc = abuf->idesc;
17418 int cycles = 0;
17420 int referenced = 0;
17421 int UNUSED insn_referenced = abuf->written;
17422 INT in_GRi = -1;
17423 INT in_GRj = -1;
17424 INT in_GRk = -1;
17425 INT in_GRdoublek = -1;
17426 in_GRi = FLD (in_GRi);
17427 in_GRj = FLD (in_GRj);
17428 in_GRk = FLD (in_GRk);
17429 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17430 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17431 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17432 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17434 return cycles;
17435 #undef FLD
17438 static int
17439 model_fr550_cstu (SIM_CPU *current_cpu, void *sem_arg)
17441 #define FLD(f) abuf->fields.sfmt_cstbu.f
17442 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17443 const IDESC * UNUSED idesc = abuf->idesc;
17444 int cycles = 0;
17446 int referenced = 0;
17447 int UNUSED insn_referenced = abuf->written;
17448 INT in_GRi = -1;
17449 INT in_GRj = -1;
17450 INT in_GRk = -1;
17451 INT in_GRdoublek = -1;
17452 in_GRi = FLD (in_GRi);
17453 in_GRj = FLD (in_GRj);
17454 in_GRk = FLD (in_GRk);
17455 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17456 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17457 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17458 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17460 return cycles;
17461 #undef FLD
17464 static int
17465 model_fr550_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
17467 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17469 const IDESC * UNUSED idesc = abuf->idesc;
17470 int cycles = 0;
17472 int referenced = 0;
17473 int UNUSED insn_referenced = abuf->written;
17474 INT in_GRi = -1;
17475 INT in_GRj = -1;
17476 INT in_FRintk = -1;
17477 INT in_FRdoublek = -1;
17478 in_GRi = FLD (in_GRi);
17479 in_GRj = FLD (in_GRj);
17480 in_FRintk = FLD (in_FRintk);
17481 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17482 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17483 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17484 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17486 return cycles;
17487 #undef FLD
17490 static int
17491 model_fr550_csthfu (SIM_CPU *current_cpu, void *sem_arg)
17493 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17495 const IDESC * UNUSED idesc = abuf->idesc;
17496 int cycles = 0;
17498 int referenced = 0;
17499 int UNUSED insn_referenced = abuf->written;
17500 INT in_GRi = -1;
17501 INT in_GRj = -1;
17502 INT in_FRintk = -1;
17503 INT in_FRdoublek = -1;
17504 in_GRi = FLD (in_GRi);
17505 in_GRj = FLD (in_GRj);
17506 in_FRintk = FLD (in_FRintk);
17507 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17508 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17509 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17510 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17512 return cycles;
17513 #undef FLD
17516 static int
17517 model_fr550_cstfu (SIM_CPU *current_cpu, void *sem_arg)
17519 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17521 const IDESC * UNUSED idesc = abuf->idesc;
17522 int cycles = 0;
17524 int referenced = 0;
17525 int UNUSED insn_referenced = abuf->written;
17526 INT in_GRi = -1;
17527 INT in_GRj = -1;
17528 INT in_FRintk = -1;
17529 INT in_FRdoublek = -1;
17530 in_GRi = FLD (in_GRi);
17531 in_GRj = FLD (in_GRj);
17532 in_FRintk = FLD (in_FRintk);
17533 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17534 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17535 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17536 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17538 return cycles;
17539 #undef FLD
17542 static int
17543 model_fr550_cstdu (SIM_CPU *current_cpu, void *sem_arg)
17545 #define FLD(f) abuf->fields.sfmt_cstdu.f
17546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17547 const IDESC * UNUSED idesc = abuf->idesc;
17548 int cycles = 0;
17550 int referenced = 0;
17551 int UNUSED insn_referenced = abuf->written;
17552 INT in_GRi = -1;
17553 INT in_GRj = -1;
17554 INT in_GRk = -1;
17555 INT in_GRdoublek = -1;
17556 in_GRi = FLD (in_GRi);
17557 in_GRj = FLD (in_GRj);
17558 in_GRdoublek = FLD (in_GRdoublek);
17559 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17560 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17561 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
17562 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17564 return cycles;
17565 #undef FLD
17568 static int
17569 model_fr550_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
17571 #define FLD(f) abuf->fields.sfmt_cstdfu.f
17572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17573 const IDESC * UNUSED idesc = abuf->idesc;
17574 int cycles = 0;
17576 int referenced = 0;
17577 int UNUSED insn_referenced = abuf->written;
17578 INT in_GRi = -1;
17579 INT in_GRj = -1;
17580 INT in_FRintk = -1;
17581 INT in_FRdoublek = -1;
17582 in_GRi = FLD (in_GRi);
17583 in_GRj = FLD (in_GRj);
17584 in_FRdoublek = FLD (in_FRdoublek);
17585 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17586 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17587 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
17588 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17590 return cycles;
17591 #undef FLD
17594 static int
17595 model_fr550_stbi (SIM_CPU *current_cpu, void *sem_arg)
17597 #define FLD(f) abuf->fields.sfmt_swapi.f
17598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17599 const IDESC * UNUSED idesc = abuf->idesc;
17600 int cycles = 0;
17602 int referenced = 0;
17603 int UNUSED insn_referenced = abuf->written;
17604 INT in_GRi = -1;
17605 INT in_GRj = -1;
17606 INT in_GRk = -1;
17607 INT in_GRdoublek = -1;
17608 in_GRi = FLD (in_GRi);
17609 in_GRk = FLD (in_GRk);
17610 referenced |= 1 << 0;
17611 referenced |= 1 << 2;
17612 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17614 return cycles;
17615 #undef FLD
17618 static int
17619 model_fr550_sthi (SIM_CPU *current_cpu, void *sem_arg)
17621 #define FLD(f) abuf->fields.sfmt_swapi.f
17622 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17623 const IDESC * UNUSED idesc = abuf->idesc;
17624 int cycles = 0;
17626 int referenced = 0;
17627 int UNUSED insn_referenced = abuf->written;
17628 INT in_GRi = -1;
17629 INT in_GRj = -1;
17630 INT in_GRk = -1;
17631 INT in_GRdoublek = -1;
17632 in_GRi = FLD (in_GRi);
17633 in_GRk = FLD (in_GRk);
17634 referenced |= 1 << 0;
17635 referenced |= 1 << 2;
17636 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17638 return cycles;
17639 #undef FLD
17642 static int
17643 model_fr550_sti (SIM_CPU *current_cpu, void *sem_arg)
17645 #define FLD(f) abuf->fields.sfmt_swapi.f
17646 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17647 const IDESC * UNUSED idesc = abuf->idesc;
17648 int cycles = 0;
17650 int referenced = 0;
17651 int UNUSED insn_referenced = abuf->written;
17652 INT in_GRi = -1;
17653 INT in_GRj = -1;
17654 INT in_GRk = -1;
17655 INT in_GRdoublek = -1;
17656 in_GRi = FLD (in_GRi);
17657 in_GRk = FLD (in_GRk);
17658 referenced |= 1 << 0;
17659 referenced |= 1 << 2;
17660 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17662 return cycles;
17663 #undef FLD
17666 static int
17667 model_fr550_stbfi (SIM_CPU *current_cpu, void *sem_arg)
17669 #define FLD(f) abuf->fields.sfmt_stbfi.f
17670 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17671 const IDESC * UNUSED idesc = abuf->idesc;
17672 int cycles = 0;
17674 int referenced = 0;
17675 int UNUSED insn_referenced = abuf->written;
17676 INT in_GRi = -1;
17677 INT in_GRj = -1;
17678 INT in_FRintk = -1;
17679 INT in_FRdoublek = -1;
17680 in_GRi = FLD (in_GRi);
17681 in_FRintk = FLD (in_FRintk);
17682 referenced |= 1 << 0;
17683 referenced |= 1 << 2;
17684 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17686 return cycles;
17687 #undef FLD
17690 static int
17691 model_fr550_sthfi (SIM_CPU *current_cpu, void *sem_arg)
17693 #define FLD(f) abuf->fields.sfmt_stbfi.f
17694 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17695 const IDESC * UNUSED idesc = abuf->idesc;
17696 int cycles = 0;
17698 int referenced = 0;
17699 int UNUSED insn_referenced = abuf->written;
17700 INT in_GRi = -1;
17701 INT in_GRj = -1;
17702 INT in_FRintk = -1;
17703 INT in_FRdoublek = -1;
17704 in_GRi = FLD (in_GRi);
17705 in_FRintk = FLD (in_FRintk);
17706 referenced |= 1 << 0;
17707 referenced |= 1 << 2;
17708 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17710 return cycles;
17711 #undef FLD
17714 static int
17715 model_fr550_stfi (SIM_CPU *current_cpu, void *sem_arg)
17717 #define FLD(f) abuf->fields.sfmt_stbfi.f
17718 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17719 const IDESC * UNUSED idesc = abuf->idesc;
17720 int cycles = 0;
17722 int referenced = 0;
17723 int UNUSED insn_referenced = abuf->written;
17724 INT in_GRi = -1;
17725 INT in_GRj = -1;
17726 INT in_FRintk = -1;
17727 INT in_FRdoublek = -1;
17728 in_GRi = FLD (in_GRi);
17729 in_FRintk = FLD (in_FRintk);
17730 referenced |= 1 << 0;
17731 referenced |= 1 << 2;
17732 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17734 return cycles;
17735 #undef FLD
17738 static int
17739 model_fr550_stdi (SIM_CPU *current_cpu, void *sem_arg)
17741 #define FLD(f) abuf->fields.sfmt_stdi.f
17742 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17743 const IDESC * UNUSED idesc = abuf->idesc;
17744 int cycles = 0;
17746 int referenced = 0;
17747 int UNUSED insn_referenced = abuf->written;
17748 INT in_GRi = -1;
17749 INT in_GRj = -1;
17750 INT in_GRk = -1;
17751 INT in_GRdoublek = -1;
17752 in_GRi = FLD (in_GRi);
17753 in_GRdoublek = FLD (in_GRdoublek);
17754 referenced |= 1 << 0;
17755 referenced |= 1 << 3;
17756 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17758 return cycles;
17759 #undef FLD
17762 static int
17763 model_fr550_stdfi (SIM_CPU *current_cpu, void *sem_arg)
17765 #define FLD(f) abuf->fields.sfmt_stdfi.f
17766 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17767 const IDESC * UNUSED idesc = abuf->idesc;
17768 int cycles = 0;
17770 int referenced = 0;
17771 int UNUSED insn_referenced = abuf->written;
17772 INT in_GRi = -1;
17773 INT in_GRj = -1;
17774 INT in_FRintk = -1;
17775 INT in_FRdoublek = -1;
17776 in_GRi = FLD (in_GRi);
17777 in_FRdoublek = FLD (in_FRdoublek);
17778 referenced |= 1 << 0;
17779 referenced |= 1 << 3;
17780 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17782 return cycles;
17783 #undef FLD
17786 static int
17787 model_fr550_stqi (SIM_CPU *current_cpu, void *sem_arg)
17789 #define FLD(f) abuf->fields.sfmt_stdi.f
17790 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17791 const IDESC * UNUSED idesc = abuf->idesc;
17792 int cycles = 0;
17794 int referenced = 0;
17795 int UNUSED insn_referenced = abuf->written;
17796 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17798 return cycles;
17799 #undef FLD
17802 static int
17803 model_fr550_stqfi (SIM_CPU *current_cpu, void *sem_arg)
17805 #define FLD(f) abuf->fields.sfmt_stdfi.f
17806 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17807 const IDESC * UNUSED idesc = abuf->idesc;
17808 int cycles = 0;
17810 int referenced = 0;
17811 int UNUSED insn_referenced = abuf->written;
17812 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17814 return cycles;
17815 #undef FLD
17818 static int
17819 model_fr550_swap (SIM_CPU *current_cpu, void *sem_arg)
17821 #define FLD(f) abuf->fields.sfmt_cswap.f
17822 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17823 const IDESC * UNUSED idesc = abuf->idesc;
17824 int cycles = 0;
17826 int referenced = 0;
17827 int UNUSED insn_referenced = abuf->written;
17828 INT in_GRi = -1;
17829 INT in_GRj = -1;
17830 INT out_GRk = -1;
17831 in_GRi = FLD (in_GRi);
17832 in_GRj = FLD (in_GRj);
17833 out_GRk = FLD (out_GRk);
17834 referenced |= 1 << 0;
17835 referenced |= 1 << 1;
17836 referenced |= 1 << 2;
17837 cycles += frvbf_model_fr550_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
17839 return cycles;
17840 #undef FLD
17843 static int
17844 model_fr550_swapi (SIM_CPU *current_cpu, void *sem_arg)
17846 #define FLD(f) abuf->fields.sfmt_swapi.f
17847 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17848 const IDESC * UNUSED idesc = abuf->idesc;
17849 int cycles = 0;
17851 int referenced = 0;
17852 int UNUSED insn_referenced = abuf->written;
17853 INT in_GRi = -1;
17854 INT in_GRj = -1;
17855 INT out_GRk = -1;
17856 in_GRi = FLD (in_GRi);
17857 out_GRk = FLD (out_GRk);
17858 referenced |= 1 << 0;
17859 referenced |= 1 << 2;
17860 cycles += frvbf_model_fr550_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
17862 return cycles;
17863 #undef FLD
17866 static int
17867 model_fr550_cswap (SIM_CPU *current_cpu, void *sem_arg)
17869 #define FLD(f) abuf->fields.sfmt_cswap.f
17870 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17871 const IDESC * UNUSED idesc = abuf->idesc;
17872 int cycles = 0;
17874 int referenced = 0;
17875 int UNUSED insn_referenced = abuf->written;
17876 INT in_GRi = -1;
17877 INT in_GRj = -1;
17878 INT out_GRk = -1;
17879 in_GRi = FLD (in_GRi);
17880 in_GRj = FLD (in_GRj);
17881 out_GRk = FLD (out_GRk);
17882 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17883 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17884 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
17885 cycles += frvbf_model_fr550_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
17887 return cycles;
17888 #undef FLD
17891 static int
17892 model_fr550_movgf (SIM_CPU *current_cpu, void *sem_arg)
17894 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
17895 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17896 const IDESC * UNUSED idesc = abuf->idesc;
17897 int cycles = 0;
17899 int referenced = 0;
17900 int UNUSED insn_referenced = abuf->written;
17901 INT in_GRj = -1;
17902 INT out_FRintk = -1;
17903 in_GRj = FLD (in_GRj);
17904 out_FRintk = FLD (out_FRintk);
17905 referenced |= 1 << 0;
17906 referenced |= 1 << 1;
17907 cycles += frvbf_model_fr550_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
17909 return cycles;
17910 #undef FLD
17913 static int
17914 model_fr550_movfg (SIM_CPU *current_cpu, void *sem_arg)
17916 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
17917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17918 const IDESC * UNUSED idesc = abuf->idesc;
17919 int cycles = 0;
17921 int referenced = 0;
17922 int UNUSED insn_referenced = abuf->written;
17923 INT in_FRintk = -1;
17924 INT out_GRj = -1;
17925 in_FRintk = FLD (in_FRintk);
17926 out_GRj = FLD (out_GRj);
17927 referenced |= 1 << 0;
17928 referenced |= 1 << 1;
17929 cycles += frvbf_model_fr550_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
17931 return cycles;
17932 #undef FLD
17935 static int
17936 model_fr550_movgfd (SIM_CPU *current_cpu, void *sem_arg)
17938 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
17939 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17940 const IDESC * UNUSED idesc = abuf->idesc;
17941 int cycles = 0;
17943 int referenced = 0;
17944 int UNUSED insn_referenced = abuf->written;
17945 INT in_GRj = -1;
17946 INT out_FRintk = -1;
17947 in_GRj = FLD (in_GRj);
17948 out_FRintk = FLD (out_FRintk);
17949 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
17950 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
17951 cycles += frvbf_model_fr550_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
17953 return cycles;
17954 #undef FLD
17957 static int
17958 model_fr550_movfgd (SIM_CPU *current_cpu, void *sem_arg)
17960 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
17961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17962 const IDESC * UNUSED idesc = abuf->idesc;
17963 int cycles = 0;
17965 int referenced = 0;
17966 int UNUSED insn_referenced = abuf->written;
17967 INT in_FRintk = -1;
17968 INT out_GRj = -1;
17969 in_FRintk = FLD (in_FRintk);
17970 out_GRj = FLD (out_GRj);
17971 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
17972 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
17973 cycles += frvbf_model_fr550_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
17975 return cycles;
17976 #undef FLD
17979 static int
17980 model_fr550_movgfq (SIM_CPU *current_cpu, void *sem_arg)
17982 #define FLD(f) abuf->fields.sfmt_movgfq.f
17983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17984 const IDESC * UNUSED idesc = abuf->idesc;
17985 int cycles = 0;
17987 int referenced = 0;
17988 int UNUSED insn_referenced = abuf->written;
17989 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17991 return cycles;
17992 #undef FLD
17995 static int
17996 model_fr550_movfgq (SIM_CPU *current_cpu, void *sem_arg)
17998 #define FLD(f) abuf->fields.sfmt_movfgq.f
17999 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18000 const IDESC * UNUSED idesc = abuf->idesc;
18001 int cycles = 0;
18003 int referenced = 0;
18004 int UNUSED insn_referenced = abuf->written;
18005 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
18007 return cycles;
18008 #undef FLD
18011 static int
18012 model_fr550_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
18014 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
18015 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18016 const IDESC * UNUSED idesc = abuf->idesc;
18017 int cycles = 0;
18019 int referenced = 0;
18020 int UNUSED insn_referenced = abuf->written;
18021 INT in_GRj = -1;
18022 INT out_FRintk = -1;
18023 in_GRj = FLD (in_GRj);
18024 out_FRintk = FLD (out_FRintk);
18025 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
18026 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
18027 cycles += frvbf_model_fr550_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
18029 return cycles;
18030 #undef FLD
18033 static int
18034 model_fr550_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
18036 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
18037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18038 const IDESC * UNUSED idesc = abuf->idesc;
18039 int cycles = 0;
18041 int referenced = 0;
18042 int UNUSED insn_referenced = abuf->written;
18043 INT in_FRintk = -1;
18044 INT out_GRj = -1;
18045 in_FRintk = FLD (in_FRintk);
18046 out_GRj = FLD (out_GRj);
18047 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
18048 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
18049 cycles += frvbf_model_fr550_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
18051 return cycles;
18052 #undef FLD
18055 static int
18056 model_fr550_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
18058 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
18059 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18060 const IDESC * UNUSED idesc = abuf->idesc;
18061 int cycles = 0;
18063 int referenced = 0;
18064 int UNUSED insn_referenced = abuf->written;
18065 INT in_GRj = -1;
18066 INT out_FRintk = -1;
18067 in_GRj = FLD (in_GRj);
18068 out_FRintk = FLD (out_FRintk);
18069 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
18070 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
18071 cycles += frvbf_model_fr550_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
18073 return cycles;
18074 #undef FLD
18077 static int
18078 model_fr550_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
18080 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
18081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18082 const IDESC * UNUSED idesc = abuf->idesc;
18083 int cycles = 0;
18085 int referenced = 0;
18086 int UNUSED insn_referenced = abuf->written;
18087 INT in_FRintk = -1;
18088 INT out_GRj = -1;
18089 in_FRintk = FLD (in_FRintk);
18090 out_GRj = FLD (out_GRj);
18091 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
18092 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
18093 cycles += frvbf_model_fr550_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
18095 return cycles;
18096 #undef FLD
18099 static int
18100 model_fr550_movgs (SIM_CPU *current_cpu, void *sem_arg)
18102 #define FLD(f) abuf->fields.sfmt_movgs.f
18103 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18104 const IDESC * UNUSED idesc = abuf->idesc;
18105 int cycles = 0;
18107 int referenced = 0;
18108 int UNUSED insn_referenced = abuf->written;
18109 INT in_GRj = -1;
18110 INT out_spr = -1;
18111 in_GRj = FLD (in_GRj);
18112 out_spr = FLD (out_spr);
18113 referenced |= 1 << 0;
18114 referenced |= 1 << 1;
18115 cycles += frvbf_model_fr550_u_gr2spr (current_cpu, idesc, 0, referenced, in_GRj, out_spr);
18117 return cycles;
18118 #undef FLD
18121 static int
18122 model_fr550_movsg (SIM_CPU *current_cpu, void *sem_arg)
18124 #define FLD(f) abuf->fields.sfmt_movsg.f
18125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18126 const IDESC * UNUSED idesc = abuf->idesc;
18127 int cycles = 0;
18129 int referenced = 0;
18130 int UNUSED insn_referenced = abuf->written;
18131 INT in_spr = -1;
18132 INT out_GRj = -1;
18133 in_spr = FLD (in_spr);
18134 out_GRj = FLD (out_GRj);
18135 referenced |= 1 << 0;
18136 referenced |= 1 << 1;
18137 cycles += frvbf_model_fr550_u_spr2gr (current_cpu, idesc, 0, referenced, in_spr, out_GRj);
18139 return cycles;
18140 #undef FLD
18143 static int
18144 model_fr550_bra (SIM_CPU *current_cpu, void *sem_arg)
18146 #define FLD(f) abuf->fields.sfmt_fbne.f
18147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18148 const IDESC * UNUSED idesc = abuf->idesc;
18149 int cycles = 0;
18151 int referenced = 0;
18152 int UNUSED insn_referenced = abuf->written;
18153 INT in_GRi = -1;
18154 INT in_GRj = -1;
18155 INT in_ICCi_2 = -1;
18156 INT in_FCCi_2 = -1;
18157 referenced |= 1 << 4;
18158 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18160 return cycles;
18161 #undef FLD
18164 static int
18165 model_fr550_bno (SIM_CPU *current_cpu, void *sem_arg)
18167 #define FLD(f) abuf->fields.sfmt_fbne.f
18168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18169 const IDESC * UNUSED idesc = abuf->idesc;
18170 int cycles = 0;
18172 int referenced = 0;
18173 int UNUSED insn_referenced = abuf->written;
18174 INT in_GRi = -1;
18175 INT in_GRj = -1;
18176 INT in_ICCi_2 = -1;
18177 INT in_FCCi_2 = -1;
18178 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18180 return cycles;
18181 #undef FLD
18184 static int
18185 model_fr550_beq (SIM_CPU *current_cpu, void *sem_arg)
18187 #define FLD(f) abuf->fields.sfmt_beq.f
18188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18189 const IDESC * UNUSED idesc = abuf->idesc;
18190 int cycles = 0;
18192 int referenced = 0;
18193 int UNUSED insn_referenced = abuf->written;
18194 INT in_GRi = -1;
18195 INT in_GRj = -1;
18196 INT in_ICCi_2 = -1;
18197 INT in_FCCi_2 = -1;
18198 in_ICCi_2 = FLD (in_ICCi_2);
18199 referenced |= 1 << 2;
18200 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18201 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18203 return cycles;
18204 #undef FLD
18207 static int
18208 model_fr550_bne (SIM_CPU *current_cpu, void *sem_arg)
18210 #define FLD(f) abuf->fields.sfmt_beq.f
18211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18212 const IDESC * UNUSED idesc = abuf->idesc;
18213 int cycles = 0;
18215 int referenced = 0;
18216 int UNUSED insn_referenced = abuf->written;
18217 INT in_GRi = -1;
18218 INT in_GRj = -1;
18219 INT in_ICCi_2 = -1;
18220 INT in_FCCi_2 = -1;
18221 in_ICCi_2 = FLD (in_ICCi_2);
18222 referenced |= 1 << 2;
18223 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18224 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18226 return cycles;
18227 #undef FLD
18230 static int
18231 model_fr550_ble (SIM_CPU *current_cpu, void *sem_arg)
18233 #define FLD(f) abuf->fields.sfmt_beq.f
18234 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18235 const IDESC * UNUSED idesc = abuf->idesc;
18236 int cycles = 0;
18238 int referenced = 0;
18239 int UNUSED insn_referenced = abuf->written;
18240 INT in_GRi = -1;
18241 INT in_GRj = -1;
18242 INT in_ICCi_2 = -1;
18243 INT in_FCCi_2 = -1;
18244 in_ICCi_2 = FLD (in_ICCi_2);
18245 referenced |= 1 << 2;
18246 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18247 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18249 return cycles;
18250 #undef FLD
18253 static int
18254 model_fr550_bgt (SIM_CPU *current_cpu, void *sem_arg)
18256 #define FLD(f) abuf->fields.sfmt_beq.f
18257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18258 const IDESC * UNUSED idesc = abuf->idesc;
18259 int cycles = 0;
18261 int referenced = 0;
18262 int UNUSED insn_referenced = abuf->written;
18263 INT in_GRi = -1;
18264 INT in_GRj = -1;
18265 INT in_ICCi_2 = -1;
18266 INT in_FCCi_2 = -1;
18267 in_ICCi_2 = FLD (in_ICCi_2);
18268 referenced |= 1 << 2;
18269 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18270 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18272 return cycles;
18273 #undef FLD
18276 static int
18277 model_fr550_blt (SIM_CPU *current_cpu, void *sem_arg)
18279 #define FLD(f) abuf->fields.sfmt_beq.f
18280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18281 const IDESC * UNUSED idesc = abuf->idesc;
18282 int cycles = 0;
18284 int referenced = 0;
18285 int UNUSED insn_referenced = abuf->written;
18286 INT in_GRi = -1;
18287 INT in_GRj = -1;
18288 INT in_ICCi_2 = -1;
18289 INT in_FCCi_2 = -1;
18290 in_ICCi_2 = FLD (in_ICCi_2);
18291 referenced |= 1 << 2;
18292 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18293 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18295 return cycles;
18296 #undef FLD
18299 static int
18300 model_fr550_bge (SIM_CPU *current_cpu, void *sem_arg)
18302 #define FLD(f) abuf->fields.sfmt_beq.f
18303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18304 const IDESC * UNUSED idesc = abuf->idesc;
18305 int cycles = 0;
18307 int referenced = 0;
18308 int UNUSED insn_referenced = abuf->written;
18309 INT in_GRi = -1;
18310 INT in_GRj = -1;
18311 INT in_ICCi_2 = -1;
18312 INT in_FCCi_2 = -1;
18313 in_ICCi_2 = FLD (in_ICCi_2);
18314 referenced |= 1 << 2;
18315 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18316 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18318 return cycles;
18319 #undef FLD
18322 static int
18323 model_fr550_bls (SIM_CPU *current_cpu, void *sem_arg)
18325 #define FLD(f) abuf->fields.sfmt_beq.f
18326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18327 const IDESC * UNUSED idesc = abuf->idesc;
18328 int cycles = 0;
18330 int referenced = 0;
18331 int UNUSED insn_referenced = abuf->written;
18332 INT in_GRi = -1;
18333 INT in_GRj = -1;
18334 INT in_ICCi_2 = -1;
18335 INT in_FCCi_2 = -1;
18336 in_ICCi_2 = FLD (in_ICCi_2);
18337 referenced |= 1 << 2;
18338 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18339 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18341 return cycles;
18342 #undef FLD
18345 static int
18346 model_fr550_bhi (SIM_CPU *current_cpu, void *sem_arg)
18348 #define FLD(f) abuf->fields.sfmt_beq.f
18349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18350 const IDESC * UNUSED idesc = abuf->idesc;
18351 int cycles = 0;
18353 int referenced = 0;
18354 int UNUSED insn_referenced = abuf->written;
18355 INT in_GRi = -1;
18356 INT in_GRj = -1;
18357 INT in_ICCi_2 = -1;
18358 INT in_FCCi_2 = -1;
18359 in_ICCi_2 = FLD (in_ICCi_2);
18360 referenced |= 1 << 2;
18361 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18362 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18364 return cycles;
18365 #undef FLD
18368 static int
18369 model_fr550_bc (SIM_CPU *current_cpu, void *sem_arg)
18371 #define FLD(f) abuf->fields.sfmt_beq.f
18372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18373 const IDESC * UNUSED idesc = abuf->idesc;
18374 int cycles = 0;
18376 int referenced = 0;
18377 int UNUSED insn_referenced = abuf->written;
18378 INT in_GRi = -1;
18379 INT in_GRj = -1;
18380 INT in_ICCi_2 = -1;
18381 INT in_FCCi_2 = -1;
18382 in_ICCi_2 = FLD (in_ICCi_2);
18383 referenced |= 1 << 2;
18384 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18385 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18387 return cycles;
18388 #undef FLD
18391 static int
18392 model_fr550_bnc (SIM_CPU *current_cpu, void *sem_arg)
18394 #define FLD(f) abuf->fields.sfmt_beq.f
18395 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18396 const IDESC * UNUSED idesc = abuf->idesc;
18397 int cycles = 0;
18399 int referenced = 0;
18400 int UNUSED insn_referenced = abuf->written;
18401 INT in_GRi = -1;
18402 INT in_GRj = -1;
18403 INT in_ICCi_2 = -1;
18404 INT in_FCCi_2 = -1;
18405 in_ICCi_2 = FLD (in_ICCi_2);
18406 referenced |= 1 << 2;
18407 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18408 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18410 return cycles;
18411 #undef FLD
18414 static int
18415 model_fr550_bn (SIM_CPU *current_cpu, void *sem_arg)
18417 #define FLD(f) abuf->fields.sfmt_beq.f
18418 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18419 const IDESC * UNUSED idesc = abuf->idesc;
18420 int cycles = 0;
18422 int referenced = 0;
18423 int UNUSED insn_referenced = abuf->written;
18424 INT in_GRi = -1;
18425 INT in_GRj = -1;
18426 INT in_ICCi_2 = -1;
18427 INT in_FCCi_2 = -1;
18428 in_ICCi_2 = FLD (in_ICCi_2);
18429 referenced |= 1 << 2;
18430 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18431 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18433 return cycles;
18434 #undef FLD
18437 static int
18438 model_fr550_bp (SIM_CPU *current_cpu, void *sem_arg)
18440 #define FLD(f) abuf->fields.sfmt_beq.f
18441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18442 const IDESC * UNUSED idesc = abuf->idesc;
18443 int cycles = 0;
18445 int referenced = 0;
18446 int UNUSED insn_referenced = abuf->written;
18447 INT in_GRi = -1;
18448 INT in_GRj = -1;
18449 INT in_ICCi_2 = -1;
18450 INT in_FCCi_2 = -1;
18451 in_ICCi_2 = FLD (in_ICCi_2);
18452 referenced |= 1 << 2;
18453 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18454 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18456 return cycles;
18457 #undef FLD
18460 static int
18461 model_fr550_bv (SIM_CPU *current_cpu, void *sem_arg)
18463 #define FLD(f) abuf->fields.sfmt_beq.f
18464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18465 const IDESC * UNUSED idesc = abuf->idesc;
18466 int cycles = 0;
18468 int referenced = 0;
18469 int UNUSED insn_referenced = abuf->written;
18470 INT in_GRi = -1;
18471 INT in_GRj = -1;
18472 INT in_ICCi_2 = -1;
18473 INT in_FCCi_2 = -1;
18474 in_ICCi_2 = FLD (in_ICCi_2);
18475 referenced |= 1 << 2;
18476 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18477 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18479 return cycles;
18480 #undef FLD
18483 static int
18484 model_fr550_bnv (SIM_CPU *current_cpu, void *sem_arg)
18486 #define FLD(f) abuf->fields.sfmt_beq.f
18487 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18488 const IDESC * UNUSED idesc = abuf->idesc;
18489 int cycles = 0;
18491 int referenced = 0;
18492 int UNUSED insn_referenced = abuf->written;
18493 INT in_GRi = -1;
18494 INT in_GRj = -1;
18495 INT in_ICCi_2 = -1;
18496 INT in_FCCi_2 = -1;
18497 in_ICCi_2 = FLD (in_ICCi_2);
18498 referenced |= 1 << 2;
18499 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18500 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18502 return cycles;
18503 #undef FLD
18506 static int
18507 model_fr550_fbra (SIM_CPU *current_cpu, void *sem_arg)
18509 #define FLD(f) abuf->fields.sfmt_fbne.f
18510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18511 const IDESC * UNUSED idesc = abuf->idesc;
18512 int cycles = 0;
18514 int referenced = 0;
18515 int UNUSED insn_referenced = abuf->written;
18516 INT in_GRi = -1;
18517 INT in_GRj = -1;
18518 INT in_ICCi_2 = -1;
18519 INT in_FCCi_2 = -1;
18520 referenced |= 1 << 4;
18521 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18523 return cycles;
18524 #undef FLD
18527 static int
18528 model_fr550_fbno (SIM_CPU *current_cpu, void *sem_arg)
18530 #define FLD(f) abuf->fields.sfmt_fbne.f
18531 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18532 const IDESC * UNUSED idesc = abuf->idesc;
18533 int cycles = 0;
18535 int referenced = 0;
18536 int UNUSED insn_referenced = abuf->written;
18537 INT in_GRi = -1;
18538 INT in_GRj = -1;
18539 INT in_ICCi_2 = -1;
18540 INT in_FCCi_2 = -1;
18541 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18543 return cycles;
18544 #undef FLD
18547 static int
18548 model_fr550_fbne (SIM_CPU *current_cpu, void *sem_arg)
18550 #define FLD(f) abuf->fields.sfmt_fbne.f
18551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18552 const IDESC * UNUSED idesc = abuf->idesc;
18553 int cycles = 0;
18555 int referenced = 0;
18556 int UNUSED insn_referenced = abuf->written;
18557 INT in_GRi = -1;
18558 INT in_GRj = -1;
18559 INT in_ICCi_2 = -1;
18560 INT in_FCCi_2 = -1;
18561 in_FCCi_2 = FLD (in_FCCi_2);
18562 referenced |= 1 << 3;
18563 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18564 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18566 return cycles;
18567 #undef FLD
18570 static int
18571 model_fr550_fbeq (SIM_CPU *current_cpu, void *sem_arg)
18573 #define FLD(f) abuf->fields.sfmt_fbne.f
18574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18575 const IDESC * UNUSED idesc = abuf->idesc;
18576 int cycles = 0;
18578 int referenced = 0;
18579 int UNUSED insn_referenced = abuf->written;
18580 INT in_GRi = -1;
18581 INT in_GRj = -1;
18582 INT in_ICCi_2 = -1;
18583 INT in_FCCi_2 = -1;
18584 in_FCCi_2 = FLD (in_FCCi_2);
18585 referenced |= 1 << 3;
18586 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18587 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18589 return cycles;
18590 #undef FLD
18593 static int
18594 model_fr550_fblg (SIM_CPU *current_cpu, void *sem_arg)
18596 #define FLD(f) abuf->fields.sfmt_fbne.f
18597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18598 const IDESC * UNUSED idesc = abuf->idesc;
18599 int cycles = 0;
18601 int referenced = 0;
18602 int UNUSED insn_referenced = abuf->written;
18603 INT in_GRi = -1;
18604 INT in_GRj = -1;
18605 INT in_ICCi_2 = -1;
18606 INT in_FCCi_2 = -1;
18607 in_FCCi_2 = FLD (in_FCCi_2);
18608 referenced |= 1 << 3;
18609 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18610 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18612 return cycles;
18613 #undef FLD
18616 static int
18617 model_fr550_fbue (SIM_CPU *current_cpu, void *sem_arg)
18619 #define FLD(f) abuf->fields.sfmt_fbne.f
18620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18621 const IDESC * UNUSED idesc = abuf->idesc;
18622 int cycles = 0;
18624 int referenced = 0;
18625 int UNUSED insn_referenced = abuf->written;
18626 INT in_GRi = -1;
18627 INT in_GRj = -1;
18628 INT in_ICCi_2 = -1;
18629 INT in_FCCi_2 = -1;
18630 in_FCCi_2 = FLD (in_FCCi_2);
18631 referenced |= 1 << 3;
18632 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18633 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18635 return cycles;
18636 #undef FLD
18639 static int
18640 model_fr550_fbul (SIM_CPU *current_cpu, void *sem_arg)
18642 #define FLD(f) abuf->fields.sfmt_fbne.f
18643 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18644 const IDESC * UNUSED idesc = abuf->idesc;
18645 int cycles = 0;
18647 int referenced = 0;
18648 int UNUSED insn_referenced = abuf->written;
18649 INT in_GRi = -1;
18650 INT in_GRj = -1;
18651 INT in_ICCi_2 = -1;
18652 INT in_FCCi_2 = -1;
18653 in_FCCi_2 = FLD (in_FCCi_2);
18654 referenced |= 1 << 3;
18655 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18656 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18658 return cycles;
18659 #undef FLD
18662 static int
18663 model_fr550_fbge (SIM_CPU *current_cpu, void *sem_arg)
18665 #define FLD(f) abuf->fields.sfmt_fbne.f
18666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18667 const IDESC * UNUSED idesc = abuf->idesc;
18668 int cycles = 0;
18670 int referenced = 0;
18671 int UNUSED insn_referenced = abuf->written;
18672 INT in_GRi = -1;
18673 INT in_GRj = -1;
18674 INT in_ICCi_2 = -1;
18675 INT in_FCCi_2 = -1;
18676 in_FCCi_2 = FLD (in_FCCi_2);
18677 referenced |= 1 << 3;
18678 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18679 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18681 return cycles;
18682 #undef FLD
18685 static int
18686 model_fr550_fblt (SIM_CPU *current_cpu, void *sem_arg)
18688 #define FLD(f) abuf->fields.sfmt_fbne.f
18689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18690 const IDESC * UNUSED idesc = abuf->idesc;
18691 int cycles = 0;
18693 int referenced = 0;
18694 int UNUSED insn_referenced = abuf->written;
18695 INT in_GRi = -1;
18696 INT in_GRj = -1;
18697 INT in_ICCi_2 = -1;
18698 INT in_FCCi_2 = -1;
18699 in_FCCi_2 = FLD (in_FCCi_2);
18700 referenced |= 1 << 3;
18701 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18702 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18704 return cycles;
18705 #undef FLD
18708 static int
18709 model_fr550_fbuge (SIM_CPU *current_cpu, void *sem_arg)
18711 #define FLD(f) abuf->fields.sfmt_fbne.f
18712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18713 const IDESC * UNUSED idesc = abuf->idesc;
18714 int cycles = 0;
18716 int referenced = 0;
18717 int UNUSED insn_referenced = abuf->written;
18718 INT in_GRi = -1;
18719 INT in_GRj = -1;
18720 INT in_ICCi_2 = -1;
18721 INT in_FCCi_2 = -1;
18722 in_FCCi_2 = FLD (in_FCCi_2);
18723 referenced |= 1 << 3;
18724 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18725 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18727 return cycles;
18728 #undef FLD
18731 static int
18732 model_fr550_fbug (SIM_CPU *current_cpu, void *sem_arg)
18734 #define FLD(f) abuf->fields.sfmt_fbne.f
18735 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18736 const IDESC * UNUSED idesc = abuf->idesc;
18737 int cycles = 0;
18739 int referenced = 0;
18740 int UNUSED insn_referenced = abuf->written;
18741 INT in_GRi = -1;
18742 INT in_GRj = -1;
18743 INT in_ICCi_2 = -1;
18744 INT in_FCCi_2 = -1;
18745 in_FCCi_2 = FLD (in_FCCi_2);
18746 referenced |= 1 << 3;
18747 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18748 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18750 return cycles;
18751 #undef FLD
18754 static int
18755 model_fr550_fble (SIM_CPU *current_cpu, void *sem_arg)
18757 #define FLD(f) abuf->fields.sfmt_fbne.f
18758 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18759 const IDESC * UNUSED idesc = abuf->idesc;
18760 int cycles = 0;
18762 int referenced = 0;
18763 int UNUSED insn_referenced = abuf->written;
18764 INT in_GRi = -1;
18765 INT in_GRj = -1;
18766 INT in_ICCi_2 = -1;
18767 INT in_FCCi_2 = -1;
18768 in_FCCi_2 = FLD (in_FCCi_2);
18769 referenced |= 1 << 3;
18770 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18771 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18773 return cycles;
18774 #undef FLD
18777 static int
18778 model_fr550_fbgt (SIM_CPU *current_cpu, void *sem_arg)
18780 #define FLD(f) abuf->fields.sfmt_fbne.f
18781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18782 const IDESC * UNUSED idesc = abuf->idesc;
18783 int cycles = 0;
18785 int referenced = 0;
18786 int UNUSED insn_referenced = abuf->written;
18787 INT in_GRi = -1;
18788 INT in_GRj = -1;
18789 INT in_ICCi_2 = -1;
18790 INT in_FCCi_2 = -1;
18791 in_FCCi_2 = FLD (in_FCCi_2);
18792 referenced |= 1 << 3;
18793 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18794 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18796 return cycles;
18797 #undef FLD
18800 static int
18801 model_fr550_fbule (SIM_CPU *current_cpu, void *sem_arg)
18803 #define FLD(f) abuf->fields.sfmt_fbne.f
18804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18805 const IDESC * UNUSED idesc = abuf->idesc;
18806 int cycles = 0;
18808 int referenced = 0;
18809 int UNUSED insn_referenced = abuf->written;
18810 INT in_GRi = -1;
18811 INT in_GRj = -1;
18812 INT in_ICCi_2 = -1;
18813 INT in_FCCi_2 = -1;
18814 in_FCCi_2 = FLD (in_FCCi_2);
18815 referenced |= 1 << 3;
18816 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18817 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18819 return cycles;
18820 #undef FLD
18823 static int
18824 model_fr550_fbu (SIM_CPU *current_cpu, void *sem_arg)
18826 #define FLD(f) abuf->fields.sfmt_fbne.f
18827 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18828 const IDESC * UNUSED idesc = abuf->idesc;
18829 int cycles = 0;
18831 int referenced = 0;
18832 int UNUSED insn_referenced = abuf->written;
18833 INT in_GRi = -1;
18834 INT in_GRj = -1;
18835 INT in_ICCi_2 = -1;
18836 INT in_FCCi_2 = -1;
18837 in_FCCi_2 = FLD (in_FCCi_2);
18838 referenced |= 1 << 3;
18839 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18840 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18842 return cycles;
18843 #undef FLD
18846 static int
18847 model_fr550_fbo (SIM_CPU *current_cpu, void *sem_arg)
18849 #define FLD(f) abuf->fields.sfmt_fbne.f
18850 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18851 const IDESC * UNUSED idesc = abuf->idesc;
18852 int cycles = 0;
18854 int referenced = 0;
18855 int UNUSED insn_referenced = abuf->written;
18856 INT in_GRi = -1;
18857 INT in_GRj = -1;
18858 INT in_ICCi_2 = -1;
18859 INT in_FCCi_2 = -1;
18860 in_FCCi_2 = FLD (in_FCCi_2);
18861 referenced |= 1 << 3;
18862 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18863 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18865 return cycles;
18866 #undef FLD
18869 static int
18870 model_fr550_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
18872 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
18873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18874 const IDESC * UNUSED idesc = abuf->idesc;
18875 int cycles = 0;
18877 int referenced = 0;
18878 int UNUSED insn_referenced = abuf->written;
18879 INT in_GRi = -1;
18880 INT in_GRj = -1;
18881 INT in_ICCi_2 = -1;
18882 INT in_FCCi_2 = -1;
18883 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
18884 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18886 return cycles;
18887 #undef FLD
18890 static int
18891 model_fr550_bralr (SIM_CPU *current_cpu, void *sem_arg)
18893 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
18894 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18895 const IDESC * UNUSED idesc = abuf->idesc;
18896 int cycles = 0;
18898 int referenced = 0;
18899 int UNUSED insn_referenced = abuf->written;
18900 INT in_GRi = -1;
18901 INT in_GRj = -1;
18902 INT in_ICCi_2 = -1;
18903 INT in_FCCi_2 = -1;
18904 referenced |= 1 << 4;
18905 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18907 return cycles;
18908 #undef FLD
18911 static int
18912 model_fr550_bnolr (SIM_CPU *current_cpu, void *sem_arg)
18914 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
18915 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18916 const IDESC * UNUSED idesc = abuf->idesc;
18917 int cycles = 0;
18919 int referenced = 0;
18920 int UNUSED insn_referenced = abuf->written;
18921 INT in_GRi = -1;
18922 INT in_GRj = -1;
18923 INT in_ICCi_2 = -1;
18924 INT in_FCCi_2 = -1;
18925 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18927 return cycles;
18928 #undef FLD
18931 static int
18932 model_fr550_beqlr (SIM_CPU *current_cpu, void *sem_arg)
18934 #define FLD(f) abuf->fields.sfmt_bceqlr.f
18935 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18936 const IDESC * UNUSED idesc = abuf->idesc;
18937 int cycles = 0;
18939 int referenced = 0;
18940 int UNUSED insn_referenced = abuf->written;
18941 INT in_GRi = -1;
18942 INT in_GRj = -1;
18943 INT in_ICCi_2 = -1;
18944 INT in_FCCi_2 = -1;
18945 in_ICCi_2 = FLD (in_ICCi_2);
18946 referenced |= 1 << 2;
18947 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18948 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18950 return cycles;
18951 #undef FLD
18954 static int
18955 model_fr550_bnelr (SIM_CPU *current_cpu, void *sem_arg)
18957 #define FLD(f) abuf->fields.sfmt_bceqlr.f
18958 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18959 const IDESC * UNUSED idesc = abuf->idesc;
18960 int cycles = 0;
18962 int referenced = 0;
18963 int UNUSED insn_referenced = abuf->written;
18964 INT in_GRi = -1;
18965 INT in_GRj = -1;
18966 INT in_ICCi_2 = -1;
18967 INT in_FCCi_2 = -1;
18968 in_ICCi_2 = FLD (in_ICCi_2);
18969 referenced |= 1 << 2;
18970 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18971 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18973 return cycles;
18974 #undef FLD
18977 static int
18978 model_fr550_blelr (SIM_CPU *current_cpu, void *sem_arg)
18980 #define FLD(f) abuf->fields.sfmt_bceqlr.f
18981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18982 const IDESC * UNUSED idesc = abuf->idesc;
18983 int cycles = 0;
18985 int referenced = 0;
18986 int UNUSED insn_referenced = abuf->written;
18987 INT in_GRi = -1;
18988 INT in_GRj = -1;
18989 INT in_ICCi_2 = -1;
18990 INT in_FCCi_2 = -1;
18991 in_ICCi_2 = FLD (in_ICCi_2);
18992 referenced |= 1 << 2;
18993 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18994 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18996 return cycles;
18997 #undef FLD
19000 static int
19001 model_fr550_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
19003 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19005 const IDESC * UNUSED idesc = abuf->idesc;
19006 int cycles = 0;
19008 int referenced = 0;
19009 int UNUSED insn_referenced = abuf->written;
19010 INT in_GRi = -1;
19011 INT in_GRj = -1;
19012 INT in_ICCi_2 = -1;
19013 INT in_FCCi_2 = -1;
19014 in_ICCi_2 = FLD (in_ICCi_2);
19015 referenced |= 1 << 2;
19016 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19017 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19019 return cycles;
19020 #undef FLD
19023 static int
19024 model_fr550_bltlr (SIM_CPU *current_cpu, void *sem_arg)
19026 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19027 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19028 const IDESC * UNUSED idesc = abuf->idesc;
19029 int cycles = 0;
19031 int referenced = 0;
19032 int UNUSED insn_referenced = abuf->written;
19033 INT in_GRi = -1;
19034 INT in_GRj = -1;
19035 INT in_ICCi_2 = -1;
19036 INT in_FCCi_2 = -1;
19037 in_ICCi_2 = FLD (in_ICCi_2);
19038 referenced |= 1 << 2;
19039 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19040 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19042 return cycles;
19043 #undef FLD
19046 static int
19047 model_fr550_bgelr (SIM_CPU *current_cpu, void *sem_arg)
19049 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19051 const IDESC * UNUSED idesc = abuf->idesc;
19052 int cycles = 0;
19054 int referenced = 0;
19055 int UNUSED insn_referenced = abuf->written;
19056 INT in_GRi = -1;
19057 INT in_GRj = -1;
19058 INT in_ICCi_2 = -1;
19059 INT in_FCCi_2 = -1;
19060 in_ICCi_2 = FLD (in_ICCi_2);
19061 referenced |= 1 << 2;
19062 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19063 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19065 return cycles;
19066 #undef FLD
19069 static int
19070 model_fr550_blslr (SIM_CPU *current_cpu, void *sem_arg)
19072 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19074 const IDESC * UNUSED idesc = abuf->idesc;
19075 int cycles = 0;
19077 int referenced = 0;
19078 int UNUSED insn_referenced = abuf->written;
19079 INT in_GRi = -1;
19080 INT in_GRj = -1;
19081 INT in_ICCi_2 = -1;
19082 INT in_FCCi_2 = -1;
19083 in_ICCi_2 = FLD (in_ICCi_2);
19084 referenced |= 1 << 2;
19085 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19086 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19088 return cycles;
19089 #undef FLD
19092 static int
19093 model_fr550_bhilr (SIM_CPU *current_cpu, void *sem_arg)
19095 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19097 const IDESC * UNUSED idesc = abuf->idesc;
19098 int cycles = 0;
19100 int referenced = 0;
19101 int UNUSED insn_referenced = abuf->written;
19102 INT in_GRi = -1;
19103 INT in_GRj = -1;
19104 INT in_ICCi_2 = -1;
19105 INT in_FCCi_2 = -1;
19106 in_ICCi_2 = FLD (in_ICCi_2);
19107 referenced |= 1 << 2;
19108 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19109 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19111 return cycles;
19112 #undef FLD
19115 static int
19116 model_fr550_bclr (SIM_CPU *current_cpu, void *sem_arg)
19118 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19119 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19120 const IDESC * UNUSED idesc = abuf->idesc;
19121 int cycles = 0;
19123 int referenced = 0;
19124 int UNUSED insn_referenced = abuf->written;
19125 INT in_GRi = -1;
19126 INT in_GRj = -1;
19127 INT in_ICCi_2 = -1;
19128 INT in_FCCi_2 = -1;
19129 in_ICCi_2 = FLD (in_ICCi_2);
19130 referenced |= 1 << 2;
19131 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19132 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19134 return cycles;
19135 #undef FLD
19138 static int
19139 model_fr550_bnclr (SIM_CPU *current_cpu, void *sem_arg)
19141 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19143 const IDESC * UNUSED idesc = abuf->idesc;
19144 int cycles = 0;
19146 int referenced = 0;
19147 int UNUSED insn_referenced = abuf->written;
19148 INT in_GRi = -1;
19149 INT in_GRj = -1;
19150 INT in_ICCi_2 = -1;
19151 INT in_FCCi_2 = -1;
19152 in_ICCi_2 = FLD (in_ICCi_2);
19153 referenced |= 1 << 2;
19154 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19155 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19157 return cycles;
19158 #undef FLD
19161 static int
19162 model_fr550_bnlr (SIM_CPU *current_cpu, void *sem_arg)
19164 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19166 const IDESC * UNUSED idesc = abuf->idesc;
19167 int cycles = 0;
19169 int referenced = 0;
19170 int UNUSED insn_referenced = abuf->written;
19171 INT in_GRi = -1;
19172 INT in_GRj = -1;
19173 INT in_ICCi_2 = -1;
19174 INT in_FCCi_2 = -1;
19175 in_ICCi_2 = FLD (in_ICCi_2);
19176 referenced |= 1 << 2;
19177 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19178 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19180 return cycles;
19181 #undef FLD
19184 static int
19185 model_fr550_bplr (SIM_CPU *current_cpu, void *sem_arg)
19187 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19189 const IDESC * UNUSED idesc = abuf->idesc;
19190 int cycles = 0;
19192 int referenced = 0;
19193 int UNUSED insn_referenced = abuf->written;
19194 INT in_GRi = -1;
19195 INT in_GRj = -1;
19196 INT in_ICCi_2 = -1;
19197 INT in_FCCi_2 = -1;
19198 in_ICCi_2 = FLD (in_ICCi_2);
19199 referenced |= 1 << 2;
19200 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19201 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19203 return cycles;
19204 #undef FLD
19207 static int
19208 model_fr550_bvlr (SIM_CPU *current_cpu, void *sem_arg)
19210 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19212 const IDESC * UNUSED idesc = abuf->idesc;
19213 int cycles = 0;
19215 int referenced = 0;
19216 int UNUSED insn_referenced = abuf->written;
19217 INT in_GRi = -1;
19218 INT in_GRj = -1;
19219 INT in_ICCi_2 = -1;
19220 INT in_FCCi_2 = -1;
19221 in_ICCi_2 = FLD (in_ICCi_2);
19222 referenced |= 1 << 2;
19223 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19224 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19226 return cycles;
19227 #undef FLD
19230 static int
19231 model_fr550_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
19233 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19234 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19235 const IDESC * UNUSED idesc = abuf->idesc;
19236 int cycles = 0;
19238 int referenced = 0;
19239 int UNUSED insn_referenced = abuf->written;
19240 INT in_GRi = -1;
19241 INT in_GRj = -1;
19242 INT in_ICCi_2 = -1;
19243 INT in_FCCi_2 = -1;
19244 in_ICCi_2 = FLD (in_ICCi_2);
19245 referenced |= 1 << 2;
19246 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19247 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19249 return cycles;
19250 #undef FLD
19253 static int
19254 model_fr550_fbralr (SIM_CPU *current_cpu, void *sem_arg)
19256 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19258 const IDESC * UNUSED idesc = abuf->idesc;
19259 int cycles = 0;
19261 int referenced = 0;
19262 int UNUSED insn_referenced = abuf->written;
19263 INT in_GRi = -1;
19264 INT in_GRj = -1;
19265 INT in_ICCi_2 = -1;
19266 INT in_FCCi_2 = -1;
19267 referenced |= 1 << 4;
19268 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19270 return cycles;
19271 #undef FLD
19274 static int
19275 model_fr550_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
19277 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19279 const IDESC * UNUSED idesc = abuf->idesc;
19280 int cycles = 0;
19282 int referenced = 0;
19283 int UNUSED insn_referenced = abuf->written;
19284 INT in_GRi = -1;
19285 INT in_GRj = -1;
19286 INT in_ICCi_2 = -1;
19287 INT in_FCCi_2 = -1;
19288 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19290 return cycles;
19291 #undef FLD
19294 static int
19295 model_fr550_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
19297 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19298 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19299 const IDESC * UNUSED idesc = abuf->idesc;
19300 int cycles = 0;
19302 int referenced = 0;
19303 int UNUSED insn_referenced = abuf->written;
19304 INT in_GRi = -1;
19305 INT in_GRj = -1;
19306 INT in_ICCi_2 = -1;
19307 INT in_FCCi_2 = -1;
19308 in_FCCi_2 = FLD (in_FCCi_2);
19309 referenced |= 1 << 3;
19310 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19311 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19313 return cycles;
19314 #undef FLD
19317 static int
19318 model_fr550_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
19320 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19322 const IDESC * UNUSED idesc = abuf->idesc;
19323 int cycles = 0;
19325 int referenced = 0;
19326 int UNUSED insn_referenced = abuf->written;
19327 INT in_GRi = -1;
19328 INT in_GRj = -1;
19329 INT in_ICCi_2 = -1;
19330 INT in_FCCi_2 = -1;
19331 in_FCCi_2 = FLD (in_FCCi_2);
19332 referenced |= 1 << 3;
19333 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19334 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19336 return cycles;
19337 #undef FLD
19340 static int
19341 model_fr550_fblglr (SIM_CPU *current_cpu, void *sem_arg)
19343 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19345 const IDESC * UNUSED idesc = abuf->idesc;
19346 int cycles = 0;
19348 int referenced = 0;
19349 int UNUSED insn_referenced = abuf->written;
19350 INT in_GRi = -1;
19351 INT in_GRj = -1;
19352 INT in_ICCi_2 = -1;
19353 INT in_FCCi_2 = -1;
19354 in_FCCi_2 = FLD (in_FCCi_2);
19355 referenced |= 1 << 3;
19356 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19357 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19359 return cycles;
19360 #undef FLD
19363 static int
19364 model_fr550_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
19366 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19367 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19368 const IDESC * UNUSED idesc = abuf->idesc;
19369 int cycles = 0;
19371 int referenced = 0;
19372 int UNUSED insn_referenced = abuf->written;
19373 INT in_GRi = -1;
19374 INT in_GRj = -1;
19375 INT in_ICCi_2 = -1;
19376 INT in_FCCi_2 = -1;
19377 in_FCCi_2 = FLD (in_FCCi_2);
19378 referenced |= 1 << 3;
19379 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19380 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19382 return cycles;
19383 #undef FLD
19386 static int
19387 model_fr550_fbullr (SIM_CPU *current_cpu, void *sem_arg)
19389 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19391 const IDESC * UNUSED idesc = abuf->idesc;
19392 int cycles = 0;
19394 int referenced = 0;
19395 int UNUSED insn_referenced = abuf->written;
19396 INT in_GRi = -1;
19397 INT in_GRj = -1;
19398 INT in_ICCi_2 = -1;
19399 INT in_FCCi_2 = -1;
19400 in_FCCi_2 = FLD (in_FCCi_2);
19401 referenced |= 1 << 3;
19402 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19403 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19405 return cycles;
19406 #undef FLD
19409 static int
19410 model_fr550_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
19412 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19414 const IDESC * UNUSED idesc = abuf->idesc;
19415 int cycles = 0;
19417 int referenced = 0;
19418 int UNUSED insn_referenced = abuf->written;
19419 INT in_GRi = -1;
19420 INT in_GRj = -1;
19421 INT in_ICCi_2 = -1;
19422 INT in_FCCi_2 = -1;
19423 in_FCCi_2 = FLD (in_FCCi_2);
19424 referenced |= 1 << 3;
19425 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19426 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19428 return cycles;
19429 #undef FLD
19432 static int
19433 model_fr550_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
19435 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19437 const IDESC * UNUSED idesc = abuf->idesc;
19438 int cycles = 0;
19440 int referenced = 0;
19441 int UNUSED insn_referenced = abuf->written;
19442 INT in_GRi = -1;
19443 INT in_GRj = -1;
19444 INT in_ICCi_2 = -1;
19445 INT in_FCCi_2 = -1;
19446 in_FCCi_2 = FLD (in_FCCi_2);
19447 referenced |= 1 << 3;
19448 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19449 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19451 return cycles;
19452 #undef FLD
19455 static int
19456 model_fr550_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
19458 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19459 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19460 const IDESC * UNUSED idesc = abuf->idesc;
19461 int cycles = 0;
19463 int referenced = 0;
19464 int UNUSED insn_referenced = abuf->written;
19465 INT in_GRi = -1;
19466 INT in_GRj = -1;
19467 INT in_ICCi_2 = -1;
19468 INT in_FCCi_2 = -1;
19469 in_FCCi_2 = FLD (in_FCCi_2);
19470 referenced |= 1 << 3;
19471 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19472 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19474 return cycles;
19475 #undef FLD
19478 static int
19479 model_fr550_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
19481 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19482 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19483 const IDESC * UNUSED idesc = abuf->idesc;
19484 int cycles = 0;
19486 int referenced = 0;
19487 int UNUSED insn_referenced = abuf->written;
19488 INT in_GRi = -1;
19489 INT in_GRj = -1;
19490 INT in_ICCi_2 = -1;
19491 INT in_FCCi_2 = -1;
19492 in_FCCi_2 = FLD (in_FCCi_2);
19493 referenced |= 1 << 3;
19494 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19495 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19497 return cycles;
19498 #undef FLD
19501 static int
19502 model_fr550_fblelr (SIM_CPU *current_cpu, void *sem_arg)
19504 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19506 const IDESC * UNUSED idesc = abuf->idesc;
19507 int cycles = 0;
19509 int referenced = 0;
19510 int UNUSED insn_referenced = abuf->written;
19511 INT in_GRi = -1;
19512 INT in_GRj = -1;
19513 INT in_ICCi_2 = -1;
19514 INT in_FCCi_2 = -1;
19515 in_FCCi_2 = FLD (in_FCCi_2);
19516 referenced |= 1 << 3;
19517 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19518 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19520 return cycles;
19521 #undef FLD
19524 static int
19525 model_fr550_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
19527 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19529 const IDESC * UNUSED idesc = abuf->idesc;
19530 int cycles = 0;
19532 int referenced = 0;
19533 int UNUSED insn_referenced = abuf->written;
19534 INT in_GRi = -1;
19535 INT in_GRj = -1;
19536 INT in_ICCi_2 = -1;
19537 INT in_FCCi_2 = -1;
19538 in_FCCi_2 = FLD (in_FCCi_2);
19539 referenced |= 1 << 3;
19540 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19541 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19543 return cycles;
19544 #undef FLD
19547 static int
19548 model_fr550_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
19550 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19552 const IDESC * UNUSED idesc = abuf->idesc;
19553 int cycles = 0;
19555 int referenced = 0;
19556 int UNUSED insn_referenced = abuf->written;
19557 INT in_GRi = -1;
19558 INT in_GRj = -1;
19559 INT in_ICCi_2 = -1;
19560 INT in_FCCi_2 = -1;
19561 in_FCCi_2 = FLD (in_FCCi_2);
19562 referenced |= 1 << 3;
19563 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19564 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19566 return cycles;
19567 #undef FLD
19570 static int
19571 model_fr550_fbulr (SIM_CPU *current_cpu, void *sem_arg)
19573 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19575 const IDESC * UNUSED idesc = abuf->idesc;
19576 int cycles = 0;
19578 int referenced = 0;
19579 int UNUSED insn_referenced = abuf->written;
19580 INT in_GRi = -1;
19581 INT in_GRj = -1;
19582 INT in_ICCi_2 = -1;
19583 INT in_FCCi_2 = -1;
19584 in_FCCi_2 = FLD (in_FCCi_2);
19585 referenced |= 1 << 3;
19586 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19587 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19589 return cycles;
19590 #undef FLD
19593 static int
19594 model_fr550_fbolr (SIM_CPU *current_cpu, void *sem_arg)
19596 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19598 const IDESC * UNUSED idesc = abuf->idesc;
19599 int cycles = 0;
19601 int referenced = 0;
19602 int UNUSED insn_referenced = abuf->written;
19603 INT in_GRi = -1;
19604 INT in_GRj = -1;
19605 INT in_ICCi_2 = -1;
19606 INT in_FCCi_2 = -1;
19607 in_FCCi_2 = FLD (in_FCCi_2);
19608 referenced |= 1 << 3;
19609 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19610 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19612 return cycles;
19613 #undef FLD
19616 static int
19617 model_fr550_bcralr (SIM_CPU *current_cpu, void *sem_arg)
19619 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19621 const IDESC * UNUSED idesc = abuf->idesc;
19622 int cycles = 0;
19624 int referenced = 0;
19625 int UNUSED insn_referenced = abuf->written;
19626 INT in_GRi = -1;
19627 INT in_GRj = -1;
19628 INT in_ICCi_2 = -1;
19629 INT in_FCCi_2 = -1;
19630 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
19631 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19633 return cycles;
19634 #undef FLD
19637 static int
19638 model_fr550_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
19640 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19642 const IDESC * UNUSED idesc = abuf->idesc;
19643 int cycles = 0;
19645 int referenced = 0;
19646 int UNUSED insn_referenced = abuf->written;
19647 INT in_GRi = -1;
19648 INT in_GRj = -1;
19649 INT in_ICCi_2 = -1;
19650 INT in_FCCi_2 = -1;
19651 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19653 return cycles;
19654 #undef FLD
19657 static int
19658 model_fr550_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
19660 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19662 const IDESC * UNUSED idesc = abuf->idesc;
19663 int cycles = 0;
19665 int referenced = 0;
19666 int UNUSED insn_referenced = abuf->written;
19667 INT in_GRi = -1;
19668 INT in_GRj = -1;
19669 INT in_ICCi_2 = -1;
19670 INT in_FCCi_2 = -1;
19671 in_ICCi_2 = FLD (in_ICCi_2);
19672 referenced |= 1 << 2;
19673 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19674 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19676 return cycles;
19677 #undef FLD
19680 static int
19681 model_fr550_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
19683 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19685 const IDESC * UNUSED idesc = abuf->idesc;
19686 int cycles = 0;
19688 int referenced = 0;
19689 int UNUSED insn_referenced = abuf->written;
19690 INT in_GRi = -1;
19691 INT in_GRj = -1;
19692 INT in_ICCi_2 = -1;
19693 INT in_FCCi_2 = -1;
19694 in_ICCi_2 = FLD (in_ICCi_2);
19695 referenced |= 1 << 2;
19696 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19697 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19699 return cycles;
19700 #undef FLD
19703 static int
19704 model_fr550_bclelr (SIM_CPU *current_cpu, void *sem_arg)
19706 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19708 const IDESC * UNUSED idesc = abuf->idesc;
19709 int cycles = 0;
19711 int referenced = 0;
19712 int UNUSED insn_referenced = abuf->written;
19713 INT in_GRi = -1;
19714 INT in_GRj = -1;
19715 INT in_ICCi_2 = -1;
19716 INT in_FCCi_2 = -1;
19717 in_ICCi_2 = FLD (in_ICCi_2);
19718 referenced |= 1 << 2;
19719 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19720 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19722 return cycles;
19723 #undef FLD
19726 static int
19727 model_fr550_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
19729 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19730 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19731 const IDESC * UNUSED idesc = abuf->idesc;
19732 int cycles = 0;
19734 int referenced = 0;
19735 int UNUSED insn_referenced = abuf->written;
19736 INT in_GRi = -1;
19737 INT in_GRj = -1;
19738 INT in_ICCi_2 = -1;
19739 INT in_FCCi_2 = -1;
19740 in_ICCi_2 = FLD (in_ICCi_2);
19741 referenced |= 1 << 2;
19742 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19743 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19745 return cycles;
19746 #undef FLD
19749 static int
19750 model_fr550_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
19752 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19754 const IDESC * UNUSED idesc = abuf->idesc;
19755 int cycles = 0;
19757 int referenced = 0;
19758 int UNUSED insn_referenced = abuf->written;
19759 INT in_GRi = -1;
19760 INT in_GRj = -1;
19761 INT in_ICCi_2 = -1;
19762 INT in_FCCi_2 = -1;
19763 in_ICCi_2 = FLD (in_ICCi_2);
19764 referenced |= 1 << 2;
19765 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19766 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19768 return cycles;
19769 #undef FLD
19772 static int
19773 model_fr550_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
19775 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19777 const IDESC * UNUSED idesc = abuf->idesc;
19778 int cycles = 0;
19780 int referenced = 0;
19781 int UNUSED insn_referenced = abuf->written;
19782 INT in_GRi = -1;
19783 INT in_GRj = -1;
19784 INT in_ICCi_2 = -1;
19785 INT in_FCCi_2 = -1;
19786 in_ICCi_2 = FLD (in_ICCi_2);
19787 referenced |= 1 << 2;
19788 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19789 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19791 return cycles;
19792 #undef FLD
19795 static int
19796 model_fr550_bclslr (SIM_CPU *current_cpu, void *sem_arg)
19798 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19800 const IDESC * UNUSED idesc = abuf->idesc;
19801 int cycles = 0;
19803 int referenced = 0;
19804 int UNUSED insn_referenced = abuf->written;
19805 INT in_GRi = -1;
19806 INT in_GRj = -1;
19807 INT in_ICCi_2 = -1;
19808 INT in_FCCi_2 = -1;
19809 in_ICCi_2 = FLD (in_ICCi_2);
19810 referenced |= 1 << 2;
19811 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19812 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19814 return cycles;
19815 #undef FLD
19818 static int
19819 model_fr550_bchilr (SIM_CPU *current_cpu, void *sem_arg)
19821 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19822 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19823 const IDESC * UNUSED idesc = abuf->idesc;
19824 int cycles = 0;
19826 int referenced = 0;
19827 int UNUSED insn_referenced = abuf->written;
19828 INT in_GRi = -1;
19829 INT in_GRj = -1;
19830 INT in_ICCi_2 = -1;
19831 INT in_FCCi_2 = -1;
19832 in_ICCi_2 = FLD (in_ICCi_2);
19833 referenced |= 1 << 2;
19834 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19835 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19837 return cycles;
19838 #undef FLD
19841 static int
19842 model_fr550_bcclr (SIM_CPU *current_cpu, void *sem_arg)
19844 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19846 const IDESC * UNUSED idesc = abuf->idesc;
19847 int cycles = 0;
19849 int referenced = 0;
19850 int UNUSED insn_referenced = abuf->written;
19851 INT in_GRi = -1;
19852 INT in_GRj = -1;
19853 INT in_ICCi_2 = -1;
19854 INT in_FCCi_2 = -1;
19855 in_ICCi_2 = FLD (in_ICCi_2);
19856 referenced |= 1 << 2;
19857 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19858 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19860 return cycles;
19861 #undef FLD
19864 static int
19865 model_fr550_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
19867 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19869 const IDESC * UNUSED idesc = abuf->idesc;
19870 int cycles = 0;
19872 int referenced = 0;
19873 int UNUSED insn_referenced = abuf->written;
19874 INT in_GRi = -1;
19875 INT in_GRj = -1;
19876 INT in_ICCi_2 = -1;
19877 INT in_FCCi_2 = -1;
19878 in_ICCi_2 = FLD (in_ICCi_2);
19879 referenced |= 1 << 2;
19880 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19881 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19883 return cycles;
19884 #undef FLD
19887 static int
19888 model_fr550_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
19890 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19891 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19892 const IDESC * UNUSED idesc = abuf->idesc;
19893 int cycles = 0;
19895 int referenced = 0;
19896 int UNUSED insn_referenced = abuf->written;
19897 INT in_GRi = -1;
19898 INT in_GRj = -1;
19899 INT in_ICCi_2 = -1;
19900 INT in_FCCi_2 = -1;
19901 in_ICCi_2 = FLD (in_ICCi_2);
19902 referenced |= 1 << 2;
19903 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19904 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19906 return cycles;
19907 #undef FLD
19910 static int
19911 model_fr550_bcplr (SIM_CPU *current_cpu, void *sem_arg)
19913 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19914 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19915 const IDESC * UNUSED idesc = abuf->idesc;
19916 int cycles = 0;
19918 int referenced = 0;
19919 int UNUSED insn_referenced = abuf->written;
19920 INT in_GRi = -1;
19921 INT in_GRj = -1;
19922 INT in_ICCi_2 = -1;
19923 INT in_FCCi_2 = -1;
19924 in_ICCi_2 = FLD (in_ICCi_2);
19925 referenced |= 1 << 2;
19926 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19927 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19929 return cycles;
19930 #undef FLD
19933 static int
19934 model_fr550_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
19936 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19938 const IDESC * UNUSED idesc = abuf->idesc;
19939 int cycles = 0;
19941 int referenced = 0;
19942 int UNUSED insn_referenced = abuf->written;
19943 INT in_GRi = -1;
19944 INT in_GRj = -1;
19945 INT in_ICCi_2 = -1;
19946 INT in_FCCi_2 = -1;
19947 in_ICCi_2 = FLD (in_ICCi_2);
19948 referenced |= 1 << 2;
19949 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19950 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19952 return cycles;
19953 #undef FLD
19956 static int
19957 model_fr550_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
19959 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19961 const IDESC * UNUSED idesc = abuf->idesc;
19962 int cycles = 0;
19964 int referenced = 0;
19965 int UNUSED insn_referenced = abuf->written;
19966 INT in_GRi = -1;
19967 INT in_GRj = -1;
19968 INT in_ICCi_2 = -1;
19969 INT in_FCCi_2 = -1;
19970 in_ICCi_2 = FLD (in_ICCi_2);
19971 referenced |= 1 << 2;
19972 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19973 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19975 return cycles;
19976 #undef FLD
19979 static int
19980 model_fr550_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
19982 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19984 const IDESC * UNUSED idesc = abuf->idesc;
19985 int cycles = 0;
19987 int referenced = 0;
19988 int UNUSED insn_referenced = abuf->written;
19989 INT in_GRi = -1;
19990 INT in_GRj = -1;
19991 INT in_ICCi_2 = -1;
19992 INT in_FCCi_2 = -1;
19993 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
19994 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19996 return cycles;
19997 #undef FLD
20000 static int
20001 model_fr550_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
20003 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20005 const IDESC * UNUSED idesc = abuf->idesc;
20006 int cycles = 0;
20008 int referenced = 0;
20009 int UNUSED insn_referenced = abuf->written;
20010 INT in_GRi = -1;
20011 INT in_GRj = -1;
20012 INT in_ICCi_2 = -1;
20013 INT in_FCCi_2 = -1;
20014 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20016 return cycles;
20017 #undef FLD
20020 static int
20021 model_fr550_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
20023 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20025 const IDESC * UNUSED idesc = abuf->idesc;
20026 int cycles = 0;
20028 int referenced = 0;
20029 int UNUSED insn_referenced = abuf->written;
20030 INT in_GRi = -1;
20031 INT in_GRj = -1;
20032 INT in_ICCi_2 = -1;
20033 INT in_FCCi_2 = -1;
20034 in_FCCi_2 = FLD (in_FCCi_2);
20035 referenced |= 1 << 3;
20036 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20037 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20039 return cycles;
20040 #undef FLD
20043 static int
20044 model_fr550_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
20046 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20048 const IDESC * UNUSED idesc = abuf->idesc;
20049 int cycles = 0;
20051 int referenced = 0;
20052 int UNUSED insn_referenced = abuf->written;
20053 INT in_GRi = -1;
20054 INT in_GRj = -1;
20055 INT in_ICCi_2 = -1;
20056 INT in_FCCi_2 = -1;
20057 in_FCCi_2 = FLD (in_FCCi_2);
20058 referenced |= 1 << 3;
20059 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20060 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20062 return cycles;
20063 #undef FLD
20066 static int
20067 model_fr550_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
20069 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20070 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20071 const IDESC * UNUSED idesc = abuf->idesc;
20072 int cycles = 0;
20074 int referenced = 0;
20075 int UNUSED insn_referenced = abuf->written;
20076 INT in_GRi = -1;
20077 INT in_GRj = -1;
20078 INT in_ICCi_2 = -1;
20079 INT in_FCCi_2 = -1;
20080 in_FCCi_2 = FLD (in_FCCi_2);
20081 referenced |= 1 << 3;
20082 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20083 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20085 return cycles;
20086 #undef FLD
20089 static int
20090 model_fr550_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
20092 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20094 const IDESC * UNUSED idesc = abuf->idesc;
20095 int cycles = 0;
20097 int referenced = 0;
20098 int UNUSED insn_referenced = abuf->written;
20099 INT in_GRi = -1;
20100 INT in_GRj = -1;
20101 INT in_ICCi_2 = -1;
20102 INT in_FCCi_2 = -1;
20103 in_FCCi_2 = FLD (in_FCCi_2);
20104 referenced |= 1 << 3;
20105 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20106 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20108 return cycles;
20109 #undef FLD
20112 static int
20113 model_fr550_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
20115 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20117 const IDESC * UNUSED idesc = abuf->idesc;
20118 int cycles = 0;
20120 int referenced = 0;
20121 int UNUSED insn_referenced = abuf->written;
20122 INT in_GRi = -1;
20123 INT in_GRj = -1;
20124 INT in_ICCi_2 = -1;
20125 INT in_FCCi_2 = -1;
20126 in_FCCi_2 = FLD (in_FCCi_2);
20127 referenced |= 1 << 3;
20128 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20129 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20131 return cycles;
20132 #undef FLD
20135 static int
20136 model_fr550_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
20138 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20139 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20140 const IDESC * UNUSED idesc = abuf->idesc;
20141 int cycles = 0;
20143 int referenced = 0;
20144 int UNUSED insn_referenced = abuf->written;
20145 INT in_GRi = -1;
20146 INT in_GRj = -1;
20147 INT in_ICCi_2 = -1;
20148 INT in_FCCi_2 = -1;
20149 in_FCCi_2 = FLD (in_FCCi_2);
20150 referenced |= 1 << 3;
20151 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20152 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20154 return cycles;
20155 #undef FLD
20158 static int
20159 model_fr550_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
20161 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20162 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20163 const IDESC * UNUSED idesc = abuf->idesc;
20164 int cycles = 0;
20166 int referenced = 0;
20167 int UNUSED insn_referenced = abuf->written;
20168 INT in_GRi = -1;
20169 INT in_GRj = -1;
20170 INT in_ICCi_2 = -1;
20171 INT in_FCCi_2 = -1;
20172 in_FCCi_2 = FLD (in_FCCi_2);
20173 referenced |= 1 << 3;
20174 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20175 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20177 return cycles;
20178 #undef FLD
20181 static int
20182 model_fr550_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
20184 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20186 const IDESC * UNUSED idesc = abuf->idesc;
20187 int cycles = 0;
20189 int referenced = 0;
20190 int UNUSED insn_referenced = abuf->written;
20191 INT in_GRi = -1;
20192 INT in_GRj = -1;
20193 INT in_ICCi_2 = -1;
20194 INT in_FCCi_2 = -1;
20195 in_FCCi_2 = FLD (in_FCCi_2);
20196 referenced |= 1 << 3;
20197 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20198 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20200 return cycles;
20201 #undef FLD
20204 static int
20205 model_fr550_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
20207 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20209 const IDESC * UNUSED idesc = abuf->idesc;
20210 int cycles = 0;
20212 int referenced = 0;
20213 int UNUSED insn_referenced = abuf->written;
20214 INT in_GRi = -1;
20215 INT in_GRj = -1;
20216 INT in_ICCi_2 = -1;
20217 INT in_FCCi_2 = -1;
20218 in_FCCi_2 = FLD (in_FCCi_2);
20219 referenced |= 1 << 3;
20220 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20221 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20223 return cycles;
20224 #undef FLD
20227 static int
20228 model_fr550_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
20230 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20232 const IDESC * UNUSED idesc = abuf->idesc;
20233 int cycles = 0;
20235 int referenced = 0;
20236 int UNUSED insn_referenced = abuf->written;
20237 INT in_GRi = -1;
20238 INT in_GRj = -1;
20239 INT in_ICCi_2 = -1;
20240 INT in_FCCi_2 = -1;
20241 in_FCCi_2 = FLD (in_FCCi_2);
20242 referenced |= 1 << 3;
20243 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20244 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20246 return cycles;
20247 #undef FLD
20250 static int
20251 model_fr550_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
20253 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20254 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20255 const IDESC * UNUSED idesc = abuf->idesc;
20256 int cycles = 0;
20258 int referenced = 0;
20259 int UNUSED insn_referenced = abuf->written;
20260 INT in_GRi = -1;
20261 INT in_GRj = -1;
20262 INT in_ICCi_2 = -1;
20263 INT in_FCCi_2 = -1;
20264 in_FCCi_2 = FLD (in_FCCi_2);
20265 referenced |= 1 << 3;
20266 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20267 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20269 return cycles;
20270 #undef FLD
20273 static int
20274 model_fr550_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
20276 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20278 const IDESC * UNUSED idesc = abuf->idesc;
20279 int cycles = 0;
20281 int referenced = 0;
20282 int UNUSED insn_referenced = abuf->written;
20283 INT in_GRi = -1;
20284 INT in_GRj = -1;
20285 INT in_ICCi_2 = -1;
20286 INT in_FCCi_2 = -1;
20287 in_FCCi_2 = FLD (in_FCCi_2);
20288 referenced |= 1 << 3;
20289 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20290 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20292 return cycles;
20293 #undef FLD
20296 static int
20297 model_fr550_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
20299 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20301 const IDESC * UNUSED idesc = abuf->idesc;
20302 int cycles = 0;
20304 int referenced = 0;
20305 int UNUSED insn_referenced = abuf->written;
20306 INT in_GRi = -1;
20307 INT in_GRj = -1;
20308 INT in_ICCi_2 = -1;
20309 INT in_FCCi_2 = -1;
20310 in_FCCi_2 = FLD (in_FCCi_2);
20311 referenced |= 1 << 3;
20312 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20313 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20315 return cycles;
20316 #undef FLD
20319 static int
20320 model_fr550_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
20322 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20323 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20324 const IDESC * UNUSED idesc = abuf->idesc;
20325 int cycles = 0;
20327 int referenced = 0;
20328 int UNUSED insn_referenced = abuf->written;
20329 INT in_GRi = -1;
20330 INT in_GRj = -1;
20331 INT in_ICCi_2 = -1;
20332 INT in_FCCi_2 = -1;
20333 in_FCCi_2 = FLD (in_FCCi_2);
20334 referenced |= 1 << 3;
20335 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20336 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20338 return cycles;
20339 #undef FLD
20342 static int
20343 model_fr550_jmpl (SIM_CPU *current_cpu, void *sem_arg)
20345 #define FLD(f) abuf->fields.sfmt_cjmpl.f
20346 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20347 const IDESC * UNUSED idesc = abuf->idesc;
20348 int cycles = 0;
20350 int referenced = 0;
20351 int UNUSED insn_referenced = abuf->written;
20352 INT in_GRi = -1;
20353 INT in_GRj = -1;
20354 INT in_ICCi_2 = -1;
20355 INT in_FCCi_2 = -1;
20356 in_GRi = FLD (in_GRi);
20357 in_GRj = FLD (in_GRj);
20358 referenced |= 1 << 0;
20359 referenced |= 1 << 1;
20360 referenced |= 1 << 4;
20361 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20363 return cycles;
20364 #undef FLD
20367 static int
20368 model_fr550_calll (SIM_CPU *current_cpu, void *sem_arg)
20370 #define FLD(f) abuf->fields.sfmt_cjmpl.f
20371 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20372 const IDESC * UNUSED idesc = abuf->idesc;
20373 int cycles = 0;
20375 int referenced = 0;
20376 int UNUSED insn_referenced = abuf->written;
20377 INT in_GRi = -1;
20378 INT in_GRj = -1;
20379 INT in_ICCi_2 = -1;
20380 INT in_FCCi_2 = -1;
20381 in_GRi = FLD (in_GRi);
20382 in_GRj = FLD (in_GRj);
20383 referenced |= 1 << 0;
20384 referenced |= 1 << 1;
20385 referenced |= 1 << 4;
20386 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20388 return cycles;
20389 #undef FLD
20392 static int
20393 model_fr550_jmpil (SIM_CPU *current_cpu, void *sem_arg)
20395 #define FLD(f) abuf->fields.sfmt_jmpil.f
20396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20397 const IDESC * UNUSED idesc = abuf->idesc;
20398 int cycles = 0;
20400 int referenced = 0;
20401 int UNUSED insn_referenced = abuf->written;
20402 INT in_GRi = -1;
20403 INT in_GRj = -1;
20404 INT in_ICCi_2 = -1;
20405 INT in_FCCi_2 = -1;
20406 in_GRi = FLD (in_GRi);
20407 referenced |= 1 << 0;
20408 referenced |= 1 << 4;
20409 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20411 return cycles;
20412 #undef FLD
20415 static int
20416 model_fr550_callil (SIM_CPU *current_cpu, void *sem_arg)
20418 #define FLD(f) abuf->fields.sfmt_jmpil.f
20419 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20420 const IDESC * UNUSED idesc = abuf->idesc;
20421 int cycles = 0;
20423 int referenced = 0;
20424 int UNUSED insn_referenced = abuf->written;
20425 INT in_GRi = -1;
20426 INT in_GRj = -1;
20427 INT in_ICCi_2 = -1;
20428 INT in_FCCi_2 = -1;
20429 in_GRi = FLD (in_GRi);
20430 referenced |= 1 << 0;
20431 referenced |= 1 << 4;
20432 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20434 return cycles;
20435 #undef FLD
20438 static int
20439 model_fr550_call (SIM_CPU *current_cpu, void *sem_arg)
20441 #define FLD(f) abuf->fields.sfmt_call.f
20442 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20443 const IDESC * UNUSED idesc = abuf->idesc;
20444 int cycles = 0;
20446 int referenced = 0;
20447 int UNUSED insn_referenced = abuf->written;
20448 INT in_GRi = -1;
20449 INT in_GRj = -1;
20450 INT in_ICCi_2 = -1;
20451 INT in_FCCi_2 = -1;
20452 referenced |= 1 << 4;
20453 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20455 return cycles;
20456 #undef FLD
20459 static int
20460 model_fr550_rett (SIM_CPU *current_cpu, void *sem_arg)
20462 #define FLD(f) abuf->fields.sfmt_rett.f
20463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20464 const IDESC * UNUSED idesc = abuf->idesc;
20465 int cycles = 0;
20467 int referenced = 0;
20468 int UNUSED insn_referenced = abuf->written;
20469 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
20471 return cycles;
20472 #undef FLD
20475 static int
20476 model_fr550_rei (SIM_CPU *current_cpu, void *sem_arg)
20478 #define FLD(f) abuf->fields.sfmt_empty.f
20479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20480 const IDESC * UNUSED idesc = abuf->idesc;
20481 int cycles = 0;
20483 int referenced = 0;
20484 int UNUSED insn_referenced = abuf->written;
20485 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
20487 return cycles;
20488 #undef FLD
20491 static int
20492 model_fr550_tra (SIM_CPU *current_cpu, void *sem_arg)
20494 #define FLD(f) abuf->fields.sfmt_ftne.f
20495 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20496 const IDESC * UNUSED idesc = abuf->idesc;
20497 int cycles = 0;
20499 int referenced = 0;
20500 int UNUSED insn_referenced = abuf->written;
20501 INT in_GRi = -1;
20502 INT in_GRj = -1;
20503 INT in_ICCi_2 = -1;
20504 INT in_FCCi_2 = -1;
20505 in_GRi = FLD (in_GRi);
20506 in_GRj = FLD (in_GRj);
20507 referenced |= 1 << 0;
20508 referenced |= 1 << 1;
20509 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20511 return cycles;
20512 #undef FLD
20515 static int
20516 model_fr550_tno (SIM_CPU *current_cpu, void *sem_arg)
20518 #define FLD(f) abuf->fields.sfmt_empty.f
20519 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20520 const IDESC * UNUSED idesc = abuf->idesc;
20521 int cycles = 0;
20523 int referenced = 0;
20524 int UNUSED insn_referenced = abuf->written;
20525 INT in_GRi = -1;
20526 INT in_GRj = -1;
20527 INT in_ICCi_2 = -1;
20528 INT in_FCCi_2 = -1;
20529 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20531 return cycles;
20532 #undef FLD
20535 static int
20536 model_fr550_teq (SIM_CPU *current_cpu, void *sem_arg)
20538 #define FLD(f) abuf->fields.sfmt_teq.f
20539 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20540 const IDESC * UNUSED idesc = abuf->idesc;
20541 int cycles = 0;
20543 int referenced = 0;
20544 int UNUSED insn_referenced = abuf->written;
20545 INT in_GRi = -1;
20546 INT in_GRj = -1;
20547 INT in_ICCi_2 = -1;
20548 INT in_FCCi_2 = -1;
20549 in_GRi = FLD (in_GRi);
20550 in_GRj = FLD (in_GRj);
20551 in_ICCi_2 = FLD (in_ICCi_2);
20552 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20553 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20554 referenced |= 1 << 2;
20555 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20557 return cycles;
20558 #undef FLD
20561 static int
20562 model_fr550_tne (SIM_CPU *current_cpu, void *sem_arg)
20564 #define FLD(f) abuf->fields.sfmt_teq.f
20565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20566 const IDESC * UNUSED idesc = abuf->idesc;
20567 int cycles = 0;
20569 int referenced = 0;
20570 int UNUSED insn_referenced = abuf->written;
20571 INT in_GRi = -1;
20572 INT in_GRj = -1;
20573 INT in_ICCi_2 = -1;
20574 INT in_FCCi_2 = -1;
20575 in_GRi = FLD (in_GRi);
20576 in_GRj = FLD (in_GRj);
20577 in_ICCi_2 = FLD (in_ICCi_2);
20578 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20579 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20580 referenced |= 1 << 2;
20581 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20583 return cycles;
20584 #undef FLD
20587 static int
20588 model_fr550_tle (SIM_CPU *current_cpu, void *sem_arg)
20590 #define FLD(f) abuf->fields.sfmt_teq.f
20591 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20592 const IDESC * UNUSED idesc = abuf->idesc;
20593 int cycles = 0;
20595 int referenced = 0;
20596 int UNUSED insn_referenced = abuf->written;
20597 INT in_GRi = -1;
20598 INT in_GRj = -1;
20599 INT in_ICCi_2 = -1;
20600 INT in_FCCi_2 = -1;
20601 in_GRi = FLD (in_GRi);
20602 in_GRj = FLD (in_GRj);
20603 in_ICCi_2 = FLD (in_ICCi_2);
20604 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20605 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20606 referenced |= 1 << 2;
20607 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20609 return cycles;
20610 #undef FLD
20613 static int
20614 model_fr550_tgt (SIM_CPU *current_cpu, void *sem_arg)
20616 #define FLD(f) abuf->fields.sfmt_teq.f
20617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20618 const IDESC * UNUSED idesc = abuf->idesc;
20619 int cycles = 0;
20621 int referenced = 0;
20622 int UNUSED insn_referenced = abuf->written;
20623 INT in_GRi = -1;
20624 INT in_GRj = -1;
20625 INT in_ICCi_2 = -1;
20626 INT in_FCCi_2 = -1;
20627 in_GRi = FLD (in_GRi);
20628 in_GRj = FLD (in_GRj);
20629 in_ICCi_2 = FLD (in_ICCi_2);
20630 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20631 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20632 referenced |= 1 << 2;
20633 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20635 return cycles;
20636 #undef FLD
20639 static int
20640 model_fr550_tlt (SIM_CPU *current_cpu, void *sem_arg)
20642 #define FLD(f) abuf->fields.sfmt_teq.f
20643 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20644 const IDESC * UNUSED idesc = abuf->idesc;
20645 int cycles = 0;
20647 int referenced = 0;
20648 int UNUSED insn_referenced = abuf->written;
20649 INT in_GRi = -1;
20650 INT in_GRj = -1;
20651 INT in_ICCi_2 = -1;
20652 INT in_FCCi_2 = -1;
20653 in_GRi = FLD (in_GRi);
20654 in_GRj = FLD (in_GRj);
20655 in_ICCi_2 = FLD (in_ICCi_2);
20656 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20657 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20658 referenced |= 1 << 2;
20659 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20661 return cycles;
20662 #undef FLD
20665 static int
20666 model_fr550_tge (SIM_CPU *current_cpu, void *sem_arg)
20668 #define FLD(f) abuf->fields.sfmt_teq.f
20669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20670 const IDESC * UNUSED idesc = abuf->idesc;
20671 int cycles = 0;
20673 int referenced = 0;
20674 int UNUSED insn_referenced = abuf->written;
20675 INT in_GRi = -1;
20676 INT in_GRj = -1;
20677 INT in_ICCi_2 = -1;
20678 INT in_FCCi_2 = -1;
20679 in_GRi = FLD (in_GRi);
20680 in_GRj = FLD (in_GRj);
20681 in_ICCi_2 = FLD (in_ICCi_2);
20682 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20683 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20684 referenced |= 1 << 2;
20685 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20687 return cycles;
20688 #undef FLD
20691 static int
20692 model_fr550_tls (SIM_CPU *current_cpu, void *sem_arg)
20694 #define FLD(f) abuf->fields.sfmt_teq.f
20695 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20696 const IDESC * UNUSED idesc = abuf->idesc;
20697 int cycles = 0;
20699 int referenced = 0;
20700 int UNUSED insn_referenced = abuf->written;
20701 INT in_GRi = -1;
20702 INT in_GRj = -1;
20703 INT in_ICCi_2 = -1;
20704 INT in_FCCi_2 = -1;
20705 in_GRi = FLD (in_GRi);
20706 in_GRj = FLD (in_GRj);
20707 in_ICCi_2 = FLD (in_ICCi_2);
20708 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20709 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20710 referenced |= 1 << 2;
20711 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20713 return cycles;
20714 #undef FLD
20717 static int
20718 model_fr550_thi (SIM_CPU *current_cpu, void *sem_arg)
20720 #define FLD(f) abuf->fields.sfmt_teq.f
20721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20722 const IDESC * UNUSED idesc = abuf->idesc;
20723 int cycles = 0;
20725 int referenced = 0;
20726 int UNUSED insn_referenced = abuf->written;
20727 INT in_GRi = -1;
20728 INT in_GRj = -1;
20729 INT in_ICCi_2 = -1;
20730 INT in_FCCi_2 = -1;
20731 in_GRi = FLD (in_GRi);
20732 in_GRj = FLD (in_GRj);
20733 in_ICCi_2 = FLD (in_ICCi_2);
20734 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20735 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20736 referenced |= 1 << 2;
20737 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20739 return cycles;
20740 #undef FLD
20743 static int
20744 model_fr550_tc (SIM_CPU *current_cpu, void *sem_arg)
20746 #define FLD(f) abuf->fields.sfmt_teq.f
20747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20748 const IDESC * UNUSED idesc = abuf->idesc;
20749 int cycles = 0;
20751 int referenced = 0;
20752 int UNUSED insn_referenced = abuf->written;
20753 INT in_GRi = -1;
20754 INT in_GRj = -1;
20755 INT in_ICCi_2 = -1;
20756 INT in_FCCi_2 = -1;
20757 in_GRi = FLD (in_GRi);
20758 in_GRj = FLD (in_GRj);
20759 in_ICCi_2 = FLD (in_ICCi_2);
20760 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20761 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20762 referenced |= 1 << 2;
20763 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20765 return cycles;
20766 #undef FLD
20769 static int
20770 model_fr550_tnc (SIM_CPU *current_cpu, void *sem_arg)
20772 #define FLD(f) abuf->fields.sfmt_teq.f
20773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20774 const IDESC * UNUSED idesc = abuf->idesc;
20775 int cycles = 0;
20777 int referenced = 0;
20778 int UNUSED insn_referenced = abuf->written;
20779 INT in_GRi = -1;
20780 INT in_GRj = -1;
20781 INT in_ICCi_2 = -1;
20782 INT in_FCCi_2 = -1;
20783 in_GRi = FLD (in_GRi);
20784 in_GRj = FLD (in_GRj);
20785 in_ICCi_2 = FLD (in_ICCi_2);
20786 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20787 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20788 referenced |= 1 << 2;
20789 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20791 return cycles;
20792 #undef FLD
20795 static int
20796 model_fr550_tn (SIM_CPU *current_cpu, void *sem_arg)
20798 #define FLD(f) abuf->fields.sfmt_teq.f
20799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20800 const IDESC * UNUSED idesc = abuf->idesc;
20801 int cycles = 0;
20803 int referenced = 0;
20804 int UNUSED insn_referenced = abuf->written;
20805 INT in_GRi = -1;
20806 INT in_GRj = -1;
20807 INT in_ICCi_2 = -1;
20808 INT in_FCCi_2 = -1;
20809 in_GRi = FLD (in_GRi);
20810 in_GRj = FLD (in_GRj);
20811 in_ICCi_2 = FLD (in_ICCi_2);
20812 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20813 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20814 referenced |= 1 << 2;
20815 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20817 return cycles;
20818 #undef FLD
20821 static int
20822 model_fr550_tp (SIM_CPU *current_cpu, void *sem_arg)
20824 #define FLD(f) abuf->fields.sfmt_teq.f
20825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20826 const IDESC * UNUSED idesc = abuf->idesc;
20827 int cycles = 0;
20829 int referenced = 0;
20830 int UNUSED insn_referenced = abuf->written;
20831 INT in_GRi = -1;
20832 INT in_GRj = -1;
20833 INT in_ICCi_2 = -1;
20834 INT in_FCCi_2 = -1;
20835 in_GRi = FLD (in_GRi);
20836 in_GRj = FLD (in_GRj);
20837 in_ICCi_2 = FLD (in_ICCi_2);
20838 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20839 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20840 referenced |= 1 << 2;
20841 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20843 return cycles;
20844 #undef FLD
20847 static int
20848 model_fr550_tv (SIM_CPU *current_cpu, void *sem_arg)
20850 #define FLD(f) abuf->fields.sfmt_teq.f
20851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20852 const IDESC * UNUSED idesc = abuf->idesc;
20853 int cycles = 0;
20855 int referenced = 0;
20856 int UNUSED insn_referenced = abuf->written;
20857 INT in_GRi = -1;
20858 INT in_GRj = -1;
20859 INT in_ICCi_2 = -1;
20860 INT in_FCCi_2 = -1;
20861 in_GRi = FLD (in_GRi);
20862 in_GRj = FLD (in_GRj);
20863 in_ICCi_2 = FLD (in_ICCi_2);
20864 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20865 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20866 referenced |= 1 << 2;
20867 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20869 return cycles;
20870 #undef FLD
20873 static int
20874 model_fr550_tnv (SIM_CPU *current_cpu, void *sem_arg)
20876 #define FLD(f) abuf->fields.sfmt_teq.f
20877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20878 const IDESC * UNUSED idesc = abuf->idesc;
20879 int cycles = 0;
20881 int referenced = 0;
20882 int UNUSED insn_referenced = abuf->written;
20883 INT in_GRi = -1;
20884 INT in_GRj = -1;
20885 INT in_ICCi_2 = -1;
20886 INT in_FCCi_2 = -1;
20887 in_GRi = FLD (in_GRi);
20888 in_GRj = FLD (in_GRj);
20889 in_ICCi_2 = FLD (in_ICCi_2);
20890 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20891 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20892 referenced |= 1 << 2;
20893 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20895 return cycles;
20896 #undef FLD
20899 static int
20900 model_fr550_ftra (SIM_CPU *current_cpu, void *sem_arg)
20902 #define FLD(f) abuf->fields.sfmt_ftne.f
20903 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20904 const IDESC * UNUSED idesc = abuf->idesc;
20905 int cycles = 0;
20907 int referenced = 0;
20908 int UNUSED insn_referenced = abuf->written;
20909 INT in_GRi = -1;
20910 INT in_GRj = -1;
20911 INT in_ICCi_2 = -1;
20912 INT in_FCCi_2 = -1;
20913 in_GRi = FLD (in_GRi);
20914 in_GRj = FLD (in_GRj);
20915 referenced |= 1 << 0;
20916 referenced |= 1 << 1;
20917 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20919 return cycles;
20920 #undef FLD
20923 static int
20924 model_fr550_ftno (SIM_CPU *current_cpu, void *sem_arg)
20926 #define FLD(f) abuf->fields.sfmt_empty.f
20927 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20928 const IDESC * UNUSED idesc = abuf->idesc;
20929 int cycles = 0;
20931 int referenced = 0;
20932 int UNUSED insn_referenced = abuf->written;
20933 INT in_GRi = -1;
20934 INT in_GRj = -1;
20935 INT in_ICCi_2 = -1;
20936 INT in_FCCi_2 = -1;
20937 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20939 return cycles;
20940 #undef FLD
20943 static int
20944 model_fr550_ftne (SIM_CPU *current_cpu, void *sem_arg)
20946 #define FLD(f) abuf->fields.sfmt_ftne.f
20947 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20948 const IDESC * UNUSED idesc = abuf->idesc;
20949 int cycles = 0;
20951 int referenced = 0;
20952 int UNUSED insn_referenced = abuf->written;
20953 INT in_GRi = -1;
20954 INT in_GRj = -1;
20955 INT in_ICCi_2 = -1;
20956 INT in_FCCi_2 = -1;
20957 in_GRi = FLD (in_GRi);
20958 in_GRj = FLD (in_GRj);
20959 in_FCCi_2 = FLD (in_FCCi_2);
20960 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
20961 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
20962 referenced |= 1 << 3;
20963 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20965 return cycles;
20966 #undef FLD
20969 static int
20970 model_fr550_fteq (SIM_CPU *current_cpu, void *sem_arg)
20972 #define FLD(f) abuf->fields.sfmt_ftne.f
20973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20974 const IDESC * UNUSED idesc = abuf->idesc;
20975 int cycles = 0;
20977 int referenced = 0;
20978 int UNUSED insn_referenced = abuf->written;
20979 INT in_GRi = -1;
20980 INT in_GRj = -1;
20981 INT in_ICCi_2 = -1;
20982 INT in_FCCi_2 = -1;
20983 in_GRi = FLD (in_GRi);
20984 in_GRj = FLD (in_GRj);
20985 in_FCCi_2 = FLD (in_FCCi_2);
20986 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
20987 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
20988 referenced |= 1 << 3;
20989 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20991 return cycles;
20992 #undef FLD
20995 static int
20996 model_fr550_ftlg (SIM_CPU *current_cpu, void *sem_arg)
20998 #define FLD(f) abuf->fields.sfmt_ftne.f
20999 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21000 const IDESC * UNUSED idesc = abuf->idesc;
21001 int cycles = 0;
21003 int referenced = 0;
21004 int UNUSED insn_referenced = abuf->written;
21005 INT in_GRi = -1;
21006 INT in_GRj = -1;
21007 INT in_ICCi_2 = -1;
21008 INT in_FCCi_2 = -1;
21009 in_GRi = FLD (in_GRi);
21010 in_GRj = FLD (in_GRj);
21011 in_FCCi_2 = FLD (in_FCCi_2);
21012 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21013 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21014 referenced |= 1 << 3;
21015 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21017 return cycles;
21018 #undef FLD
21021 static int
21022 model_fr550_ftue (SIM_CPU *current_cpu, void *sem_arg)
21024 #define FLD(f) abuf->fields.sfmt_ftne.f
21025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21026 const IDESC * UNUSED idesc = abuf->idesc;
21027 int cycles = 0;
21029 int referenced = 0;
21030 int UNUSED insn_referenced = abuf->written;
21031 INT in_GRi = -1;
21032 INT in_GRj = -1;
21033 INT in_ICCi_2 = -1;
21034 INT in_FCCi_2 = -1;
21035 in_GRi = FLD (in_GRi);
21036 in_GRj = FLD (in_GRj);
21037 in_FCCi_2 = FLD (in_FCCi_2);
21038 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21039 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21040 referenced |= 1 << 3;
21041 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21043 return cycles;
21044 #undef FLD
21047 static int
21048 model_fr550_ftul (SIM_CPU *current_cpu, void *sem_arg)
21050 #define FLD(f) abuf->fields.sfmt_ftne.f
21051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21052 const IDESC * UNUSED idesc = abuf->idesc;
21053 int cycles = 0;
21055 int referenced = 0;
21056 int UNUSED insn_referenced = abuf->written;
21057 INT in_GRi = -1;
21058 INT in_GRj = -1;
21059 INT in_ICCi_2 = -1;
21060 INT in_FCCi_2 = -1;
21061 in_GRi = FLD (in_GRi);
21062 in_GRj = FLD (in_GRj);
21063 in_FCCi_2 = FLD (in_FCCi_2);
21064 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21065 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21066 referenced |= 1 << 3;
21067 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21069 return cycles;
21070 #undef FLD
21073 static int
21074 model_fr550_ftge (SIM_CPU *current_cpu, void *sem_arg)
21076 #define FLD(f) abuf->fields.sfmt_ftne.f
21077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21078 const IDESC * UNUSED idesc = abuf->idesc;
21079 int cycles = 0;
21081 int referenced = 0;
21082 int UNUSED insn_referenced = abuf->written;
21083 INT in_GRi = -1;
21084 INT in_GRj = -1;
21085 INT in_ICCi_2 = -1;
21086 INT in_FCCi_2 = -1;
21087 in_GRi = FLD (in_GRi);
21088 in_GRj = FLD (in_GRj);
21089 in_FCCi_2 = FLD (in_FCCi_2);
21090 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21091 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21092 referenced |= 1 << 3;
21093 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21095 return cycles;
21096 #undef FLD
21099 static int
21100 model_fr550_ftlt (SIM_CPU *current_cpu, void *sem_arg)
21102 #define FLD(f) abuf->fields.sfmt_ftne.f
21103 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21104 const IDESC * UNUSED idesc = abuf->idesc;
21105 int cycles = 0;
21107 int referenced = 0;
21108 int UNUSED insn_referenced = abuf->written;
21109 INT in_GRi = -1;
21110 INT in_GRj = -1;
21111 INT in_ICCi_2 = -1;
21112 INT in_FCCi_2 = -1;
21113 in_GRi = FLD (in_GRi);
21114 in_GRj = FLD (in_GRj);
21115 in_FCCi_2 = FLD (in_FCCi_2);
21116 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21117 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21118 referenced |= 1 << 3;
21119 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21121 return cycles;
21122 #undef FLD
21125 static int
21126 model_fr550_ftuge (SIM_CPU *current_cpu, void *sem_arg)
21128 #define FLD(f) abuf->fields.sfmt_ftne.f
21129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21130 const IDESC * UNUSED idesc = abuf->idesc;
21131 int cycles = 0;
21133 int referenced = 0;
21134 int UNUSED insn_referenced = abuf->written;
21135 INT in_GRi = -1;
21136 INT in_GRj = -1;
21137 INT in_ICCi_2 = -1;
21138 INT in_FCCi_2 = -1;
21139 in_GRi = FLD (in_GRi);
21140 in_GRj = FLD (in_GRj);
21141 in_FCCi_2 = FLD (in_FCCi_2);
21142 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21143 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21144 referenced |= 1 << 3;
21145 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21147 return cycles;
21148 #undef FLD
21151 static int
21152 model_fr550_ftug (SIM_CPU *current_cpu, void *sem_arg)
21154 #define FLD(f) abuf->fields.sfmt_ftne.f
21155 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21156 const IDESC * UNUSED idesc = abuf->idesc;
21157 int cycles = 0;
21159 int referenced = 0;
21160 int UNUSED insn_referenced = abuf->written;
21161 INT in_GRi = -1;
21162 INT in_GRj = -1;
21163 INT in_ICCi_2 = -1;
21164 INT in_FCCi_2 = -1;
21165 in_GRi = FLD (in_GRi);
21166 in_GRj = FLD (in_GRj);
21167 in_FCCi_2 = FLD (in_FCCi_2);
21168 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21169 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21170 referenced |= 1 << 3;
21171 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21173 return cycles;
21174 #undef FLD
21177 static int
21178 model_fr550_ftle (SIM_CPU *current_cpu, void *sem_arg)
21180 #define FLD(f) abuf->fields.sfmt_ftne.f
21181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21182 const IDESC * UNUSED idesc = abuf->idesc;
21183 int cycles = 0;
21185 int referenced = 0;
21186 int UNUSED insn_referenced = abuf->written;
21187 INT in_GRi = -1;
21188 INT in_GRj = -1;
21189 INT in_ICCi_2 = -1;
21190 INT in_FCCi_2 = -1;
21191 in_GRi = FLD (in_GRi);
21192 in_GRj = FLD (in_GRj);
21193 in_FCCi_2 = FLD (in_FCCi_2);
21194 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21195 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21196 referenced |= 1 << 3;
21197 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21199 return cycles;
21200 #undef FLD
21203 static int
21204 model_fr550_ftgt (SIM_CPU *current_cpu, void *sem_arg)
21206 #define FLD(f) abuf->fields.sfmt_ftne.f
21207 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21208 const IDESC * UNUSED idesc = abuf->idesc;
21209 int cycles = 0;
21211 int referenced = 0;
21212 int UNUSED insn_referenced = abuf->written;
21213 INT in_GRi = -1;
21214 INT in_GRj = -1;
21215 INT in_ICCi_2 = -1;
21216 INT in_FCCi_2 = -1;
21217 in_GRi = FLD (in_GRi);
21218 in_GRj = FLD (in_GRj);
21219 in_FCCi_2 = FLD (in_FCCi_2);
21220 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21221 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21222 referenced |= 1 << 3;
21223 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21225 return cycles;
21226 #undef FLD
21229 static int
21230 model_fr550_ftule (SIM_CPU *current_cpu, void *sem_arg)
21232 #define FLD(f) abuf->fields.sfmt_ftne.f
21233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21234 const IDESC * UNUSED idesc = abuf->idesc;
21235 int cycles = 0;
21237 int referenced = 0;
21238 int UNUSED insn_referenced = abuf->written;
21239 INT in_GRi = -1;
21240 INT in_GRj = -1;
21241 INT in_ICCi_2 = -1;
21242 INT in_FCCi_2 = -1;
21243 in_GRi = FLD (in_GRi);
21244 in_GRj = FLD (in_GRj);
21245 in_FCCi_2 = FLD (in_FCCi_2);
21246 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21247 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21248 referenced |= 1 << 3;
21249 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21251 return cycles;
21252 #undef FLD
21255 static int
21256 model_fr550_ftu (SIM_CPU *current_cpu, void *sem_arg)
21258 #define FLD(f) abuf->fields.sfmt_ftne.f
21259 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21260 const IDESC * UNUSED idesc = abuf->idesc;
21261 int cycles = 0;
21263 int referenced = 0;
21264 int UNUSED insn_referenced = abuf->written;
21265 INT in_GRi = -1;
21266 INT in_GRj = -1;
21267 INT in_ICCi_2 = -1;
21268 INT in_FCCi_2 = -1;
21269 in_GRi = FLD (in_GRi);
21270 in_GRj = FLD (in_GRj);
21271 in_FCCi_2 = FLD (in_FCCi_2);
21272 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21273 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21274 referenced |= 1 << 3;
21275 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21277 return cycles;
21278 #undef FLD
21281 static int
21282 model_fr550_fto (SIM_CPU *current_cpu, void *sem_arg)
21284 #define FLD(f) abuf->fields.sfmt_ftne.f
21285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21286 const IDESC * UNUSED idesc = abuf->idesc;
21287 int cycles = 0;
21289 int referenced = 0;
21290 int UNUSED insn_referenced = abuf->written;
21291 INT in_GRi = -1;
21292 INT in_GRj = -1;
21293 INT in_ICCi_2 = -1;
21294 INT in_FCCi_2 = -1;
21295 in_GRi = FLD (in_GRi);
21296 in_GRj = FLD (in_GRj);
21297 in_FCCi_2 = FLD (in_FCCi_2);
21298 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21299 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21300 referenced |= 1 << 3;
21301 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21303 return cycles;
21304 #undef FLD
21307 static int
21308 model_fr550_tira (SIM_CPU *current_cpu, void *sem_arg)
21310 #define FLD(f) abuf->fields.sfmt_ftine.f
21311 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21312 const IDESC * UNUSED idesc = abuf->idesc;
21313 int cycles = 0;
21315 int referenced = 0;
21316 int UNUSED insn_referenced = abuf->written;
21317 INT in_GRi = -1;
21318 INT in_GRj = -1;
21319 INT in_ICCi_2 = -1;
21320 INT in_FCCi_2 = -1;
21321 in_GRi = FLD (in_GRi);
21322 referenced |= 1 << 0;
21323 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21325 return cycles;
21326 #undef FLD
21329 static int
21330 model_fr550_tino (SIM_CPU *current_cpu, void *sem_arg)
21332 #define FLD(f) abuf->fields.sfmt_empty.f
21333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21334 const IDESC * UNUSED idesc = abuf->idesc;
21335 int cycles = 0;
21337 int referenced = 0;
21338 int UNUSED insn_referenced = abuf->written;
21339 INT in_GRi = -1;
21340 INT in_GRj = -1;
21341 INT in_ICCi_2 = -1;
21342 INT in_FCCi_2 = -1;
21343 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21345 return cycles;
21346 #undef FLD
21349 static int
21350 model_fr550_tieq (SIM_CPU *current_cpu, void *sem_arg)
21352 #define FLD(f) abuf->fields.sfmt_tieq.f
21353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21354 const IDESC * UNUSED idesc = abuf->idesc;
21355 int cycles = 0;
21357 int referenced = 0;
21358 int UNUSED insn_referenced = abuf->written;
21359 INT in_GRi = -1;
21360 INT in_GRj = -1;
21361 INT in_ICCi_2 = -1;
21362 INT in_FCCi_2 = -1;
21363 in_GRi = FLD (in_GRi);
21364 in_ICCi_2 = FLD (in_ICCi_2);
21365 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21366 referenced |= 1 << 2;
21367 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21369 return cycles;
21370 #undef FLD
21373 static int
21374 model_fr550_tine (SIM_CPU *current_cpu, void *sem_arg)
21376 #define FLD(f) abuf->fields.sfmt_tieq.f
21377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21378 const IDESC * UNUSED idesc = abuf->idesc;
21379 int cycles = 0;
21381 int referenced = 0;
21382 int UNUSED insn_referenced = abuf->written;
21383 INT in_GRi = -1;
21384 INT in_GRj = -1;
21385 INT in_ICCi_2 = -1;
21386 INT in_FCCi_2 = -1;
21387 in_GRi = FLD (in_GRi);
21388 in_ICCi_2 = FLD (in_ICCi_2);
21389 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21390 referenced |= 1 << 2;
21391 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21393 return cycles;
21394 #undef FLD
21397 static int
21398 model_fr550_tile (SIM_CPU *current_cpu, void *sem_arg)
21400 #define FLD(f) abuf->fields.sfmt_tieq.f
21401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21402 const IDESC * UNUSED idesc = abuf->idesc;
21403 int cycles = 0;
21405 int referenced = 0;
21406 int UNUSED insn_referenced = abuf->written;
21407 INT in_GRi = -1;
21408 INT in_GRj = -1;
21409 INT in_ICCi_2 = -1;
21410 INT in_FCCi_2 = -1;
21411 in_GRi = FLD (in_GRi);
21412 in_ICCi_2 = FLD (in_ICCi_2);
21413 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21414 referenced |= 1 << 2;
21415 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21417 return cycles;
21418 #undef FLD
21421 static int
21422 model_fr550_tigt (SIM_CPU *current_cpu, void *sem_arg)
21424 #define FLD(f) abuf->fields.sfmt_tieq.f
21425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21426 const IDESC * UNUSED idesc = abuf->idesc;
21427 int cycles = 0;
21429 int referenced = 0;
21430 int UNUSED insn_referenced = abuf->written;
21431 INT in_GRi = -1;
21432 INT in_GRj = -1;
21433 INT in_ICCi_2 = -1;
21434 INT in_FCCi_2 = -1;
21435 in_GRi = FLD (in_GRi);
21436 in_ICCi_2 = FLD (in_ICCi_2);
21437 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21438 referenced |= 1 << 2;
21439 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21441 return cycles;
21442 #undef FLD
21445 static int
21446 model_fr550_tilt (SIM_CPU *current_cpu, void *sem_arg)
21448 #define FLD(f) abuf->fields.sfmt_tieq.f
21449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21450 const IDESC * UNUSED idesc = abuf->idesc;
21451 int cycles = 0;
21453 int referenced = 0;
21454 int UNUSED insn_referenced = abuf->written;
21455 INT in_GRi = -1;
21456 INT in_GRj = -1;
21457 INT in_ICCi_2 = -1;
21458 INT in_FCCi_2 = -1;
21459 in_GRi = FLD (in_GRi);
21460 in_ICCi_2 = FLD (in_ICCi_2);
21461 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21462 referenced |= 1 << 2;
21463 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21465 return cycles;
21466 #undef FLD
21469 static int
21470 model_fr550_tige (SIM_CPU *current_cpu, void *sem_arg)
21472 #define FLD(f) abuf->fields.sfmt_tieq.f
21473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21474 const IDESC * UNUSED idesc = abuf->idesc;
21475 int cycles = 0;
21477 int referenced = 0;
21478 int UNUSED insn_referenced = abuf->written;
21479 INT in_GRi = -1;
21480 INT in_GRj = -1;
21481 INT in_ICCi_2 = -1;
21482 INT in_FCCi_2 = -1;
21483 in_GRi = FLD (in_GRi);
21484 in_ICCi_2 = FLD (in_ICCi_2);
21485 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21486 referenced |= 1 << 2;
21487 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21489 return cycles;
21490 #undef FLD
21493 static int
21494 model_fr550_tils (SIM_CPU *current_cpu, void *sem_arg)
21496 #define FLD(f) abuf->fields.sfmt_tieq.f
21497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21498 const IDESC * UNUSED idesc = abuf->idesc;
21499 int cycles = 0;
21501 int referenced = 0;
21502 int UNUSED insn_referenced = abuf->written;
21503 INT in_GRi = -1;
21504 INT in_GRj = -1;
21505 INT in_ICCi_2 = -1;
21506 INT in_FCCi_2 = -1;
21507 in_GRi = FLD (in_GRi);
21508 in_ICCi_2 = FLD (in_ICCi_2);
21509 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21510 referenced |= 1 << 2;
21511 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21513 return cycles;
21514 #undef FLD
21517 static int
21518 model_fr550_tihi (SIM_CPU *current_cpu, void *sem_arg)
21520 #define FLD(f) abuf->fields.sfmt_tieq.f
21521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21522 const IDESC * UNUSED idesc = abuf->idesc;
21523 int cycles = 0;
21525 int referenced = 0;
21526 int UNUSED insn_referenced = abuf->written;
21527 INT in_GRi = -1;
21528 INT in_GRj = -1;
21529 INT in_ICCi_2 = -1;
21530 INT in_FCCi_2 = -1;
21531 in_GRi = FLD (in_GRi);
21532 in_ICCi_2 = FLD (in_ICCi_2);
21533 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21534 referenced |= 1 << 2;
21535 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21537 return cycles;
21538 #undef FLD
21541 static int
21542 model_fr550_tic (SIM_CPU *current_cpu, void *sem_arg)
21544 #define FLD(f) abuf->fields.sfmt_tieq.f
21545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21546 const IDESC * UNUSED idesc = abuf->idesc;
21547 int cycles = 0;
21549 int referenced = 0;
21550 int UNUSED insn_referenced = abuf->written;
21551 INT in_GRi = -1;
21552 INT in_GRj = -1;
21553 INT in_ICCi_2 = -1;
21554 INT in_FCCi_2 = -1;
21555 in_GRi = FLD (in_GRi);
21556 in_ICCi_2 = FLD (in_ICCi_2);
21557 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21558 referenced |= 1 << 2;
21559 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21561 return cycles;
21562 #undef FLD
21565 static int
21566 model_fr550_tinc (SIM_CPU *current_cpu, void *sem_arg)
21568 #define FLD(f) abuf->fields.sfmt_tieq.f
21569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21570 const IDESC * UNUSED idesc = abuf->idesc;
21571 int cycles = 0;
21573 int referenced = 0;
21574 int UNUSED insn_referenced = abuf->written;
21575 INT in_GRi = -1;
21576 INT in_GRj = -1;
21577 INT in_ICCi_2 = -1;
21578 INT in_FCCi_2 = -1;
21579 in_GRi = FLD (in_GRi);
21580 in_ICCi_2 = FLD (in_ICCi_2);
21581 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21582 referenced |= 1 << 2;
21583 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21585 return cycles;
21586 #undef FLD
21589 static int
21590 model_fr550_tin (SIM_CPU *current_cpu, void *sem_arg)
21592 #define FLD(f) abuf->fields.sfmt_tieq.f
21593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21594 const IDESC * UNUSED idesc = abuf->idesc;
21595 int cycles = 0;
21597 int referenced = 0;
21598 int UNUSED insn_referenced = abuf->written;
21599 INT in_GRi = -1;
21600 INT in_GRj = -1;
21601 INT in_ICCi_2 = -1;
21602 INT in_FCCi_2 = -1;
21603 in_GRi = FLD (in_GRi);
21604 in_ICCi_2 = FLD (in_ICCi_2);
21605 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21606 referenced |= 1 << 2;
21607 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21609 return cycles;
21610 #undef FLD
21613 static int
21614 model_fr550_tip (SIM_CPU *current_cpu, void *sem_arg)
21616 #define FLD(f) abuf->fields.sfmt_tieq.f
21617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21618 const IDESC * UNUSED idesc = abuf->idesc;
21619 int cycles = 0;
21621 int referenced = 0;
21622 int UNUSED insn_referenced = abuf->written;
21623 INT in_GRi = -1;
21624 INT in_GRj = -1;
21625 INT in_ICCi_2 = -1;
21626 INT in_FCCi_2 = -1;
21627 in_GRi = FLD (in_GRi);
21628 in_ICCi_2 = FLD (in_ICCi_2);
21629 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21630 referenced |= 1 << 2;
21631 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21633 return cycles;
21634 #undef FLD
21637 static int
21638 model_fr550_tiv (SIM_CPU *current_cpu, void *sem_arg)
21640 #define FLD(f) abuf->fields.sfmt_tieq.f
21641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21642 const IDESC * UNUSED idesc = abuf->idesc;
21643 int cycles = 0;
21645 int referenced = 0;
21646 int UNUSED insn_referenced = abuf->written;
21647 INT in_GRi = -1;
21648 INT in_GRj = -1;
21649 INT in_ICCi_2 = -1;
21650 INT in_FCCi_2 = -1;
21651 in_GRi = FLD (in_GRi);
21652 in_ICCi_2 = FLD (in_ICCi_2);
21653 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21654 referenced |= 1 << 2;
21655 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21657 return cycles;
21658 #undef FLD
21661 static int
21662 model_fr550_tinv (SIM_CPU *current_cpu, void *sem_arg)
21664 #define FLD(f) abuf->fields.sfmt_tieq.f
21665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21666 const IDESC * UNUSED idesc = abuf->idesc;
21667 int cycles = 0;
21669 int referenced = 0;
21670 int UNUSED insn_referenced = abuf->written;
21671 INT in_GRi = -1;
21672 INT in_GRj = -1;
21673 INT in_ICCi_2 = -1;
21674 INT in_FCCi_2 = -1;
21675 in_GRi = FLD (in_GRi);
21676 in_ICCi_2 = FLD (in_ICCi_2);
21677 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21678 referenced |= 1 << 2;
21679 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21681 return cycles;
21682 #undef FLD
21685 static int
21686 model_fr550_ftira (SIM_CPU *current_cpu, void *sem_arg)
21688 #define FLD(f) abuf->fields.sfmt_ftine.f
21689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21690 const IDESC * UNUSED idesc = abuf->idesc;
21691 int cycles = 0;
21693 int referenced = 0;
21694 int UNUSED insn_referenced = abuf->written;
21695 INT in_GRi = -1;
21696 INT in_GRj = -1;
21697 INT in_ICCi_2 = -1;
21698 INT in_FCCi_2 = -1;
21699 in_GRi = FLD (in_GRi);
21700 referenced |= 1 << 0;
21701 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21703 return cycles;
21704 #undef FLD
21707 static int
21708 model_fr550_ftino (SIM_CPU *current_cpu, void *sem_arg)
21710 #define FLD(f) abuf->fields.sfmt_empty.f
21711 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21712 const IDESC * UNUSED idesc = abuf->idesc;
21713 int cycles = 0;
21715 int referenced = 0;
21716 int UNUSED insn_referenced = abuf->written;
21717 INT in_GRi = -1;
21718 INT in_GRj = -1;
21719 INT in_ICCi_2 = -1;
21720 INT in_FCCi_2 = -1;
21721 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21723 return cycles;
21724 #undef FLD
21727 static int
21728 model_fr550_ftine (SIM_CPU *current_cpu, void *sem_arg)
21730 #define FLD(f) abuf->fields.sfmt_ftine.f
21731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21732 const IDESC * UNUSED idesc = abuf->idesc;
21733 int cycles = 0;
21735 int referenced = 0;
21736 int UNUSED insn_referenced = abuf->written;
21737 INT in_GRi = -1;
21738 INT in_GRj = -1;
21739 INT in_ICCi_2 = -1;
21740 INT in_FCCi_2 = -1;
21741 in_GRi = FLD (in_GRi);
21742 in_FCCi_2 = FLD (in_FCCi_2);
21743 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21744 referenced |= 1 << 3;
21745 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21747 return cycles;
21748 #undef FLD
21751 static int
21752 model_fr550_ftieq (SIM_CPU *current_cpu, void *sem_arg)
21754 #define FLD(f) abuf->fields.sfmt_ftine.f
21755 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21756 const IDESC * UNUSED idesc = abuf->idesc;
21757 int cycles = 0;
21759 int referenced = 0;
21760 int UNUSED insn_referenced = abuf->written;
21761 INT in_GRi = -1;
21762 INT in_GRj = -1;
21763 INT in_ICCi_2 = -1;
21764 INT in_FCCi_2 = -1;
21765 in_GRi = FLD (in_GRi);
21766 in_FCCi_2 = FLD (in_FCCi_2);
21767 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21768 referenced |= 1 << 3;
21769 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21771 return cycles;
21772 #undef FLD
21775 static int
21776 model_fr550_ftilg (SIM_CPU *current_cpu, void *sem_arg)
21778 #define FLD(f) abuf->fields.sfmt_ftine.f
21779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21780 const IDESC * UNUSED idesc = abuf->idesc;
21781 int cycles = 0;
21783 int referenced = 0;
21784 int UNUSED insn_referenced = abuf->written;
21785 INT in_GRi = -1;
21786 INT in_GRj = -1;
21787 INT in_ICCi_2 = -1;
21788 INT in_FCCi_2 = -1;
21789 in_GRi = FLD (in_GRi);
21790 in_FCCi_2 = FLD (in_FCCi_2);
21791 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21792 referenced |= 1 << 3;
21793 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21795 return cycles;
21796 #undef FLD
21799 static int
21800 model_fr550_ftiue (SIM_CPU *current_cpu, void *sem_arg)
21802 #define FLD(f) abuf->fields.sfmt_ftine.f
21803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21804 const IDESC * UNUSED idesc = abuf->idesc;
21805 int cycles = 0;
21807 int referenced = 0;
21808 int UNUSED insn_referenced = abuf->written;
21809 INT in_GRi = -1;
21810 INT in_GRj = -1;
21811 INT in_ICCi_2 = -1;
21812 INT in_FCCi_2 = -1;
21813 in_GRi = FLD (in_GRi);
21814 in_FCCi_2 = FLD (in_FCCi_2);
21815 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21816 referenced |= 1 << 3;
21817 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21819 return cycles;
21820 #undef FLD
21823 static int
21824 model_fr550_ftiul (SIM_CPU *current_cpu, void *sem_arg)
21826 #define FLD(f) abuf->fields.sfmt_ftine.f
21827 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21828 const IDESC * UNUSED idesc = abuf->idesc;
21829 int cycles = 0;
21831 int referenced = 0;
21832 int UNUSED insn_referenced = abuf->written;
21833 INT in_GRi = -1;
21834 INT in_GRj = -1;
21835 INT in_ICCi_2 = -1;
21836 INT in_FCCi_2 = -1;
21837 in_GRi = FLD (in_GRi);
21838 in_FCCi_2 = FLD (in_FCCi_2);
21839 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21840 referenced |= 1 << 3;
21841 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21843 return cycles;
21844 #undef FLD
21847 static int
21848 model_fr550_ftige (SIM_CPU *current_cpu, void *sem_arg)
21850 #define FLD(f) abuf->fields.sfmt_ftine.f
21851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21852 const IDESC * UNUSED idesc = abuf->idesc;
21853 int cycles = 0;
21855 int referenced = 0;
21856 int UNUSED insn_referenced = abuf->written;
21857 INT in_GRi = -1;
21858 INT in_GRj = -1;
21859 INT in_ICCi_2 = -1;
21860 INT in_FCCi_2 = -1;
21861 in_GRi = FLD (in_GRi);
21862 in_FCCi_2 = FLD (in_FCCi_2);
21863 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21864 referenced |= 1 << 3;
21865 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21867 return cycles;
21868 #undef FLD
21871 static int
21872 model_fr550_ftilt (SIM_CPU *current_cpu, void *sem_arg)
21874 #define FLD(f) abuf->fields.sfmt_ftine.f
21875 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21876 const IDESC * UNUSED idesc = abuf->idesc;
21877 int cycles = 0;
21879 int referenced = 0;
21880 int UNUSED insn_referenced = abuf->written;
21881 INT in_GRi = -1;
21882 INT in_GRj = -1;
21883 INT in_ICCi_2 = -1;
21884 INT in_FCCi_2 = -1;
21885 in_GRi = FLD (in_GRi);
21886 in_FCCi_2 = FLD (in_FCCi_2);
21887 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21888 referenced |= 1 << 3;
21889 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21891 return cycles;
21892 #undef FLD
21895 static int
21896 model_fr550_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
21898 #define FLD(f) abuf->fields.sfmt_ftine.f
21899 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21900 const IDESC * UNUSED idesc = abuf->idesc;
21901 int cycles = 0;
21903 int referenced = 0;
21904 int UNUSED insn_referenced = abuf->written;
21905 INT in_GRi = -1;
21906 INT in_GRj = -1;
21907 INT in_ICCi_2 = -1;
21908 INT in_FCCi_2 = -1;
21909 in_GRi = FLD (in_GRi);
21910 in_FCCi_2 = FLD (in_FCCi_2);
21911 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21912 referenced |= 1 << 3;
21913 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21915 return cycles;
21916 #undef FLD
21919 static int
21920 model_fr550_ftiug (SIM_CPU *current_cpu, void *sem_arg)
21922 #define FLD(f) abuf->fields.sfmt_ftine.f
21923 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21924 const IDESC * UNUSED idesc = abuf->idesc;
21925 int cycles = 0;
21927 int referenced = 0;
21928 int UNUSED insn_referenced = abuf->written;
21929 INT in_GRi = -1;
21930 INT in_GRj = -1;
21931 INT in_ICCi_2 = -1;
21932 INT in_FCCi_2 = -1;
21933 in_GRi = FLD (in_GRi);
21934 in_FCCi_2 = FLD (in_FCCi_2);
21935 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21936 referenced |= 1 << 3;
21937 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21939 return cycles;
21940 #undef FLD
21943 static int
21944 model_fr550_ftile (SIM_CPU *current_cpu, void *sem_arg)
21946 #define FLD(f) abuf->fields.sfmt_ftine.f
21947 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21948 const IDESC * UNUSED idesc = abuf->idesc;
21949 int cycles = 0;
21951 int referenced = 0;
21952 int UNUSED insn_referenced = abuf->written;
21953 INT in_GRi = -1;
21954 INT in_GRj = -1;
21955 INT in_ICCi_2 = -1;
21956 INT in_FCCi_2 = -1;
21957 in_GRi = FLD (in_GRi);
21958 in_FCCi_2 = FLD (in_FCCi_2);
21959 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21960 referenced |= 1 << 3;
21961 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21963 return cycles;
21964 #undef FLD
21967 static int
21968 model_fr550_ftigt (SIM_CPU *current_cpu, void *sem_arg)
21970 #define FLD(f) abuf->fields.sfmt_ftine.f
21971 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21972 const IDESC * UNUSED idesc = abuf->idesc;
21973 int cycles = 0;
21975 int referenced = 0;
21976 int UNUSED insn_referenced = abuf->written;
21977 INT in_GRi = -1;
21978 INT in_GRj = -1;
21979 INT in_ICCi_2 = -1;
21980 INT in_FCCi_2 = -1;
21981 in_GRi = FLD (in_GRi);
21982 in_FCCi_2 = FLD (in_FCCi_2);
21983 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21984 referenced |= 1 << 3;
21985 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21987 return cycles;
21988 #undef FLD
21991 static int
21992 model_fr550_ftiule (SIM_CPU *current_cpu, void *sem_arg)
21994 #define FLD(f) abuf->fields.sfmt_ftine.f
21995 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21996 const IDESC * UNUSED idesc = abuf->idesc;
21997 int cycles = 0;
21999 int referenced = 0;
22000 int UNUSED insn_referenced = abuf->written;
22001 INT in_GRi = -1;
22002 INT in_GRj = -1;
22003 INT in_ICCi_2 = -1;
22004 INT in_FCCi_2 = -1;
22005 in_GRi = FLD (in_GRi);
22006 in_FCCi_2 = FLD (in_FCCi_2);
22007 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22008 referenced |= 1 << 3;
22009 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
22011 return cycles;
22012 #undef FLD
22015 static int
22016 model_fr550_ftiu (SIM_CPU *current_cpu, void *sem_arg)
22018 #define FLD(f) abuf->fields.sfmt_ftine.f
22019 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22020 const IDESC * UNUSED idesc = abuf->idesc;
22021 int cycles = 0;
22023 int referenced = 0;
22024 int UNUSED insn_referenced = abuf->written;
22025 INT in_GRi = -1;
22026 INT in_GRj = -1;
22027 INT in_ICCi_2 = -1;
22028 INT in_FCCi_2 = -1;
22029 in_GRi = FLD (in_GRi);
22030 in_FCCi_2 = FLD (in_FCCi_2);
22031 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22032 referenced |= 1 << 3;
22033 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
22035 return cycles;
22036 #undef FLD
22039 static int
22040 model_fr550_ftio (SIM_CPU *current_cpu, void *sem_arg)
22042 #define FLD(f) abuf->fields.sfmt_ftine.f
22043 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22044 const IDESC * UNUSED idesc = abuf->idesc;
22045 int cycles = 0;
22047 int referenced = 0;
22048 int UNUSED insn_referenced = abuf->written;
22049 INT in_GRi = -1;
22050 INT in_GRj = -1;
22051 INT in_ICCi_2 = -1;
22052 INT in_FCCi_2 = -1;
22053 in_GRi = FLD (in_GRi);
22054 in_FCCi_2 = FLD (in_FCCi_2);
22055 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22056 referenced |= 1 << 3;
22057 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
22059 return cycles;
22060 #undef FLD
22063 static int
22064 model_fr550_break (SIM_CPU *current_cpu, void *sem_arg)
22066 #define FLD(f) abuf->fields.sfmt_break.f
22067 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22068 const IDESC * UNUSED idesc = abuf->idesc;
22069 int cycles = 0;
22071 int referenced = 0;
22072 int UNUSED insn_referenced = abuf->written;
22073 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22075 return cycles;
22076 #undef FLD
22079 static int
22080 model_fr550_mtrap (SIM_CPU *current_cpu, void *sem_arg)
22082 #define FLD(f) abuf->fields.sfmt_empty.f
22083 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22084 const IDESC * UNUSED idesc = abuf->idesc;
22085 int cycles = 0;
22087 int referenced = 0;
22088 int UNUSED insn_referenced = abuf->written;
22089 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22091 return cycles;
22092 #undef FLD
22095 static int
22096 model_fr550_andcr (SIM_CPU *current_cpu, void *sem_arg)
22098 #define FLD(f) abuf->fields.sfmt_andcr.f
22099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22100 const IDESC * UNUSED idesc = abuf->idesc;
22101 int cycles = 0;
22103 int referenced = 0;
22104 int UNUSED insn_referenced = abuf->written;
22105 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22107 return cycles;
22108 #undef FLD
22111 static int
22112 model_fr550_orcr (SIM_CPU *current_cpu, void *sem_arg)
22114 #define FLD(f) abuf->fields.sfmt_andcr.f
22115 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22116 const IDESC * UNUSED idesc = abuf->idesc;
22117 int cycles = 0;
22119 int referenced = 0;
22120 int UNUSED insn_referenced = abuf->written;
22121 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22123 return cycles;
22124 #undef FLD
22127 static int
22128 model_fr550_xorcr (SIM_CPU *current_cpu, void *sem_arg)
22130 #define FLD(f) abuf->fields.sfmt_andcr.f
22131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22132 const IDESC * UNUSED idesc = abuf->idesc;
22133 int cycles = 0;
22135 int referenced = 0;
22136 int UNUSED insn_referenced = abuf->written;
22137 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22139 return cycles;
22140 #undef FLD
22143 static int
22144 model_fr550_nandcr (SIM_CPU *current_cpu, void *sem_arg)
22146 #define FLD(f) abuf->fields.sfmt_andcr.f
22147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22148 const IDESC * UNUSED idesc = abuf->idesc;
22149 int cycles = 0;
22151 int referenced = 0;
22152 int UNUSED insn_referenced = abuf->written;
22153 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22155 return cycles;
22156 #undef FLD
22159 static int
22160 model_fr550_norcr (SIM_CPU *current_cpu, void *sem_arg)
22162 #define FLD(f) abuf->fields.sfmt_andcr.f
22163 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22164 const IDESC * UNUSED idesc = abuf->idesc;
22165 int cycles = 0;
22167 int referenced = 0;
22168 int UNUSED insn_referenced = abuf->written;
22169 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22171 return cycles;
22172 #undef FLD
22175 static int
22176 model_fr550_andncr (SIM_CPU *current_cpu, void *sem_arg)
22178 #define FLD(f) abuf->fields.sfmt_andcr.f
22179 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22180 const IDESC * UNUSED idesc = abuf->idesc;
22181 int cycles = 0;
22183 int referenced = 0;
22184 int UNUSED insn_referenced = abuf->written;
22185 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22187 return cycles;
22188 #undef FLD
22191 static int
22192 model_fr550_orncr (SIM_CPU *current_cpu, void *sem_arg)
22194 #define FLD(f) abuf->fields.sfmt_andcr.f
22195 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22196 const IDESC * UNUSED idesc = abuf->idesc;
22197 int cycles = 0;
22199 int referenced = 0;
22200 int UNUSED insn_referenced = abuf->written;
22201 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22203 return cycles;
22204 #undef FLD
22207 static int
22208 model_fr550_nandncr (SIM_CPU *current_cpu, void *sem_arg)
22210 #define FLD(f) abuf->fields.sfmt_andcr.f
22211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22212 const IDESC * UNUSED idesc = abuf->idesc;
22213 int cycles = 0;
22215 int referenced = 0;
22216 int UNUSED insn_referenced = abuf->written;
22217 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22219 return cycles;
22220 #undef FLD
22223 static int
22224 model_fr550_norncr (SIM_CPU *current_cpu, void *sem_arg)
22226 #define FLD(f) abuf->fields.sfmt_andcr.f
22227 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22228 const IDESC * UNUSED idesc = abuf->idesc;
22229 int cycles = 0;
22231 int referenced = 0;
22232 int UNUSED insn_referenced = abuf->written;
22233 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22235 return cycles;
22236 #undef FLD
22239 static int
22240 model_fr550_notcr (SIM_CPU *current_cpu, void *sem_arg)
22242 #define FLD(f) abuf->fields.sfmt_andcr.f
22243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22244 const IDESC * UNUSED idesc = abuf->idesc;
22245 int cycles = 0;
22247 int referenced = 0;
22248 int UNUSED insn_referenced = abuf->written;
22249 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22251 return cycles;
22252 #undef FLD
22255 static int
22256 model_fr550_ckra (SIM_CPU *current_cpu, void *sem_arg)
22258 #define FLD(f) abuf->fields.sfmt_cckeq.f
22259 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22260 const IDESC * UNUSED idesc = abuf->idesc;
22261 int cycles = 0;
22263 int referenced = 0;
22264 int UNUSED insn_referenced = abuf->written;
22265 INT in_ICCi_3 = -1;
22266 INT in_FCCi_3 = -1;
22267 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22269 return cycles;
22270 #undef FLD
22273 static int
22274 model_fr550_ckno (SIM_CPU *current_cpu, void *sem_arg)
22276 #define FLD(f) abuf->fields.sfmt_cckeq.f
22277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22278 const IDESC * UNUSED idesc = abuf->idesc;
22279 int cycles = 0;
22281 int referenced = 0;
22282 int UNUSED insn_referenced = abuf->written;
22283 INT in_ICCi_3 = -1;
22284 INT in_FCCi_3 = -1;
22285 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22287 return cycles;
22288 #undef FLD
22291 static int
22292 model_fr550_ckeq (SIM_CPU *current_cpu, void *sem_arg)
22294 #define FLD(f) abuf->fields.sfmt_cckeq.f
22295 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22296 const IDESC * UNUSED idesc = abuf->idesc;
22297 int cycles = 0;
22299 int referenced = 0;
22300 int UNUSED insn_referenced = abuf->written;
22301 INT in_ICCi_3 = -1;
22302 INT in_FCCi_3 = -1;
22303 in_ICCi_3 = FLD (in_ICCi_3);
22304 referenced |= 1 << 0;
22305 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22307 return cycles;
22308 #undef FLD
22311 static int
22312 model_fr550_ckne (SIM_CPU *current_cpu, void *sem_arg)
22314 #define FLD(f) abuf->fields.sfmt_cckeq.f
22315 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22316 const IDESC * UNUSED idesc = abuf->idesc;
22317 int cycles = 0;
22319 int referenced = 0;
22320 int UNUSED insn_referenced = abuf->written;
22321 INT in_ICCi_3 = -1;
22322 INT in_FCCi_3 = -1;
22323 in_ICCi_3 = FLD (in_ICCi_3);
22324 referenced |= 1 << 0;
22325 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22327 return cycles;
22328 #undef FLD
22331 static int
22332 model_fr550_ckle (SIM_CPU *current_cpu, void *sem_arg)
22334 #define FLD(f) abuf->fields.sfmt_cckeq.f
22335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22336 const IDESC * UNUSED idesc = abuf->idesc;
22337 int cycles = 0;
22339 int referenced = 0;
22340 int UNUSED insn_referenced = abuf->written;
22341 INT in_ICCi_3 = -1;
22342 INT in_FCCi_3 = -1;
22343 in_ICCi_3 = FLD (in_ICCi_3);
22344 referenced |= 1 << 0;
22345 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22347 return cycles;
22348 #undef FLD
22351 static int
22352 model_fr550_ckgt (SIM_CPU *current_cpu, void *sem_arg)
22354 #define FLD(f) abuf->fields.sfmt_cckeq.f
22355 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22356 const IDESC * UNUSED idesc = abuf->idesc;
22357 int cycles = 0;
22359 int referenced = 0;
22360 int UNUSED insn_referenced = abuf->written;
22361 INT in_ICCi_3 = -1;
22362 INT in_FCCi_3 = -1;
22363 in_ICCi_3 = FLD (in_ICCi_3);
22364 referenced |= 1 << 0;
22365 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22367 return cycles;
22368 #undef FLD
22371 static int
22372 model_fr550_cklt (SIM_CPU *current_cpu, void *sem_arg)
22374 #define FLD(f) abuf->fields.sfmt_cckeq.f
22375 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22376 const IDESC * UNUSED idesc = abuf->idesc;
22377 int cycles = 0;
22379 int referenced = 0;
22380 int UNUSED insn_referenced = abuf->written;
22381 INT in_ICCi_3 = -1;
22382 INT in_FCCi_3 = -1;
22383 in_ICCi_3 = FLD (in_ICCi_3);
22384 referenced |= 1 << 0;
22385 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22387 return cycles;
22388 #undef FLD
22391 static int
22392 model_fr550_ckge (SIM_CPU *current_cpu, void *sem_arg)
22394 #define FLD(f) abuf->fields.sfmt_cckeq.f
22395 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22396 const IDESC * UNUSED idesc = abuf->idesc;
22397 int cycles = 0;
22399 int referenced = 0;
22400 int UNUSED insn_referenced = abuf->written;
22401 INT in_ICCi_3 = -1;
22402 INT in_FCCi_3 = -1;
22403 in_ICCi_3 = FLD (in_ICCi_3);
22404 referenced |= 1 << 0;
22405 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22407 return cycles;
22408 #undef FLD
22411 static int
22412 model_fr550_ckls (SIM_CPU *current_cpu, void *sem_arg)
22414 #define FLD(f) abuf->fields.sfmt_cckeq.f
22415 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22416 const IDESC * UNUSED idesc = abuf->idesc;
22417 int cycles = 0;
22419 int referenced = 0;
22420 int UNUSED insn_referenced = abuf->written;
22421 INT in_ICCi_3 = -1;
22422 INT in_FCCi_3 = -1;
22423 in_ICCi_3 = FLD (in_ICCi_3);
22424 referenced |= 1 << 0;
22425 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22427 return cycles;
22428 #undef FLD
22431 static int
22432 model_fr550_ckhi (SIM_CPU *current_cpu, void *sem_arg)
22434 #define FLD(f) abuf->fields.sfmt_cckeq.f
22435 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22436 const IDESC * UNUSED idesc = abuf->idesc;
22437 int cycles = 0;
22439 int referenced = 0;
22440 int UNUSED insn_referenced = abuf->written;
22441 INT in_ICCi_3 = -1;
22442 INT in_FCCi_3 = -1;
22443 in_ICCi_3 = FLD (in_ICCi_3);
22444 referenced |= 1 << 0;
22445 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22447 return cycles;
22448 #undef FLD
22451 static int
22452 model_fr550_ckc (SIM_CPU *current_cpu, void *sem_arg)
22454 #define FLD(f) abuf->fields.sfmt_cckeq.f
22455 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22456 const IDESC * UNUSED idesc = abuf->idesc;
22457 int cycles = 0;
22459 int referenced = 0;
22460 int UNUSED insn_referenced = abuf->written;
22461 INT in_ICCi_3 = -1;
22462 INT in_FCCi_3 = -1;
22463 in_ICCi_3 = FLD (in_ICCi_3);
22464 referenced |= 1 << 0;
22465 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22467 return cycles;
22468 #undef FLD
22471 static int
22472 model_fr550_cknc (SIM_CPU *current_cpu, void *sem_arg)
22474 #define FLD(f) abuf->fields.sfmt_cckeq.f
22475 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22476 const IDESC * UNUSED idesc = abuf->idesc;
22477 int cycles = 0;
22479 int referenced = 0;
22480 int UNUSED insn_referenced = abuf->written;
22481 INT in_ICCi_3 = -1;
22482 INT in_FCCi_3 = -1;
22483 in_ICCi_3 = FLD (in_ICCi_3);
22484 referenced |= 1 << 0;
22485 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22487 return cycles;
22488 #undef FLD
22491 static int
22492 model_fr550_ckn (SIM_CPU *current_cpu, void *sem_arg)
22494 #define FLD(f) abuf->fields.sfmt_cckeq.f
22495 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22496 const IDESC * UNUSED idesc = abuf->idesc;
22497 int cycles = 0;
22499 int referenced = 0;
22500 int UNUSED insn_referenced = abuf->written;
22501 INT in_ICCi_3 = -1;
22502 INT in_FCCi_3 = -1;
22503 in_ICCi_3 = FLD (in_ICCi_3);
22504 referenced |= 1 << 0;
22505 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22507 return cycles;
22508 #undef FLD
22511 static int
22512 model_fr550_ckp (SIM_CPU *current_cpu, void *sem_arg)
22514 #define FLD(f) abuf->fields.sfmt_cckeq.f
22515 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22516 const IDESC * UNUSED idesc = abuf->idesc;
22517 int cycles = 0;
22519 int referenced = 0;
22520 int UNUSED insn_referenced = abuf->written;
22521 INT in_ICCi_3 = -1;
22522 INT in_FCCi_3 = -1;
22523 in_ICCi_3 = FLD (in_ICCi_3);
22524 referenced |= 1 << 0;
22525 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22527 return cycles;
22528 #undef FLD
22531 static int
22532 model_fr550_ckv (SIM_CPU *current_cpu, void *sem_arg)
22534 #define FLD(f) abuf->fields.sfmt_cckeq.f
22535 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22536 const IDESC * UNUSED idesc = abuf->idesc;
22537 int cycles = 0;
22539 int referenced = 0;
22540 int UNUSED insn_referenced = abuf->written;
22541 INT in_ICCi_3 = -1;
22542 INT in_FCCi_3 = -1;
22543 in_ICCi_3 = FLD (in_ICCi_3);
22544 referenced |= 1 << 0;
22545 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22547 return cycles;
22548 #undef FLD
22551 static int
22552 model_fr550_cknv (SIM_CPU *current_cpu, void *sem_arg)
22554 #define FLD(f) abuf->fields.sfmt_cckeq.f
22555 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22556 const IDESC * UNUSED idesc = abuf->idesc;
22557 int cycles = 0;
22559 int referenced = 0;
22560 int UNUSED insn_referenced = abuf->written;
22561 INT in_ICCi_3 = -1;
22562 INT in_FCCi_3 = -1;
22563 in_ICCi_3 = FLD (in_ICCi_3);
22564 referenced |= 1 << 0;
22565 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22567 return cycles;
22568 #undef FLD
22571 static int
22572 model_fr550_fckra (SIM_CPU *current_cpu, void *sem_arg)
22574 #define FLD(f) abuf->fields.sfmt_cfckne.f
22575 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22576 const IDESC * UNUSED idesc = abuf->idesc;
22577 int cycles = 0;
22579 int referenced = 0;
22580 int UNUSED insn_referenced = abuf->written;
22581 INT in_ICCi_3 = -1;
22582 INT in_FCCi_3 = -1;
22583 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22585 return cycles;
22586 #undef FLD
22589 static int
22590 model_fr550_fckno (SIM_CPU *current_cpu, void *sem_arg)
22592 #define FLD(f) abuf->fields.sfmt_cfckne.f
22593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22594 const IDESC * UNUSED idesc = abuf->idesc;
22595 int cycles = 0;
22597 int referenced = 0;
22598 int UNUSED insn_referenced = abuf->written;
22599 INT in_ICCi_3 = -1;
22600 INT in_FCCi_3 = -1;
22601 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22603 return cycles;
22604 #undef FLD
22607 static int
22608 model_fr550_fckne (SIM_CPU *current_cpu, void *sem_arg)
22610 #define FLD(f) abuf->fields.sfmt_cfckne.f
22611 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22612 const IDESC * UNUSED idesc = abuf->idesc;
22613 int cycles = 0;
22615 int referenced = 0;
22616 int UNUSED insn_referenced = abuf->written;
22617 INT in_ICCi_3 = -1;
22618 INT in_FCCi_3 = -1;
22619 in_FCCi_3 = FLD (in_FCCi_3);
22620 referenced |= 1 << 1;
22621 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22623 return cycles;
22624 #undef FLD
22627 static int
22628 model_fr550_fckeq (SIM_CPU *current_cpu, void *sem_arg)
22630 #define FLD(f) abuf->fields.sfmt_cfckne.f
22631 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22632 const IDESC * UNUSED idesc = abuf->idesc;
22633 int cycles = 0;
22635 int referenced = 0;
22636 int UNUSED insn_referenced = abuf->written;
22637 INT in_ICCi_3 = -1;
22638 INT in_FCCi_3 = -1;
22639 in_FCCi_3 = FLD (in_FCCi_3);
22640 referenced |= 1 << 1;
22641 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22643 return cycles;
22644 #undef FLD
22647 static int
22648 model_fr550_fcklg (SIM_CPU *current_cpu, void *sem_arg)
22650 #define FLD(f) abuf->fields.sfmt_cfckne.f
22651 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22652 const IDESC * UNUSED idesc = abuf->idesc;
22653 int cycles = 0;
22655 int referenced = 0;
22656 int UNUSED insn_referenced = abuf->written;
22657 INT in_ICCi_3 = -1;
22658 INT in_FCCi_3 = -1;
22659 in_FCCi_3 = FLD (in_FCCi_3);
22660 referenced |= 1 << 1;
22661 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22663 return cycles;
22664 #undef FLD
22667 static int
22668 model_fr550_fckue (SIM_CPU *current_cpu, void *sem_arg)
22670 #define FLD(f) abuf->fields.sfmt_cfckne.f
22671 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22672 const IDESC * UNUSED idesc = abuf->idesc;
22673 int cycles = 0;
22675 int referenced = 0;
22676 int UNUSED insn_referenced = abuf->written;
22677 INT in_ICCi_3 = -1;
22678 INT in_FCCi_3 = -1;
22679 in_FCCi_3 = FLD (in_FCCi_3);
22680 referenced |= 1 << 1;
22681 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22683 return cycles;
22684 #undef FLD
22687 static int
22688 model_fr550_fckul (SIM_CPU *current_cpu, void *sem_arg)
22690 #define FLD(f) abuf->fields.sfmt_cfckne.f
22691 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22692 const IDESC * UNUSED idesc = abuf->idesc;
22693 int cycles = 0;
22695 int referenced = 0;
22696 int UNUSED insn_referenced = abuf->written;
22697 INT in_ICCi_3 = -1;
22698 INT in_FCCi_3 = -1;
22699 in_FCCi_3 = FLD (in_FCCi_3);
22700 referenced |= 1 << 1;
22701 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22703 return cycles;
22704 #undef FLD
22707 static int
22708 model_fr550_fckge (SIM_CPU *current_cpu, void *sem_arg)
22710 #define FLD(f) abuf->fields.sfmt_cfckne.f
22711 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22712 const IDESC * UNUSED idesc = abuf->idesc;
22713 int cycles = 0;
22715 int referenced = 0;
22716 int UNUSED insn_referenced = abuf->written;
22717 INT in_ICCi_3 = -1;
22718 INT in_FCCi_3 = -1;
22719 in_FCCi_3 = FLD (in_FCCi_3);
22720 referenced |= 1 << 1;
22721 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22723 return cycles;
22724 #undef FLD
22727 static int
22728 model_fr550_fcklt (SIM_CPU *current_cpu, void *sem_arg)
22730 #define FLD(f) abuf->fields.sfmt_cfckne.f
22731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22732 const IDESC * UNUSED idesc = abuf->idesc;
22733 int cycles = 0;
22735 int referenced = 0;
22736 int UNUSED insn_referenced = abuf->written;
22737 INT in_ICCi_3 = -1;
22738 INT in_FCCi_3 = -1;
22739 in_FCCi_3 = FLD (in_FCCi_3);
22740 referenced |= 1 << 1;
22741 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22743 return cycles;
22744 #undef FLD
22747 static int
22748 model_fr550_fckuge (SIM_CPU *current_cpu, void *sem_arg)
22750 #define FLD(f) abuf->fields.sfmt_cfckne.f
22751 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22752 const IDESC * UNUSED idesc = abuf->idesc;
22753 int cycles = 0;
22755 int referenced = 0;
22756 int UNUSED insn_referenced = abuf->written;
22757 INT in_ICCi_3 = -1;
22758 INT in_FCCi_3 = -1;
22759 in_FCCi_3 = FLD (in_FCCi_3);
22760 referenced |= 1 << 1;
22761 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22763 return cycles;
22764 #undef FLD
22767 static int
22768 model_fr550_fckug (SIM_CPU *current_cpu, void *sem_arg)
22770 #define FLD(f) abuf->fields.sfmt_cfckne.f
22771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22772 const IDESC * UNUSED idesc = abuf->idesc;
22773 int cycles = 0;
22775 int referenced = 0;
22776 int UNUSED insn_referenced = abuf->written;
22777 INT in_ICCi_3 = -1;
22778 INT in_FCCi_3 = -1;
22779 in_FCCi_3 = FLD (in_FCCi_3);
22780 referenced |= 1 << 1;
22781 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22783 return cycles;
22784 #undef FLD
22787 static int
22788 model_fr550_fckle (SIM_CPU *current_cpu, void *sem_arg)
22790 #define FLD(f) abuf->fields.sfmt_cfckne.f
22791 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22792 const IDESC * UNUSED idesc = abuf->idesc;
22793 int cycles = 0;
22795 int referenced = 0;
22796 int UNUSED insn_referenced = abuf->written;
22797 INT in_ICCi_3 = -1;
22798 INT in_FCCi_3 = -1;
22799 in_FCCi_3 = FLD (in_FCCi_3);
22800 referenced |= 1 << 1;
22801 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22803 return cycles;
22804 #undef FLD
22807 static int
22808 model_fr550_fckgt (SIM_CPU *current_cpu, void *sem_arg)
22810 #define FLD(f) abuf->fields.sfmt_cfckne.f
22811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22812 const IDESC * UNUSED idesc = abuf->idesc;
22813 int cycles = 0;
22815 int referenced = 0;
22816 int UNUSED insn_referenced = abuf->written;
22817 INT in_ICCi_3 = -1;
22818 INT in_FCCi_3 = -1;
22819 in_FCCi_3 = FLD (in_FCCi_3);
22820 referenced |= 1 << 1;
22821 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22823 return cycles;
22824 #undef FLD
22827 static int
22828 model_fr550_fckule (SIM_CPU *current_cpu, void *sem_arg)
22830 #define FLD(f) abuf->fields.sfmt_cfckne.f
22831 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22832 const IDESC * UNUSED idesc = abuf->idesc;
22833 int cycles = 0;
22835 int referenced = 0;
22836 int UNUSED insn_referenced = abuf->written;
22837 INT in_ICCi_3 = -1;
22838 INT in_FCCi_3 = -1;
22839 in_FCCi_3 = FLD (in_FCCi_3);
22840 referenced |= 1 << 1;
22841 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22843 return cycles;
22844 #undef FLD
22847 static int
22848 model_fr550_fcku (SIM_CPU *current_cpu, void *sem_arg)
22850 #define FLD(f) abuf->fields.sfmt_cfckne.f
22851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22852 const IDESC * UNUSED idesc = abuf->idesc;
22853 int cycles = 0;
22855 int referenced = 0;
22856 int UNUSED insn_referenced = abuf->written;
22857 INT in_ICCi_3 = -1;
22858 INT in_FCCi_3 = -1;
22859 in_FCCi_3 = FLD (in_FCCi_3);
22860 referenced |= 1 << 1;
22861 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22863 return cycles;
22864 #undef FLD
22867 static int
22868 model_fr550_fcko (SIM_CPU *current_cpu, void *sem_arg)
22870 #define FLD(f) abuf->fields.sfmt_cfckne.f
22871 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22872 const IDESC * UNUSED idesc = abuf->idesc;
22873 int cycles = 0;
22875 int referenced = 0;
22876 int UNUSED insn_referenced = abuf->written;
22877 INT in_ICCi_3 = -1;
22878 INT in_FCCi_3 = -1;
22879 in_FCCi_3 = FLD (in_FCCi_3);
22880 referenced |= 1 << 1;
22881 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22883 return cycles;
22884 #undef FLD
22887 static int
22888 model_fr550_cckra (SIM_CPU *current_cpu, void *sem_arg)
22890 #define FLD(f) abuf->fields.sfmt_cckeq.f
22891 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22892 const IDESC * UNUSED idesc = abuf->idesc;
22893 int cycles = 0;
22895 int referenced = 0;
22896 int UNUSED insn_referenced = abuf->written;
22897 INT in_ICCi_3 = -1;
22898 INT in_FCCi_3 = -1;
22899 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22901 return cycles;
22902 #undef FLD
22905 static int
22906 model_fr550_cckno (SIM_CPU *current_cpu, void *sem_arg)
22908 #define FLD(f) abuf->fields.sfmt_cckeq.f
22909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22910 const IDESC * UNUSED idesc = abuf->idesc;
22911 int cycles = 0;
22913 int referenced = 0;
22914 int UNUSED insn_referenced = abuf->written;
22915 INT in_ICCi_3 = -1;
22916 INT in_FCCi_3 = -1;
22917 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22919 return cycles;
22920 #undef FLD
22923 static int
22924 model_fr550_cckeq (SIM_CPU *current_cpu, void *sem_arg)
22926 #define FLD(f) abuf->fields.sfmt_cckeq.f
22927 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22928 const IDESC * UNUSED idesc = abuf->idesc;
22929 int cycles = 0;
22931 int referenced = 0;
22932 int UNUSED insn_referenced = abuf->written;
22933 INT in_ICCi_3 = -1;
22934 INT in_FCCi_3 = -1;
22935 in_ICCi_3 = FLD (in_ICCi_3);
22936 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22937 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22939 return cycles;
22940 #undef FLD
22943 static int
22944 model_fr550_cckne (SIM_CPU *current_cpu, void *sem_arg)
22946 #define FLD(f) abuf->fields.sfmt_cckeq.f
22947 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22948 const IDESC * UNUSED idesc = abuf->idesc;
22949 int cycles = 0;
22951 int referenced = 0;
22952 int UNUSED insn_referenced = abuf->written;
22953 INT in_ICCi_3 = -1;
22954 INT in_FCCi_3 = -1;
22955 in_ICCi_3 = FLD (in_ICCi_3);
22956 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22957 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22959 return cycles;
22960 #undef FLD
22963 static int
22964 model_fr550_cckle (SIM_CPU *current_cpu, void *sem_arg)
22966 #define FLD(f) abuf->fields.sfmt_cckeq.f
22967 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22968 const IDESC * UNUSED idesc = abuf->idesc;
22969 int cycles = 0;
22971 int referenced = 0;
22972 int UNUSED insn_referenced = abuf->written;
22973 INT in_ICCi_3 = -1;
22974 INT in_FCCi_3 = -1;
22975 in_ICCi_3 = FLD (in_ICCi_3);
22976 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22977 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22979 return cycles;
22980 #undef FLD
22983 static int
22984 model_fr550_cckgt (SIM_CPU *current_cpu, void *sem_arg)
22986 #define FLD(f) abuf->fields.sfmt_cckeq.f
22987 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22988 const IDESC * UNUSED idesc = abuf->idesc;
22989 int cycles = 0;
22991 int referenced = 0;
22992 int UNUSED insn_referenced = abuf->written;
22993 INT in_ICCi_3 = -1;
22994 INT in_FCCi_3 = -1;
22995 in_ICCi_3 = FLD (in_ICCi_3);
22996 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22997 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22999 return cycles;
23000 #undef FLD
23003 static int
23004 model_fr550_ccklt (SIM_CPU *current_cpu, void *sem_arg)
23006 #define FLD(f) abuf->fields.sfmt_cckeq.f
23007 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23008 const IDESC * UNUSED idesc = abuf->idesc;
23009 int cycles = 0;
23011 int referenced = 0;
23012 int UNUSED insn_referenced = abuf->written;
23013 INT in_ICCi_3 = -1;
23014 INT in_FCCi_3 = -1;
23015 in_ICCi_3 = FLD (in_ICCi_3);
23016 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23017 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23019 return cycles;
23020 #undef FLD
23023 static int
23024 model_fr550_cckge (SIM_CPU *current_cpu, void *sem_arg)
23026 #define FLD(f) abuf->fields.sfmt_cckeq.f
23027 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23028 const IDESC * UNUSED idesc = abuf->idesc;
23029 int cycles = 0;
23031 int referenced = 0;
23032 int UNUSED insn_referenced = abuf->written;
23033 INT in_ICCi_3 = -1;
23034 INT in_FCCi_3 = -1;
23035 in_ICCi_3 = FLD (in_ICCi_3);
23036 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23037 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23039 return cycles;
23040 #undef FLD
23043 static int
23044 model_fr550_cckls (SIM_CPU *current_cpu, void *sem_arg)
23046 #define FLD(f) abuf->fields.sfmt_cckeq.f
23047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23048 const IDESC * UNUSED idesc = abuf->idesc;
23049 int cycles = 0;
23051 int referenced = 0;
23052 int UNUSED insn_referenced = abuf->written;
23053 INT in_ICCi_3 = -1;
23054 INT in_FCCi_3 = -1;
23055 in_ICCi_3 = FLD (in_ICCi_3);
23056 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23057 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23059 return cycles;
23060 #undef FLD
23063 static int
23064 model_fr550_cckhi (SIM_CPU *current_cpu, void *sem_arg)
23066 #define FLD(f) abuf->fields.sfmt_cckeq.f
23067 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23068 const IDESC * UNUSED idesc = abuf->idesc;
23069 int cycles = 0;
23071 int referenced = 0;
23072 int UNUSED insn_referenced = abuf->written;
23073 INT in_ICCi_3 = -1;
23074 INT in_FCCi_3 = -1;
23075 in_ICCi_3 = FLD (in_ICCi_3);
23076 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23077 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23079 return cycles;
23080 #undef FLD
23083 static int
23084 model_fr550_cckc (SIM_CPU *current_cpu, void *sem_arg)
23086 #define FLD(f) abuf->fields.sfmt_cckeq.f
23087 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23088 const IDESC * UNUSED idesc = abuf->idesc;
23089 int cycles = 0;
23091 int referenced = 0;
23092 int UNUSED insn_referenced = abuf->written;
23093 INT in_ICCi_3 = -1;
23094 INT in_FCCi_3 = -1;
23095 in_ICCi_3 = FLD (in_ICCi_3);
23096 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23097 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23099 return cycles;
23100 #undef FLD
23103 static int
23104 model_fr550_ccknc (SIM_CPU *current_cpu, void *sem_arg)
23106 #define FLD(f) abuf->fields.sfmt_cckeq.f
23107 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23108 const IDESC * UNUSED idesc = abuf->idesc;
23109 int cycles = 0;
23111 int referenced = 0;
23112 int UNUSED insn_referenced = abuf->written;
23113 INT in_ICCi_3 = -1;
23114 INT in_FCCi_3 = -1;
23115 in_ICCi_3 = FLD (in_ICCi_3);
23116 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23117 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23119 return cycles;
23120 #undef FLD
23123 static int
23124 model_fr550_cckn (SIM_CPU *current_cpu, void *sem_arg)
23126 #define FLD(f) abuf->fields.sfmt_cckeq.f
23127 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23128 const IDESC * UNUSED idesc = abuf->idesc;
23129 int cycles = 0;
23131 int referenced = 0;
23132 int UNUSED insn_referenced = abuf->written;
23133 INT in_ICCi_3 = -1;
23134 INT in_FCCi_3 = -1;
23135 in_ICCi_3 = FLD (in_ICCi_3);
23136 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23137 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23139 return cycles;
23140 #undef FLD
23143 static int
23144 model_fr550_cckp (SIM_CPU *current_cpu, void *sem_arg)
23146 #define FLD(f) abuf->fields.sfmt_cckeq.f
23147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23148 const IDESC * UNUSED idesc = abuf->idesc;
23149 int cycles = 0;
23151 int referenced = 0;
23152 int UNUSED insn_referenced = abuf->written;
23153 INT in_ICCi_3 = -1;
23154 INT in_FCCi_3 = -1;
23155 in_ICCi_3 = FLD (in_ICCi_3);
23156 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23157 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23159 return cycles;
23160 #undef FLD
23163 static int
23164 model_fr550_cckv (SIM_CPU *current_cpu, void *sem_arg)
23166 #define FLD(f) abuf->fields.sfmt_cckeq.f
23167 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23168 const IDESC * UNUSED idesc = abuf->idesc;
23169 int cycles = 0;
23171 int referenced = 0;
23172 int UNUSED insn_referenced = abuf->written;
23173 INT in_ICCi_3 = -1;
23174 INT in_FCCi_3 = -1;
23175 in_ICCi_3 = FLD (in_ICCi_3);
23176 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23177 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23179 return cycles;
23180 #undef FLD
23183 static int
23184 model_fr550_ccknv (SIM_CPU *current_cpu, void *sem_arg)
23186 #define FLD(f) abuf->fields.sfmt_cckeq.f
23187 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23188 const IDESC * UNUSED idesc = abuf->idesc;
23189 int cycles = 0;
23191 int referenced = 0;
23192 int UNUSED insn_referenced = abuf->written;
23193 INT in_ICCi_3 = -1;
23194 INT in_FCCi_3 = -1;
23195 in_ICCi_3 = FLD (in_ICCi_3);
23196 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23197 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23199 return cycles;
23200 #undef FLD
23203 static int
23204 model_fr550_cfckra (SIM_CPU *current_cpu, void *sem_arg)
23206 #define FLD(f) abuf->fields.sfmt_cfckne.f
23207 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23208 const IDESC * UNUSED idesc = abuf->idesc;
23209 int cycles = 0;
23211 int referenced = 0;
23212 int UNUSED insn_referenced = abuf->written;
23213 INT in_ICCi_3 = -1;
23214 INT in_FCCi_3 = -1;
23215 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23217 return cycles;
23218 #undef FLD
23221 static int
23222 model_fr550_cfckno (SIM_CPU *current_cpu, void *sem_arg)
23224 #define FLD(f) abuf->fields.sfmt_cfckne.f
23225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23226 const IDESC * UNUSED idesc = abuf->idesc;
23227 int cycles = 0;
23229 int referenced = 0;
23230 int UNUSED insn_referenced = abuf->written;
23231 INT in_ICCi_3 = -1;
23232 INT in_FCCi_3 = -1;
23233 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23235 return cycles;
23236 #undef FLD
23239 static int
23240 model_fr550_cfckne (SIM_CPU *current_cpu, void *sem_arg)
23242 #define FLD(f) abuf->fields.sfmt_cfckne.f
23243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23244 const IDESC * UNUSED idesc = abuf->idesc;
23245 int cycles = 0;
23247 int referenced = 0;
23248 int UNUSED insn_referenced = abuf->written;
23249 INT in_ICCi_3 = -1;
23250 INT in_FCCi_3 = -1;
23251 in_FCCi_3 = FLD (in_FCCi_3);
23252 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23253 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23255 return cycles;
23256 #undef FLD
23259 static int
23260 model_fr550_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
23262 #define FLD(f) abuf->fields.sfmt_cfckne.f
23263 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23264 const IDESC * UNUSED idesc = abuf->idesc;
23265 int cycles = 0;
23267 int referenced = 0;
23268 int UNUSED insn_referenced = abuf->written;
23269 INT in_ICCi_3 = -1;
23270 INT in_FCCi_3 = -1;
23271 in_FCCi_3 = FLD (in_FCCi_3);
23272 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23273 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23275 return cycles;
23276 #undef FLD
23279 static int
23280 model_fr550_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
23282 #define FLD(f) abuf->fields.sfmt_cfckne.f
23283 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23284 const IDESC * UNUSED idesc = abuf->idesc;
23285 int cycles = 0;
23287 int referenced = 0;
23288 int UNUSED insn_referenced = abuf->written;
23289 INT in_ICCi_3 = -1;
23290 INT in_FCCi_3 = -1;
23291 in_FCCi_3 = FLD (in_FCCi_3);
23292 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23293 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23295 return cycles;
23296 #undef FLD
23299 static int
23300 model_fr550_cfckue (SIM_CPU *current_cpu, void *sem_arg)
23302 #define FLD(f) abuf->fields.sfmt_cfckne.f
23303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23304 const IDESC * UNUSED idesc = abuf->idesc;
23305 int cycles = 0;
23307 int referenced = 0;
23308 int UNUSED insn_referenced = abuf->written;
23309 INT in_ICCi_3 = -1;
23310 INT in_FCCi_3 = -1;
23311 in_FCCi_3 = FLD (in_FCCi_3);
23312 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23313 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23315 return cycles;
23316 #undef FLD
23319 static int
23320 model_fr550_cfckul (SIM_CPU *current_cpu, void *sem_arg)
23322 #define FLD(f) abuf->fields.sfmt_cfckne.f
23323 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23324 const IDESC * UNUSED idesc = abuf->idesc;
23325 int cycles = 0;
23327 int referenced = 0;
23328 int UNUSED insn_referenced = abuf->written;
23329 INT in_ICCi_3 = -1;
23330 INT in_FCCi_3 = -1;
23331 in_FCCi_3 = FLD (in_FCCi_3);
23332 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23333 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23335 return cycles;
23336 #undef FLD
23339 static int
23340 model_fr550_cfckge (SIM_CPU *current_cpu, void *sem_arg)
23342 #define FLD(f) abuf->fields.sfmt_cfckne.f
23343 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23344 const IDESC * UNUSED idesc = abuf->idesc;
23345 int cycles = 0;
23347 int referenced = 0;
23348 int UNUSED insn_referenced = abuf->written;
23349 INT in_ICCi_3 = -1;
23350 INT in_FCCi_3 = -1;
23351 in_FCCi_3 = FLD (in_FCCi_3);
23352 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23353 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23355 return cycles;
23356 #undef FLD
23359 static int
23360 model_fr550_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
23362 #define FLD(f) abuf->fields.sfmt_cfckne.f
23363 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23364 const IDESC * UNUSED idesc = abuf->idesc;
23365 int cycles = 0;
23367 int referenced = 0;
23368 int UNUSED insn_referenced = abuf->written;
23369 INT in_ICCi_3 = -1;
23370 INT in_FCCi_3 = -1;
23371 in_FCCi_3 = FLD (in_FCCi_3);
23372 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23373 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23375 return cycles;
23376 #undef FLD
23379 static int
23380 model_fr550_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
23382 #define FLD(f) abuf->fields.sfmt_cfckne.f
23383 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23384 const IDESC * UNUSED idesc = abuf->idesc;
23385 int cycles = 0;
23387 int referenced = 0;
23388 int UNUSED insn_referenced = abuf->written;
23389 INT in_ICCi_3 = -1;
23390 INT in_FCCi_3 = -1;
23391 in_FCCi_3 = FLD (in_FCCi_3);
23392 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23393 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23395 return cycles;
23396 #undef FLD
23399 static int
23400 model_fr550_cfckug (SIM_CPU *current_cpu, void *sem_arg)
23402 #define FLD(f) abuf->fields.sfmt_cfckne.f
23403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23404 const IDESC * UNUSED idesc = abuf->idesc;
23405 int cycles = 0;
23407 int referenced = 0;
23408 int UNUSED insn_referenced = abuf->written;
23409 INT in_ICCi_3 = -1;
23410 INT in_FCCi_3 = -1;
23411 in_FCCi_3 = FLD (in_FCCi_3);
23412 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23413 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23415 return cycles;
23416 #undef FLD
23419 static int
23420 model_fr550_cfckle (SIM_CPU *current_cpu, void *sem_arg)
23422 #define FLD(f) abuf->fields.sfmt_cfckne.f
23423 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23424 const IDESC * UNUSED idesc = abuf->idesc;
23425 int cycles = 0;
23427 int referenced = 0;
23428 int UNUSED insn_referenced = abuf->written;
23429 INT in_ICCi_3 = -1;
23430 INT in_FCCi_3 = -1;
23431 in_FCCi_3 = FLD (in_FCCi_3);
23432 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23433 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23435 return cycles;
23436 #undef FLD
23439 static int
23440 model_fr550_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
23442 #define FLD(f) abuf->fields.sfmt_cfckne.f
23443 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23444 const IDESC * UNUSED idesc = abuf->idesc;
23445 int cycles = 0;
23447 int referenced = 0;
23448 int UNUSED insn_referenced = abuf->written;
23449 INT in_ICCi_3 = -1;
23450 INT in_FCCi_3 = -1;
23451 in_FCCi_3 = FLD (in_FCCi_3);
23452 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23453 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23455 return cycles;
23456 #undef FLD
23459 static int
23460 model_fr550_cfckule (SIM_CPU *current_cpu, void *sem_arg)
23462 #define FLD(f) abuf->fields.sfmt_cfckne.f
23463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23464 const IDESC * UNUSED idesc = abuf->idesc;
23465 int cycles = 0;
23467 int referenced = 0;
23468 int UNUSED insn_referenced = abuf->written;
23469 INT in_ICCi_3 = -1;
23470 INT in_FCCi_3 = -1;
23471 in_FCCi_3 = FLD (in_FCCi_3);
23472 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23473 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23475 return cycles;
23476 #undef FLD
23479 static int
23480 model_fr550_cfcku (SIM_CPU *current_cpu, void *sem_arg)
23482 #define FLD(f) abuf->fields.sfmt_cfckne.f
23483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23484 const IDESC * UNUSED idesc = abuf->idesc;
23485 int cycles = 0;
23487 int referenced = 0;
23488 int UNUSED insn_referenced = abuf->written;
23489 INT in_ICCi_3 = -1;
23490 INT in_FCCi_3 = -1;
23491 in_FCCi_3 = FLD (in_FCCi_3);
23492 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23493 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23495 return cycles;
23496 #undef FLD
23499 static int
23500 model_fr550_cfcko (SIM_CPU *current_cpu, void *sem_arg)
23502 #define FLD(f) abuf->fields.sfmt_cfckne.f
23503 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23504 const IDESC * UNUSED idesc = abuf->idesc;
23505 int cycles = 0;
23507 int referenced = 0;
23508 int UNUSED insn_referenced = abuf->written;
23509 INT in_ICCi_3 = -1;
23510 INT in_FCCi_3 = -1;
23511 in_FCCi_3 = FLD (in_FCCi_3);
23512 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23513 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23515 return cycles;
23516 #undef FLD
23519 static int
23520 model_fr550_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
23522 #define FLD(f) abuf->fields.sfmt_cjmpl.f
23523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23524 const IDESC * UNUSED idesc = abuf->idesc;
23525 int cycles = 0;
23527 int referenced = 0;
23528 int UNUSED insn_referenced = abuf->written;
23529 INT in_GRi = -1;
23530 INT in_GRj = -1;
23531 INT in_ICCi_2 = -1;
23532 INT in_FCCi_2 = -1;
23533 in_GRi = FLD (in_GRi);
23534 in_GRj = FLD (in_GRj);
23535 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23536 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
23537 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
23538 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
23540 return cycles;
23541 #undef FLD
23544 static int
23545 model_fr550_ccalll (SIM_CPU *current_cpu, void *sem_arg)
23547 #define FLD(f) abuf->fields.sfmt_cjmpl.f
23548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23549 const IDESC * UNUSED idesc = abuf->idesc;
23550 int cycles = 0;
23552 int referenced = 0;
23553 int UNUSED insn_referenced = abuf->written;
23554 INT in_GRi = -1;
23555 INT in_GRj = -1;
23556 INT in_ICCi_2 = -1;
23557 INT in_FCCi_2 = -1;
23558 in_GRi = FLD (in_GRi);
23559 in_GRj = FLD (in_GRj);
23560 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23561 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
23562 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
23563 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
23565 return cycles;
23566 #undef FLD
23569 static int
23570 model_fr550_ici (SIM_CPU *current_cpu, void *sem_arg)
23572 #define FLD(f) abuf->fields.sfmt_icpl.f
23573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23574 const IDESC * UNUSED idesc = abuf->idesc;
23575 int cycles = 0;
23577 int referenced = 0;
23578 int UNUSED insn_referenced = abuf->written;
23579 INT in_GRi = -1;
23580 INT in_GRj = -1;
23581 in_GRi = FLD (in_GRi);
23582 in_GRj = FLD (in_GRj);
23583 referenced |= 1 << 0;
23584 referenced |= 1 << 1;
23585 cycles += frvbf_model_fr550_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23587 return cycles;
23588 #undef FLD
23591 static int
23592 model_fr550_dci (SIM_CPU *current_cpu, void *sem_arg)
23594 #define FLD(f) abuf->fields.sfmt_icpl.f
23595 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23596 const IDESC * UNUSED idesc = abuf->idesc;
23597 int cycles = 0;
23599 int referenced = 0;
23600 int UNUSED insn_referenced = abuf->written;
23601 INT in_GRi = -1;
23602 INT in_GRj = -1;
23603 in_GRi = FLD (in_GRi);
23604 in_GRj = FLD (in_GRj);
23605 referenced |= 1 << 0;
23606 referenced |= 1 << 1;
23607 cycles += frvbf_model_fr550_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23609 return cycles;
23610 #undef FLD
23613 static int
23614 model_fr550_icei (SIM_CPU *current_cpu, void *sem_arg)
23616 #define FLD(f) abuf->fields.sfmt_icei.f
23617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23618 const IDESC * UNUSED idesc = abuf->idesc;
23619 int cycles = 0;
23621 int referenced = 0;
23622 int UNUSED insn_referenced = abuf->written;
23623 INT in_GRi = -1;
23624 INT in_GRj = -1;
23625 in_GRi = FLD (in_GRi);
23626 in_GRj = FLD (in_GRj);
23627 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
23628 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23629 cycles += frvbf_model_fr550_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23631 return cycles;
23632 #undef FLD
23635 static int
23636 model_fr550_dcei (SIM_CPU *current_cpu, void *sem_arg)
23638 #define FLD(f) abuf->fields.sfmt_icei.f
23639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23640 const IDESC * UNUSED idesc = abuf->idesc;
23641 int cycles = 0;
23643 int referenced = 0;
23644 int UNUSED insn_referenced = abuf->written;
23645 INT in_GRi = -1;
23646 INT in_GRj = -1;
23647 in_GRi = FLD (in_GRi);
23648 in_GRj = FLD (in_GRj);
23649 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
23650 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23651 cycles += frvbf_model_fr550_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23653 return cycles;
23654 #undef FLD
23657 static int
23658 model_fr550_dcf (SIM_CPU *current_cpu, void *sem_arg)
23660 #define FLD(f) abuf->fields.sfmt_icpl.f
23661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23662 const IDESC * UNUSED idesc = abuf->idesc;
23663 int cycles = 0;
23665 int referenced = 0;
23666 int UNUSED insn_referenced = abuf->written;
23667 INT in_GRi = -1;
23668 INT in_GRj = -1;
23669 in_GRi = FLD (in_GRi);
23670 in_GRj = FLD (in_GRj);
23671 referenced |= 1 << 0;
23672 referenced |= 1 << 1;
23673 cycles += frvbf_model_fr550_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23675 return cycles;
23676 #undef FLD
23679 static int
23680 model_fr550_dcef (SIM_CPU *current_cpu, void *sem_arg)
23682 #define FLD(f) abuf->fields.sfmt_icei.f
23683 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23684 const IDESC * UNUSED idesc = abuf->idesc;
23685 int cycles = 0;
23687 int referenced = 0;
23688 int UNUSED insn_referenced = abuf->written;
23689 INT in_GRi = -1;
23690 INT in_GRj = -1;
23691 in_GRi = FLD (in_GRi);
23692 in_GRj = FLD (in_GRj);
23693 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
23694 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23695 cycles += frvbf_model_fr550_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23697 return cycles;
23698 #undef FLD
23701 static int
23702 model_fr550_witlb (SIM_CPU *current_cpu, void *sem_arg)
23704 #define FLD(f) abuf->fields.sfmt_empty.f
23705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23706 const IDESC * UNUSED idesc = abuf->idesc;
23707 int cycles = 0;
23709 int referenced = 0;
23710 int UNUSED insn_referenced = abuf->written;
23711 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23713 return cycles;
23714 #undef FLD
23717 static int
23718 model_fr550_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
23720 #define FLD(f) abuf->fields.sfmt_empty.f
23721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23722 const IDESC * UNUSED idesc = abuf->idesc;
23723 int cycles = 0;
23725 int referenced = 0;
23726 int UNUSED insn_referenced = abuf->written;
23727 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23729 return cycles;
23730 #undef FLD
23733 static int
23734 model_fr550_itlbi (SIM_CPU *current_cpu, void *sem_arg)
23736 #define FLD(f) abuf->fields.sfmt_empty.f
23737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23738 const IDESC * UNUSED idesc = abuf->idesc;
23739 int cycles = 0;
23741 int referenced = 0;
23742 int UNUSED insn_referenced = abuf->written;
23743 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23745 return cycles;
23746 #undef FLD
23749 static int
23750 model_fr550_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
23752 #define FLD(f) abuf->fields.sfmt_empty.f
23753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23754 const IDESC * UNUSED idesc = abuf->idesc;
23755 int cycles = 0;
23757 int referenced = 0;
23758 int UNUSED insn_referenced = abuf->written;
23759 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23761 return cycles;
23762 #undef FLD
23765 static int
23766 model_fr550_icpl (SIM_CPU *current_cpu, void *sem_arg)
23768 #define FLD(f) abuf->fields.sfmt_icpl.f
23769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23770 const IDESC * UNUSED idesc = abuf->idesc;
23771 int cycles = 0;
23773 int referenced = 0;
23774 int UNUSED insn_referenced = abuf->written;
23775 INT in_GRi = -1;
23776 INT in_GRj = -1;
23777 in_GRi = FLD (in_GRi);
23778 in_GRj = FLD (in_GRj);
23779 referenced |= 1 << 0;
23780 referenced |= 1 << 1;
23781 cycles += frvbf_model_fr550_u_icpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23783 return cycles;
23784 #undef FLD
23787 static int
23788 model_fr550_dcpl (SIM_CPU *current_cpu, void *sem_arg)
23790 #define FLD(f) abuf->fields.sfmt_icpl.f
23791 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23792 const IDESC * UNUSED idesc = abuf->idesc;
23793 int cycles = 0;
23795 int referenced = 0;
23796 int UNUSED insn_referenced = abuf->written;
23797 INT in_GRi = -1;
23798 INT in_GRj = -1;
23799 in_GRi = FLD (in_GRi);
23800 in_GRj = FLD (in_GRj);
23801 referenced |= 1 << 0;
23802 referenced |= 1 << 1;
23803 cycles += frvbf_model_fr550_u_dcpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23805 return cycles;
23806 #undef FLD
23809 static int
23810 model_fr550_icul (SIM_CPU *current_cpu, void *sem_arg)
23812 #define FLD(f) abuf->fields.sfmt_jmpil.f
23813 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23814 const IDESC * UNUSED idesc = abuf->idesc;
23815 int cycles = 0;
23817 int referenced = 0;
23818 int UNUSED insn_referenced = abuf->written;
23819 INT in_GRi = -1;
23820 INT in_GRj = -1;
23821 in_GRi = FLD (in_GRi);
23822 referenced |= 1 << 0;
23823 cycles += frvbf_model_fr550_u_icul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23825 return cycles;
23826 #undef FLD
23829 static int
23830 model_fr550_dcul (SIM_CPU *current_cpu, void *sem_arg)
23832 #define FLD(f) abuf->fields.sfmt_jmpil.f
23833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23834 const IDESC * UNUSED idesc = abuf->idesc;
23835 int cycles = 0;
23837 int referenced = 0;
23838 int UNUSED insn_referenced = abuf->written;
23839 INT in_GRi = -1;
23840 INT in_GRj = -1;
23841 in_GRi = FLD (in_GRi);
23842 referenced |= 1 << 0;
23843 cycles += frvbf_model_fr550_u_dcul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23845 return cycles;
23846 #undef FLD
23849 static int
23850 model_fr550_bar (SIM_CPU *current_cpu, void *sem_arg)
23852 #define FLD(f) abuf->fields.sfmt_empty.f
23853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23854 const IDESC * UNUSED idesc = abuf->idesc;
23855 int cycles = 0;
23857 int referenced = 0;
23858 int UNUSED insn_referenced = abuf->written;
23859 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23861 return cycles;
23862 #undef FLD
23865 static int
23866 model_fr550_membar (SIM_CPU *current_cpu, void *sem_arg)
23868 #define FLD(f) abuf->fields.sfmt_empty.f
23869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23870 const IDESC * UNUSED idesc = abuf->idesc;
23871 int cycles = 0;
23873 int referenced = 0;
23874 int UNUSED insn_referenced = abuf->written;
23875 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23877 return cycles;
23878 #undef FLD
23881 static int
23882 model_fr550_lrai (SIM_CPU *current_cpu, void *sem_arg)
23884 #define FLD(f) abuf->fields.sfmt_empty.f
23885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23886 const IDESC * UNUSED idesc = abuf->idesc;
23887 int cycles = 0;
23889 int referenced = 0;
23890 int UNUSED insn_referenced = abuf->written;
23891 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23893 return cycles;
23894 #undef FLD
23897 static int
23898 model_fr550_lrad (SIM_CPU *current_cpu, void *sem_arg)
23900 #define FLD(f) abuf->fields.sfmt_empty.f
23901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23902 const IDESC * UNUSED idesc = abuf->idesc;
23903 int cycles = 0;
23905 int referenced = 0;
23906 int UNUSED insn_referenced = abuf->written;
23907 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23909 return cycles;
23910 #undef FLD
23913 static int
23914 model_fr550_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
23916 #define FLD(f) abuf->fields.sfmt_empty.f
23917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23918 const IDESC * UNUSED idesc = abuf->idesc;
23919 int cycles = 0;
23921 int referenced = 0;
23922 int UNUSED insn_referenced = abuf->written;
23923 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23925 return cycles;
23926 #undef FLD
23929 static int
23930 model_fr550_cop1 (SIM_CPU *current_cpu, void *sem_arg)
23932 #define FLD(f) abuf->fields.sfmt_empty.f
23933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23934 const IDESC * UNUSED idesc = abuf->idesc;
23935 int cycles = 0;
23937 int referenced = 0;
23938 int UNUSED insn_referenced = abuf->written;
23939 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23941 return cycles;
23942 #undef FLD
23945 static int
23946 model_fr550_cop2 (SIM_CPU *current_cpu, void *sem_arg)
23948 #define FLD(f) abuf->fields.sfmt_empty.f
23949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23950 const IDESC * UNUSED idesc = abuf->idesc;
23951 int cycles = 0;
23953 int referenced = 0;
23954 int UNUSED insn_referenced = abuf->written;
23955 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23957 return cycles;
23958 #undef FLD
23961 static int
23962 model_fr550_clrgr (SIM_CPU *current_cpu, void *sem_arg)
23964 #define FLD(f) abuf->fields.sfmt_swapi.f
23965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23966 const IDESC * UNUSED idesc = abuf->idesc;
23967 int cycles = 0;
23969 int referenced = 0;
23970 int UNUSED insn_referenced = abuf->written;
23971 INT in_GRk = -1;
23972 in_GRk = FLD (in_GRk);
23973 referenced |= 1 << 0;
23974 cycles += frvbf_model_fr550_u_clrgr (current_cpu, idesc, 0, referenced, in_GRk);
23976 return cycles;
23977 #undef FLD
23980 static int
23981 model_fr550_clrfr (SIM_CPU *current_cpu, void *sem_arg)
23983 #define FLD(f) abuf->fields.sfmt_cfmadds.f
23984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23985 const IDESC * UNUSED idesc = abuf->idesc;
23986 int cycles = 0;
23988 int referenced = 0;
23989 int UNUSED insn_referenced = abuf->written;
23990 INT in_FRk = -1;
23991 in_FRk = FLD (in_FRk);
23992 referenced |= 1 << 0;
23993 cycles += frvbf_model_fr550_u_clrfr (current_cpu, idesc, 0, referenced, in_FRk);
23995 return cycles;
23996 #undef FLD
23999 static int
24000 model_fr550_clrga (SIM_CPU *current_cpu, void *sem_arg)
24002 #define FLD(f) abuf->fields.sfmt_empty.f
24003 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24004 const IDESC * UNUSED idesc = abuf->idesc;
24005 int cycles = 0;
24007 int referenced = 0;
24008 int UNUSED insn_referenced = abuf->written;
24009 INT in_GRk = -1;
24010 cycles += frvbf_model_fr550_u_clrgr (current_cpu, idesc, 0, referenced, in_GRk);
24012 return cycles;
24013 #undef FLD
24016 static int
24017 model_fr550_clrfa (SIM_CPU *current_cpu, void *sem_arg)
24019 #define FLD(f) abuf->fields.sfmt_empty.f
24020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24021 const IDESC * UNUSED idesc = abuf->idesc;
24022 int cycles = 0;
24024 int referenced = 0;
24025 int UNUSED insn_referenced = abuf->written;
24026 INT in_FRk = -1;
24027 cycles += frvbf_model_fr550_u_clrfr (current_cpu, idesc, 0, referenced, in_FRk);
24029 return cycles;
24030 #undef FLD
24033 static int
24034 model_fr550_commitgr (SIM_CPU *current_cpu, void *sem_arg)
24036 #define FLD(f) abuf->fields.sfmt_setlos.f
24037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24038 const IDESC * UNUSED idesc = abuf->idesc;
24039 int cycles = 0;
24041 int referenced = 0;
24042 int UNUSED insn_referenced = abuf->written;
24043 INT in_GRk = -1;
24044 INT in_FRk = -1;
24045 cycles += frvbf_model_fr550_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
24047 return cycles;
24048 #undef FLD
24051 static int
24052 model_fr550_commitfr (SIM_CPU *current_cpu, void *sem_arg)
24054 #define FLD(f) abuf->fields.sfmt_mhsethis.f
24055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24056 const IDESC * UNUSED idesc = abuf->idesc;
24057 int cycles = 0;
24059 int referenced = 0;
24060 int UNUSED insn_referenced = abuf->written;
24061 INT in_GRk = -1;
24062 INT in_FRk = -1;
24063 cycles += frvbf_model_fr550_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
24065 return cycles;
24066 #undef FLD
24069 static int
24070 model_fr550_commitga (SIM_CPU *current_cpu, void *sem_arg)
24072 #define FLD(f) abuf->fields.sfmt_empty.f
24073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24074 const IDESC * UNUSED idesc = abuf->idesc;
24075 int cycles = 0;
24077 int referenced = 0;
24078 int UNUSED insn_referenced = abuf->written;
24079 INT in_GRk = -1;
24080 INT in_FRk = -1;
24081 cycles += frvbf_model_fr550_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
24083 return cycles;
24084 #undef FLD
24087 static int
24088 model_fr550_commitfa (SIM_CPU *current_cpu, void *sem_arg)
24090 #define FLD(f) abuf->fields.sfmt_empty.f
24091 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24092 const IDESC * UNUSED idesc = abuf->idesc;
24093 int cycles = 0;
24095 int referenced = 0;
24096 int UNUSED insn_referenced = abuf->written;
24097 INT in_GRk = -1;
24098 INT in_FRk = -1;
24099 cycles += frvbf_model_fr550_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
24101 return cycles;
24102 #undef FLD
24105 static int
24106 model_fr550_fitos (SIM_CPU *current_cpu, void *sem_arg)
24108 #define FLD(f) abuf->fields.sfmt_fditos.f
24109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24110 const IDESC * UNUSED idesc = abuf->idesc;
24111 int cycles = 0;
24113 int referenced = 0;
24114 int UNUSED insn_referenced = abuf->written;
24115 INT in_FRj = -1;
24116 INT in_FRintj = -1;
24117 INT in_FRdoublej = -1;
24118 INT out_FRk = -1;
24119 INT out_FRintk = -1;
24120 INT out_FRdoublek = -1;
24121 in_FRintj = FLD (in_FRintj);
24122 out_FRk = FLD (out_FRk);
24123 referenced |= 1 << 1;
24124 referenced |= 1 << 3;
24125 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24127 return cycles;
24128 #undef FLD
24131 static int
24132 model_fr550_fstoi (SIM_CPU *current_cpu, void *sem_arg)
24134 #define FLD(f) abuf->fields.sfmt_fdstoi.f
24135 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24136 const IDESC * UNUSED idesc = abuf->idesc;
24137 int cycles = 0;
24139 int referenced = 0;
24140 int UNUSED insn_referenced = abuf->written;
24141 INT in_FRj = -1;
24142 INT in_FRintj = -1;
24143 INT in_FRdoublej = -1;
24144 INT out_FRk = -1;
24145 INT out_FRintk = -1;
24146 INT out_FRdoublek = -1;
24147 in_FRj = FLD (in_FRj);
24148 out_FRintk = FLD (out_FRintk);
24149 referenced |= 1 << 0;
24150 referenced |= 1 << 4;
24151 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24153 return cycles;
24154 #undef FLD
24157 static int
24158 model_fr550_fitod (SIM_CPU *current_cpu, void *sem_arg)
24160 #define FLD(f) abuf->fields.sfmt_fitod.f
24161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24162 const IDESC * UNUSED idesc = abuf->idesc;
24163 int cycles = 0;
24165 int referenced = 0;
24166 int UNUSED insn_referenced = abuf->written;
24167 INT in_FRj = -1;
24168 INT in_FRintj = -1;
24169 INT in_FRdoublej = -1;
24170 INT out_FRk = -1;
24171 INT out_FRintk = -1;
24172 INT out_FRdoublek = -1;
24173 in_FRintj = FLD (in_FRintj);
24174 out_FRdoublek = FLD (out_FRdoublek);
24175 referenced |= 1 << 1;
24176 referenced |= 1 << 5;
24177 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24179 return cycles;
24180 #undef FLD
24183 static int
24184 model_fr550_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
24186 #define FLD(f) abuf->fields.sfmt_fdtoi.f
24187 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24188 const IDESC * UNUSED idesc = abuf->idesc;
24189 int cycles = 0;
24191 int referenced = 0;
24192 int UNUSED insn_referenced = abuf->written;
24193 INT in_FRj = -1;
24194 INT in_FRintj = -1;
24195 INT in_FRdoublej = -1;
24196 INT out_FRk = -1;
24197 INT out_FRintk = -1;
24198 INT out_FRdoublek = -1;
24199 in_FRdoublej = FLD (in_FRdoublej);
24200 out_FRintk = FLD (out_FRintk);
24201 referenced |= 1 << 2;
24202 referenced |= 1 << 4;
24203 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24205 return cycles;
24206 #undef FLD
24209 static int
24210 model_fr550_fditos (SIM_CPU *current_cpu, void *sem_arg)
24212 #define FLD(f) abuf->fields.sfmt_fditos.f
24213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24214 const IDESC * UNUSED idesc = abuf->idesc;
24215 int cycles = 0;
24217 int referenced = 0;
24218 int UNUSED insn_referenced = abuf->written;
24219 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24221 return cycles;
24222 #undef FLD
24225 static int
24226 model_fr550_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
24228 #define FLD(f) abuf->fields.sfmt_fdstoi.f
24229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24230 const IDESC * UNUSED idesc = abuf->idesc;
24231 int cycles = 0;
24233 int referenced = 0;
24234 int UNUSED insn_referenced = abuf->written;
24235 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24237 return cycles;
24238 #undef FLD
24241 static int
24242 model_fr550_nfditos (SIM_CPU *current_cpu, void *sem_arg)
24244 #define FLD(f) abuf->fields.sfmt_fditos.f
24245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24246 const IDESC * UNUSED idesc = abuf->idesc;
24247 int cycles = 0;
24249 int referenced = 0;
24250 int UNUSED insn_referenced = abuf->written;
24251 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24253 return cycles;
24254 #undef FLD
24257 static int
24258 model_fr550_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
24260 #define FLD(f) abuf->fields.sfmt_fdstoi.f
24261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24262 const IDESC * UNUSED idesc = abuf->idesc;
24263 int cycles = 0;
24265 int referenced = 0;
24266 int UNUSED insn_referenced = abuf->written;
24267 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24269 return cycles;
24270 #undef FLD
24273 static int
24274 model_fr550_cfitos (SIM_CPU *current_cpu, void *sem_arg)
24276 #define FLD(f) abuf->fields.sfmt_cfitos.f
24277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24278 const IDESC * UNUSED idesc = abuf->idesc;
24279 int cycles = 0;
24281 int referenced = 0;
24282 int UNUSED insn_referenced = abuf->written;
24283 INT in_FRj = -1;
24284 INT in_FRintj = -1;
24285 INT in_FRdoublej = -1;
24286 INT out_FRk = -1;
24287 INT out_FRintk = -1;
24288 INT out_FRdoublek = -1;
24289 in_FRintj = FLD (in_FRintj);
24290 out_FRk = FLD (out_FRk);
24291 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
24292 if (insn_referenced & (1 << 3)) referenced |= 1 << 3;
24293 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24295 return cycles;
24296 #undef FLD
24299 static int
24300 model_fr550_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
24302 #define FLD(f) abuf->fields.sfmt_cfstoi.f
24303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24304 const IDESC * UNUSED idesc = abuf->idesc;
24305 int cycles = 0;
24307 int referenced = 0;
24308 int UNUSED insn_referenced = abuf->written;
24309 INT in_FRj = -1;
24310 INT in_FRintj = -1;
24311 INT in_FRdoublej = -1;
24312 INT out_FRk = -1;
24313 INT out_FRintk = -1;
24314 INT out_FRdoublek = -1;
24315 in_FRj = FLD (in_FRj);
24316 out_FRintk = FLD (out_FRintk);
24317 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
24318 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
24319 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24321 return cycles;
24322 #undef FLD
24325 static int
24326 model_fr550_nfitos (SIM_CPU *current_cpu, void *sem_arg)
24328 #define FLD(f) abuf->fields.sfmt_fditos.f
24329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24330 const IDESC * UNUSED idesc = abuf->idesc;
24331 int cycles = 0;
24333 int referenced = 0;
24334 int UNUSED insn_referenced = abuf->written;
24335 INT in_FRj = -1;
24336 INT in_FRintj = -1;
24337 INT in_FRdoublej = -1;
24338 INT out_FRk = -1;
24339 INT out_FRintk = -1;
24340 INT out_FRdoublek = -1;
24341 in_FRintj = FLD (in_FRintj);
24342 out_FRk = FLD (out_FRk);
24343 referenced |= 1 << 1;
24344 referenced |= 1 << 3;
24345 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24347 return cycles;
24348 #undef FLD
24351 static int
24352 model_fr550_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
24354 #define FLD(f) abuf->fields.sfmt_fdstoi.f
24355 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24356 const IDESC * UNUSED idesc = abuf->idesc;
24357 int cycles = 0;
24359 int referenced = 0;
24360 int UNUSED insn_referenced = abuf->written;
24361 INT in_FRj = -1;
24362 INT in_FRintj = -1;
24363 INT in_FRdoublej = -1;
24364 INT out_FRk = -1;
24365 INT out_FRintk = -1;
24366 INT out_FRdoublek = -1;
24367 in_FRj = FLD (in_FRj);
24368 out_FRintk = FLD (out_FRintk);
24369 referenced |= 1 << 0;
24370 referenced |= 1 << 4;
24371 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24373 return cycles;
24374 #undef FLD
24377 static int
24378 model_fr550_fmovs (SIM_CPU *current_cpu, void *sem_arg)
24380 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24382 const IDESC * UNUSED idesc = abuf->idesc;
24383 int cycles = 0;
24385 int referenced = 0;
24386 int UNUSED insn_referenced = abuf->written;
24387 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24389 return cycles;
24390 #undef FLD
24393 static int
24394 model_fr550_fmovd (SIM_CPU *current_cpu, void *sem_arg)
24396 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24398 const IDESC * UNUSED idesc = abuf->idesc;
24399 int cycles = 0;
24401 int referenced = 0;
24402 int UNUSED insn_referenced = abuf->written;
24403 INT in_FRi = -1;
24404 INT out_FRk = -1;
24405 cycles += frvbf_model_fr550_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
24407 return cycles;
24408 #undef FLD
24411 static int
24412 model_fr550_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
24414 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24415 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24416 const IDESC * UNUSED idesc = abuf->idesc;
24417 int cycles = 0;
24419 int referenced = 0;
24420 int UNUSED insn_referenced = abuf->written;
24421 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24423 return cycles;
24424 #undef FLD
24427 static int
24428 model_fr550_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
24430 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24432 const IDESC * UNUSED idesc = abuf->idesc;
24433 int cycles = 0;
24435 int referenced = 0;
24436 int UNUSED insn_referenced = abuf->written;
24437 INT in_FRi = -1;
24438 INT out_FRk = -1;
24439 out_FRk = FLD (out_FRk);
24440 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
24441 cycles += frvbf_model_fr550_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
24443 return cycles;
24444 #undef FLD
24447 static int
24448 model_fr550_fnegs (SIM_CPU *current_cpu, void *sem_arg)
24450 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24451 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24452 const IDESC * UNUSED idesc = abuf->idesc;
24453 int cycles = 0;
24455 int referenced = 0;
24456 int UNUSED insn_referenced = abuf->written;
24457 INT in_FRi = -1;
24458 INT in_FRj = -1;
24459 INT in_FRdoublei = -1;
24460 INT in_FRdoublej = -1;
24461 INT out_FRk = -1;
24462 INT out_FRdoublek = -1;
24463 in_FRj = FLD (in_FRj);
24464 out_FRk = FLD (out_FRk);
24465 referenced |= 1 << 1;
24466 referenced |= 1 << 4;
24467 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24469 return cycles;
24470 #undef FLD
24473 static int
24474 model_fr550_fnegd (SIM_CPU *current_cpu, void *sem_arg)
24476 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24478 const IDESC * UNUSED idesc = abuf->idesc;
24479 int cycles = 0;
24481 int referenced = 0;
24482 int UNUSED insn_referenced = abuf->written;
24483 INT in_FRi = -1;
24484 INT in_FRj = -1;
24485 INT in_FRdoublei = -1;
24486 INT in_FRdoublej = -1;
24487 INT out_FRk = -1;
24488 INT out_FRdoublek = -1;
24489 in_FRdoublej = FLD (in_FRdoublej);
24490 out_FRdoublek = FLD (out_FRdoublek);
24491 referenced |= 1 << 3;
24492 referenced |= 1 << 5;
24493 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24495 return cycles;
24496 #undef FLD
24499 static int
24500 model_fr550_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
24502 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24503 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24504 const IDESC * UNUSED idesc = abuf->idesc;
24505 int cycles = 0;
24507 int referenced = 0;
24508 int UNUSED insn_referenced = abuf->written;
24509 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24511 return cycles;
24512 #undef FLD
24515 static int
24516 model_fr550_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
24518 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24519 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24520 const IDESC * UNUSED idesc = abuf->idesc;
24521 int cycles = 0;
24523 int referenced = 0;
24524 int UNUSED insn_referenced = abuf->written;
24525 INT in_FRi = -1;
24526 INT in_FRj = -1;
24527 INT in_FRdoublei = -1;
24528 INT in_FRdoublej = -1;
24529 INT out_FRk = -1;
24530 INT out_FRdoublek = -1;
24531 in_FRj = FLD (in_FRj);
24532 out_FRk = FLD (out_FRk);
24533 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
24534 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
24535 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24537 return cycles;
24538 #undef FLD
24541 static int
24542 model_fr550_fabss (SIM_CPU *current_cpu, void *sem_arg)
24544 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24546 const IDESC * UNUSED idesc = abuf->idesc;
24547 int cycles = 0;
24549 int referenced = 0;
24550 int UNUSED insn_referenced = abuf->written;
24551 INT in_FRi = -1;
24552 INT in_FRj = -1;
24553 INT in_FRdoublei = -1;
24554 INT in_FRdoublej = -1;
24555 INT out_FRk = -1;
24556 INT out_FRdoublek = -1;
24557 in_FRj = FLD (in_FRj);
24558 out_FRk = FLD (out_FRk);
24559 referenced |= 1 << 1;
24560 referenced |= 1 << 4;
24561 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24563 return cycles;
24564 #undef FLD
24567 static int
24568 model_fr550_fabsd (SIM_CPU *current_cpu, void *sem_arg)
24570 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24571 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24572 const IDESC * UNUSED idesc = abuf->idesc;
24573 int cycles = 0;
24575 int referenced = 0;
24576 int UNUSED insn_referenced = abuf->written;
24577 INT in_FRi = -1;
24578 INT in_FRj = -1;
24579 INT in_FRdoublei = -1;
24580 INT in_FRdoublej = -1;
24581 INT out_FRk = -1;
24582 INT out_FRdoublek = -1;
24583 in_FRdoublej = FLD (in_FRdoublej);
24584 out_FRdoublek = FLD (out_FRdoublek);
24585 referenced |= 1 << 3;
24586 referenced |= 1 << 5;
24587 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24589 return cycles;
24590 #undef FLD
24593 static int
24594 model_fr550_fdabss (SIM_CPU *current_cpu, void *sem_arg)
24596 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24598 const IDESC * UNUSED idesc = abuf->idesc;
24599 int cycles = 0;
24601 int referenced = 0;
24602 int UNUSED insn_referenced = abuf->written;
24603 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24605 return cycles;
24606 #undef FLD
24609 static int
24610 model_fr550_cfabss (SIM_CPU *current_cpu, void *sem_arg)
24612 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24614 const IDESC * UNUSED idesc = abuf->idesc;
24615 int cycles = 0;
24617 int referenced = 0;
24618 int UNUSED insn_referenced = abuf->written;
24619 INT in_FRi = -1;
24620 INT in_FRj = -1;
24621 INT in_FRdoublei = -1;
24622 INT in_FRdoublej = -1;
24623 INT out_FRk = -1;
24624 INT out_FRdoublek = -1;
24625 in_FRj = FLD (in_FRj);
24626 out_FRk = FLD (out_FRk);
24627 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
24628 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
24629 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24631 return cycles;
24632 #undef FLD
24635 static int
24636 model_fr550_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
24638 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24640 const IDESC * UNUSED idesc = abuf->idesc;
24641 int cycles = 0;
24643 int referenced = 0;
24644 int UNUSED insn_referenced = abuf->written;
24645 INT in_FRj = -1;
24646 INT in_FRdoublej = -1;
24647 INT out_FRk = -1;
24648 INT out_FRdoublek = -1;
24649 in_FRj = FLD (in_FRj);
24650 out_FRk = FLD (out_FRk);
24651 referenced |= 1 << 0;
24652 referenced |= 1 << 2;
24653 cycles += frvbf_model_fr550_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
24655 return cycles;
24656 #undef FLD
24659 static int
24660 model_fr550_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
24662 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24663 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24664 const IDESC * UNUSED idesc = abuf->idesc;
24665 int cycles = 0;
24667 int referenced = 0;
24668 int UNUSED insn_referenced = abuf->written;
24669 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24671 return cycles;
24672 #undef FLD
24675 static int
24676 model_fr550_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
24678 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24680 const IDESC * UNUSED idesc = abuf->idesc;
24681 int cycles = 0;
24683 int referenced = 0;
24684 int UNUSED insn_referenced = abuf->written;
24685 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24687 return cycles;
24688 #undef FLD
24691 static int
24692 model_fr550_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
24694 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24695 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24696 const IDESC * UNUSED idesc = abuf->idesc;
24697 int cycles = 0;
24699 int referenced = 0;
24700 int UNUSED insn_referenced = abuf->written;
24701 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24703 return cycles;
24704 #undef FLD
24707 static int
24708 model_fr550_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
24710 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24711 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24712 const IDESC * UNUSED idesc = abuf->idesc;
24713 int cycles = 0;
24715 int referenced = 0;
24716 int UNUSED insn_referenced = abuf->written;
24717 INT in_FRj = -1;
24718 INT in_FRdoublej = -1;
24719 INT out_FRk = -1;
24720 INT out_FRdoublek = -1;
24721 in_FRj = FLD (in_FRj);
24722 out_FRk = FLD (out_FRk);
24723 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
24724 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
24725 cycles += frvbf_model_fr550_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
24727 return cycles;
24728 #undef FLD
24731 static int
24732 model_fr550_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
24734 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24735 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24736 const IDESC * UNUSED idesc = abuf->idesc;
24737 int cycles = 0;
24739 int referenced = 0;
24740 int UNUSED insn_referenced = abuf->written;
24741 INT in_FRj = -1;
24742 INT in_FRdoublej = -1;
24743 INT out_FRk = -1;
24744 INT out_FRdoublek = -1;
24745 in_FRj = FLD (in_FRj);
24746 out_FRk = FLD (out_FRk);
24747 referenced |= 1 << 0;
24748 referenced |= 1 << 2;
24749 cycles += frvbf_model_fr550_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
24751 return cycles;
24752 #undef FLD
24755 static int
24756 model_fr550_fadds (SIM_CPU *current_cpu, void *sem_arg)
24758 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24759 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24760 const IDESC * UNUSED idesc = abuf->idesc;
24761 int cycles = 0;
24763 int referenced = 0;
24764 int UNUSED insn_referenced = abuf->written;
24765 INT in_FRi = -1;
24766 INT in_FRj = -1;
24767 INT in_FRdoublei = -1;
24768 INT in_FRdoublej = -1;
24769 INT out_FRk = -1;
24770 INT out_FRdoublek = -1;
24771 in_FRi = FLD (in_FRi);
24772 in_FRj = FLD (in_FRj);
24773 out_FRk = FLD (out_FRk);
24774 referenced |= 1 << 0;
24775 referenced |= 1 << 1;
24776 referenced |= 1 << 4;
24777 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24779 return cycles;
24780 #undef FLD
24783 static int
24784 model_fr550_fsubs (SIM_CPU *current_cpu, void *sem_arg)
24786 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24787 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24788 const IDESC * UNUSED idesc = abuf->idesc;
24789 int cycles = 0;
24791 int referenced = 0;
24792 int UNUSED insn_referenced = abuf->written;
24793 INT in_FRi = -1;
24794 INT in_FRj = -1;
24795 INT in_FRdoublei = -1;
24796 INT in_FRdoublej = -1;
24797 INT out_FRk = -1;
24798 INT out_FRdoublek = -1;
24799 in_FRi = FLD (in_FRi);
24800 in_FRj = FLD (in_FRj);
24801 out_FRk = FLD (out_FRk);
24802 referenced |= 1 << 0;
24803 referenced |= 1 << 1;
24804 referenced |= 1 << 4;
24805 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24807 return cycles;
24808 #undef FLD
24811 static int
24812 model_fr550_fmuls (SIM_CPU *current_cpu, void *sem_arg)
24814 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24815 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24816 const IDESC * UNUSED idesc = abuf->idesc;
24817 int cycles = 0;
24819 int referenced = 0;
24820 int UNUSED insn_referenced = abuf->written;
24821 INT in_FRi = -1;
24822 INT in_FRj = -1;
24823 INT in_FRdoublei = -1;
24824 INT in_FRdoublej = -1;
24825 INT out_FRk = -1;
24826 INT out_FRdoublek = -1;
24827 in_FRi = FLD (in_FRi);
24828 in_FRj = FLD (in_FRj);
24829 out_FRk = FLD (out_FRk);
24830 referenced |= 1 << 0;
24831 referenced |= 1 << 1;
24832 referenced |= 1 << 4;
24833 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24835 return cycles;
24836 #undef FLD
24839 static int
24840 model_fr550_fdivs (SIM_CPU *current_cpu, void *sem_arg)
24842 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24843 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24844 const IDESC * UNUSED idesc = abuf->idesc;
24845 int cycles = 0;
24847 int referenced = 0;
24848 int UNUSED insn_referenced = abuf->written;
24849 INT in_FRi = -1;
24850 INT in_FRj = -1;
24851 INT out_FRk = -1;
24852 in_FRi = FLD (in_FRi);
24853 in_FRj = FLD (in_FRj);
24854 out_FRk = FLD (out_FRk);
24855 referenced |= 1 << 0;
24856 referenced |= 1 << 1;
24857 referenced |= 1 << 2;
24858 cycles += frvbf_model_fr550_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
24860 return cycles;
24861 #undef FLD
24864 static int
24865 model_fr550_faddd (SIM_CPU *current_cpu, void *sem_arg)
24867 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24869 const IDESC * UNUSED idesc = abuf->idesc;
24870 int cycles = 0;
24872 int referenced = 0;
24873 int UNUSED insn_referenced = abuf->written;
24874 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24876 return cycles;
24877 #undef FLD
24880 static int
24881 model_fr550_fsubd (SIM_CPU *current_cpu, void *sem_arg)
24883 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24885 const IDESC * UNUSED idesc = abuf->idesc;
24886 int cycles = 0;
24888 int referenced = 0;
24889 int UNUSED insn_referenced = abuf->written;
24890 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24892 return cycles;
24893 #undef FLD
24896 static int
24897 model_fr550_fmuld (SIM_CPU *current_cpu, void *sem_arg)
24899 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24901 const IDESC * UNUSED idesc = abuf->idesc;
24902 int cycles = 0;
24904 int referenced = 0;
24905 int UNUSED insn_referenced = abuf->written;
24906 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24908 return cycles;
24909 #undef FLD
24912 static int
24913 model_fr550_fdivd (SIM_CPU *current_cpu, void *sem_arg)
24915 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24917 const IDESC * UNUSED idesc = abuf->idesc;
24918 int cycles = 0;
24920 int referenced = 0;
24921 int UNUSED insn_referenced = abuf->written;
24922 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24924 return cycles;
24925 #undef FLD
24928 static int
24929 model_fr550_cfadds (SIM_CPU *current_cpu, void *sem_arg)
24931 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24933 const IDESC * UNUSED idesc = abuf->idesc;
24934 int cycles = 0;
24936 int referenced = 0;
24937 int UNUSED insn_referenced = abuf->written;
24938 INT in_FRi = -1;
24939 INT in_FRj = -1;
24940 INT in_FRdoublei = -1;
24941 INT in_FRdoublej = -1;
24942 INT out_FRk = -1;
24943 INT out_FRdoublek = -1;
24944 in_FRi = FLD (in_FRi);
24945 in_FRj = FLD (in_FRj);
24946 out_FRk = FLD (out_FRk);
24947 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
24948 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
24949 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
24950 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24952 return cycles;
24953 #undef FLD
24956 static int
24957 model_fr550_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
24959 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24961 const IDESC * UNUSED idesc = abuf->idesc;
24962 int cycles = 0;
24964 int referenced = 0;
24965 int UNUSED insn_referenced = abuf->written;
24966 INT in_FRi = -1;
24967 INT in_FRj = -1;
24968 INT in_FRdoublei = -1;
24969 INT in_FRdoublej = -1;
24970 INT out_FRk = -1;
24971 INT out_FRdoublek = -1;
24972 in_FRi = FLD (in_FRi);
24973 in_FRj = FLD (in_FRj);
24974 out_FRk = FLD (out_FRk);
24975 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
24976 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
24977 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
24978 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24980 return cycles;
24981 #undef FLD
24984 static int
24985 model_fr550_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
24987 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24989 const IDESC * UNUSED idesc = abuf->idesc;
24990 int cycles = 0;
24992 int referenced = 0;
24993 int UNUSED insn_referenced = abuf->written;
24994 INT in_FRi = -1;
24995 INT in_FRj = -1;
24996 INT in_FRdoublei = -1;
24997 INT in_FRdoublej = -1;
24998 INT out_FRk = -1;
24999 INT out_FRdoublek = -1;
25000 in_FRi = FLD (in_FRi);
25001 in_FRj = FLD (in_FRj);
25002 out_FRk = FLD (out_FRk);
25003 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25004 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25005 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
25006 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25008 return cycles;
25009 #undef FLD
25012 static int
25013 model_fr550_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
25015 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25017 const IDESC * UNUSED idesc = abuf->idesc;
25018 int cycles = 0;
25020 int referenced = 0;
25021 int UNUSED insn_referenced = abuf->written;
25022 INT in_FRi = -1;
25023 INT in_FRj = -1;
25024 INT out_FRk = -1;
25025 in_FRi = FLD (in_FRi);
25026 in_FRj = FLD (in_FRj);
25027 out_FRk = FLD (out_FRk);
25028 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25029 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25030 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
25031 cycles += frvbf_model_fr550_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
25033 return cycles;
25034 #undef FLD
25037 static int
25038 model_fr550_nfadds (SIM_CPU *current_cpu, void *sem_arg)
25040 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25042 const IDESC * UNUSED idesc = abuf->idesc;
25043 int cycles = 0;
25045 int referenced = 0;
25046 int UNUSED insn_referenced = abuf->written;
25047 INT in_FRi = -1;
25048 INT in_FRj = -1;
25049 INT in_FRdoublei = -1;
25050 INT in_FRdoublej = -1;
25051 INT out_FRk = -1;
25052 INT out_FRdoublek = -1;
25053 in_FRi = FLD (in_FRi);
25054 in_FRj = FLD (in_FRj);
25055 out_FRk = FLD (out_FRk);
25056 referenced |= 1 << 0;
25057 referenced |= 1 << 1;
25058 referenced |= 1 << 4;
25059 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25061 return cycles;
25062 #undef FLD
25065 static int
25066 model_fr550_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
25068 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25070 const IDESC * UNUSED idesc = abuf->idesc;
25071 int cycles = 0;
25073 int referenced = 0;
25074 int UNUSED insn_referenced = abuf->written;
25075 INT in_FRi = -1;
25076 INT in_FRj = -1;
25077 INT in_FRdoublei = -1;
25078 INT in_FRdoublej = -1;
25079 INT out_FRk = -1;
25080 INT out_FRdoublek = -1;
25081 in_FRi = FLD (in_FRi);
25082 in_FRj = FLD (in_FRj);
25083 out_FRk = FLD (out_FRk);
25084 referenced |= 1 << 0;
25085 referenced |= 1 << 1;
25086 referenced |= 1 << 4;
25087 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25089 return cycles;
25090 #undef FLD
25093 static int
25094 model_fr550_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
25096 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25098 const IDESC * UNUSED idesc = abuf->idesc;
25099 int cycles = 0;
25101 int referenced = 0;
25102 int UNUSED insn_referenced = abuf->written;
25103 INT in_FRi = -1;
25104 INT in_FRj = -1;
25105 INT in_FRdoublei = -1;
25106 INT in_FRdoublej = -1;
25107 INT out_FRk = -1;
25108 INT out_FRdoublek = -1;
25109 in_FRi = FLD (in_FRi);
25110 in_FRj = FLD (in_FRj);
25111 out_FRk = FLD (out_FRk);
25112 referenced |= 1 << 0;
25113 referenced |= 1 << 1;
25114 referenced |= 1 << 4;
25115 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25117 return cycles;
25118 #undef FLD
25121 static int
25122 model_fr550_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
25124 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25126 const IDESC * UNUSED idesc = abuf->idesc;
25127 int cycles = 0;
25129 int referenced = 0;
25130 int UNUSED insn_referenced = abuf->written;
25131 INT in_FRi = -1;
25132 INT in_FRj = -1;
25133 INT out_FRk = -1;
25134 in_FRi = FLD (in_FRi);
25135 in_FRj = FLD (in_FRj);
25136 out_FRk = FLD (out_FRk);
25137 referenced |= 1 << 0;
25138 referenced |= 1 << 1;
25139 referenced |= 1 << 2;
25140 cycles += frvbf_model_fr550_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
25142 return cycles;
25143 #undef FLD
25146 static int
25147 model_fr550_fcmps (SIM_CPU *current_cpu, void *sem_arg)
25149 #define FLD(f) abuf->fields.sfmt_cfcmps.f
25150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25151 const IDESC * UNUSED idesc = abuf->idesc;
25152 int cycles = 0;
25154 int referenced = 0;
25155 int UNUSED insn_referenced = abuf->written;
25156 INT in_FRi = -1;
25157 INT in_FRj = -1;
25158 INT in_FRdoublei = -1;
25159 INT in_FRdoublej = -1;
25160 INT out_FCCi_2 = -1;
25161 in_FRi = FLD (in_FRi);
25162 in_FRj = FLD (in_FRj);
25163 out_FCCi_2 = FLD (out_FCCi_2);
25164 referenced |= 1 << 0;
25165 referenced |= 1 << 1;
25166 if (insn_referenced & (1 << 2)) referenced |= 1 << 4;
25167 cycles += frvbf_model_fr550_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
25169 return cycles;
25170 #undef FLD
25173 static int
25174 model_fr550_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
25176 #define FLD(f) abuf->fields.sfmt_fcmpd.f
25177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25178 const IDESC * UNUSED idesc = abuf->idesc;
25179 int cycles = 0;
25181 int referenced = 0;
25182 int UNUSED insn_referenced = abuf->written;
25183 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25185 return cycles;
25186 #undef FLD
25189 static int
25190 model_fr550_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
25192 #define FLD(f) abuf->fields.sfmt_cfcmps.f
25193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25194 const IDESC * UNUSED idesc = abuf->idesc;
25195 int cycles = 0;
25197 int referenced = 0;
25198 int UNUSED insn_referenced = abuf->written;
25199 INT in_FRi = -1;
25200 INT in_FRj = -1;
25201 INT in_FRdoublei = -1;
25202 INT in_FRdoublej = -1;
25203 INT out_FCCi_2 = -1;
25204 in_FRi = FLD (in_FRi);
25205 in_FRj = FLD (in_FRj);
25206 out_FCCi_2 = FLD (out_FCCi_2);
25207 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25208 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25209 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
25210 cycles += frvbf_model_fr550_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
25212 return cycles;
25213 #undef FLD
25216 static int
25217 model_fr550_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
25219 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
25220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25221 const IDESC * UNUSED idesc = abuf->idesc;
25222 int cycles = 0;
25224 int referenced = 0;
25225 int UNUSED insn_referenced = abuf->written;
25226 INT in_FRi = -1;
25227 INT in_FRj = -1;
25228 INT out_FCCi_2 = -1;
25229 in_FRi = FLD (in_FRi);
25230 in_FRj = FLD (in_FRj);
25231 out_FCCi_2 = FLD (out_FCCi_2);
25232 referenced |= 1 << 0;
25233 referenced |= 1 << 1;
25234 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
25235 cycles += frvbf_model_fr550_u_float_dual_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FCCi_2);
25237 return cycles;
25238 #undef FLD
25241 static int
25242 model_fr550_fmadds (SIM_CPU *current_cpu, void *sem_arg)
25244 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25246 const IDESC * UNUSED idesc = abuf->idesc;
25247 int cycles = 0;
25249 int referenced = 0;
25250 int UNUSED insn_referenced = abuf->written;
25251 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25253 return cycles;
25254 #undef FLD
25257 static int
25258 model_fr550_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
25260 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25262 const IDESC * UNUSED idesc = abuf->idesc;
25263 int cycles = 0;
25265 int referenced = 0;
25266 int UNUSED insn_referenced = abuf->written;
25267 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25269 return cycles;
25270 #undef FLD
25273 static int
25274 model_fr550_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
25276 #define FLD(f) abuf->fields.sfmt_fmaddd.f
25277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25278 const IDESC * UNUSED idesc = abuf->idesc;
25279 int cycles = 0;
25281 int referenced = 0;
25282 int UNUSED insn_referenced = abuf->written;
25283 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25285 return cycles;
25286 #undef FLD
25289 static int
25290 model_fr550_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
25292 #define FLD(f) abuf->fields.sfmt_fmaddd.f
25293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25294 const IDESC * UNUSED idesc = abuf->idesc;
25295 int cycles = 0;
25297 int referenced = 0;
25298 int UNUSED insn_referenced = abuf->written;
25299 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25301 return cycles;
25302 #undef FLD
25305 static int
25306 model_fr550_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
25308 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25310 const IDESC * UNUSED idesc = abuf->idesc;
25311 int cycles = 0;
25313 int referenced = 0;
25314 int UNUSED insn_referenced = abuf->written;
25315 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25317 return cycles;
25318 #undef FLD
25321 static int
25322 model_fr550_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
25324 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25326 const IDESC * UNUSED idesc = abuf->idesc;
25327 int cycles = 0;
25329 int referenced = 0;
25330 int UNUSED insn_referenced = abuf->written;
25331 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25333 return cycles;
25334 #undef FLD
25337 static int
25338 model_fr550_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
25340 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25342 const IDESC * UNUSED idesc = abuf->idesc;
25343 int cycles = 0;
25345 int referenced = 0;
25346 int UNUSED insn_referenced = abuf->written;
25347 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25349 return cycles;
25350 #undef FLD
25353 static int
25354 model_fr550_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
25356 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25358 const IDESC * UNUSED idesc = abuf->idesc;
25359 int cycles = 0;
25361 int referenced = 0;
25362 int UNUSED insn_referenced = abuf->written;
25363 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25365 return cycles;
25366 #undef FLD
25369 static int
25370 model_fr550_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
25372 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25374 const IDESC * UNUSED idesc = abuf->idesc;
25375 int cycles = 0;
25377 int referenced = 0;
25378 int UNUSED insn_referenced = abuf->written;
25379 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25381 return cycles;
25382 #undef FLD
25385 static int
25386 model_fr550_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
25388 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25390 const IDESC * UNUSED idesc = abuf->idesc;
25391 int cycles = 0;
25393 int referenced = 0;
25394 int UNUSED insn_referenced = abuf->written;
25395 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25397 return cycles;
25398 #undef FLD
25401 static int
25402 model_fr550_fmas (SIM_CPU *current_cpu, void *sem_arg)
25404 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25406 const IDESC * UNUSED idesc = abuf->idesc;
25407 int cycles = 0;
25409 int referenced = 0;
25410 int UNUSED insn_referenced = abuf->written;
25411 INT in_FRi = -1;
25412 INT in_FRj = -1;
25413 INT in_FRdoublei = -1;
25414 INT in_FRdoublej = -1;
25415 INT out_FRk = -1;
25416 INT out_FRdoublek = -1;
25417 in_FRi = FLD (in_FRi);
25418 in_FRj = FLD (in_FRj);
25419 out_FRk = FLD (out_FRk);
25420 referenced |= 1 << 0;
25421 referenced |= 1 << 1;
25422 referenced |= 1 << 4;
25423 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25425 return cycles;
25426 #undef FLD
25429 static int
25430 model_fr550_fmss (SIM_CPU *current_cpu, void *sem_arg)
25432 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25434 const IDESC * UNUSED idesc = abuf->idesc;
25435 int cycles = 0;
25437 int referenced = 0;
25438 int UNUSED insn_referenced = abuf->written;
25439 INT in_FRi = -1;
25440 INT in_FRj = -1;
25441 INT in_FRdoublei = -1;
25442 INT in_FRdoublej = -1;
25443 INT out_FRk = -1;
25444 INT out_FRdoublek = -1;
25445 in_FRi = FLD (in_FRi);
25446 in_FRj = FLD (in_FRj);
25447 out_FRk = FLD (out_FRk);
25448 referenced |= 1 << 0;
25449 referenced |= 1 << 1;
25450 referenced |= 1 << 4;
25451 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25453 return cycles;
25454 #undef FLD
25457 static int
25458 model_fr550_fdmas (SIM_CPU *current_cpu, void *sem_arg)
25460 #define FLD(f) abuf->fields.sfmt_fdmas.f
25461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25462 const IDESC * UNUSED idesc = abuf->idesc;
25463 int cycles = 0;
25465 int referenced = 0;
25466 int UNUSED insn_referenced = abuf->written;
25467 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25469 return cycles;
25470 #undef FLD
25473 static int
25474 model_fr550_fdmss (SIM_CPU *current_cpu, void *sem_arg)
25476 #define FLD(f) abuf->fields.sfmt_fdmas.f
25477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25478 const IDESC * UNUSED idesc = abuf->idesc;
25479 int cycles = 0;
25481 int referenced = 0;
25482 int UNUSED insn_referenced = abuf->written;
25483 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25485 return cycles;
25486 #undef FLD
25489 static int
25490 model_fr550_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
25492 #define FLD(f) abuf->fields.sfmt_fdmas.f
25493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25494 const IDESC * UNUSED idesc = abuf->idesc;
25495 int cycles = 0;
25497 int referenced = 0;
25498 int UNUSED insn_referenced = abuf->written;
25499 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25501 return cycles;
25502 #undef FLD
25505 static int
25506 model_fr550_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
25508 #define FLD(f) abuf->fields.sfmt_fdmas.f
25509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25510 const IDESC * UNUSED idesc = abuf->idesc;
25511 int cycles = 0;
25513 int referenced = 0;
25514 int UNUSED insn_referenced = abuf->written;
25515 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25517 return cycles;
25518 #undef FLD
25521 static int
25522 model_fr550_cfmas (SIM_CPU *current_cpu, void *sem_arg)
25524 #define FLD(f) abuf->fields.sfmt_cfmas.f
25525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25526 const IDESC * UNUSED idesc = abuf->idesc;
25527 int cycles = 0;
25529 int referenced = 0;
25530 int UNUSED insn_referenced = abuf->written;
25531 INT in_FRi = -1;
25532 INT in_FRj = -1;
25533 INT in_FRdoublei = -1;
25534 INT in_FRdoublej = -1;
25535 INT out_FRk = -1;
25536 INT out_FRdoublek = -1;
25537 in_FRi = FLD (in_FRi);
25538 in_FRj = FLD (in_FRj);
25539 out_FRk = FLD (out_FRk);
25540 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25541 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25542 if (insn_referenced & (1 << 9)) referenced |= 1 << 4;
25543 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25545 return cycles;
25546 #undef FLD
25549 static int
25550 model_fr550_cfmss (SIM_CPU *current_cpu, void *sem_arg)
25552 #define FLD(f) abuf->fields.sfmt_cfmas.f
25553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25554 const IDESC * UNUSED idesc = abuf->idesc;
25555 int cycles = 0;
25557 int referenced = 0;
25558 int UNUSED insn_referenced = abuf->written;
25559 INT in_FRi = -1;
25560 INT in_FRj = -1;
25561 INT in_FRdoublei = -1;
25562 INT in_FRdoublej = -1;
25563 INT out_FRk = -1;
25564 INT out_FRdoublek = -1;
25565 in_FRi = FLD (in_FRi);
25566 in_FRj = FLD (in_FRj);
25567 out_FRk = FLD (out_FRk);
25568 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25569 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25570 if (insn_referenced & (1 << 9)) referenced |= 1 << 4;
25571 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25573 return cycles;
25574 #undef FLD
25577 static int
25578 model_fr550_fmad (SIM_CPU *current_cpu, void *sem_arg)
25580 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25582 const IDESC * UNUSED idesc = abuf->idesc;
25583 int cycles = 0;
25585 int referenced = 0;
25586 int UNUSED insn_referenced = abuf->written;
25587 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25589 return cycles;
25590 #undef FLD
25593 static int
25594 model_fr550_fmsd (SIM_CPU *current_cpu, void *sem_arg)
25596 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25598 const IDESC * UNUSED idesc = abuf->idesc;
25599 int cycles = 0;
25601 int referenced = 0;
25602 int UNUSED insn_referenced = abuf->written;
25603 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25605 return cycles;
25606 #undef FLD
25609 static int
25610 model_fr550_nfmas (SIM_CPU *current_cpu, void *sem_arg)
25612 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25614 const IDESC * UNUSED idesc = abuf->idesc;
25615 int cycles = 0;
25617 int referenced = 0;
25618 int UNUSED insn_referenced = abuf->written;
25619 INT in_FRi = -1;
25620 INT in_FRj = -1;
25621 INT in_FRdoublei = -1;
25622 INT in_FRdoublej = -1;
25623 INT out_FRk = -1;
25624 INT out_FRdoublek = -1;
25625 in_FRi = FLD (in_FRi);
25626 in_FRj = FLD (in_FRj);
25627 out_FRk = FLD (out_FRk);
25628 referenced |= 1 << 0;
25629 referenced |= 1 << 1;
25630 referenced |= 1 << 4;
25631 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25633 return cycles;
25634 #undef FLD
25637 static int
25638 model_fr550_nfmss (SIM_CPU *current_cpu, void *sem_arg)
25640 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25642 const IDESC * UNUSED idesc = abuf->idesc;
25643 int cycles = 0;
25645 int referenced = 0;
25646 int UNUSED insn_referenced = abuf->written;
25647 INT in_FRi = -1;
25648 INT in_FRj = -1;
25649 INT in_FRdoublei = -1;
25650 INT in_FRdoublej = -1;
25651 INT out_FRk = -1;
25652 INT out_FRdoublek = -1;
25653 in_FRi = FLD (in_FRi);
25654 in_FRj = FLD (in_FRj);
25655 out_FRk = FLD (out_FRk);
25656 referenced |= 1 << 0;
25657 referenced |= 1 << 1;
25658 referenced |= 1 << 4;
25659 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25661 return cycles;
25662 #undef FLD
25665 static int
25666 model_fr550_fdadds (SIM_CPU *current_cpu, void *sem_arg)
25668 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25670 const IDESC * UNUSED idesc = abuf->idesc;
25671 int cycles = 0;
25673 int referenced = 0;
25674 int UNUSED insn_referenced = abuf->written;
25675 INT in_FRi = -1;
25676 INT in_FRj = -1;
25677 INT in_FRdoublei = -1;
25678 INT in_FRdoublej = -1;
25679 INT out_FRk = -1;
25680 INT out_FRdoublek = -1;
25681 in_FRi = FLD (in_FRi);
25682 in_FRj = FLD (in_FRj);
25683 out_FRk = FLD (out_FRk);
25684 referenced |= 1 << 0;
25685 referenced |= 1 << 1;
25686 referenced |= 1 << 4;
25687 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25689 return cycles;
25690 #undef FLD
25693 static int
25694 model_fr550_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
25696 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25698 const IDESC * UNUSED idesc = abuf->idesc;
25699 int cycles = 0;
25701 int referenced = 0;
25702 int UNUSED insn_referenced = abuf->written;
25703 INT in_FRi = -1;
25704 INT in_FRj = -1;
25705 INT in_FRdoublei = -1;
25706 INT in_FRdoublej = -1;
25707 INT out_FRk = -1;
25708 INT out_FRdoublek = -1;
25709 in_FRi = FLD (in_FRi);
25710 in_FRj = FLD (in_FRj);
25711 out_FRk = FLD (out_FRk);
25712 referenced |= 1 << 0;
25713 referenced |= 1 << 1;
25714 referenced |= 1 << 4;
25715 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25717 return cycles;
25718 #undef FLD
25721 static int
25722 model_fr550_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
25724 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25726 const IDESC * UNUSED idesc = abuf->idesc;
25727 int cycles = 0;
25729 int referenced = 0;
25730 int UNUSED insn_referenced = abuf->written;
25731 INT in_FRi = -1;
25732 INT in_FRj = -1;
25733 INT in_FRdoublei = -1;
25734 INT in_FRdoublej = -1;
25735 INT out_FRk = -1;
25736 INT out_FRdoublek = -1;
25737 in_FRi = FLD (in_FRi);
25738 in_FRj = FLD (in_FRj);
25739 out_FRk = FLD (out_FRk);
25740 referenced |= 1 << 0;
25741 referenced |= 1 << 1;
25742 referenced |= 1 << 4;
25743 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25745 return cycles;
25746 #undef FLD
25749 static int
25750 model_fr550_fddivs (SIM_CPU *current_cpu, void *sem_arg)
25752 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25754 const IDESC * UNUSED idesc = abuf->idesc;
25755 int cycles = 0;
25757 int referenced = 0;
25758 int UNUSED insn_referenced = abuf->written;
25759 INT in_FRi = -1;
25760 INT in_FRj = -1;
25761 INT in_FRdoublei = -1;
25762 INT in_FRdoublej = -1;
25763 INT out_FRk = -1;
25764 INT out_FRdoublek = -1;
25765 in_FRi = FLD (in_FRi);
25766 in_FRj = FLD (in_FRj);
25767 out_FRk = FLD (out_FRk);
25768 referenced |= 1 << 0;
25769 referenced |= 1 << 1;
25770 referenced |= 1 << 4;
25771 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25773 return cycles;
25774 #undef FLD
25777 static int
25778 model_fr550_fdsads (SIM_CPU *current_cpu, void *sem_arg)
25780 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25782 const IDESC * UNUSED idesc = abuf->idesc;
25783 int cycles = 0;
25785 int referenced = 0;
25786 int UNUSED insn_referenced = abuf->written;
25787 INT in_FRi = -1;
25788 INT in_FRj = -1;
25789 INT in_FRdoublei = -1;
25790 INT in_FRdoublej = -1;
25791 INT out_FRk = -1;
25792 INT out_FRdoublek = -1;
25793 in_FRi = FLD (in_FRi);
25794 in_FRj = FLD (in_FRj);
25795 out_FRk = FLD (out_FRk);
25796 referenced |= 1 << 0;
25797 referenced |= 1 << 1;
25798 referenced |= 1 << 4;
25799 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25801 return cycles;
25802 #undef FLD
25805 static int
25806 model_fr550_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
25808 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25810 const IDESC * UNUSED idesc = abuf->idesc;
25811 int cycles = 0;
25813 int referenced = 0;
25814 int UNUSED insn_referenced = abuf->written;
25815 INT in_FRi = -1;
25816 INT in_FRj = -1;
25817 INT in_FRdoublei = -1;
25818 INT in_FRdoublej = -1;
25819 INT out_FRk = -1;
25820 INT out_FRdoublek = -1;
25821 in_FRi = FLD (in_FRi);
25822 in_FRj = FLD (in_FRj);
25823 out_FRk = FLD (out_FRk);
25824 referenced |= 1 << 0;
25825 referenced |= 1 << 1;
25826 referenced |= 1 << 4;
25827 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25829 return cycles;
25830 #undef FLD
25833 static int
25834 model_fr550_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
25836 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25838 const IDESC * UNUSED idesc = abuf->idesc;
25839 int cycles = 0;
25841 int referenced = 0;
25842 int UNUSED insn_referenced = abuf->written;
25843 INT in_FRi = -1;
25844 INT in_FRj = -1;
25845 INT in_FRdoublei = -1;
25846 INT in_FRdoublej = -1;
25847 INT out_FRk = -1;
25848 INT out_FRdoublek = -1;
25849 in_FRi = FLD (in_FRi);
25850 in_FRj = FLD (in_FRj);
25851 out_FRk = FLD (out_FRk);
25852 referenced |= 1 << 0;
25853 referenced |= 1 << 1;
25854 referenced |= 1 << 4;
25855 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25857 return cycles;
25858 #undef FLD
25861 static int
25862 model_fr550_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
25864 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25866 const IDESC * UNUSED idesc = abuf->idesc;
25867 int cycles = 0;
25869 int referenced = 0;
25870 int UNUSED insn_referenced = abuf->written;
25871 INT in_FRi = -1;
25872 INT in_FRj = -1;
25873 INT in_FRdoublei = -1;
25874 INT in_FRdoublej = -1;
25875 INT out_FRk = -1;
25876 INT out_FRdoublek = -1;
25877 in_FRi = FLD (in_FRi);
25878 in_FRj = FLD (in_FRj);
25879 out_FRk = FLD (out_FRk);
25880 referenced |= 1 << 0;
25881 referenced |= 1 << 1;
25882 referenced |= 1 << 4;
25883 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25885 return cycles;
25886 #undef FLD
25889 static int
25890 model_fr550_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
25892 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25894 const IDESC * UNUSED idesc = abuf->idesc;
25895 int cycles = 0;
25897 int referenced = 0;
25898 int UNUSED insn_referenced = abuf->written;
25899 INT in_FRi = -1;
25900 INT in_FRj = -1;
25901 INT in_FRdoublei = -1;
25902 INT in_FRdoublej = -1;
25903 INT out_FRk = -1;
25904 INT out_FRdoublek = -1;
25905 in_FRi = FLD (in_FRi);
25906 in_FRj = FLD (in_FRj);
25907 out_FRk = FLD (out_FRk);
25908 referenced |= 1 << 0;
25909 referenced |= 1 << 1;
25910 referenced |= 1 << 4;
25911 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25913 return cycles;
25914 #undef FLD
25917 static int
25918 model_fr550_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
25920 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25922 const IDESC * UNUSED idesc = abuf->idesc;
25923 int cycles = 0;
25925 int referenced = 0;
25926 int UNUSED insn_referenced = abuf->written;
25927 INT in_FRi = -1;
25928 INT in_FRj = -1;
25929 INT in_FRdoublei = -1;
25930 INT in_FRdoublej = -1;
25931 INT out_FRk = -1;
25932 INT out_FRdoublek = -1;
25933 in_FRi = FLD (in_FRi);
25934 in_FRj = FLD (in_FRj);
25935 out_FRk = FLD (out_FRk);
25936 referenced |= 1 << 0;
25937 referenced |= 1 << 1;
25938 referenced |= 1 << 4;
25939 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25941 return cycles;
25942 #undef FLD
25945 static int
25946 model_fr550_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
25948 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25950 const IDESC * UNUSED idesc = abuf->idesc;
25951 int cycles = 0;
25953 int referenced = 0;
25954 int UNUSED insn_referenced = abuf->written;
25955 INT in_FRi = -1;
25956 INT in_FRj = -1;
25957 INT in_FRdoublei = -1;
25958 INT in_FRdoublej = -1;
25959 INT out_FRk = -1;
25960 INT out_FRdoublek = -1;
25961 in_FRi = FLD (in_FRi);
25962 in_FRj = FLD (in_FRj);
25963 out_FRk = FLD (out_FRk);
25964 referenced |= 1 << 0;
25965 referenced |= 1 << 1;
25966 referenced |= 1 << 4;
25967 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25969 return cycles;
25970 #undef FLD
25973 static int
25974 model_fr550_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
25976 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25978 const IDESC * UNUSED idesc = abuf->idesc;
25979 int cycles = 0;
25981 int referenced = 0;
25982 int UNUSED insn_referenced = abuf->written;
25983 INT in_FRi = -1;
25984 INT in_FRj = -1;
25985 INT in_FRdoublei = -1;
25986 INT in_FRdoublej = -1;
25987 INT out_FRk = -1;
25988 INT out_FRdoublek = -1;
25989 in_FRi = FLD (in_FRi);
25990 in_FRj = FLD (in_FRj);
25991 out_FRk = FLD (out_FRk);
25992 referenced |= 1 << 0;
25993 referenced |= 1 << 1;
25994 referenced |= 1 << 4;
25995 cycles += frvbf_model_fr550_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25997 return cycles;
25998 #undef FLD
26001 static int
26002 model_fr550_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
26004 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
26005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26006 const IDESC * UNUSED idesc = abuf->idesc;
26007 int cycles = 0;
26009 int referenced = 0;
26010 int UNUSED insn_referenced = abuf->written;
26011 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
26013 return cycles;
26014 #undef FLD
26017 static int
26018 model_fr550_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
26020 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
26021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26022 const IDESC * UNUSED idesc = abuf->idesc;
26023 int cycles = 0;
26025 int referenced = 0;
26026 int UNUSED insn_referenced = abuf->written;
26027 INT out_FRintk = -1;
26028 out_FRintk = FLD (out_FRklo);
26029 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26031 return cycles;
26032 #undef FLD
26035 static int
26036 model_fr550_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
26038 #define FLD(f) abuf->fields.sfmt_mhsethis.f
26039 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26040 const IDESC * UNUSED idesc = abuf->idesc;
26041 int cycles = 0;
26043 int referenced = 0;
26044 int UNUSED insn_referenced = abuf->written;
26045 INT out_FRintk = -1;
26046 out_FRintk = FLD (out_FRkhi);
26047 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26049 return cycles;
26050 #undef FLD
26053 static int
26054 model_fr550_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
26056 #define FLD(f) abuf->fields.sfmt_mhdsets.f
26057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26058 const IDESC * UNUSED idesc = abuf->idesc;
26059 int cycles = 0;
26061 int referenced = 0;
26062 int UNUSED insn_referenced = abuf->written;
26063 INT out_FRintk = -1;
26064 out_FRintk = FLD (out_FRintk);
26065 referenced |= 1 << 0;
26066 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26068 return cycles;
26069 #undef FLD
26072 static int
26073 model_fr550_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
26075 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
26076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26077 const IDESC * UNUSED idesc = abuf->idesc;
26078 int cycles = 0;
26080 int referenced = 0;
26081 int UNUSED insn_referenced = abuf->written;
26082 INT out_FRintk = -1;
26083 out_FRintk = FLD (out_FRklo);
26084 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26086 return cycles;
26087 #undef FLD
26090 static int
26091 model_fr550_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
26093 #define FLD(f) abuf->fields.sfmt_mhsethih.f
26094 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26095 const IDESC * UNUSED idesc = abuf->idesc;
26096 int cycles = 0;
26098 int referenced = 0;
26099 int UNUSED insn_referenced = abuf->written;
26100 INT out_FRintk = -1;
26101 out_FRintk = FLD (out_FRkhi);
26102 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26104 return cycles;
26105 #undef FLD
26108 static int
26109 model_fr550_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
26111 #define FLD(f) abuf->fields.sfmt_mhdseth.f
26112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26113 const IDESC * UNUSED idesc = abuf->idesc;
26114 int cycles = 0;
26116 int referenced = 0;
26117 int UNUSED insn_referenced = abuf->written;
26118 INT out_FRintk = -1;
26119 out_FRintk = FLD (out_FRintk);
26120 referenced |= 1 << 0;
26121 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26123 return cycles;
26124 #undef FLD
26127 static int
26128 model_fr550_mand (SIM_CPU *current_cpu, void *sem_arg)
26130 #define FLD(f) abuf->fields.sfmt_mwcut.f
26131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26132 const IDESC * UNUSED idesc = abuf->idesc;
26133 int cycles = 0;
26135 int referenced = 0;
26136 int UNUSED insn_referenced = abuf->written;
26137 INT in_FRinti = -1;
26138 INT in_FRintj = -1;
26139 INT out_FRintk = -1;
26140 in_FRinti = FLD (in_FRinti);
26141 in_FRintj = FLD (in_FRintj);
26142 out_FRintk = FLD (out_FRintk);
26143 referenced |= 1 << 0;
26144 referenced |= 1 << 1;
26145 referenced |= 1 << 2;
26146 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26148 return cycles;
26149 #undef FLD
26152 static int
26153 model_fr550_mor (SIM_CPU *current_cpu, void *sem_arg)
26155 #define FLD(f) abuf->fields.sfmt_mwcut.f
26156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26157 const IDESC * UNUSED idesc = abuf->idesc;
26158 int cycles = 0;
26160 int referenced = 0;
26161 int UNUSED insn_referenced = abuf->written;
26162 INT in_FRinti = -1;
26163 INT in_FRintj = -1;
26164 INT out_FRintk = -1;
26165 in_FRinti = FLD (in_FRinti);
26166 in_FRintj = FLD (in_FRintj);
26167 out_FRintk = FLD (out_FRintk);
26168 referenced |= 1 << 0;
26169 referenced |= 1 << 1;
26170 referenced |= 1 << 2;
26171 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26173 return cycles;
26174 #undef FLD
26177 static int
26178 model_fr550_mxor (SIM_CPU *current_cpu, void *sem_arg)
26180 #define FLD(f) abuf->fields.sfmt_mwcut.f
26181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26182 const IDESC * UNUSED idesc = abuf->idesc;
26183 int cycles = 0;
26185 int referenced = 0;
26186 int UNUSED insn_referenced = abuf->written;
26187 INT in_FRinti = -1;
26188 INT in_FRintj = -1;
26189 INT out_FRintk = -1;
26190 in_FRinti = FLD (in_FRinti);
26191 in_FRintj = FLD (in_FRintj);
26192 out_FRintk = FLD (out_FRintk);
26193 referenced |= 1 << 0;
26194 referenced |= 1 << 1;
26195 referenced |= 1 << 2;
26196 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26198 return cycles;
26199 #undef FLD
26202 static int
26203 model_fr550_cmand (SIM_CPU *current_cpu, void *sem_arg)
26205 #define FLD(f) abuf->fields.sfmt_cmand.f
26206 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26207 const IDESC * UNUSED idesc = abuf->idesc;
26208 int cycles = 0;
26210 int referenced = 0;
26211 int UNUSED insn_referenced = abuf->written;
26212 INT in_FRinti = -1;
26213 INT in_FRintj = -1;
26214 INT out_FRintk = -1;
26215 in_FRinti = FLD (in_FRinti);
26216 in_FRintj = FLD (in_FRintj);
26217 out_FRintk = FLD (out_FRintk);
26218 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26219 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26220 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
26221 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26223 return cycles;
26224 #undef FLD
26227 static int
26228 model_fr550_cmor (SIM_CPU *current_cpu, void *sem_arg)
26230 #define FLD(f) abuf->fields.sfmt_cmand.f
26231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26232 const IDESC * UNUSED idesc = abuf->idesc;
26233 int cycles = 0;
26235 int referenced = 0;
26236 int UNUSED insn_referenced = abuf->written;
26237 INT in_FRinti = -1;
26238 INT in_FRintj = -1;
26239 INT out_FRintk = -1;
26240 in_FRinti = FLD (in_FRinti);
26241 in_FRintj = FLD (in_FRintj);
26242 out_FRintk = FLD (out_FRintk);
26243 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26244 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26245 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
26246 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26248 return cycles;
26249 #undef FLD
26252 static int
26253 model_fr550_cmxor (SIM_CPU *current_cpu, void *sem_arg)
26255 #define FLD(f) abuf->fields.sfmt_cmand.f
26256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26257 const IDESC * UNUSED idesc = abuf->idesc;
26258 int cycles = 0;
26260 int referenced = 0;
26261 int UNUSED insn_referenced = abuf->written;
26262 INT in_FRinti = -1;
26263 INT in_FRintj = -1;
26264 INT out_FRintk = -1;
26265 in_FRinti = FLD (in_FRinti);
26266 in_FRintj = FLD (in_FRintj);
26267 out_FRintk = FLD (out_FRintk);
26268 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26269 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26270 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
26271 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26273 return cycles;
26274 #undef FLD
26277 static int
26278 model_fr550_mnot (SIM_CPU *current_cpu, void *sem_arg)
26280 #define FLD(f) abuf->fields.sfmt_mcut.f
26281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26282 const IDESC * UNUSED idesc = abuf->idesc;
26283 int cycles = 0;
26285 int referenced = 0;
26286 int UNUSED insn_referenced = abuf->written;
26287 INT in_FRinti = -1;
26288 INT in_FRintj = -1;
26289 INT out_FRintk = -1;
26290 in_FRintj = FLD (in_FRintj);
26291 out_FRintk = FLD (out_FRintk);
26292 referenced |= 1 << 1;
26293 referenced |= 1 << 2;
26294 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26296 return cycles;
26297 #undef FLD
26300 static int
26301 model_fr550_cmnot (SIM_CPU *current_cpu, void *sem_arg)
26303 #define FLD(f) abuf->fields.sfmt_cmand.f
26304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26305 const IDESC * UNUSED idesc = abuf->idesc;
26306 int cycles = 0;
26308 int referenced = 0;
26309 int UNUSED insn_referenced = abuf->written;
26310 INT in_FRinti = -1;
26311 INT in_FRintj = -1;
26312 INT out_FRintk = -1;
26313 in_FRintj = FLD (in_FRintj);
26314 out_FRintk = FLD (out_FRintk);
26315 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
26316 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
26317 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26319 return cycles;
26320 #undef FLD
26323 static int
26324 model_fr550_mrotli (SIM_CPU *current_cpu, void *sem_arg)
26326 #define FLD(f) abuf->fields.sfmt_mwcuti.f
26327 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26328 const IDESC * UNUSED idesc = abuf->idesc;
26329 int cycles = 0;
26331 int referenced = 0;
26332 int UNUSED insn_referenced = abuf->written;
26333 INT in_FRinti = -1;
26334 INT in_FRintj = -1;
26335 INT out_FRintk = -1;
26336 in_FRinti = FLD (in_FRinti);
26337 out_FRintk = FLD (out_FRintk);
26338 referenced |= 1 << 0;
26339 referenced |= 1 << 2;
26340 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26342 return cycles;
26343 #undef FLD
26346 static int
26347 model_fr550_mrotri (SIM_CPU *current_cpu, void *sem_arg)
26349 #define FLD(f) abuf->fields.sfmt_mwcuti.f
26350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26351 const IDESC * UNUSED idesc = abuf->idesc;
26352 int cycles = 0;
26354 int referenced = 0;
26355 int UNUSED insn_referenced = abuf->written;
26356 INT in_FRinti = -1;
26357 INT in_FRintj = -1;
26358 INT out_FRintk = -1;
26359 in_FRinti = FLD (in_FRinti);
26360 out_FRintk = FLD (out_FRintk);
26361 referenced |= 1 << 0;
26362 referenced |= 1 << 2;
26363 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26365 return cycles;
26366 #undef FLD
26369 static int
26370 model_fr550_mwcut (SIM_CPU *current_cpu, void *sem_arg)
26372 #define FLD(f) abuf->fields.sfmt_mwcut.f
26373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26374 const IDESC * UNUSED idesc = abuf->idesc;
26375 int cycles = 0;
26377 int referenced = 0;
26378 int UNUSED insn_referenced = abuf->written;
26379 INT in_FRinti = -1;
26380 INT in_FRintj = -1;
26381 INT out_FRintk = -1;
26382 in_FRinti = FLD (in_FRinti);
26383 in_FRintj = FLD (in_FRintj);
26384 out_FRintk = FLD (out_FRintk);
26385 referenced |= 1 << 0;
26386 referenced |= 1 << 1;
26387 referenced |= 1 << 2;
26388 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26390 return cycles;
26391 #undef FLD
26394 static int
26395 model_fr550_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
26397 #define FLD(f) abuf->fields.sfmt_mwcuti.f
26398 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26399 const IDESC * UNUSED idesc = abuf->idesc;
26400 int cycles = 0;
26402 int referenced = 0;
26403 int UNUSED insn_referenced = abuf->written;
26404 INT in_FRinti = -1;
26405 INT in_FRintj = -1;
26406 INT out_FRintk = -1;
26407 in_FRinti = FLD (in_FRinti);
26408 out_FRintk = FLD (out_FRintk);
26409 referenced |= 1 << 0;
26410 referenced |= 1 << 2;
26411 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26413 return cycles;
26414 #undef FLD
26417 static int
26418 model_fr550_mcut (SIM_CPU *current_cpu, void *sem_arg)
26420 #define FLD(f) abuf->fields.sfmt_mcut.f
26421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26422 const IDESC * UNUSED idesc = abuf->idesc;
26423 int cycles = 0;
26425 int referenced = 0;
26426 int UNUSED insn_referenced = abuf->written;
26427 INT in_FRintj = -1;
26428 INT in_ACC40Si = -1;
26429 INT out_FRintk = -1;
26430 in_FRintj = FLD (in_FRintj);
26431 in_ACC40Si = FLD (in_ACC40Si);
26432 out_FRintk = FLD (out_FRintk);
26433 referenced |= 1 << 0;
26434 referenced |= 1 << 1;
26435 referenced |= 1 << 2;
26436 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
26438 return cycles;
26439 #undef FLD
26442 static int
26443 model_fr550_mcuti (SIM_CPU *current_cpu, void *sem_arg)
26445 #define FLD(f) abuf->fields.sfmt_mcuti.f
26446 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26447 const IDESC * UNUSED idesc = abuf->idesc;
26448 int cycles = 0;
26450 int referenced = 0;
26451 int UNUSED insn_referenced = abuf->written;
26452 INT in_FRintj = -1;
26453 INT in_ACC40Si = -1;
26454 INT out_FRintk = -1;
26455 in_ACC40Si = FLD (in_ACC40Si);
26456 out_FRintk = FLD (out_FRintk);
26457 referenced |= 1 << 1;
26458 referenced |= 1 << 2;
26459 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
26461 return cycles;
26462 #undef FLD
26465 static int
26466 model_fr550_mcutss (SIM_CPU *current_cpu, void *sem_arg)
26468 #define FLD(f) abuf->fields.sfmt_mcut.f
26469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26470 const IDESC * UNUSED idesc = abuf->idesc;
26471 int cycles = 0;
26473 int referenced = 0;
26474 int UNUSED insn_referenced = abuf->written;
26475 INT in_FRintj = -1;
26476 INT in_ACC40Si = -1;
26477 INT out_FRintk = -1;
26478 in_FRintj = FLD (in_FRintj);
26479 in_ACC40Si = FLD (in_ACC40Si);
26480 out_FRintk = FLD (out_FRintk);
26481 referenced |= 1 << 0;
26482 referenced |= 1 << 1;
26483 referenced |= 1 << 2;
26484 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
26486 return cycles;
26487 #undef FLD
26490 static int
26491 model_fr550_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
26493 #define FLD(f) abuf->fields.sfmt_mcuti.f
26494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26495 const IDESC * UNUSED idesc = abuf->idesc;
26496 int cycles = 0;
26498 int referenced = 0;
26499 int UNUSED insn_referenced = abuf->written;
26500 INT in_FRintj = -1;
26501 INT in_ACC40Si = -1;
26502 INT out_FRintk = -1;
26503 in_ACC40Si = FLD (in_ACC40Si);
26504 out_FRintk = FLD (out_FRintk);
26505 referenced |= 1 << 1;
26506 referenced |= 1 << 2;
26507 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
26509 return cycles;
26510 #undef FLD
26513 static int
26514 model_fr550_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
26516 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
26517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26518 const IDESC * UNUSED idesc = abuf->idesc;
26519 int cycles = 0;
26521 int referenced = 0;
26522 int UNUSED insn_referenced = abuf->written;
26523 INT in_ACC40Si = -1;
26524 INT out_FRintkeven = -1;
26525 in_ACC40Si = FLD (in_ACC40Si);
26526 out_FRintkeven = FLD (out_FRintkeven);
26527 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26528 if (insn_referenced & (1 << 5)) referenced |= 1 << 1;
26529 cycles += frvbf_model_fr550_u_media_3_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_FRintkeven);
26531 return cycles;
26532 #undef FLD
26535 static int
26536 model_fr550_maveh (SIM_CPU *current_cpu, void *sem_arg)
26538 #define FLD(f) abuf->fields.sfmt_mwcut.f
26539 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26540 const IDESC * UNUSED idesc = abuf->idesc;
26541 int cycles = 0;
26543 int referenced = 0;
26544 int UNUSED insn_referenced = abuf->written;
26545 INT in_FRinti = -1;
26546 INT in_FRintj = -1;
26547 INT out_FRintk = -1;
26548 in_FRinti = FLD (in_FRinti);
26549 in_FRintj = FLD (in_FRintj);
26550 out_FRintk = FLD (out_FRintk);
26551 referenced |= 1 << 0;
26552 referenced |= 1 << 1;
26553 referenced |= 1 << 2;
26554 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26556 return cycles;
26557 #undef FLD
26560 static int
26561 model_fr550_msllhi (SIM_CPU *current_cpu, void *sem_arg)
26563 #define FLD(f) abuf->fields.sfmt_msllhi.f
26564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26565 const IDESC * UNUSED idesc = abuf->idesc;
26566 int cycles = 0;
26568 int referenced = 0;
26569 int UNUSED insn_referenced = abuf->written;
26570 INT in_FRinti = -1;
26571 INT in_FRintj = -1;
26572 INT out_FRintk = -1;
26573 in_FRinti = FLD (in_FRinti);
26574 out_FRintk = FLD (out_FRintk);
26575 referenced |= 1 << 0;
26576 referenced |= 1 << 2;
26577 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26579 return cycles;
26580 #undef FLD
26583 static int
26584 model_fr550_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
26586 #define FLD(f) abuf->fields.sfmt_msllhi.f
26587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26588 const IDESC * UNUSED idesc = abuf->idesc;
26589 int cycles = 0;
26591 int referenced = 0;
26592 int UNUSED insn_referenced = abuf->written;
26593 INT in_FRinti = -1;
26594 INT in_FRintj = -1;
26595 INT out_FRintk = -1;
26596 in_FRinti = FLD (in_FRinti);
26597 out_FRintk = FLD (out_FRintk);
26598 referenced |= 1 << 0;
26599 referenced |= 1 << 2;
26600 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26602 return cycles;
26603 #undef FLD
26606 static int
26607 model_fr550_msrahi (SIM_CPU *current_cpu, void *sem_arg)
26609 #define FLD(f) abuf->fields.sfmt_msllhi.f
26610 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26611 const IDESC * UNUSED idesc = abuf->idesc;
26612 int cycles = 0;
26614 int referenced = 0;
26615 int UNUSED insn_referenced = abuf->written;
26616 INT in_FRinti = -1;
26617 INT in_FRintj = -1;
26618 INT out_FRintk = -1;
26619 in_FRinti = FLD (in_FRinti);
26620 out_FRintk = FLD (out_FRintk);
26621 referenced |= 1 << 0;
26622 referenced |= 1 << 2;
26623 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26625 return cycles;
26626 #undef FLD
26629 static int
26630 model_fr550_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
26632 #define FLD(f) abuf->fields.sfmt_mdrotli.f
26633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26634 const IDESC * UNUSED idesc = abuf->idesc;
26635 int cycles = 0;
26637 int referenced = 0;
26638 int UNUSED insn_referenced = abuf->written;
26639 INT in_FRintieven = -1;
26640 INT in_FRintjeven = -1;
26641 INT out_FRintkeven = -1;
26642 in_FRintieven = FLD (in_FRintieven);
26643 out_FRintkeven = FLD (out_FRintkeven);
26644 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26645 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
26646 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
26648 return cycles;
26649 #undef FLD
26652 static int
26653 model_fr550_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
26655 #define FLD(f) abuf->fields.sfmt_mcplhi.f
26656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26657 const IDESC * UNUSED idesc = abuf->idesc;
26658 int cycles = 0;
26660 int referenced = 0;
26661 int UNUSED insn_referenced = abuf->written;
26662 INT in_FRinti = -1;
26663 INT out_FRintk = -1;
26664 in_FRinti = FLD (in_FRinti);
26665 out_FRintk = FLD (out_FRintk);
26666 referenced |= 1 << 0;
26667 referenced |= 1 << 1;
26668 cycles += frvbf_model_fr550_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
26670 return cycles;
26671 #undef FLD
26674 static int
26675 model_fr550_mcpli (SIM_CPU *current_cpu, void *sem_arg)
26677 #define FLD(f) abuf->fields.sfmt_mwcuti.f
26678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26679 const IDESC * UNUSED idesc = abuf->idesc;
26680 int cycles = 0;
26682 int referenced = 0;
26683 int UNUSED insn_referenced = abuf->written;
26684 INT in_FRinti = -1;
26685 INT out_FRintk = -1;
26686 in_FRinti = FLD (in_FRinti);
26687 out_FRintk = FLD (out_FRintk);
26688 referenced |= 1 << 0;
26689 referenced |= 1 << 1;
26690 cycles += frvbf_model_fr550_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
26692 return cycles;
26693 #undef FLD
26696 static int
26697 model_fr550_msaths (SIM_CPU *current_cpu, void *sem_arg)
26699 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26701 const IDESC * UNUSED idesc = abuf->idesc;
26702 int cycles = 0;
26704 int referenced = 0;
26705 int UNUSED insn_referenced = abuf->written;
26706 INT in_FRinti = -1;
26707 INT in_FRintj = -1;
26708 INT out_FRintk = -1;
26709 in_FRinti = FLD (in_FRinti);
26710 in_FRintj = FLD (in_FRintj);
26711 referenced |= 1 << 0;
26712 referenced |= 1 << 1;
26713 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26715 return cycles;
26716 #undef FLD
26719 static int
26720 model_fr550_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
26722 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
26723 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26724 const IDESC * UNUSED idesc = abuf->idesc;
26725 int cycles = 0;
26727 int referenced = 0;
26728 int UNUSED insn_referenced = abuf->written;
26729 INT in_FRintieven = -1;
26730 INT in_FRintjeven = -1;
26731 INT out_FRintkeven = -1;
26732 in_FRintieven = FLD (in_FRintieven);
26733 in_FRintjeven = FLD (in_FRintjeven);
26734 out_FRintkeven = FLD (out_FRintkeven);
26735 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26736 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
26737 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
26738 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
26740 return cycles;
26741 #undef FLD
26744 static int
26745 model_fr550_msathu (SIM_CPU *current_cpu, void *sem_arg)
26747 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26749 const IDESC * UNUSED idesc = abuf->idesc;
26750 int cycles = 0;
26752 int referenced = 0;
26753 int UNUSED insn_referenced = abuf->written;
26754 INT in_FRinti = -1;
26755 INT in_FRintj = -1;
26756 INT out_FRintk = -1;
26757 in_FRinti = FLD (in_FRinti);
26758 in_FRintj = FLD (in_FRintj);
26759 referenced |= 1 << 0;
26760 referenced |= 1 << 1;
26761 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26763 return cycles;
26764 #undef FLD
26767 static int
26768 model_fr550_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
26770 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
26771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26772 const IDESC * UNUSED idesc = abuf->idesc;
26773 int cycles = 0;
26775 int referenced = 0;
26776 int UNUSED insn_referenced = abuf->written;
26777 INT in_FRinti = -1;
26778 INT in_FRintj = -1;
26779 INT out_FRintk = -1;
26780 in_FRinti = FLD (in_FRinti);
26781 in_FRintj = FLD (in_FRintj);
26782 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26783 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
26784 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26786 return cycles;
26787 #undef FLD
26790 static int
26791 model_fr550_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
26793 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
26794 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26795 const IDESC * UNUSED idesc = abuf->idesc;
26796 int cycles = 0;
26798 int referenced = 0;
26799 int UNUSED insn_referenced = abuf->written;
26800 INT in_FRinti = -1;
26801 INT in_FRintj = -1;
26802 INT out_FRintk = -1;
26803 in_FRinti = FLD (in_FRinti);
26804 in_FRintj = FLD (in_FRintj);
26805 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26806 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
26807 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26809 return cycles;
26810 #undef FLD
26813 static int
26814 model_fr550_mabshs (SIM_CPU *current_cpu, void *sem_arg)
26816 #define FLD(f) abuf->fields.sfmt_mabshs.f
26817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26818 const IDESC * UNUSED idesc = abuf->idesc;
26819 int cycles = 0;
26821 int referenced = 0;
26822 int UNUSED insn_referenced = abuf->written;
26823 INT in_FRinti = -1;
26824 INT in_FRintj = -1;
26825 INT out_FRintk = -1;
26826 in_FRintj = FLD (in_FRintj);
26827 out_FRintk = FLD (out_FRintk);
26828 referenced |= 1 << 1;
26829 referenced |= 1 << 2;
26830 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26832 return cycles;
26833 #undef FLD
26836 static int
26837 model_fr550_maddhss (SIM_CPU *current_cpu, void *sem_arg)
26839 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26841 const IDESC * UNUSED idesc = abuf->idesc;
26842 int cycles = 0;
26844 int referenced = 0;
26845 int UNUSED insn_referenced = abuf->written;
26846 INT in_FRinti = -1;
26847 INT in_FRintj = -1;
26848 INT out_FRintk = -1;
26849 in_FRinti = FLD (in_FRinti);
26850 in_FRintj = FLD (in_FRintj);
26851 referenced |= 1 << 0;
26852 referenced |= 1 << 1;
26853 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26855 return cycles;
26856 #undef FLD
26859 static int
26860 model_fr550_maddhus (SIM_CPU *current_cpu, void *sem_arg)
26862 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26863 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26864 const IDESC * UNUSED idesc = abuf->idesc;
26865 int cycles = 0;
26867 int referenced = 0;
26868 int UNUSED insn_referenced = abuf->written;
26869 INT in_FRinti = -1;
26870 INT in_FRintj = -1;
26871 INT out_FRintk = -1;
26872 in_FRinti = FLD (in_FRinti);
26873 in_FRintj = FLD (in_FRintj);
26874 referenced |= 1 << 0;
26875 referenced |= 1 << 1;
26876 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26878 return cycles;
26879 #undef FLD
26882 static int
26883 model_fr550_msubhss (SIM_CPU *current_cpu, void *sem_arg)
26885 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26887 const IDESC * UNUSED idesc = abuf->idesc;
26888 int cycles = 0;
26890 int referenced = 0;
26891 int UNUSED insn_referenced = abuf->written;
26892 INT in_FRinti = -1;
26893 INT in_FRintj = -1;
26894 INT out_FRintk = -1;
26895 in_FRinti = FLD (in_FRinti);
26896 in_FRintj = FLD (in_FRintj);
26897 referenced |= 1 << 0;
26898 referenced |= 1 << 1;
26899 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26901 return cycles;
26902 #undef FLD
26905 static int
26906 model_fr550_msubhus (SIM_CPU *current_cpu, void *sem_arg)
26908 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26910 const IDESC * UNUSED idesc = abuf->idesc;
26911 int cycles = 0;
26913 int referenced = 0;
26914 int UNUSED insn_referenced = abuf->written;
26915 INT in_FRinti = -1;
26916 INT in_FRintj = -1;
26917 INT out_FRintk = -1;
26918 in_FRinti = FLD (in_FRinti);
26919 in_FRintj = FLD (in_FRintj);
26920 referenced |= 1 << 0;
26921 referenced |= 1 << 1;
26922 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26924 return cycles;
26925 #undef FLD
26928 static int
26929 model_fr550_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
26931 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26933 const IDESC * UNUSED idesc = abuf->idesc;
26934 int cycles = 0;
26936 int referenced = 0;
26937 int UNUSED insn_referenced = abuf->written;
26938 INT in_FRinti = -1;
26939 INT in_FRintj = -1;
26940 INT out_FRintk = -1;
26941 in_FRinti = FLD (in_FRinti);
26942 in_FRintj = FLD (in_FRintj);
26943 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26944 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26945 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26947 return cycles;
26948 #undef FLD
26951 static int
26952 model_fr550_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
26954 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26956 const IDESC * UNUSED idesc = abuf->idesc;
26957 int cycles = 0;
26959 int referenced = 0;
26960 int UNUSED insn_referenced = abuf->written;
26961 INT in_FRinti = -1;
26962 INT in_FRintj = -1;
26963 INT out_FRintk = -1;
26964 in_FRinti = FLD (in_FRinti);
26965 in_FRintj = FLD (in_FRintj);
26966 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26967 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26968 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26970 return cycles;
26971 #undef FLD
26974 static int
26975 model_fr550_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
26977 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26978 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26979 const IDESC * UNUSED idesc = abuf->idesc;
26980 int cycles = 0;
26982 int referenced = 0;
26983 int UNUSED insn_referenced = abuf->written;
26984 INT in_FRinti = -1;
26985 INT in_FRintj = -1;
26986 INT out_FRintk = -1;
26987 in_FRinti = FLD (in_FRinti);
26988 in_FRintj = FLD (in_FRintj);
26989 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26990 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26991 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26993 return cycles;
26994 #undef FLD
26997 static int
26998 model_fr550_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
27000 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
27001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27002 const IDESC * UNUSED idesc = abuf->idesc;
27003 int cycles = 0;
27005 int referenced = 0;
27006 int UNUSED insn_referenced = abuf->written;
27007 INT in_FRinti = -1;
27008 INT in_FRintj = -1;
27009 INT out_FRintk = -1;
27010 in_FRinti = FLD (in_FRinti);
27011 in_FRintj = FLD (in_FRintj);
27012 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27013 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27014 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
27016 return cycles;
27017 #undef FLD
27020 static int
27021 model_fr550_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
27023 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27025 const IDESC * UNUSED idesc = abuf->idesc;
27026 int cycles = 0;
27028 int referenced = 0;
27029 int UNUSED insn_referenced = abuf->written;
27030 INT in_FRintieven = -1;
27031 INT in_FRintjeven = -1;
27032 INT out_FRintkeven = -1;
27033 in_FRintieven = FLD (in_FRintieven);
27034 in_FRintjeven = FLD (in_FRintjeven);
27035 out_FRintkeven = FLD (out_FRintkeven);
27036 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27037 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27038 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
27039 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27041 return cycles;
27042 #undef FLD
27045 static int
27046 model_fr550_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
27048 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27050 const IDESC * UNUSED idesc = abuf->idesc;
27051 int cycles = 0;
27053 int referenced = 0;
27054 int UNUSED insn_referenced = abuf->written;
27055 INT in_FRintieven = -1;
27056 INT in_FRintjeven = -1;
27057 INT out_FRintkeven = -1;
27058 in_FRintieven = FLD (in_FRintieven);
27059 in_FRintjeven = FLD (in_FRintjeven);
27060 out_FRintkeven = FLD (out_FRintkeven);
27061 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27062 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27063 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
27064 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27066 return cycles;
27067 #undef FLD
27070 static int
27071 model_fr550_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
27073 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27075 const IDESC * UNUSED idesc = abuf->idesc;
27076 int cycles = 0;
27078 int referenced = 0;
27079 int UNUSED insn_referenced = abuf->written;
27080 INT in_FRintieven = -1;
27081 INT in_FRintjeven = -1;
27082 INT out_FRintkeven = -1;
27083 in_FRintieven = FLD (in_FRintieven);
27084 in_FRintjeven = FLD (in_FRintjeven);
27085 out_FRintkeven = FLD (out_FRintkeven);
27086 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27087 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27088 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
27089 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27091 return cycles;
27092 #undef FLD
27095 static int
27096 model_fr550_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
27098 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27100 const IDESC * UNUSED idesc = abuf->idesc;
27101 int cycles = 0;
27103 int referenced = 0;
27104 int UNUSED insn_referenced = abuf->written;
27105 INT in_FRintieven = -1;
27106 INT in_FRintjeven = -1;
27107 INT out_FRintkeven = -1;
27108 in_FRintieven = FLD (in_FRintieven);
27109 in_FRintjeven = FLD (in_FRintjeven);
27110 out_FRintkeven = FLD (out_FRintkeven);
27111 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27112 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27113 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
27114 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27116 return cycles;
27117 #undef FLD
27120 static int
27121 model_fr550_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
27123 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27125 const IDESC * UNUSED idesc = abuf->idesc;
27126 int cycles = 0;
27128 int referenced = 0;
27129 int UNUSED insn_referenced = abuf->written;
27130 INT in_FRintieven = -1;
27131 INT in_FRintjeven = -1;
27132 INT out_FRintkeven = -1;
27133 in_FRintieven = FLD (in_FRintieven);
27134 in_FRintjeven = FLD (in_FRintjeven);
27135 out_FRintkeven = FLD (out_FRintkeven);
27136 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27137 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27138 if (insn_referenced & (1 << 16)) referenced |= 1 << 2;
27139 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27141 return cycles;
27142 #undef FLD
27145 static int
27146 model_fr550_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
27148 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27150 const IDESC * UNUSED idesc = abuf->idesc;
27151 int cycles = 0;
27153 int referenced = 0;
27154 int UNUSED insn_referenced = abuf->written;
27155 INT in_FRintieven = -1;
27156 INT in_FRintjeven = -1;
27157 INT out_FRintkeven = -1;
27158 in_FRintieven = FLD (in_FRintieven);
27159 in_FRintjeven = FLD (in_FRintjeven);
27160 out_FRintkeven = FLD (out_FRintkeven);
27161 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27162 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27163 if (insn_referenced & (1 << 16)) referenced |= 1 << 2;
27164 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27166 return cycles;
27167 #undef FLD
27170 static int
27171 model_fr550_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
27173 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27175 const IDESC * UNUSED idesc = abuf->idesc;
27176 int cycles = 0;
27178 int referenced = 0;
27179 int UNUSED insn_referenced = abuf->written;
27180 INT in_FRintieven = -1;
27181 INT in_FRintjeven = -1;
27182 INT out_FRintkeven = -1;
27183 in_FRintieven = FLD (in_FRintieven);
27184 in_FRintjeven = FLD (in_FRintjeven);
27185 out_FRintkeven = FLD (out_FRintkeven);
27186 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27187 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27188 if (insn_referenced & (1 << 16)) referenced |= 1 << 2;
27189 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27191 return cycles;
27192 #undef FLD
27195 static int
27196 model_fr550_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
27198 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27199 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27200 const IDESC * UNUSED idesc = abuf->idesc;
27201 int cycles = 0;
27203 int referenced = 0;
27204 int UNUSED insn_referenced = abuf->written;
27205 INT in_FRintieven = -1;
27206 INT in_FRintjeven = -1;
27207 INT out_FRintkeven = -1;
27208 in_FRintieven = FLD (in_FRintieven);
27209 in_FRintjeven = FLD (in_FRintjeven);
27210 out_FRintkeven = FLD (out_FRintkeven);
27211 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27212 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27213 if (insn_referenced & (1 << 16)) referenced |= 1 << 2;
27214 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27216 return cycles;
27217 #undef FLD
27220 static int
27221 model_fr550_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
27223 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27225 const IDESC * UNUSED idesc = abuf->idesc;
27226 int cycles = 0;
27228 int referenced = 0;
27229 int UNUSED insn_referenced = abuf->written;
27230 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
27232 return cycles;
27233 #undef FLD
27236 static int
27237 model_fr550_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
27239 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27241 const IDESC * UNUSED idesc = abuf->idesc;
27242 int cycles = 0;
27244 int referenced = 0;
27245 int UNUSED insn_referenced = abuf->written;
27246 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
27248 return cycles;
27249 #undef FLD
27252 static int
27253 model_fr550_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
27255 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
27256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27257 const IDESC * UNUSED idesc = abuf->idesc;
27258 int cycles = 0;
27260 int referenced = 0;
27261 int UNUSED insn_referenced = abuf->written;
27262 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
27264 return cycles;
27265 #undef FLD
27268 static int
27269 model_fr550_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
27271 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
27272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27273 const IDESC * UNUSED idesc = abuf->idesc;
27274 int cycles = 0;
27276 int referenced = 0;
27277 int UNUSED insn_referenced = abuf->written;
27278 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
27280 return cycles;
27281 #undef FLD
27284 static int
27285 model_fr550_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
27287 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27289 const IDESC * UNUSED idesc = abuf->idesc;
27290 int cycles = 0;
27292 int referenced = 0;
27293 int UNUSED insn_referenced = abuf->written;
27294 INT in_ACC40Si = -1;
27295 INT out_ACC40Sk = -1;
27296 in_ACC40Si = FLD (in_ACC40Si);
27297 out_ACC40Sk = FLD (out_ACC40Sk);
27298 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27299 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
27300 cycles += frvbf_model_fr550_u_media_4_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27302 return cycles;
27303 #undef FLD
27306 static int
27307 model_fr550_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
27309 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27311 const IDESC * UNUSED idesc = abuf->idesc;
27312 int cycles = 0;
27314 int referenced = 0;
27315 int UNUSED insn_referenced = abuf->written;
27316 INT in_ACC40Si = -1;
27317 INT out_ACC40Sk = -1;
27318 in_ACC40Si = FLD (in_ACC40Si);
27319 out_ACC40Sk = FLD (out_ACC40Sk);
27320 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27321 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
27322 cycles += frvbf_model_fr550_u_media_4_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27324 return cycles;
27325 #undef FLD
27328 static int
27329 model_fr550_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
27331 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27333 const IDESC * UNUSED idesc = abuf->idesc;
27334 int cycles = 0;
27336 int referenced = 0;
27337 int UNUSED insn_referenced = abuf->written;
27338 INT in_ACC40Si = -1;
27339 INT out_ACC40Sk = -1;
27340 in_ACC40Si = FLD (in_ACC40Si);
27341 out_ACC40Sk = FLD (out_ACC40Sk);
27342 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27343 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
27344 cycles += frvbf_model_fr550_u_media_4_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27346 return cycles;
27347 #undef FLD
27350 static int
27351 model_fr550_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
27353 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27354 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27355 const IDESC * UNUSED idesc = abuf->idesc;
27356 int cycles = 0;
27358 int referenced = 0;
27359 int UNUSED insn_referenced = abuf->written;
27360 INT in_ACC40Si = -1;
27361 INT out_ACC40Sk = -1;
27362 in_ACC40Si = FLD (in_ACC40Si);
27363 out_ACC40Sk = FLD (out_ACC40Sk);
27364 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27365 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
27366 cycles += frvbf_model_fr550_u_media_4_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27368 return cycles;
27369 #undef FLD
27372 static int
27373 model_fr550_masaccs (SIM_CPU *current_cpu, void *sem_arg)
27375 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27377 const IDESC * UNUSED idesc = abuf->idesc;
27378 int cycles = 0;
27380 int referenced = 0;
27381 int UNUSED insn_referenced = abuf->written;
27382 INT in_ACC40Si = -1;
27383 INT out_ACC40Sk = -1;
27384 in_ACC40Si = FLD (in_ACC40Si);
27385 out_ACC40Sk = FLD (out_ACC40Sk);
27386 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27387 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
27388 cycles += frvbf_model_fr550_u_media_4_add_sub (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27390 return cycles;
27391 #undef FLD
27394 static int
27395 model_fr550_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
27397 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27398 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27399 const IDESC * UNUSED idesc = abuf->idesc;
27400 int cycles = 0;
27402 int referenced = 0;
27403 int UNUSED insn_referenced = abuf->written;
27404 INT in_ACC40Si = -1;
27405 INT out_ACC40Sk = -1;
27406 in_ACC40Si = FLD (in_ACC40Si);
27407 out_ACC40Sk = FLD (out_ACC40Sk);
27408 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27409 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
27410 cycles += frvbf_model_fr550_u_media_4_add_sub_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27412 return cycles;
27413 #undef FLD
27416 static int
27417 model_fr550_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
27419 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27421 const IDESC * UNUSED idesc = abuf->idesc;
27422 int cycles = 0;
27424 int referenced = 0;
27425 int UNUSED insn_referenced = abuf->written;
27426 INT in_FRinti = -1;
27427 INT in_FRintj = -1;
27428 INT out_ACC40Sk = -1;
27429 INT out_ACC40Uk = -1;
27430 in_FRinti = FLD (in_FRinti);
27431 in_FRintj = FLD (in_FRintj);
27432 out_ACC40Sk = FLD (out_ACC40Sk);
27433 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27434 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27435 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
27436 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27438 return cycles;
27439 #undef FLD
27442 static int
27443 model_fr550_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
27445 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27446 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27447 const IDESC * UNUSED idesc = abuf->idesc;
27448 int cycles = 0;
27450 int referenced = 0;
27451 int UNUSED insn_referenced = abuf->written;
27452 INT in_FRinti = -1;
27453 INT in_FRintj = -1;
27454 INT out_ACC40Sk = -1;
27455 INT out_ACC40Uk = -1;
27456 in_FRinti = FLD (in_FRinti);
27457 in_FRintj = FLD (in_FRintj);
27458 out_ACC40Sk = FLD (out_ACC40Sk);
27459 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27460 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27461 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
27462 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27464 return cycles;
27465 #undef FLD
27468 static int
27469 model_fr550_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
27471 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27473 const IDESC * UNUSED idesc = abuf->idesc;
27474 int cycles = 0;
27476 int referenced = 0;
27477 int UNUSED insn_referenced = abuf->written;
27478 INT in_FRinti = -1;
27479 INT in_FRintj = -1;
27480 INT out_ACC40Sk = -1;
27481 INT out_ACC40Uk = -1;
27482 in_FRinti = FLD (in_FRinti);
27483 in_FRintj = FLD (in_FRintj);
27484 out_ACC40Sk = FLD (out_ACC40Sk);
27485 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27486 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27487 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
27488 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27490 return cycles;
27491 #undef FLD
27494 static int
27495 model_fr550_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
27497 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27498 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27499 const IDESC * UNUSED idesc = abuf->idesc;
27500 int cycles = 0;
27502 int referenced = 0;
27503 int UNUSED insn_referenced = abuf->written;
27504 INT in_FRinti = -1;
27505 INT in_FRintj = -1;
27506 INT out_ACC40Sk = -1;
27507 INT out_ACC40Uk = -1;
27508 in_FRinti = FLD (in_FRinti);
27509 in_FRintj = FLD (in_FRintj);
27510 out_ACC40Sk = FLD (out_ACC40Sk);
27511 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27512 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27513 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
27514 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27516 return cycles;
27517 #undef FLD
27520 static int
27521 model_fr550_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
27523 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27525 const IDESC * UNUSED idesc = abuf->idesc;
27526 int cycles = 0;
27528 int referenced = 0;
27529 int UNUSED insn_referenced = abuf->written;
27530 INT in_FRinti = -1;
27531 INT in_FRintj = -1;
27532 INT out_ACC40Sk = -1;
27533 INT out_ACC40Uk = -1;
27534 in_FRinti = FLD (in_FRinti);
27535 in_FRintj = FLD (in_FRintj);
27536 out_ACC40Sk = FLD (out_ACC40Sk);
27537 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27538 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27539 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
27540 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27542 return cycles;
27543 #undef FLD
27546 static int
27547 model_fr550_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
27549 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27550 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27551 const IDESC * UNUSED idesc = abuf->idesc;
27552 int cycles = 0;
27554 int referenced = 0;
27555 int UNUSED insn_referenced = abuf->written;
27556 INT in_FRinti = -1;
27557 INT in_FRintj = -1;
27558 INT out_ACC40Sk = -1;
27559 INT out_ACC40Uk = -1;
27560 in_FRinti = FLD (in_FRinti);
27561 in_FRintj = FLD (in_FRintj);
27562 out_ACC40Sk = FLD (out_ACC40Sk);
27563 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27564 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27565 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
27566 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27568 return cycles;
27569 #undef FLD
27572 static int
27573 model_fr550_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
27575 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27577 const IDESC * UNUSED idesc = abuf->idesc;
27578 int cycles = 0;
27580 int referenced = 0;
27581 int UNUSED insn_referenced = abuf->written;
27582 INT in_FRintieven = -1;
27583 INT in_FRintjeven = -1;
27584 INT out_ACC40Sk = -1;
27585 INT out_ACC40Uk = -1;
27586 in_FRintieven = FLD (in_FRintieven);
27587 in_FRintjeven = FLD (in_FRintjeven);
27588 out_ACC40Sk = FLD (out_ACC40Sk);
27589 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27590 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27591 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27592 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27594 return cycles;
27595 #undef FLD
27598 static int
27599 model_fr550_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
27601 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27602 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27603 const IDESC * UNUSED idesc = abuf->idesc;
27604 int cycles = 0;
27606 int referenced = 0;
27607 int UNUSED insn_referenced = abuf->written;
27608 INT in_FRintieven = -1;
27609 INT in_FRintjeven = -1;
27610 INT out_ACC40Sk = -1;
27611 INT out_ACC40Uk = -1;
27612 in_FRintieven = FLD (in_FRintieven);
27613 in_FRintjeven = FLD (in_FRintjeven);
27614 out_ACC40Sk = FLD (out_ACC40Sk);
27615 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27616 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27617 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27618 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27620 return cycles;
27621 #undef FLD
27624 static int
27625 model_fr550_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
27627 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27629 const IDESC * UNUSED idesc = abuf->idesc;
27630 int cycles = 0;
27632 int referenced = 0;
27633 int UNUSED insn_referenced = abuf->written;
27634 INT in_FRintieven = -1;
27635 INT in_FRintjeven = -1;
27636 INT out_ACC40Sk = -1;
27637 INT out_ACC40Uk = -1;
27638 in_FRintieven = FLD (in_FRintieven);
27639 in_FRintjeven = FLD (in_FRintjeven);
27640 out_ACC40Sk = FLD (out_ACC40Sk);
27641 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27642 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27643 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27644 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27646 return cycles;
27647 #undef FLD
27650 static int
27651 model_fr550_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
27653 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27654 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27655 const IDESC * UNUSED idesc = abuf->idesc;
27656 int cycles = 0;
27658 int referenced = 0;
27659 int UNUSED insn_referenced = abuf->written;
27660 INT in_FRintieven = -1;
27661 INT in_FRintjeven = -1;
27662 INT out_ACC40Sk = -1;
27663 INT out_ACC40Uk = -1;
27664 in_FRintieven = FLD (in_FRintieven);
27665 in_FRintjeven = FLD (in_FRintjeven);
27666 out_ACC40Sk = FLD (out_ACC40Sk);
27667 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27668 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27669 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27670 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27672 return cycles;
27673 #undef FLD
27676 static int
27677 model_fr550_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
27679 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27681 const IDESC * UNUSED idesc = abuf->idesc;
27682 int cycles = 0;
27684 int referenced = 0;
27685 int UNUSED insn_referenced = abuf->written;
27686 INT in_FRintieven = -1;
27687 INT in_FRintjeven = -1;
27688 INT out_ACC40Sk = -1;
27689 INT out_ACC40Uk = -1;
27690 in_FRintieven = FLD (in_FRintieven);
27691 in_FRintjeven = FLD (in_FRintjeven);
27692 out_ACC40Sk = FLD (out_ACC40Sk);
27693 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27694 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27695 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
27696 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27698 return cycles;
27699 #undef FLD
27702 static int
27703 model_fr550_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
27705 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27706 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27707 const IDESC * UNUSED idesc = abuf->idesc;
27708 int cycles = 0;
27710 int referenced = 0;
27711 int UNUSED insn_referenced = abuf->written;
27712 INT in_FRintieven = -1;
27713 INT in_FRintjeven = -1;
27714 INT out_ACC40Sk = -1;
27715 INT out_ACC40Uk = -1;
27716 in_FRintieven = FLD (in_FRintieven);
27717 in_FRintjeven = FLD (in_FRintjeven);
27718 out_ACC40Sk = FLD (out_ACC40Sk);
27719 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27720 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27721 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
27722 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27724 return cycles;
27725 #undef FLD
27728 static int
27729 model_fr550_mmachs (SIM_CPU *current_cpu, void *sem_arg)
27731 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27733 const IDESC * UNUSED idesc = abuf->idesc;
27734 int cycles = 0;
27736 int referenced = 0;
27737 int UNUSED insn_referenced = abuf->written;
27738 INT in_FRinti = -1;
27739 INT in_FRintj = -1;
27740 INT out_ACC40Sk = -1;
27741 INT out_ACC40Uk = -1;
27742 in_FRinti = FLD (in_FRinti);
27743 in_FRintj = FLD (in_FRintj);
27744 out_ACC40Sk = FLD (out_ACC40Sk);
27745 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27746 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27747 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
27748 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27750 return cycles;
27751 #undef FLD
27754 static int
27755 model_fr550_mmachu (SIM_CPU *current_cpu, void *sem_arg)
27757 #define FLD(f) abuf->fields.sfmt_cmmachu.f
27758 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27759 const IDESC * UNUSED idesc = abuf->idesc;
27760 int cycles = 0;
27762 int referenced = 0;
27763 int UNUSED insn_referenced = abuf->written;
27764 INT in_FRinti = -1;
27765 INT in_FRintj = -1;
27766 INT out_ACC40Sk = -1;
27767 INT out_ACC40Uk = -1;
27768 in_FRinti = FLD (in_FRinti);
27769 in_FRintj = FLD (in_FRintj);
27770 out_ACC40Uk = FLD (out_ACC40Uk);
27771 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27772 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27773 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
27774 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27776 return cycles;
27777 #undef FLD
27780 static int
27781 model_fr550_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
27783 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27785 const IDESC * UNUSED idesc = abuf->idesc;
27786 int cycles = 0;
27788 int referenced = 0;
27789 int UNUSED insn_referenced = abuf->written;
27790 INT in_FRinti = -1;
27791 INT in_FRintj = -1;
27792 INT out_ACC40Sk = -1;
27793 INT out_ACC40Uk = -1;
27794 in_FRinti = FLD (in_FRinti);
27795 in_FRintj = FLD (in_FRintj);
27796 out_ACC40Sk = FLD (out_ACC40Sk);
27797 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27798 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27799 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
27800 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27802 return cycles;
27803 #undef FLD
27806 static int
27807 model_fr550_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
27809 #define FLD(f) abuf->fields.sfmt_cmmachu.f
27810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27811 const IDESC * UNUSED idesc = abuf->idesc;
27812 int cycles = 0;
27814 int referenced = 0;
27815 int UNUSED insn_referenced = abuf->written;
27816 INT in_FRinti = -1;
27817 INT in_FRintj = -1;
27818 INT out_ACC40Sk = -1;
27819 INT out_ACC40Uk = -1;
27820 in_FRinti = FLD (in_FRinti);
27821 in_FRintj = FLD (in_FRintj);
27822 out_ACC40Uk = FLD (out_ACC40Uk);
27823 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27824 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27825 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
27826 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27828 return cycles;
27829 #undef FLD
27832 static int
27833 model_fr550_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
27835 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27837 const IDESC * UNUSED idesc = abuf->idesc;
27838 int cycles = 0;
27840 int referenced = 0;
27841 int UNUSED insn_referenced = abuf->written;
27842 INT in_FRinti = -1;
27843 INT in_FRintj = -1;
27844 INT out_ACC40Sk = -1;
27845 INT out_ACC40Uk = -1;
27846 in_FRinti = FLD (in_FRinti);
27847 in_FRintj = FLD (in_FRintj);
27848 out_ACC40Sk = FLD (out_ACC40Sk);
27849 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
27850 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
27851 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27852 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27854 return cycles;
27855 #undef FLD
27858 static int
27859 model_fr550_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
27861 #define FLD(f) abuf->fields.sfmt_cmmachu.f
27862 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27863 const IDESC * UNUSED idesc = abuf->idesc;
27864 int cycles = 0;
27866 int referenced = 0;
27867 int UNUSED insn_referenced = abuf->written;
27868 INT in_FRinti = -1;
27869 INT in_FRintj = -1;
27870 INT out_ACC40Sk = -1;
27871 INT out_ACC40Uk = -1;
27872 in_FRinti = FLD (in_FRinti);
27873 in_FRintj = FLD (in_FRintj);
27874 out_ACC40Uk = FLD (out_ACC40Uk);
27875 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
27876 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
27877 if (insn_referenced & (1 << 13)) referenced |= 1 << 3;
27878 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27880 return cycles;
27881 #undef FLD
27884 static int
27885 model_fr550_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
27887 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27889 const IDESC * UNUSED idesc = abuf->idesc;
27890 int cycles = 0;
27892 int referenced = 0;
27893 int UNUSED insn_referenced = abuf->written;
27894 INT in_FRintieven = -1;
27895 INT in_FRintjeven = -1;
27896 INT out_ACC40Sk = -1;
27897 INT out_ACC40Uk = -1;
27898 in_FRintieven = FLD (in_FRintieven);
27899 in_FRintjeven = FLD (in_FRintjeven);
27900 out_ACC40Sk = FLD (out_ACC40Sk);
27901 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27902 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27903 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
27904 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27906 return cycles;
27907 #undef FLD
27910 static int
27911 model_fr550_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
27913 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
27914 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27915 const IDESC * UNUSED idesc = abuf->idesc;
27916 int cycles = 0;
27918 int referenced = 0;
27919 int UNUSED insn_referenced = abuf->written;
27920 INT in_FRintieven = -1;
27921 INT in_FRintjeven = -1;
27922 INT out_ACC40Sk = -1;
27923 INT out_ACC40Uk = -1;
27924 in_FRintieven = FLD (in_FRintieven);
27925 in_FRintjeven = FLD (in_FRintjeven);
27926 out_ACC40Uk = FLD (out_ACC40Uk);
27927 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27928 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27929 if (insn_referenced & (1 << 17)) referenced |= 1 << 3;
27930 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27932 return cycles;
27933 #undef FLD
27936 static int
27937 model_fr550_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
27939 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27941 const IDESC * UNUSED idesc = abuf->idesc;
27942 int cycles = 0;
27944 int referenced = 0;
27945 int UNUSED insn_referenced = abuf->written;
27946 INT in_FRintieven = -1;
27947 INT in_FRintjeven = -1;
27948 INT out_ACC40Sk = -1;
27949 INT out_ACC40Uk = -1;
27950 in_FRintieven = FLD (in_FRintieven);
27951 in_FRintjeven = FLD (in_FRintjeven);
27952 out_ACC40Sk = FLD (out_ACC40Sk);
27953 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
27954 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
27955 if (insn_referenced & (1 << 19)) referenced |= 1 << 2;
27956 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27958 return cycles;
27959 #undef FLD
27962 static int
27963 model_fr550_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
27965 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
27966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27967 const IDESC * UNUSED idesc = abuf->idesc;
27968 int cycles = 0;
27970 int referenced = 0;
27971 int UNUSED insn_referenced = abuf->written;
27972 INT in_FRintieven = -1;
27973 INT in_FRintjeven = -1;
27974 INT out_ACC40Sk = -1;
27975 INT out_ACC40Uk = -1;
27976 in_FRintieven = FLD (in_FRintieven);
27977 in_FRintjeven = FLD (in_FRintjeven);
27978 out_ACC40Uk = FLD (out_ACC40Uk);
27979 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
27980 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
27981 if (insn_referenced & (1 << 19)) referenced |= 1 << 3;
27982 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27984 return cycles;
27985 #undef FLD
27988 static int
27989 model_fr550_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
27991 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27993 const IDESC * UNUSED idesc = abuf->idesc;
27994 int cycles = 0;
27996 int referenced = 0;
27997 int UNUSED insn_referenced = abuf->written;
27998 INT in_FRintieven = -1;
27999 INT in_FRintjeven = -1;
28000 INT out_ACC40Sk = -1;
28001 INT out_ACC40Uk = -1;
28002 in_FRintieven = FLD (in_FRintieven);
28003 in_FRintjeven = FLD (in_FRintjeven);
28004 out_ACC40Sk = FLD (out_ACC40Sk);
28005 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28006 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28007 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
28008 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28010 return cycles;
28011 #undef FLD
28014 static int
28015 model_fr550_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
28017 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28018 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28019 const IDESC * UNUSED idesc = abuf->idesc;
28020 int cycles = 0;
28022 int referenced = 0;
28023 int UNUSED insn_referenced = abuf->written;
28024 INT in_FRintieven = -1;
28025 INT in_FRintjeven = -1;
28026 INT out_ACC40Sk = -1;
28027 INT out_ACC40Uk = -1;
28028 in_FRintieven = FLD (in_FRintieven);
28029 in_FRintjeven = FLD (in_FRintjeven);
28030 out_ACC40Sk = FLD (out_ACC40Sk);
28031 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28032 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28033 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
28034 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28036 return cycles;
28037 #undef FLD
28040 static int
28041 model_fr550_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
28043 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28045 const IDESC * UNUSED idesc = abuf->idesc;
28046 int cycles = 0;
28048 int referenced = 0;
28049 int UNUSED insn_referenced = abuf->written;
28050 INT in_FRintieven = -1;
28051 INT in_FRintjeven = -1;
28052 INT out_ACC40Sk = -1;
28053 INT out_ACC40Uk = -1;
28054 in_FRintieven = FLD (in_FRintieven);
28055 in_FRintjeven = FLD (in_FRintjeven);
28056 out_ACC40Sk = FLD (out_ACC40Sk);
28057 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28058 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28059 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
28060 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28062 return cycles;
28063 #undef FLD
28066 static int
28067 model_fr550_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
28069 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28070 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28071 const IDESC * UNUSED idesc = abuf->idesc;
28072 int cycles = 0;
28074 int referenced = 0;
28075 int UNUSED insn_referenced = abuf->written;
28076 INT in_FRinti = -1;
28077 INT in_FRintj = -1;
28078 INT out_ACC40Sk = -1;
28079 INT out_ACC40Uk = -1;
28080 in_FRinti = FLD (in_FRinti);
28081 in_FRintj = FLD (in_FRintj);
28082 out_ACC40Sk = FLD (out_ACC40Sk);
28083 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28084 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28085 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
28086 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28088 return cycles;
28089 #undef FLD
28092 static int
28093 model_fr550_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
28095 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28097 const IDESC * UNUSED idesc = abuf->idesc;
28098 int cycles = 0;
28100 int referenced = 0;
28101 int UNUSED insn_referenced = abuf->written;
28102 INT in_FRinti = -1;
28103 INT in_FRintj = -1;
28104 INT out_ACC40Sk = -1;
28105 INT out_ACC40Uk = -1;
28106 in_FRinti = FLD (in_FRinti);
28107 in_FRintj = FLD (in_FRintj);
28108 out_ACC40Sk = FLD (out_ACC40Sk);
28109 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28110 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28111 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
28112 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28114 return cycles;
28115 #undef FLD
28118 static int
28119 model_fr550_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
28121 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28122 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28123 const IDESC * UNUSED idesc = abuf->idesc;
28124 int cycles = 0;
28126 int referenced = 0;
28127 int UNUSED insn_referenced = abuf->written;
28128 INT in_FRinti = -1;
28129 INT in_FRintj = -1;
28130 INT out_ACC40Sk = -1;
28131 INT out_ACC40Uk = -1;
28132 in_FRinti = FLD (in_FRinti);
28133 in_FRintj = FLD (in_FRintj);
28134 out_ACC40Sk = FLD (out_ACC40Sk);
28135 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28136 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28137 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
28138 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28140 return cycles;
28141 #undef FLD
28144 static int
28145 model_fr550_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
28147 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28149 const IDESC * UNUSED idesc = abuf->idesc;
28150 int cycles = 0;
28152 int referenced = 0;
28153 int UNUSED insn_referenced = abuf->written;
28154 INT in_FRinti = -1;
28155 INT in_FRintj = -1;
28156 INT out_ACC40Sk = -1;
28157 INT out_ACC40Uk = -1;
28158 in_FRinti = FLD (in_FRinti);
28159 in_FRintj = FLD (in_FRintj);
28160 out_ACC40Sk = FLD (out_ACC40Sk);
28161 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28162 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28163 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
28164 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28166 return cycles;
28167 #undef FLD
28170 static int
28171 model_fr550_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
28173 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28175 const IDESC * UNUSED idesc = abuf->idesc;
28176 int cycles = 0;
28178 int referenced = 0;
28179 int UNUSED insn_referenced = abuf->written;
28180 INT in_FRinti = -1;
28181 INT in_FRintj = -1;
28182 INT out_ACC40Sk = -1;
28183 INT out_ACC40Uk = -1;
28184 in_FRinti = FLD (in_FRinti);
28185 in_FRintj = FLD (in_FRintj);
28186 out_ACC40Sk = FLD (out_ACC40Sk);
28187 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28188 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28189 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
28190 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28192 return cycles;
28193 #undef FLD
28196 static int
28197 model_fr550_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
28199 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28201 const IDESC * UNUSED idesc = abuf->idesc;
28202 int cycles = 0;
28204 int referenced = 0;
28205 int UNUSED insn_referenced = abuf->written;
28206 INT in_FRinti = -1;
28207 INT in_FRintj = -1;
28208 INT out_ACC40Sk = -1;
28209 INT out_ACC40Uk = -1;
28210 in_FRinti = FLD (in_FRinti);
28211 in_FRintj = FLD (in_FRintj);
28212 out_ACC40Sk = FLD (out_ACC40Sk);
28213 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28214 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28215 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
28216 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28218 return cycles;
28219 #undef FLD
28222 static int
28223 model_fr550_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
28225 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28226 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28227 const IDESC * UNUSED idesc = abuf->idesc;
28228 int cycles = 0;
28230 int referenced = 0;
28231 int UNUSED insn_referenced = abuf->written;
28232 INT in_FRinti = -1;
28233 INT in_FRintj = -1;
28234 INT out_ACC40Sk = -1;
28235 INT out_ACC40Uk = -1;
28236 in_FRinti = FLD (in_FRinti);
28237 in_FRintj = FLD (in_FRintj);
28238 out_ACC40Sk = FLD (out_ACC40Sk);
28239 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28240 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28241 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
28242 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28244 return cycles;
28245 #undef FLD
28248 static int
28249 model_fr550_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
28251 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28253 const IDESC * UNUSED idesc = abuf->idesc;
28254 int cycles = 0;
28256 int referenced = 0;
28257 int UNUSED insn_referenced = abuf->written;
28258 INT in_FRinti = -1;
28259 INT in_FRintj = -1;
28260 INT out_ACC40Sk = -1;
28261 INT out_ACC40Uk = -1;
28262 in_FRinti = FLD (in_FRinti);
28263 in_FRintj = FLD (in_FRintj);
28264 out_ACC40Sk = FLD (out_ACC40Sk);
28265 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28266 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28267 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
28268 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28270 return cycles;
28271 #undef FLD
28274 static int
28275 model_fr550_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
28277 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28279 const IDESC * UNUSED idesc = abuf->idesc;
28280 int cycles = 0;
28282 int referenced = 0;
28283 int UNUSED insn_referenced = abuf->written;
28284 INT in_FRintieven = -1;
28285 INT in_FRintjeven = -1;
28286 INT out_ACC40Sk = -1;
28287 INT out_ACC40Uk = -1;
28288 in_FRintieven = FLD (in_FRintieven);
28289 in_FRintjeven = FLD (in_FRintjeven);
28290 out_ACC40Sk = FLD (out_ACC40Sk);
28291 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28292 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28293 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
28294 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28296 return cycles;
28297 #undef FLD
28300 static int
28301 model_fr550_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
28303 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28305 const IDESC * UNUSED idesc = abuf->idesc;
28306 int cycles = 0;
28308 int referenced = 0;
28309 int UNUSED insn_referenced = abuf->written;
28310 INT in_FRintieven = -1;
28311 INT in_FRintjeven = -1;
28312 INT out_ACC40Sk = -1;
28313 INT out_ACC40Uk = -1;
28314 in_FRintieven = FLD (in_FRintieven);
28315 in_FRintjeven = FLD (in_FRintjeven);
28316 out_ACC40Sk = FLD (out_ACC40Sk);
28317 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28318 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28319 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
28320 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28322 return cycles;
28323 #undef FLD
28326 static int
28327 model_fr550_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
28329 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28330 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28331 const IDESC * UNUSED idesc = abuf->idesc;
28332 int cycles = 0;
28334 int referenced = 0;
28335 int UNUSED insn_referenced = abuf->written;
28336 INT in_FRintieven = -1;
28337 INT in_FRintjeven = -1;
28338 INT out_ACC40Sk = -1;
28339 INT out_ACC40Uk = -1;
28340 in_FRintieven = FLD (in_FRintieven);
28341 in_FRintjeven = FLD (in_FRintjeven);
28342 out_ACC40Sk = FLD (out_ACC40Sk);
28343 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28344 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28345 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
28346 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28348 return cycles;
28349 #undef FLD
28352 static int
28353 model_fr550_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
28355 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28357 const IDESC * UNUSED idesc = abuf->idesc;
28358 int cycles = 0;
28360 int referenced = 0;
28361 int UNUSED insn_referenced = abuf->written;
28362 INT in_FRintieven = -1;
28363 INT in_FRintjeven = -1;
28364 INT out_ACC40Sk = -1;
28365 INT out_ACC40Uk = -1;
28366 in_FRintieven = FLD (in_FRintieven);
28367 in_FRintjeven = FLD (in_FRintjeven);
28368 out_ACC40Sk = FLD (out_ACC40Sk);
28369 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28370 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28371 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
28372 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28374 return cycles;
28375 #undef FLD
28378 static int
28379 model_fr550_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
28381 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
28382 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28383 const IDESC * UNUSED idesc = abuf->idesc;
28384 int cycles = 0;
28386 int referenced = 0;
28387 int UNUSED insn_referenced = abuf->written;
28388 INT in_FRinti = -1;
28389 INT in_FRintj = -1;
28390 INT out_FRintk = -1;
28391 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
28393 return cycles;
28394 #undef FLD
28397 static int
28398 model_fr550_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
28400 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
28401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28402 const IDESC * UNUSED idesc = abuf->idesc;
28403 int cycles = 0;
28405 int referenced = 0;
28406 int UNUSED insn_referenced = abuf->written;
28407 INT in_FRinti = -1;
28408 INT in_FRintj = -1;
28409 INT out_FRintk = -1;
28410 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
28412 return cycles;
28413 #undef FLD
28416 static int
28417 model_fr550_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
28419 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
28420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28421 const IDESC * UNUSED idesc = abuf->idesc;
28422 int cycles = 0;
28424 int referenced = 0;
28425 int UNUSED insn_referenced = abuf->written;
28426 INT in_FRinti = -1;
28427 INT out_FRintkeven = -1;
28428 out_FRintkeven = FLD (out_FRintkeven);
28429 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
28430 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28432 return cycles;
28433 #undef FLD
28436 static int
28437 model_fr550_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
28439 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
28440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28441 const IDESC * UNUSED idesc = abuf->idesc;
28442 int cycles = 0;
28444 int referenced = 0;
28445 int UNUSED insn_referenced = abuf->written;
28446 INT in_FRinti = -1;
28447 INT out_FRintkeven = -1;
28448 out_FRintkeven = FLD (out_FRintkeven);
28449 if (insn_referenced & (1 << 8)) referenced |= 1 << 1;
28450 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28452 return cycles;
28453 #undef FLD
28456 static int
28457 model_fr550_mpackh (SIM_CPU *current_cpu, void *sem_arg)
28459 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
28460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28461 const IDESC * UNUSED idesc = abuf->idesc;
28462 int cycles = 0;
28464 int referenced = 0;
28465 int UNUSED insn_referenced = abuf->written;
28466 INT in_FRinti = -1;
28467 INT in_FRintj = -1;
28468 INT out_FRintk = -1;
28469 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
28471 return cycles;
28472 #undef FLD
28475 static int
28476 model_fr550_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
28478 #define FLD(f) abuf->fields.sfmt_mdpackh.f
28479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28480 const IDESC * UNUSED idesc = abuf->idesc;
28481 int cycles = 0;
28483 int referenced = 0;
28484 int UNUSED insn_referenced = abuf->written;
28485 INT in_FRintieven = -1;
28486 INT in_FRintjeven = -1;
28487 INT out_FRintkeven = -1;
28488 in_FRintieven = FLD (in_FRintieven);
28489 in_FRintjeven = FLD (in_FRintjeven);
28490 out_FRintkeven = FLD (out_FRintkeven);
28491 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28492 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28493 if (insn_referenced & (1 << 12)) referenced |= 1 << 2;
28494 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
28496 return cycles;
28497 #undef FLD
28500 static int
28501 model_fr550_munpackh (SIM_CPU *current_cpu, void *sem_arg)
28503 #define FLD(f) abuf->fields.sfmt_munpackh.f
28504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28505 const IDESC * UNUSED idesc = abuf->idesc;
28506 int cycles = 0;
28508 int referenced = 0;
28509 int UNUSED insn_referenced = abuf->written;
28510 INT in_FRinti = -1;
28511 INT out_FRintkeven = -1;
28512 in_FRinti = FLD (in_FRinti);
28513 out_FRintkeven = FLD (out_FRintkeven);
28514 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28515 if (insn_referenced & (1 << 7)) referenced |= 1 << 1;
28516 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28518 return cycles;
28519 #undef FLD
28522 static int
28523 model_fr550_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
28525 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
28526 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28527 const IDESC * UNUSED idesc = abuf->idesc;
28528 int cycles = 0;
28530 int referenced = 0;
28531 int UNUSED insn_referenced = abuf->written;
28532 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28534 return cycles;
28535 #undef FLD
28538 static int
28539 model_fr550_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
28541 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
28542 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28543 const IDESC * UNUSED idesc = abuf->idesc;
28544 int cycles = 0;
28546 int referenced = 0;
28547 int UNUSED insn_referenced = abuf->written;
28548 INT in_FRinti = -1;
28549 INT out_FRintkeven = -1;
28550 out_FRintkeven = FLD (out_FRintkeven);
28551 referenced |= 1 << 1;
28552 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28554 return cycles;
28555 #undef FLD
28558 static int
28559 model_fr550_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
28561 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
28562 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28563 const IDESC * UNUSED idesc = abuf->idesc;
28564 int cycles = 0;
28566 int referenced = 0;
28567 int UNUSED insn_referenced = abuf->written;
28568 INT in_FRinti = -1;
28569 INT out_FRintkeven = -1;
28570 out_FRintkeven = FLD (out_FRintkeven);
28571 in_FRinti = FLD (in_FRintj);
28572 referenced |= 1 << 1;
28573 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28575 return cycles;
28576 #undef FLD
28579 static int
28580 model_fr550_mhtob (SIM_CPU *current_cpu, void *sem_arg)
28582 #define FLD(f) abuf->fields.sfmt_cmhtob.f
28583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28584 const IDESC * UNUSED idesc = abuf->idesc;
28585 int cycles = 0;
28587 int referenced = 0;
28588 int UNUSED insn_referenced = abuf->written;
28589 INT in_FRinti = -1;
28590 INT out_FRintk = -1;
28591 out_FRintk = FLD (out_FRintk);
28592 in_FRinti = FLD (in_FRintjeven);
28593 referenced |= 1 << 1;
28594 cycles += frvbf_model_fr550_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
28596 return cycles;
28597 #undef FLD
28600 static int
28601 model_fr550_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
28603 #define FLD(f) abuf->fields.sfmt_cmhtob.f
28604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28605 const IDESC * UNUSED idesc = abuf->idesc;
28606 int cycles = 0;
28608 int referenced = 0;
28609 int UNUSED insn_referenced = abuf->written;
28610 INT in_FRinti = -1;
28611 INT out_FRintk = -1;
28612 out_FRintk = FLD (out_FRintk);
28613 in_FRinti = FLD (in_FRintjeven);
28614 referenced |= 1 << 1;
28615 cycles += frvbf_model_fr550_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
28617 return cycles;
28618 #undef FLD
28621 static int
28622 model_fr550_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
28624 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
28625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28626 const IDESC * UNUSED idesc = abuf->idesc;
28627 int cycles = 0;
28629 int referenced = 0;
28630 int UNUSED insn_referenced = abuf->written;
28631 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28633 return cycles;
28634 #undef FLD
28637 static int
28638 model_fr550_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
28640 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
28641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28642 const IDESC * UNUSED idesc = abuf->idesc;
28643 int cycles = 0;
28645 int referenced = 0;
28646 int UNUSED insn_referenced = abuf->written;
28647 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28649 return cycles;
28650 #undef FLD
28653 static int
28654 model_fr550_mnop (SIM_CPU *current_cpu, void *sem_arg)
28656 #define FLD(f) abuf->fields.sfmt_empty.f
28657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28658 const IDESC * UNUSED idesc = abuf->idesc;
28659 int cycles = 0;
28661 int referenced = 0;
28662 int UNUSED insn_referenced = abuf->written;
28663 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28665 return cycles;
28666 #undef FLD
28669 static int
28670 model_fr550_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
28672 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
28673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28674 const IDESC * UNUSED idesc = abuf->idesc;
28675 int cycles = 0;
28677 int referenced = 0;
28678 int UNUSED insn_referenced = abuf->written;
28679 cycles += frvbf_model_fr550_u_media_3_mclracc (current_cpu, idesc, 0, referenced);
28681 return cycles;
28682 #undef FLD
28685 static int
28686 model_fr550_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
28688 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
28689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28690 const IDESC * UNUSED idesc = abuf->idesc;
28691 int cycles = 0;
28693 int referenced = 0;
28694 int UNUSED insn_referenced = abuf->written;
28695 cycles += frvbf_model_fr550_u_media_3_mclracc (current_cpu, idesc, 0, referenced);
28697 return cycles;
28698 #undef FLD
28701 static int
28702 model_fr550_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
28704 #define FLD(f) abuf->fields.sfmt_mcuti.f
28705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28706 const IDESC * UNUSED idesc = abuf->idesc;
28707 int cycles = 0;
28709 int referenced = 0;
28710 int UNUSED insn_referenced = abuf->written;
28711 INT in_FRintj = -1;
28712 INT in_ACC40Si = -1;
28713 INT out_FRintk = -1;
28714 in_ACC40Si = FLD (in_ACC40Si);
28715 out_FRintk = FLD (out_FRintk);
28716 referenced |= 1 << 1;
28717 referenced |= 1 << 2;
28718 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
28720 return cycles;
28721 #undef FLD
28724 static int
28725 model_fr550_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
28727 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
28728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28729 const IDESC * UNUSED idesc = abuf->idesc;
28730 int cycles = 0;
28732 int referenced = 0;
28733 int UNUSED insn_referenced = abuf->written;
28734 INT in_FRintj = -1;
28735 INT in_ACC40Si = -1;
28736 INT out_FRintk = -1;
28737 out_FRintk = FLD (out_FRintk);
28738 in_ACC40Si = FLD (in_ACCGi);
28739 referenced |= 1 << 2;
28740 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
28742 return cycles;
28743 #undef FLD
28746 static int
28747 model_fr550_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
28749 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28750 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28751 const IDESC * UNUSED idesc = abuf->idesc;
28752 int cycles = 0;
28754 int referenced = 0;
28755 int UNUSED insn_referenced = abuf->written;
28756 INT in_FRinti = -1;
28757 INT in_ACC40Sk = -1;
28758 in_FRinti = FLD (in_FRinti);
28759 in_ACC40Sk = FLD (in_ACC40Sk);
28760 referenced |= 1 << 0;
28761 referenced |= 1 << 1;
28762 cycles += frvbf_model_fr550_u_media_3_wtacc (current_cpu, idesc, 0, referenced, in_FRinti, in_ACC40Sk);
28764 return cycles;
28765 #undef FLD
28768 static int
28769 model_fr550_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
28771 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
28772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28773 const IDESC * UNUSED idesc = abuf->idesc;
28774 int cycles = 0;
28776 int referenced = 0;
28777 int UNUSED insn_referenced = abuf->written;
28778 INT in_FRinti = -1;
28779 INT in_ACC40Sk = -1;
28780 in_FRinti = FLD (in_FRinti);
28781 in_ACC40Sk = FLD (in_ACCGk);
28782 referenced |= 1 << 0;
28783 cycles += frvbf_model_fr550_u_media_3_wtacc (current_cpu, idesc, 0, referenced, in_FRinti, in_ACC40Sk);
28785 return cycles;
28786 #undef FLD
28789 static int
28790 model_fr550_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
28792 #define FLD(f) abuf->fields.sfmt_empty.f
28793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28794 const IDESC * UNUSED idesc = abuf->idesc;
28795 int cycles = 0;
28797 int referenced = 0;
28798 int UNUSED insn_referenced = abuf->written;
28799 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28801 return cycles;
28802 #undef FLD
28805 static int
28806 model_fr550_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
28808 #define FLD(f) abuf->fields.sfmt_empty.f
28809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28810 const IDESC * UNUSED idesc = abuf->idesc;
28811 int cycles = 0;
28813 int referenced = 0;
28814 int UNUSED insn_referenced = abuf->written;
28815 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28817 return cycles;
28818 #undef FLD
28821 static int
28822 model_fr550_fnop (SIM_CPU *current_cpu, void *sem_arg)
28824 #define FLD(f) abuf->fields.sfmt_empty.f
28825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28826 const IDESC * UNUSED idesc = abuf->idesc;
28827 int cycles = 0;
28829 int referenced = 0;
28830 int UNUSED insn_referenced = abuf->written;
28831 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28833 return cycles;
28834 #undef FLD
28837 static int
28838 model_fr500_add (SIM_CPU *current_cpu, void *sem_arg)
28840 #define FLD(f) abuf->fields.sfmt_addcc.f
28841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28842 const IDESC * UNUSED idesc = abuf->idesc;
28843 int cycles = 0;
28845 int referenced = 0;
28846 int UNUSED insn_referenced = abuf->written;
28847 INT in_GRi = -1;
28848 INT in_GRj = -1;
28849 INT out_GRk = -1;
28850 INT out_ICCi_1 = -1;
28851 in_GRi = FLD (in_GRi);
28852 in_GRj = FLD (in_GRj);
28853 out_GRk = FLD (out_GRk);
28854 referenced |= 1 << 0;
28855 referenced |= 1 << 1;
28856 referenced |= 1 << 2;
28857 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28859 return cycles;
28860 #undef FLD
28863 static int
28864 model_fr500_sub (SIM_CPU *current_cpu, void *sem_arg)
28866 #define FLD(f) abuf->fields.sfmt_addcc.f
28867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28868 const IDESC * UNUSED idesc = abuf->idesc;
28869 int cycles = 0;
28871 int referenced = 0;
28872 int UNUSED insn_referenced = abuf->written;
28873 INT in_GRi = -1;
28874 INT in_GRj = -1;
28875 INT out_GRk = -1;
28876 INT out_ICCi_1 = -1;
28877 in_GRi = FLD (in_GRi);
28878 in_GRj = FLD (in_GRj);
28879 out_GRk = FLD (out_GRk);
28880 referenced |= 1 << 0;
28881 referenced |= 1 << 1;
28882 referenced |= 1 << 2;
28883 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28885 return cycles;
28886 #undef FLD
28889 static int
28890 model_fr500_and (SIM_CPU *current_cpu, void *sem_arg)
28892 #define FLD(f) abuf->fields.sfmt_addcc.f
28893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28894 const IDESC * UNUSED idesc = abuf->idesc;
28895 int cycles = 0;
28897 int referenced = 0;
28898 int UNUSED insn_referenced = abuf->written;
28899 INT in_GRi = -1;
28900 INT in_GRj = -1;
28901 INT out_GRk = -1;
28902 INT out_ICCi_1 = -1;
28903 in_GRi = FLD (in_GRi);
28904 in_GRj = FLD (in_GRj);
28905 out_GRk = FLD (out_GRk);
28906 referenced |= 1 << 0;
28907 referenced |= 1 << 1;
28908 referenced |= 1 << 2;
28909 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28911 return cycles;
28912 #undef FLD
28915 static int
28916 model_fr500_or (SIM_CPU *current_cpu, void *sem_arg)
28918 #define FLD(f) abuf->fields.sfmt_addcc.f
28919 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28920 const IDESC * UNUSED idesc = abuf->idesc;
28921 int cycles = 0;
28923 int referenced = 0;
28924 int UNUSED insn_referenced = abuf->written;
28925 INT in_GRi = -1;
28926 INT in_GRj = -1;
28927 INT out_GRk = -1;
28928 INT out_ICCi_1 = -1;
28929 in_GRi = FLD (in_GRi);
28930 in_GRj = FLD (in_GRj);
28931 out_GRk = FLD (out_GRk);
28932 referenced |= 1 << 0;
28933 referenced |= 1 << 1;
28934 referenced |= 1 << 2;
28935 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28937 return cycles;
28938 #undef FLD
28941 static int
28942 model_fr500_xor (SIM_CPU *current_cpu, void *sem_arg)
28944 #define FLD(f) abuf->fields.sfmt_addcc.f
28945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28946 const IDESC * UNUSED idesc = abuf->idesc;
28947 int cycles = 0;
28949 int referenced = 0;
28950 int UNUSED insn_referenced = abuf->written;
28951 INT in_GRi = -1;
28952 INT in_GRj = -1;
28953 INT out_GRk = -1;
28954 INT out_ICCi_1 = -1;
28955 in_GRi = FLD (in_GRi);
28956 in_GRj = FLD (in_GRj);
28957 out_GRk = FLD (out_GRk);
28958 referenced |= 1 << 0;
28959 referenced |= 1 << 1;
28960 referenced |= 1 << 2;
28961 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28963 return cycles;
28964 #undef FLD
28967 static int
28968 model_fr500_not (SIM_CPU *current_cpu, void *sem_arg)
28970 #define FLD(f) abuf->fields.sfmt_scutss.f
28971 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28972 const IDESC * UNUSED idesc = abuf->idesc;
28973 int cycles = 0;
28975 int referenced = 0;
28976 int UNUSED insn_referenced = abuf->written;
28977 INT in_GRi = -1;
28978 INT in_GRj = -1;
28979 INT out_GRk = -1;
28980 INT out_ICCi_1 = -1;
28981 in_GRj = FLD (in_GRj);
28982 out_GRk = FLD (out_GRk);
28983 referenced |= 1 << 1;
28984 referenced |= 1 << 2;
28985 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28987 return cycles;
28988 #undef FLD
28991 static int
28992 model_fr500_sdiv (SIM_CPU *current_cpu, void *sem_arg)
28994 #define FLD(f) abuf->fields.sfmt_addcc.f
28995 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28996 const IDESC * UNUSED idesc = abuf->idesc;
28997 int cycles = 0;
28999 int referenced = 0;
29000 int UNUSED insn_referenced = abuf->written;
29001 INT in_GRi = -1;
29002 INT in_GRj = -1;
29003 INT out_GRk = -1;
29004 INT out_ICCi_1 = -1;
29005 in_GRi = FLD (in_GRi);
29006 in_GRj = FLD (in_GRj);
29007 out_GRk = FLD (out_GRk);
29008 referenced |= 1 << 0;
29009 referenced |= 1 << 1;
29010 referenced |= 1 << 2;
29011 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29013 return cycles;
29014 #undef FLD
29017 static int
29018 model_fr500_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
29020 #define FLD(f) abuf->fields.sfmt_addcc.f
29021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29022 const IDESC * UNUSED idesc = abuf->idesc;
29023 int cycles = 0;
29025 int referenced = 0;
29026 int UNUSED insn_referenced = abuf->written;
29027 INT in_GRi = -1;
29028 INT in_GRj = -1;
29029 INT out_GRk = -1;
29030 INT out_ICCi_1 = -1;
29031 in_GRi = FLD (in_GRi);
29032 in_GRj = FLD (in_GRj);
29033 out_GRk = FLD (out_GRk);
29034 referenced |= 1 << 0;
29035 referenced |= 1 << 1;
29036 referenced |= 1 << 2;
29037 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29039 return cycles;
29040 #undef FLD
29043 static int
29044 model_fr500_udiv (SIM_CPU *current_cpu, void *sem_arg)
29046 #define FLD(f) abuf->fields.sfmt_addcc.f
29047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29048 const IDESC * UNUSED idesc = abuf->idesc;
29049 int cycles = 0;
29051 int referenced = 0;
29052 int UNUSED insn_referenced = abuf->written;
29053 INT in_GRi = -1;
29054 INT in_GRj = -1;
29055 INT out_GRk = -1;
29056 INT out_ICCi_1 = -1;
29057 in_GRi = FLD (in_GRi);
29058 in_GRj = FLD (in_GRj);
29059 out_GRk = FLD (out_GRk);
29060 referenced |= 1 << 0;
29061 referenced |= 1 << 1;
29062 referenced |= 1 << 2;
29063 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29065 return cycles;
29066 #undef FLD
29069 static int
29070 model_fr500_nudiv (SIM_CPU *current_cpu, void *sem_arg)
29072 #define FLD(f) abuf->fields.sfmt_addcc.f
29073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29074 const IDESC * UNUSED idesc = abuf->idesc;
29075 int cycles = 0;
29077 int referenced = 0;
29078 int UNUSED insn_referenced = abuf->written;
29079 INT in_GRi = -1;
29080 INT in_GRj = -1;
29081 INT out_GRk = -1;
29082 INT out_ICCi_1 = -1;
29083 in_GRi = FLD (in_GRi);
29084 in_GRj = FLD (in_GRj);
29085 out_GRk = FLD (out_GRk);
29086 referenced |= 1 << 0;
29087 referenced |= 1 << 1;
29088 referenced |= 1 << 2;
29089 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29091 return cycles;
29092 #undef FLD
29095 static int
29096 model_fr500_smul (SIM_CPU *current_cpu, void *sem_arg)
29098 #define FLD(f) abuf->fields.sfmt_smulcc.f
29099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29100 const IDESC * UNUSED idesc = abuf->idesc;
29101 int cycles = 0;
29103 int referenced = 0;
29104 int UNUSED insn_referenced = abuf->written;
29105 INT in_GRi = -1;
29106 INT in_GRj = -1;
29107 INT out_GRdoublek = -1;
29108 INT out_ICCi_1 = -1;
29109 in_GRi = FLD (in_GRi);
29110 in_GRj = FLD (in_GRj);
29111 out_GRdoublek = FLD (out_GRdoublek);
29112 referenced |= 1 << 0;
29113 referenced |= 1 << 1;
29114 referenced |= 1 << 2;
29115 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29117 return cycles;
29118 #undef FLD
29121 static int
29122 model_fr500_umul (SIM_CPU *current_cpu, void *sem_arg)
29124 #define FLD(f) abuf->fields.sfmt_smulcc.f
29125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29126 const IDESC * UNUSED idesc = abuf->idesc;
29127 int cycles = 0;
29129 int referenced = 0;
29130 int UNUSED insn_referenced = abuf->written;
29131 INT in_GRi = -1;
29132 INT in_GRj = -1;
29133 INT out_GRdoublek = -1;
29134 INT out_ICCi_1 = -1;
29135 in_GRi = FLD (in_GRi);
29136 in_GRj = FLD (in_GRj);
29137 out_GRdoublek = FLD (out_GRdoublek);
29138 referenced |= 1 << 0;
29139 referenced |= 1 << 1;
29140 referenced |= 1 << 2;
29141 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29143 return cycles;
29144 #undef FLD
29147 static int
29148 model_fr500_smu (SIM_CPU *current_cpu, void *sem_arg)
29150 #define FLD(f) abuf->fields.sfmt_smass.f
29151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29152 const IDESC * UNUSED idesc = abuf->idesc;
29153 int cycles = 0;
29155 int referenced = 0;
29156 int UNUSED insn_referenced = abuf->written;
29157 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29159 return cycles;
29160 #undef FLD
29163 static int
29164 model_fr500_smass (SIM_CPU *current_cpu, void *sem_arg)
29166 #define FLD(f) abuf->fields.sfmt_smass.f
29167 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29168 const IDESC * UNUSED idesc = abuf->idesc;
29169 int cycles = 0;
29171 int referenced = 0;
29172 int UNUSED insn_referenced = abuf->written;
29173 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29175 return cycles;
29176 #undef FLD
29179 static int
29180 model_fr500_smsss (SIM_CPU *current_cpu, void *sem_arg)
29182 #define FLD(f) abuf->fields.sfmt_smass.f
29183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29184 const IDESC * UNUSED idesc = abuf->idesc;
29185 int cycles = 0;
29187 int referenced = 0;
29188 int UNUSED insn_referenced = abuf->written;
29189 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29191 return cycles;
29192 #undef FLD
29195 static int
29196 model_fr500_sll (SIM_CPU *current_cpu, void *sem_arg)
29198 #define FLD(f) abuf->fields.sfmt_addcc.f
29199 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29200 const IDESC * UNUSED idesc = abuf->idesc;
29201 int cycles = 0;
29203 int referenced = 0;
29204 int UNUSED insn_referenced = abuf->written;
29205 INT in_GRi = -1;
29206 INT in_GRj = -1;
29207 INT out_GRk = -1;
29208 INT out_ICCi_1 = -1;
29209 in_GRi = FLD (in_GRi);
29210 in_GRj = FLD (in_GRj);
29211 out_GRk = FLD (out_GRk);
29212 referenced |= 1 << 0;
29213 referenced |= 1 << 1;
29214 referenced |= 1 << 2;
29215 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29217 return cycles;
29218 #undef FLD
29221 static int
29222 model_fr500_srl (SIM_CPU *current_cpu, void *sem_arg)
29224 #define FLD(f) abuf->fields.sfmt_addcc.f
29225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29226 const IDESC * UNUSED idesc = abuf->idesc;
29227 int cycles = 0;
29229 int referenced = 0;
29230 int UNUSED insn_referenced = abuf->written;
29231 INT in_GRi = -1;
29232 INT in_GRj = -1;
29233 INT out_GRk = -1;
29234 INT out_ICCi_1 = -1;
29235 in_GRi = FLD (in_GRi);
29236 in_GRj = FLD (in_GRj);
29237 out_GRk = FLD (out_GRk);
29238 referenced |= 1 << 0;
29239 referenced |= 1 << 1;
29240 referenced |= 1 << 2;
29241 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29243 return cycles;
29244 #undef FLD
29247 static int
29248 model_fr500_sra (SIM_CPU *current_cpu, void *sem_arg)
29250 #define FLD(f) abuf->fields.sfmt_addcc.f
29251 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29252 const IDESC * UNUSED idesc = abuf->idesc;
29253 int cycles = 0;
29255 int referenced = 0;
29256 int UNUSED insn_referenced = abuf->written;
29257 INT in_GRi = -1;
29258 INT in_GRj = -1;
29259 INT out_GRk = -1;
29260 INT out_ICCi_1 = -1;
29261 in_GRi = FLD (in_GRi);
29262 in_GRj = FLD (in_GRj);
29263 out_GRk = FLD (out_GRk);
29264 referenced |= 1 << 0;
29265 referenced |= 1 << 1;
29266 referenced |= 1 << 2;
29267 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29269 return cycles;
29270 #undef FLD
29273 static int
29274 model_fr500_slass (SIM_CPU *current_cpu, void *sem_arg)
29276 #define FLD(f) abuf->fields.sfmt_addcc.f
29277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29278 const IDESC * UNUSED idesc = abuf->idesc;
29279 int cycles = 0;
29281 int referenced = 0;
29282 int UNUSED insn_referenced = abuf->written;
29283 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29285 return cycles;
29286 #undef FLD
29289 static int
29290 model_fr500_scutss (SIM_CPU *current_cpu, void *sem_arg)
29292 #define FLD(f) abuf->fields.sfmt_scutss.f
29293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29294 const IDESC * UNUSED idesc = abuf->idesc;
29295 int cycles = 0;
29297 int referenced = 0;
29298 int UNUSED insn_referenced = abuf->written;
29299 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29301 return cycles;
29302 #undef FLD
29305 static int
29306 model_fr500_scan (SIM_CPU *current_cpu, void *sem_arg)
29308 #define FLD(f) abuf->fields.sfmt_addcc.f
29309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29310 const IDESC * UNUSED idesc = abuf->idesc;
29311 int cycles = 0;
29313 int referenced = 0;
29314 int UNUSED insn_referenced = abuf->written;
29315 INT in_GRi = -1;
29316 INT in_GRj = -1;
29317 INT out_GRk = -1;
29318 INT out_ICCi_1 = -1;
29319 in_GRi = FLD (in_GRi);
29320 in_GRj = FLD (in_GRj);
29321 out_GRk = FLD (out_GRk);
29322 referenced |= 1 << 0;
29323 referenced |= 1 << 1;
29324 referenced |= 1 << 2;
29325 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29327 return cycles;
29328 #undef FLD
29331 static int
29332 model_fr500_cadd (SIM_CPU *current_cpu, void *sem_arg)
29334 #define FLD(f) abuf->fields.sfmt_cswap.f
29335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29336 const IDESC * UNUSED idesc = abuf->idesc;
29337 int cycles = 0;
29339 int referenced = 0;
29340 int UNUSED insn_referenced = abuf->written;
29341 INT in_GRi = -1;
29342 INT in_GRj = -1;
29343 INT out_GRk = -1;
29344 INT out_ICCi_1 = -1;
29345 in_GRi = FLD (in_GRi);
29346 in_GRj = FLD (in_GRj);
29347 out_GRk = FLD (out_GRk);
29348 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29349 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29350 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29351 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29353 return cycles;
29354 #undef FLD
29357 static int
29358 model_fr500_csub (SIM_CPU *current_cpu, void *sem_arg)
29360 #define FLD(f) abuf->fields.sfmt_cswap.f
29361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29362 const IDESC * UNUSED idesc = abuf->idesc;
29363 int cycles = 0;
29365 int referenced = 0;
29366 int UNUSED insn_referenced = abuf->written;
29367 INT in_GRi = -1;
29368 INT in_GRj = -1;
29369 INT out_GRk = -1;
29370 INT out_ICCi_1 = -1;
29371 in_GRi = FLD (in_GRi);
29372 in_GRj = FLD (in_GRj);
29373 out_GRk = FLD (out_GRk);
29374 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29375 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29376 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29377 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29379 return cycles;
29380 #undef FLD
29383 static int
29384 model_fr500_cand (SIM_CPU *current_cpu, void *sem_arg)
29386 #define FLD(f) abuf->fields.sfmt_cswap.f
29387 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29388 const IDESC * UNUSED idesc = abuf->idesc;
29389 int cycles = 0;
29391 int referenced = 0;
29392 int UNUSED insn_referenced = abuf->written;
29393 INT in_GRi = -1;
29394 INT in_GRj = -1;
29395 INT out_GRk = -1;
29396 INT out_ICCi_1 = -1;
29397 in_GRi = FLD (in_GRi);
29398 in_GRj = FLD (in_GRj);
29399 out_GRk = FLD (out_GRk);
29400 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29401 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29402 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29403 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29405 return cycles;
29406 #undef FLD
29409 static int
29410 model_fr500_cor (SIM_CPU *current_cpu, void *sem_arg)
29412 #define FLD(f) abuf->fields.sfmt_cswap.f
29413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29414 const IDESC * UNUSED idesc = abuf->idesc;
29415 int cycles = 0;
29417 int referenced = 0;
29418 int UNUSED insn_referenced = abuf->written;
29419 INT in_GRi = -1;
29420 INT in_GRj = -1;
29421 INT out_GRk = -1;
29422 INT out_ICCi_1 = -1;
29423 in_GRi = FLD (in_GRi);
29424 in_GRj = FLD (in_GRj);
29425 out_GRk = FLD (out_GRk);
29426 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29427 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29428 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29429 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29431 return cycles;
29432 #undef FLD
29435 static int
29436 model_fr500_cxor (SIM_CPU *current_cpu, void *sem_arg)
29438 #define FLD(f) abuf->fields.sfmt_cswap.f
29439 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29440 const IDESC * UNUSED idesc = abuf->idesc;
29441 int cycles = 0;
29443 int referenced = 0;
29444 int UNUSED insn_referenced = abuf->written;
29445 INT in_GRi = -1;
29446 INT in_GRj = -1;
29447 INT out_GRk = -1;
29448 INT out_ICCi_1 = -1;
29449 in_GRi = FLD (in_GRi);
29450 in_GRj = FLD (in_GRj);
29451 out_GRk = FLD (out_GRk);
29452 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29453 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29454 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29455 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29457 return cycles;
29458 #undef FLD
29461 static int
29462 model_fr500_cnot (SIM_CPU *current_cpu, void *sem_arg)
29464 #define FLD(f) abuf->fields.sfmt_cswap.f
29465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29466 const IDESC * UNUSED idesc = abuf->idesc;
29467 int cycles = 0;
29469 int referenced = 0;
29470 int UNUSED insn_referenced = abuf->written;
29471 INT in_GRi = -1;
29472 INT in_GRj = -1;
29473 INT out_GRk = -1;
29474 INT out_ICCi_1 = -1;
29475 in_GRj = FLD (in_GRj);
29476 out_GRk = FLD (out_GRk);
29477 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
29478 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
29479 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29481 return cycles;
29482 #undef FLD
29485 static int
29486 model_fr500_csmul (SIM_CPU *current_cpu, void *sem_arg)
29488 #define FLD(f) abuf->fields.sfmt_clddu.f
29489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29490 const IDESC * UNUSED idesc = abuf->idesc;
29491 int cycles = 0;
29493 int referenced = 0;
29494 int UNUSED insn_referenced = abuf->written;
29495 INT in_GRi = -1;
29496 INT in_GRj = -1;
29497 INT out_GRdoublek = -1;
29498 INT out_ICCi_1 = -1;
29499 in_GRi = FLD (in_GRi);
29500 in_GRj = FLD (in_GRj);
29501 out_GRdoublek = FLD (out_GRdoublek);
29502 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29503 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29504 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29505 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29507 return cycles;
29508 #undef FLD
29511 static int
29512 model_fr500_csdiv (SIM_CPU *current_cpu, void *sem_arg)
29514 #define FLD(f) abuf->fields.sfmt_cswap.f
29515 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29516 const IDESC * UNUSED idesc = abuf->idesc;
29517 int cycles = 0;
29519 int referenced = 0;
29520 int UNUSED insn_referenced = abuf->written;
29521 INT in_GRi = -1;
29522 INT in_GRj = -1;
29523 INT out_GRk = -1;
29524 INT out_ICCi_1 = -1;
29525 in_GRi = FLD (in_GRi);
29526 in_GRj = FLD (in_GRj);
29527 out_GRk = FLD (out_GRk);
29528 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29529 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29530 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
29531 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29533 return cycles;
29534 #undef FLD
29537 static int
29538 model_fr500_cudiv (SIM_CPU *current_cpu, void *sem_arg)
29540 #define FLD(f) abuf->fields.sfmt_cswap.f
29541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29542 const IDESC * UNUSED idesc = abuf->idesc;
29543 int cycles = 0;
29545 int referenced = 0;
29546 int UNUSED insn_referenced = abuf->written;
29547 INT in_GRi = -1;
29548 INT in_GRj = -1;
29549 INT out_GRk = -1;
29550 INT out_ICCi_1 = -1;
29551 in_GRi = FLD (in_GRi);
29552 in_GRj = FLD (in_GRj);
29553 out_GRk = FLD (out_GRk);
29554 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29555 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29556 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
29557 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29559 return cycles;
29560 #undef FLD
29563 static int
29564 model_fr500_csll (SIM_CPU *current_cpu, void *sem_arg)
29566 #define FLD(f) abuf->fields.sfmt_cswap.f
29567 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29568 const IDESC * UNUSED idesc = abuf->idesc;
29569 int cycles = 0;
29571 int referenced = 0;
29572 int UNUSED insn_referenced = abuf->written;
29573 INT in_GRi = -1;
29574 INT in_GRj = -1;
29575 INT out_GRk = -1;
29576 INT out_ICCi_1 = -1;
29577 in_GRi = FLD (in_GRi);
29578 in_GRj = FLD (in_GRj);
29579 out_GRk = FLD (out_GRk);
29580 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29581 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29582 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29583 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29585 return cycles;
29586 #undef FLD
29589 static int
29590 model_fr500_csrl (SIM_CPU *current_cpu, void *sem_arg)
29592 #define FLD(f) abuf->fields.sfmt_cswap.f
29593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29594 const IDESC * UNUSED idesc = abuf->idesc;
29595 int cycles = 0;
29597 int referenced = 0;
29598 int UNUSED insn_referenced = abuf->written;
29599 INT in_GRi = -1;
29600 INT in_GRj = -1;
29601 INT out_GRk = -1;
29602 INT out_ICCi_1 = -1;
29603 in_GRi = FLD (in_GRi);
29604 in_GRj = FLD (in_GRj);
29605 out_GRk = FLD (out_GRk);
29606 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29607 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29608 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29609 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29611 return cycles;
29612 #undef FLD
29615 static int
29616 model_fr500_csra (SIM_CPU *current_cpu, void *sem_arg)
29618 #define FLD(f) abuf->fields.sfmt_cswap.f
29619 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29620 const IDESC * UNUSED idesc = abuf->idesc;
29621 int cycles = 0;
29623 int referenced = 0;
29624 int UNUSED insn_referenced = abuf->written;
29625 INT in_GRi = -1;
29626 INT in_GRj = -1;
29627 INT out_GRk = -1;
29628 INT out_ICCi_1 = -1;
29629 in_GRi = FLD (in_GRi);
29630 in_GRj = FLD (in_GRj);
29631 out_GRk = FLD (out_GRk);
29632 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29633 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29634 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29635 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29637 return cycles;
29638 #undef FLD
29641 static int
29642 model_fr500_cscan (SIM_CPU *current_cpu, void *sem_arg)
29644 #define FLD(f) abuf->fields.sfmt_cswap.f
29645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29646 const IDESC * UNUSED idesc = abuf->idesc;
29647 int cycles = 0;
29649 int referenced = 0;
29650 int UNUSED insn_referenced = abuf->written;
29651 INT in_GRi = -1;
29652 INT in_GRj = -1;
29653 INT out_GRk = -1;
29654 INT out_ICCi_1 = -1;
29655 in_GRi = FLD (in_GRi);
29656 in_GRj = FLD (in_GRj);
29657 out_GRk = FLD (out_GRk);
29658 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29659 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29660 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29661 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29663 return cycles;
29664 #undef FLD
29667 static int
29668 model_fr500_addcc (SIM_CPU *current_cpu, void *sem_arg)
29670 #define FLD(f) abuf->fields.sfmt_addcc.f
29671 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29672 const IDESC * UNUSED idesc = abuf->idesc;
29673 int cycles = 0;
29675 int referenced = 0;
29676 int UNUSED insn_referenced = abuf->written;
29677 INT in_GRi = -1;
29678 INT in_GRj = -1;
29679 INT out_GRk = -1;
29680 INT out_ICCi_1 = -1;
29681 in_GRi = FLD (in_GRi);
29682 in_GRj = FLD (in_GRj);
29683 out_GRk = FLD (out_GRk);
29684 out_ICCi_1 = FLD (out_ICCi_1);
29685 referenced |= 1 << 0;
29686 referenced |= 1 << 1;
29687 referenced |= 1 << 2;
29688 referenced |= 1 << 3;
29689 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29691 return cycles;
29692 #undef FLD
29695 static int
29696 model_fr500_subcc (SIM_CPU *current_cpu, void *sem_arg)
29698 #define FLD(f) abuf->fields.sfmt_addcc.f
29699 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29700 const IDESC * UNUSED idesc = abuf->idesc;
29701 int cycles = 0;
29703 int referenced = 0;
29704 int UNUSED insn_referenced = abuf->written;
29705 INT in_GRi = -1;
29706 INT in_GRj = -1;
29707 INT out_GRk = -1;
29708 INT out_ICCi_1 = -1;
29709 in_GRi = FLD (in_GRi);
29710 in_GRj = FLD (in_GRj);
29711 out_GRk = FLD (out_GRk);
29712 out_ICCi_1 = FLD (out_ICCi_1);
29713 referenced |= 1 << 0;
29714 referenced |= 1 << 1;
29715 referenced |= 1 << 2;
29716 referenced |= 1 << 3;
29717 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29719 return cycles;
29720 #undef FLD
29723 static int
29724 model_fr500_andcc (SIM_CPU *current_cpu, void *sem_arg)
29726 #define FLD(f) abuf->fields.sfmt_addcc.f
29727 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29728 const IDESC * UNUSED idesc = abuf->idesc;
29729 int cycles = 0;
29731 int referenced = 0;
29732 int UNUSED insn_referenced = abuf->written;
29733 INT in_GRi = -1;
29734 INT in_GRj = -1;
29735 INT out_GRk = -1;
29736 INT out_ICCi_1 = -1;
29737 in_GRi = FLD (in_GRi);
29738 in_GRj = FLD (in_GRj);
29739 out_GRk = FLD (out_GRk);
29740 out_ICCi_1 = FLD (out_ICCi_1);
29741 referenced |= 1 << 0;
29742 referenced |= 1 << 1;
29743 referenced |= 1 << 2;
29744 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
29745 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29747 return cycles;
29748 #undef FLD
29751 static int
29752 model_fr500_orcc (SIM_CPU *current_cpu, void *sem_arg)
29754 #define FLD(f) abuf->fields.sfmt_addcc.f
29755 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29756 const IDESC * UNUSED idesc = abuf->idesc;
29757 int cycles = 0;
29759 int referenced = 0;
29760 int UNUSED insn_referenced = abuf->written;
29761 INT in_GRi = -1;
29762 INT in_GRj = -1;
29763 INT out_GRk = -1;
29764 INT out_ICCi_1 = -1;
29765 in_GRi = FLD (in_GRi);
29766 in_GRj = FLD (in_GRj);
29767 out_GRk = FLD (out_GRk);
29768 out_ICCi_1 = FLD (out_ICCi_1);
29769 referenced |= 1 << 0;
29770 referenced |= 1 << 1;
29771 referenced |= 1 << 2;
29772 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
29773 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29775 return cycles;
29776 #undef FLD
29779 static int
29780 model_fr500_xorcc (SIM_CPU *current_cpu, void *sem_arg)
29782 #define FLD(f) abuf->fields.sfmt_addcc.f
29783 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29784 const IDESC * UNUSED idesc = abuf->idesc;
29785 int cycles = 0;
29787 int referenced = 0;
29788 int UNUSED insn_referenced = abuf->written;
29789 INT in_GRi = -1;
29790 INT in_GRj = -1;
29791 INT out_GRk = -1;
29792 INT out_ICCi_1 = -1;
29793 in_GRi = FLD (in_GRi);
29794 in_GRj = FLD (in_GRj);
29795 out_GRk = FLD (out_GRk);
29796 out_ICCi_1 = FLD (out_ICCi_1);
29797 referenced |= 1 << 0;
29798 referenced |= 1 << 1;
29799 referenced |= 1 << 2;
29800 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
29801 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29803 return cycles;
29804 #undef FLD
29807 static int
29808 model_fr500_sllcc (SIM_CPU *current_cpu, void *sem_arg)
29810 #define FLD(f) abuf->fields.sfmt_addcc.f
29811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29812 const IDESC * UNUSED idesc = abuf->idesc;
29813 int cycles = 0;
29815 int referenced = 0;
29816 int UNUSED insn_referenced = abuf->written;
29817 INT in_GRi = -1;
29818 INT in_GRj = -1;
29819 INT out_GRk = -1;
29820 INT out_ICCi_1 = -1;
29821 in_GRi = FLD (in_GRi);
29822 in_GRj = FLD (in_GRj);
29823 out_GRk = FLD (out_GRk);
29824 out_ICCi_1 = FLD (out_ICCi_1);
29825 referenced |= 1 << 0;
29826 referenced |= 1 << 1;
29827 referenced |= 1 << 2;
29828 referenced |= 1 << 3;
29829 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29831 return cycles;
29832 #undef FLD
29835 static int
29836 model_fr500_srlcc (SIM_CPU *current_cpu, void *sem_arg)
29838 #define FLD(f) abuf->fields.sfmt_addcc.f
29839 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29840 const IDESC * UNUSED idesc = abuf->idesc;
29841 int cycles = 0;
29843 int referenced = 0;
29844 int UNUSED insn_referenced = abuf->written;
29845 INT in_GRi = -1;
29846 INT in_GRj = -1;
29847 INT out_GRk = -1;
29848 INT out_ICCi_1 = -1;
29849 in_GRi = FLD (in_GRi);
29850 in_GRj = FLD (in_GRj);
29851 out_GRk = FLD (out_GRk);
29852 out_ICCi_1 = FLD (out_ICCi_1);
29853 referenced |= 1 << 0;
29854 referenced |= 1 << 1;
29855 referenced |= 1 << 2;
29856 referenced |= 1 << 3;
29857 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29859 return cycles;
29860 #undef FLD
29863 static int
29864 model_fr500_sracc (SIM_CPU *current_cpu, void *sem_arg)
29866 #define FLD(f) abuf->fields.sfmt_addcc.f
29867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29868 const IDESC * UNUSED idesc = abuf->idesc;
29869 int cycles = 0;
29871 int referenced = 0;
29872 int UNUSED insn_referenced = abuf->written;
29873 INT in_GRi = -1;
29874 INT in_GRj = -1;
29875 INT out_GRk = -1;
29876 INT out_ICCi_1 = -1;
29877 in_GRi = FLD (in_GRi);
29878 in_GRj = FLD (in_GRj);
29879 out_GRk = FLD (out_GRk);
29880 out_ICCi_1 = FLD (out_ICCi_1);
29881 referenced |= 1 << 0;
29882 referenced |= 1 << 1;
29883 referenced |= 1 << 2;
29884 referenced |= 1 << 3;
29885 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29887 return cycles;
29888 #undef FLD
29891 static int
29892 model_fr500_smulcc (SIM_CPU *current_cpu, void *sem_arg)
29894 #define FLD(f) abuf->fields.sfmt_smulcc.f
29895 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29896 const IDESC * UNUSED idesc = abuf->idesc;
29897 int cycles = 0;
29899 int referenced = 0;
29900 int UNUSED insn_referenced = abuf->written;
29901 INT in_GRi = -1;
29902 INT in_GRj = -1;
29903 INT out_GRdoublek = -1;
29904 INT out_ICCi_1 = -1;
29905 in_GRi = FLD (in_GRi);
29906 in_GRj = FLD (in_GRj);
29907 out_GRdoublek = FLD (out_GRdoublek);
29908 out_ICCi_1 = FLD (out_ICCi_1);
29909 referenced |= 1 << 0;
29910 referenced |= 1 << 1;
29911 referenced |= 1 << 2;
29912 referenced |= 1 << 3;
29913 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29915 return cycles;
29916 #undef FLD
29919 static int
29920 model_fr500_umulcc (SIM_CPU *current_cpu, void *sem_arg)
29922 #define FLD(f) abuf->fields.sfmt_smulcc.f
29923 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29924 const IDESC * UNUSED idesc = abuf->idesc;
29925 int cycles = 0;
29927 int referenced = 0;
29928 int UNUSED insn_referenced = abuf->written;
29929 INT in_GRi = -1;
29930 INT in_GRj = -1;
29931 INT out_GRdoublek = -1;
29932 INT out_ICCi_1 = -1;
29933 in_GRi = FLD (in_GRi);
29934 in_GRj = FLD (in_GRj);
29935 out_GRdoublek = FLD (out_GRdoublek);
29936 out_ICCi_1 = FLD (out_ICCi_1);
29937 referenced |= 1 << 0;
29938 referenced |= 1 << 1;
29939 referenced |= 1 << 2;
29940 referenced |= 1 << 3;
29941 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29943 return cycles;
29944 #undef FLD
29947 static int
29948 model_fr500_caddcc (SIM_CPU *current_cpu, void *sem_arg)
29950 #define FLD(f) abuf->fields.sfmt_caddcc.f
29951 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29952 const IDESC * UNUSED idesc = abuf->idesc;
29953 int cycles = 0;
29955 int referenced = 0;
29956 int UNUSED insn_referenced = abuf->written;
29957 INT in_GRi = -1;
29958 INT in_GRj = -1;
29959 INT out_GRk = -1;
29960 INT out_ICCi_1 = -1;
29961 in_GRi = FLD (in_GRi);
29962 in_GRj = FLD (in_GRj);
29963 out_GRk = FLD (out_GRk);
29964 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29965 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29966 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
29967 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29969 return cycles;
29970 #undef FLD
29973 static int
29974 model_fr500_csubcc (SIM_CPU *current_cpu, void *sem_arg)
29976 #define FLD(f) abuf->fields.sfmt_caddcc.f
29977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29978 const IDESC * UNUSED idesc = abuf->idesc;
29979 int cycles = 0;
29981 int referenced = 0;
29982 int UNUSED insn_referenced = abuf->written;
29983 INT in_GRi = -1;
29984 INT in_GRj = -1;
29985 INT out_GRk = -1;
29986 INT out_ICCi_1 = -1;
29987 in_GRi = FLD (in_GRi);
29988 in_GRj = FLD (in_GRj);
29989 out_GRk = FLD (out_GRk);
29990 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29991 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29992 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
29993 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29995 return cycles;
29996 #undef FLD
29999 static int
30000 model_fr500_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
30002 #define FLD(f) abuf->fields.sfmt_csmulcc.f
30003 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30004 const IDESC * UNUSED idesc = abuf->idesc;
30005 int cycles = 0;
30007 int referenced = 0;
30008 int UNUSED insn_referenced = abuf->written;
30009 INT in_GRi = -1;
30010 INT in_GRj = -1;
30011 INT out_GRdoublek = -1;
30012 INT out_ICCi_1 = -1;
30013 in_GRi = FLD (in_GRi);
30014 in_GRj = FLD (in_GRj);
30015 out_GRdoublek = FLD (out_GRdoublek);
30016 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30017 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30018 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30019 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30021 return cycles;
30022 #undef FLD
30025 static int
30026 model_fr500_candcc (SIM_CPU *current_cpu, void *sem_arg)
30028 #define FLD(f) abuf->fields.sfmt_caddcc.f
30029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30030 const IDESC * UNUSED idesc = abuf->idesc;
30031 int cycles = 0;
30033 int referenced = 0;
30034 int UNUSED insn_referenced = abuf->written;
30035 INT in_GRi = -1;
30036 INT in_GRj = -1;
30037 INT out_GRk = -1;
30038 INT out_ICCi_1 = -1;
30039 in_GRi = FLD (in_GRi);
30040 in_GRj = FLD (in_GRj);
30041 out_GRk = FLD (out_GRk);
30042 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30043 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30044 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30045 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30047 return cycles;
30048 #undef FLD
30051 static int
30052 model_fr500_corcc (SIM_CPU *current_cpu, void *sem_arg)
30054 #define FLD(f) abuf->fields.sfmt_caddcc.f
30055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30056 const IDESC * UNUSED idesc = abuf->idesc;
30057 int cycles = 0;
30059 int referenced = 0;
30060 int UNUSED insn_referenced = abuf->written;
30061 INT in_GRi = -1;
30062 INT in_GRj = -1;
30063 INT out_GRk = -1;
30064 INT out_ICCi_1 = -1;
30065 in_GRi = FLD (in_GRi);
30066 in_GRj = FLD (in_GRj);
30067 out_GRk = FLD (out_GRk);
30068 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30069 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30070 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30071 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30073 return cycles;
30074 #undef FLD
30077 static int
30078 model_fr500_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
30080 #define FLD(f) abuf->fields.sfmt_caddcc.f
30081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30082 const IDESC * UNUSED idesc = abuf->idesc;
30083 int cycles = 0;
30085 int referenced = 0;
30086 int UNUSED insn_referenced = abuf->written;
30087 INT in_GRi = -1;
30088 INT in_GRj = -1;
30089 INT out_GRk = -1;
30090 INT out_ICCi_1 = -1;
30091 in_GRi = FLD (in_GRi);
30092 in_GRj = FLD (in_GRj);
30093 out_GRk = FLD (out_GRk);
30094 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30095 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30096 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30097 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30099 return cycles;
30100 #undef FLD
30103 static int
30104 model_fr500_csllcc (SIM_CPU *current_cpu, void *sem_arg)
30106 #define FLD(f) abuf->fields.sfmt_caddcc.f
30107 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30108 const IDESC * UNUSED idesc = abuf->idesc;
30109 int cycles = 0;
30111 int referenced = 0;
30112 int UNUSED insn_referenced = abuf->written;
30113 INT in_GRi = -1;
30114 INT in_GRj = -1;
30115 INT out_GRk = -1;
30116 INT out_ICCi_1 = -1;
30117 in_GRi = FLD (in_GRi);
30118 in_GRj = FLD (in_GRj);
30119 out_GRk = FLD (out_GRk);
30120 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30121 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30122 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30123 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30125 return cycles;
30126 #undef FLD
30129 static int
30130 model_fr500_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
30132 #define FLD(f) abuf->fields.sfmt_caddcc.f
30133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30134 const IDESC * UNUSED idesc = abuf->idesc;
30135 int cycles = 0;
30137 int referenced = 0;
30138 int UNUSED insn_referenced = abuf->written;
30139 INT in_GRi = -1;
30140 INT in_GRj = -1;
30141 INT out_GRk = -1;
30142 INT out_ICCi_1 = -1;
30143 in_GRi = FLD (in_GRi);
30144 in_GRj = FLD (in_GRj);
30145 out_GRk = FLD (out_GRk);
30146 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30147 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30148 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30149 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30151 return cycles;
30152 #undef FLD
30155 static int
30156 model_fr500_csracc (SIM_CPU *current_cpu, void *sem_arg)
30158 #define FLD(f) abuf->fields.sfmt_caddcc.f
30159 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30160 const IDESC * UNUSED idesc = abuf->idesc;
30161 int cycles = 0;
30163 int referenced = 0;
30164 int UNUSED insn_referenced = abuf->written;
30165 INT in_GRi = -1;
30166 INT in_GRj = -1;
30167 INT out_GRk = -1;
30168 INT out_ICCi_1 = -1;
30169 in_GRi = FLD (in_GRi);
30170 in_GRj = FLD (in_GRj);
30171 out_GRk = FLD (out_GRk);
30172 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30173 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30174 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30175 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30177 return cycles;
30178 #undef FLD
30181 static int
30182 model_fr500_addx (SIM_CPU *current_cpu, void *sem_arg)
30184 #define FLD(f) abuf->fields.sfmt_addcc.f
30185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30186 const IDESC * UNUSED idesc = abuf->idesc;
30187 int cycles = 0;
30189 int referenced = 0;
30190 int UNUSED insn_referenced = abuf->written;
30191 INT in_GRi = -1;
30192 INT in_GRj = -1;
30193 INT out_GRk = -1;
30194 INT out_ICCi_1 = -1;
30195 in_GRi = FLD (in_GRi);
30196 in_GRj = FLD (in_GRj);
30197 out_GRk = FLD (out_GRk);
30198 referenced |= 1 << 0;
30199 referenced |= 1 << 1;
30200 referenced |= 1 << 2;
30201 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30203 return cycles;
30204 #undef FLD
30207 static int
30208 model_fr500_subx (SIM_CPU *current_cpu, void *sem_arg)
30210 #define FLD(f) abuf->fields.sfmt_addcc.f
30211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30212 const IDESC * UNUSED idesc = abuf->idesc;
30213 int cycles = 0;
30215 int referenced = 0;
30216 int UNUSED insn_referenced = abuf->written;
30217 INT in_GRi = -1;
30218 INT in_GRj = -1;
30219 INT out_GRk = -1;
30220 INT out_ICCi_1 = -1;
30221 in_GRi = FLD (in_GRi);
30222 in_GRj = FLD (in_GRj);
30223 out_GRk = FLD (out_GRk);
30224 referenced |= 1 << 0;
30225 referenced |= 1 << 1;
30226 referenced |= 1 << 2;
30227 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30229 return cycles;
30230 #undef FLD
30233 static int
30234 model_fr500_addxcc (SIM_CPU *current_cpu, void *sem_arg)
30236 #define FLD(f) abuf->fields.sfmt_addcc.f
30237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30238 const IDESC * UNUSED idesc = abuf->idesc;
30239 int cycles = 0;
30241 int referenced = 0;
30242 int UNUSED insn_referenced = abuf->written;
30243 INT in_GRi = -1;
30244 INT in_GRj = -1;
30245 INT out_GRk = -1;
30246 INT out_ICCi_1 = -1;
30247 in_GRi = FLD (in_GRi);
30248 in_GRj = FLD (in_GRj);
30249 out_GRk = FLD (out_GRk);
30250 out_ICCi_1 = FLD (out_ICCi_1);
30251 referenced |= 1 << 0;
30252 referenced |= 1 << 1;
30253 referenced |= 1 << 2;
30254 referenced |= 1 << 3;
30255 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30257 return cycles;
30258 #undef FLD
30261 static int
30262 model_fr500_subxcc (SIM_CPU *current_cpu, void *sem_arg)
30264 #define FLD(f) abuf->fields.sfmt_addcc.f
30265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30266 const IDESC * UNUSED idesc = abuf->idesc;
30267 int cycles = 0;
30269 int referenced = 0;
30270 int UNUSED insn_referenced = abuf->written;
30271 INT in_GRi = -1;
30272 INT in_GRj = -1;
30273 INT out_GRk = -1;
30274 INT out_ICCi_1 = -1;
30275 in_GRi = FLD (in_GRi);
30276 in_GRj = FLD (in_GRj);
30277 out_GRk = FLD (out_GRk);
30278 out_ICCi_1 = FLD (out_ICCi_1);
30279 referenced |= 1 << 0;
30280 referenced |= 1 << 1;
30281 referenced |= 1 << 2;
30282 referenced |= 1 << 3;
30283 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30285 return cycles;
30286 #undef FLD
30289 static int
30290 model_fr500_addss (SIM_CPU *current_cpu, void *sem_arg)
30292 #define FLD(f) abuf->fields.sfmt_addcc.f
30293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30294 const IDESC * UNUSED idesc = abuf->idesc;
30295 int cycles = 0;
30297 int referenced = 0;
30298 int UNUSED insn_referenced = abuf->written;
30299 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
30301 return cycles;
30302 #undef FLD
30305 static int
30306 model_fr500_subss (SIM_CPU *current_cpu, void *sem_arg)
30308 #define FLD(f) abuf->fields.sfmt_addcc.f
30309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30310 const IDESC * UNUSED idesc = abuf->idesc;
30311 int cycles = 0;
30313 int referenced = 0;
30314 int UNUSED insn_referenced = abuf->written;
30315 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
30317 return cycles;
30318 #undef FLD
30321 static int
30322 model_fr500_addi (SIM_CPU *current_cpu, void *sem_arg)
30324 #define FLD(f) abuf->fields.sfmt_swapi.f
30325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30326 const IDESC * UNUSED idesc = abuf->idesc;
30327 int cycles = 0;
30329 int referenced = 0;
30330 int UNUSED insn_referenced = abuf->written;
30331 INT in_GRi = -1;
30332 INT in_GRj = -1;
30333 INT out_GRk = -1;
30334 INT out_ICCi_1 = -1;
30335 in_GRi = FLD (in_GRi);
30336 out_GRk = FLD (out_GRk);
30337 referenced |= 1 << 0;
30338 referenced |= 1 << 2;
30339 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30341 return cycles;
30342 #undef FLD
30345 static int
30346 model_fr500_subi (SIM_CPU *current_cpu, void *sem_arg)
30348 #define FLD(f) abuf->fields.sfmt_swapi.f
30349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30350 const IDESC * UNUSED idesc = abuf->idesc;
30351 int cycles = 0;
30353 int referenced = 0;
30354 int UNUSED insn_referenced = abuf->written;
30355 INT in_GRi = -1;
30356 INT in_GRj = -1;
30357 INT out_GRk = -1;
30358 INT out_ICCi_1 = -1;
30359 in_GRi = FLD (in_GRi);
30360 out_GRk = FLD (out_GRk);
30361 referenced |= 1 << 0;
30362 referenced |= 1 << 2;
30363 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30365 return cycles;
30366 #undef FLD
30369 static int
30370 model_fr500_andi (SIM_CPU *current_cpu, void *sem_arg)
30372 #define FLD(f) abuf->fields.sfmt_swapi.f
30373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30374 const IDESC * UNUSED idesc = abuf->idesc;
30375 int cycles = 0;
30377 int referenced = 0;
30378 int UNUSED insn_referenced = abuf->written;
30379 INT in_GRi = -1;
30380 INT in_GRj = -1;
30381 INT out_GRk = -1;
30382 INT out_ICCi_1 = -1;
30383 in_GRi = FLD (in_GRi);
30384 out_GRk = FLD (out_GRk);
30385 referenced |= 1 << 0;
30386 referenced |= 1 << 2;
30387 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30389 return cycles;
30390 #undef FLD
30393 static int
30394 model_fr500_ori (SIM_CPU *current_cpu, void *sem_arg)
30396 #define FLD(f) abuf->fields.sfmt_swapi.f
30397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30398 const IDESC * UNUSED idesc = abuf->idesc;
30399 int cycles = 0;
30401 int referenced = 0;
30402 int UNUSED insn_referenced = abuf->written;
30403 INT in_GRi = -1;
30404 INT in_GRj = -1;
30405 INT out_GRk = -1;
30406 INT out_ICCi_1 = -1;
30407 in_GRi = FLD (in_GRi);
30408 out_GRk = FLD (out_GRk);
30409 referenced |= 1 << 0;
30410 referenced |= 1 << 2;
30411 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30413 return cycles;
30414 #undef FLD
30417 static int
30418 model_fr500_xori (SIM_CPU *current_cpu, void *sem_arg)
30420 #define FLD(f) abuf->fields.sfmt_swapi.f
30421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30422 const IDESC * UNUSED idesc = abuf->idesc;
30423 int cycles = 0;
30425 int referenced = 0;
30426 int UNUSED insn_referenced = abuf->written;
30427 INT in_GRi = -1;
30428 INT in_GRj = -1;
30429 INT out_GRk = -1;
30430 INT out_ICCi_1 = -1;
30431 in_GRi = FLD (in_GRi);
30432 out_GRk = FLD (out_GRk);
30433 referenced |= 1 << 0;
30434 referenced |= 1 << 2;
30435 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30437 return cycles;
30438 #undef FLD
30441 static int
30442 model_fr500_sdivi (SIM_CPU *current_cpu, void *sem_arg)
30444 #define FLD(f) abuf->fields.sfmt_swapi.f
30445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30446 const IDESC * UNUSED idesc = abuf->idesc;
30447 int cycles = 0;
30449 int referenced = 0;
30450 int UNUSED insn_referenced = abuf->written;
30451 INT in_GRi = -1;
30452 INT in_GRj = -1;
30453 INT out_GRk = -1;
30454 INT out_ICCi_1 = -1;
30455 in_GRi = FLD (in_GRi);
30456 out_GRk = FLD (out_GRk);
30457 referenced |= 1 << 0;
30458 referenced |= 1 << 2;
30459 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30461 return cycles;
30462 #undef FLD
30465 static int
30466 model_fr500_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
30468 #define FLD(f) abuf->fields.sfmt_swapi.f
30469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30470 const IDESC * UNUSED idesc = abuf->idesc;
30471 int cycles = 0;
30473 int referenced = 0;
30474 int UNUSED insn_referenced = abuf->written;
30475 INT in_GRi = -1;
30476 INT in_GRj = -1;
30477 INT out_GRk = -1;
30478 INT out_ICCi_1 = -1;
30479 in_GRi = FLD (in_GRi);
30480 out_GRk = FLD (out_GRk);
30481 referenced |= 1 << 0;
30482 referenced |= 1 << 2;
30483 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30485 return cycles;
30486 #undef FLD
30489 static int
30490 model_fr500_udivi (SIM_CPU *current_cpu, void *sem_arg)
30492 #define FLD(f) abuf->fields.sfmt_swapi.f
30493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30494 const IDESC * UNUSED idesc = abuf->idesc;
30495 int cycles = 0;
30497 int referenced = 0;
30498 int UNUSED insn_referenced = abuf->written;
30499 INT in_GRi = -1;
30500 INT in_GRj = -1;
30501 INT out_GRk = -1;
30502 INT out_ICCi_1 = -1;
30503 in_GRi = FLD (in_GRi);
30504 out_GRk = FLD (out_GRk);
30505 referenced |= 1 << 0;
30506 referenced |= 1 << 2;
30507 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30509 return cycles;
30510 #undef FLD
30513 static int
30514 model_fr500_nudivi (SIM_CPU *current_cpu, void *sem_arg)
30516 #define FLD(f) abuf->fields.sfmt_swapi.f
30517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30518 const IDESC * UNUSED idesc = abuf->idesc;
30519 int cycles = 0;
30521 int referenced = 0;
30522 int UNUSED insn_referenced = abuf->written;
30523 INT in_GRi = -1;
30524 INT in_GRj = -1;
30525 INT out_GRk = -1;
30526 INT out_ICCi_1 = -1;
30527 in_GRi = FLD (in_GRi);
30528 out_GRk = FLD (out_GRk);
30529 referenced |= 1 << 0;
30530 referenced |= 1 << 2;
30531 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30533 return cycles;
30534 #undef FLD
30537 static int
30538 model_fr500_smuli (SIM_CPU *current_cpu, void *sem_arg)
30540 #define FLD(f) abuf->fields.sfmt_smuli.f
30541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30542 const IDESC * UNUSED idesc = abuf->idesc;
30543 int cycles = 0;
30545 int referenced = 0;
30546 int UNUSED insn_referenced = abuf->written;
30547 INT in_GRi = -1;
30548 INT in_GRj = -1;
30549 INT out_GRdoublek = -1;
30550 INT out_ICCi_1 = -1;
30551 in_GRi = FLD (in_GRi);
30552 out_GRdoublek = FLD (out_GRdoublek);
30553 referenced |= 1 << 0;
30554 referenced |= 1 << 2;
30555 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30557 return cycles;
30558 #undef FLD
30561 static int
30562 model_fr500_umuli (SIM_CPU *current_cpu, void *sem_arg)
30564 #define FLD(f) abuf->fields.sfmt_smuli.f
30565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30566 const IDESC * UNUSED idesc = abuf->idesc;
30567 int cycles = 0;
30569 int referenced = 0;
30570 int UNUSED insn_referenced = abuf->written;
30571 INT in_GRi = -1;
30572 INT in_GRj = -1;
30573 INT out_GRdoublek = -1;
30574 INT out_ICCi_1 = -1;
30575 in_GRi = FLD (in_GRi);
30576 out_GRdoublek = FLD (out_GRdoublek);
30577 referenced |= 1 << 0;
30578 referenced |= 1 << 2;
30579 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30581 return cycles;
30582 #undef FLD
30585 static int
30586 model_fr500_slli (SIM_CPU *current_cpu, void *sem_arg)
30588 #define FLD(f) abuf->fields.sfmt_swapi.f
30589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30590 const IDESC * UNUSED idesc = abuf->idesc;
30591 int cycles = 0;
30593 int referenced = 0;
30594 int UNUSED insn_referenced = abuf->written;
30595 INT in_GRi = -1;
30596 INT in_GRj = -1;
30597 INT out_GRk = -1;
30598 INT out_ICCi_1 = -1;
30599 in_GRi = FLD (in_GRi);
30600 out_GRk = FLD (out_GRk);
30601 referenced |= 1 << 0;
30602 referenced |= 1 << 2;
30603 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30605 return cycles;
30606 #undef FLD
30609 static int
30610 model_fr500_srli (SIM_CPU *current_cpu, void *sem_arg)
30612 #define FLD(f) abuf->fields.sfmt_swapi.f
30613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30614 const IDESC * UNUSED idesc = abuf->idesc;
30615 int cycles = 0;
30617 int referenced = 0;
30618 int UNUSED insn_referenced = abuf->written;
30619 INT in_GRi = -1;
30620 INT in_GRj = -1;
30621 INT out_GRk = -1;
30622 INT out_ICCi_1 = -1;
30623 in_GRi = FLD (in_GRi);
30624 out_GRk = FLD (out_GRk);
30625 referenced |= 1 << 0;
30626 referenced |= 1 << 2;
30627 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30629 return cycles;
30630 #undef FLD
30633 static int
30634 model_fr500_srai (SIM_CPU *current_cpu, void *sem_arg)
30636 #define FLD(f) abuf->fields.sfmt_swapi.f
30637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30638 const IDESC * UNUSED idesc = abuf->idesc;
30639 int cycles = 0;
30641 int referenced = 0;
30642 int UNUSED insn_referenced = abuf->written;
30643 INT in_GRi = -1;
30644 INT in_GRj = -1;
30645 INT out_GRk = -1;
30646 INT out_ICCi_1 = -1;
30647 in_GRi = FLD (in_GRi);
30648 out_GRk = FLD (out_GRk);
30649 referenced |= 1 << 0;
30650 referenced |= 1 << 2;
30651 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30653 return cycles;
30654 #undef FLD
30657 static int
30658 model_fr500_scani (SIM_CPU *current_cpu, void *sem_arg)
30660 #define FLD(f) abuf->fields.sfmt_swapi.f
30661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30662 const IDESC * UNUSED idesc = abuf->idesc;
30663 int cycles = 0;
30665 int referenced = 0;
30666 int UNUSED insn_referenced = abuf->written;
30667 INT in_GRi = -1;
30668 INT in_GRj = -1;
30669 INT out_GRk = -1;
30670 INT out_ICCi_1 = -1;
30671 in_GRi = FLD (in_GRi);
30672 out_GRk = FLD (out_GRk);
30673 referenced |= 1 << 0;
30674 referenced |= 1 << 2;
30675 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30677 return cycles;
30678 #undef FLD
30681 static int
30682 model_fr500_addicc (SIM_CPU *current_cpu, void *sem_arg)
30684 #define FLD(f) abuf->fields.sfmt_addicc.f
30685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30686 const IDESC * UNUSED idesc = abuf->idesc;
30687 int cycles = 0;
30689 int referenced = 0;
30690 int UNUSED insn_referenced = abuf->written;
30691 INT in_GRi = -1;
30692 INT in_GRj = -1;
30693 INT out_GRk = -1;
30694 INT out_ICCi_1 = -1;
30695 in_GRi = FLD (in_GRi);
30696 out_GRk = FLD (out_GRk);
30697 out_ICCi_1 = FLD (out_ICCi_1);
30698 referenced |= 1 << 0;
30699 referenced |= 1 << 2;
30700 referenced |= 1 << 3;
30701 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30703 return cycles;
30704 #undef FLD
30707 static int
30708 model_fr500_subicc (SIM_CPU *current_cpu, void *sem_arg)
30710 #define FLD(f) abuf->fields.sfmt_addicc.f
30711 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30712 const IDESC * UNUSED idesc = abuf->idesc;
30713 int cycles = 0;
30715 int referenced = 0;
30716 int UNUSED insn_referenced = abuf->written;
30717 INT in_GRi = -1;
30718 INT in_GRj = -1;
30719 INT out_GRk = -1;
30720 INT out_ICCi_1 = -1;
30721 in_GRi = FLD (in_GRi);
30722 out_GRk = FLD (out_GRk);
30723 out_ICCi_1 = FLD (out_ICCi_1);
30724 referenced |= 1 << 0;
30725 referenced |= 1 << 2;
30726 referenced |= 1 << 3;
30727 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30729 return cycles;
30730 #undef FLD
30733 static int
30734 model_fr500_andicc (SIM_CPU *current_cpu, void *sem_arg)
30736 #define FLD(f) abuf->fields.sfmt_addicc.f
30737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30738 const IDESC * UNUSED idesc = abuf->idesc;
30739 int cycles = 0;
30741 int referenced = 0;
30742 int UNUSED insn_referenced = abuf->written;
30743 INT in_GRi = -1;
30744 INT in_GRj = -1;
30745 INT out_GRk = -1;
30746 INT out_ICCi_1 = -1;
30747 in_GRi = FLD (in_GRi);
30748 out_GRk = FLD (out_GRk);
30749 out_ICCi_1 = FLD (out_ICCi_1);
30750 referenced |= 1 << 0;
30751 referenced |= 1 << 2;
30752 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
30753 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30755 return cycles;
30756 #undef FLD
30759 static int
30760 model_fr500_oricc (SIM_CPU *current_cpu, void *sem_arg)
30762 #define FLD(f) abuf->fields.sfmt_addicc.f
30763 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30764 const IDESC * UNUSED idesc = abuf->idesc;
30765 int cycles = 0;
30767 int referenced = 0;
30768 int UNUSED insn_referenced = abuf->written;
30769 INT in_GRi = -1;
30770 INT in_GRj = -1;
30771 INT out_GRk = -1;
30772 INT out_ICCi_1 = -1;
30773 in_GRi = FLD (in_GRi);
30774 out_GRk = FLD (out_GRk);
30775 out_ICCi_1 = FLD (out_ICCi_1);
30776 referenced |= 1 << 0;
30777 referenced |= 1 << 2;
30778 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
30779 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30781 return cycles;
30782 #undef FLD
30785 static int
30786 model_fr500_xoricc (SIM_CPU *current_cpu, void *sem_arg)
30788 #define FLD(f) abuf->fields.sfmt_addicc.f
30789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30790 const IDESC * UNUSED idesc = abuf->idesc;
30791 int cycles = 0;
30793 int referenced = 0;
30794 int UNUSED insn_referenced = abuf->written;
30795 INT in_GRi = -1;
30796 INT in_GRj = -1;
30797 INT out_GRk = -1;
30798 INT out_ICCi_1 = -1;
30799 in_GRi = FLD (in_GRi);
30800 out_GRk = FLD (out_GRk);
30801 out_ICCi_1 = FLD (out_ICCi_1);
30802 referenced |= 1 << 0;
30803 referenced |= 1 << 2;
30804 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
30805 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30807 return cycles;
30808 #undef FLD
30811 static int
30812 model_fr500_smulicc (SIM_CPU *current_cpu, void *sem_arg)
30814 #define FLD(f) abuf->fields.sfmt_smulicc.f
30815 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30816 const IDESC * UNUSED idesc = abuf->idesc;
30817 int cycles = 0;
30819 int referenced = 0;
30820 int UNUSED insn_referenced = abuf->written;
30821 INT in_GRi = -1;
30822 INT in_GRj = -1;
30823 INT out_GRdoublek = -1;
30824 INT out_ICCi_1 = -1;
30825 in_GRi = FLD (in_GRi);
30826 out_GRdoublek = FLD (out_GRdoublek);
30827 out_ICCi_1 = FLD (out_ICCi_1);
30828 referenced |= 1 << 0;
30829 referenced |= 1 << 2;
30830 referenced |= 1 << 3;
30831 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30833 return cycles;
30834 #undef FLD
30837 static int
30838 model_fr500_umulicc (SIM_CPU *current_cpu, void *sem_arg)
30840 #define FLD(f) abuf->fields.sfmt_smulicc.f
30841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30842 const IDESC * UNUSED idesc = abuf->idesc;
30843 int cycles = 0;
30845 int referenced = 0;
30846 int UNUSED insn_referenced = abuf->written;
30847 INT in_GRi = -1;
30848 INT in_GRj = -1;
30849 INT out_GRdoublek = -1;
30850 INT out_ICCi_1 = -1;
30851 in_GRi = FLD (in_GRi);
30852 out_GRdoublek = FLD (out_GRdoublek);
30853 out_ICCi_1 = FLD (out_ICCi_1);
30854 referenced |= 1 << 0;
30855 referenced |= 1 << 2;
30856 referenced |= 1 << 3;
30857 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30859 return cycles;
30860 #undef FLD
30863 static int
30864 model_fr500_sllicc (SIM_CPU *current_cpu, void *sem_arg)
30866 #define FLD(f) abuf->fields.sfmt_addicc.f
30867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30868 const IDESC * UNUSED idesc = abuf->idesc;
30869 int cycles = 0;
30871 int referenced = 0;
30872 int UNUSED insn_referenced = abuf->written;
30873 INT in_GRi = -1;
30874 INT in_GRj = -1;
30875 INT out_GRk = -1;
30876 INT out_ICCi_1 = -1;
30877 in_GRi = FLD (in_GRi);
30878 out_GRk = FLD (out_GRk);
30879 out_ICCi_1 = FLD (out_ICCi_1);
30880 referenced |= 1 << 0;
30881 referenced |= 1 << 2;
30882 referenced |= 1 << 3;
30883 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30885 return cycles;
30886 #undef FLD
30889 static int
30890 model_fr500_srlicc (SIM_CPU *current_cpu, void *sem_arg)
30892 #define FLD(f) abuf->fields.sfmt_addicc.f
30893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30894 const IDESC * UNUSED idesc = abuf->idesc;
30895 int cycles = 0;
30897 int referenced = 0;
30898 int UNUSED insn_referenced = abuf->written;
30899 INT in_GRi = -1;
30900 INT in_GRj = -1;
30901 INT out_GRk = -1;
30902 INT out_ICCi_1 = -1;
30903 in_GRi = FLD (in_GRi);
30904 out_GRk = FLD (out_GRk);
30905 out_ICCi_1 = FLD (out_ICCi_1);
30906 referenced |= 1 << 0;
30907 referenced |= 1 << 2;
30908 referenced |= 1 << 3;
30909 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30911 return cycles;
30912 #undef FLD
30915 static int
30916 model_fr500_sraicc (SIM_CPU *current_cpu, void *sem_arg)
30918 #define FLD(f) abuf->fields.sfmt_addicc.f
30919 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30920 const IDESC * UNUSED idesc = abuf->idesc;
30921 int cycles = 0;
30923 int referenced = 0;
30924 int UNUSED insn_referenced = abuf->written;
30925 INT in_GRi = -1;
30926 INT in_GRj = -1;
30927 INT out_GRk = -1;
30928 INT out_ICCi_1 = -1;
30929 in_GRi = FLD (in_GRi);
30930 out_GRk = FLD (out_GRk);
30931 out_ICCi_1 = FLD (out_ICCi_1);
30932 referenced |= 1 << 0;
30933 referenced |= 1 << 2;
30934 referenced |= 1 << 3;
30935 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30937 return cycles;
30938 #undef FLD
30941 static int
30942 model_fr500_addxi (SIM_CPU *current_cpu, void *sem_arg)
30944 #define FLD(f) abuf->fields.sfmt_addicc.f
30945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30946 const IDESC * UNUSED idesc = abuf->idesc;
30947 int cycles = 0;
30949 int referenced = 0;
30950 int UNUSED insn_referenced = abuf->written;
30951 INT in_GRi = -1;
30952 INT in_GRj = -1;
30953 INT out_GRk = -1;
30954 INT out_ICCi_1 = -1;
30955 in_GRi = FLD (in_GRi);
30956 out_GRk = FLD (out_GRk);
30957 referenced |= 1 << 0;
30958 referenced |= 1 << 2;
30959 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30961 return cycles;
30962 #undef FLD
30965 static int
30966 model_fr500_subxi (SIM_CPU *current_cpu, void *sem_arg)
30968 #define FLD(f) abuf->fields.sfmt_addicc.f
30969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30970 const IDESC * UNUSED idesc = abuf->idesc;
30971 int cycles = 0;
30973 int referenced = 0;
30974 int UNUSED insn_referenced = abuf->written;
30975 INT in_GRi = -1;
30976 INT in_GRj = -1;
30977 INT out_GRk = -1;
30978 INT out_ICCi_1 = -1;
30979 in_GRi = FLD (in_GRi);
30980 out_GRk = FLD (out_GRk);
30981 referenced |= 1 << 0;
30982 referenced |= 1 << 2;
30983 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30985 return cycles;
30986 #undef FLD
30989 static int
30990 model_fr500_addxicc (SIM_CPU *current_cpu, void *sem_arg)
30992 #define FLD(f) abuf->fields.sfmt_addicc.f
30993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30994 const IDESC * UNUSED idesc = abuf->idesc;
30995 int cycles = 0;
30997 int referenced = 0;
30998 int UNUSED insn_referenced = abuf->written;
30999 INT in_GRi = -1;
31000 INT in_GRj = -1;
31001 INT out_GRk = -1;
31002 INT out_ICCi_1 = -1;
31003 in_GRi = FLD (in_GRi);
31004 out_GRk = FLD (out_GRk);
31005 out_ICCi_1 = FLD (out_ICCi_1);
31006 referenced |= 1 << 0;
31007 referenced |= 1 << 2;
31008 referenced |= 1 << 3;
31009 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
31011 return cycles;
31012 #undef FLD
31015 static int
31016 model_fr500_subxicc (SIM_CPU *current_cpu, void *sem_arg)
31018 #define FLD(f) abuf->fields.sfmt_addicc.f
31019 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31020 const IDESC * UNUSED idesc = abuf->idesc;
31021 int cycles = 0;
31023 int referenced = 0;
31024 int UNUSED insn_referenced = abuf->written;
31025 INT in_GRi = -1;
31026 INT in_GRj = -1;
31027 INT out_GRk = -1;
31028 INT out_ICCi_1 = -1;
31029 in_GRi = FLD (in_GRi);
31030 out_GRk = FLD (out_GRk);
31031 out_ICCi_1 = FLD (out_ICCi_1);
31032 referenced |= 1 << 0;
31033 referenced |= 1 << 2;
31034 referenced |= 1 << 3;
31035 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
31037 return cycles;
31038 #undef FLD
31041 static int
31042 model_fr500_cmpb (SIM_CPU *current_cpu, void *sem_arg)
31044 #define FLD(f) abuf->fields.sfmt_smulcc.f
31045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31046 const IDESC * UNUSED idesc = abuf->idesc;
31047 int cycles = 0;
31049 int referenced = 0;
31050 int UNUSED insn_referenced = abuf->written;
31051 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31053 return cycles;
31054 #undef FLD
31057 static int
31058 model_fr500_cmpba (SIM_CPU *current_cpu, void *sem_arg)
31060 #define FLD(f) abuf->fields.sfmt_smulcc.f
31061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31062 const IDESC * UNUSED idesc = abuf->idesc;
31063 int cycles = 0;
31065 int referenced = 0;
31066 int UNUSED insn_referenced = abuf->written;
31067 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31069 return cycles;
31070 #undef FLD
31073 static int
31074 model_fr500_setlo (SIM_CPU *current_cpu, void *sem_arg)
31076 #define FLD(f) abuf->fields.sfmt_setlo.f
31077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31078 const IDESC * UNUSED idesc = abuf->idesc;
31079 int cycles = 0;
31081 int referenced = 0;
31082 int UNUSED insn_referenced = abuf->written;
31083 INT out_GRkhi = -1;
31084 INT out_GRklo = -1;
31085 out_GRklo = FLD (out_GRklo);
31086 referenced |= 1 << 1;
31087 cycles += frvbf_model_fr500_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
31089 return cycles;
31090 #undef FLD
31093 static int
31094 model_fr500_sethi (SIM_CPU *current_cpu, void *sem_arg)
31096 #define FLD(f) abuf->fields.sfmt_sethi.f
31097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31098 const IDESC * UNUSED idesc = abuf->idesc;
31099 int cycles = 0;
31101 int referenced = 0;
31102 int UNUSED insn_referenced = abuf->written;
31103 INT out_GRkhi = -1;
31104 INT out_GRklo = -1;
31105 out_GRkhi = FLD (out_GRkhi);
31106 referenced |= 1 << 0;
31107 cycles += frvbf_model_fr500_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
31109 return cycles;
31110 #undef FLD
31113 static int
31114 model_fr500_setlos (SIM_CPU *current_cpu, void *sem_arg)
31116 #define FLD(f) abuf->fields.sfmt_setlos.f
31117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31118 const IDESC * UNUSED idesc = abuf->idesc;
31119 int cycles = 0;
31121 int referenced = 0;
31122 int UNUSED insn_referenced = abuf->written;
31123 INT in_GRi = -1;
31124 INT in_GRj = -1;
31125 INT out_GRk = -1;
31126 INT out_ICCi_1 = -1;
31127 out_GRk = FLD (out_GRk);
31128 referenced |= 1 << 2;
31129 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
31131 return cycles;
31132 #undef FLD
31135 static int
31136 model_fr500_ldsb (SIM_CPU *current_cpu, void *sem_arg)
31138 #define FLD(f) abuf->fields.sfmt_addcc.f
31139 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31140 const IDESC * UNUSED idesc = abuf->idesc;
31141 int cycles = 0;
31143 int referenced = 0;
31144 int UNUSED insn_referenced = abuf->written;
31145 INT in_GRi = -1;
31146 INT in_GRj = -1;
31147 INT out_GRk = -1;
31148 INT out_GRdoublek = -1;
31149 in_GRi = FLD (in_GRi);
31150 in_GRj = FLD (in_GRj);
31151 out_GRk = FLD (out_GRk);
31152 referenced |= 1 << 0;
31153 referenced |= 1 << 1;
31154 referenced |= 1 << 2;
31155 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31157 return cycles;
31158 #undef FLD
31161 static int
31162 model_fr500_ldub (SIM_CPU *current_cpu, void *sem_arg)
31164 #define FLD(f) abuf->fields.sfmt_addcc.f
31165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31166 const IDESC * UNUSED idesc = abuf->idesc;
31167 int cycles = 0;
31169 int referenced = 0;
31170 int UNUSED insn_referenced = abuf->written;
31171 INT in_GRi = -1;
31172 INT in_GRj = -1;
31173 INT out_GRk = -1;
31174 INT out_GRdoublek = -1;
31175 in_GRi = FLD (in_GRi);
31176 in_GRj = FLD (in_GRj);
31177 out_GRk = FLD (out_GRk);
31178 referenced |= 1 << 0;
31179 referenced |= 1 << 1;
31180 referenced |= 1 << 2;
31181 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31183 return cycles;
31184 #undef FLD
31187 static int
31188 model_fr500_ldsh (SIM_CPU *current_cpu, void *sem_arg)
31190 #define FLD(f) abuf->fields.sfmt_addcc.f
31191 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31192 const IDESC * UNUSED idesc = abuf->idesc;
31193 int cycles = 0;
31195 int referenced = 0;
31196 int UNUSED insn_referenced = abuf->written;
31197 INT in_GRi = -1;
31198 INT in_GRj = -1;
31199 INT out_GRk = -1;
31200 INT out_GRdoublek = -1;
31201 in_GRi = FLD (in_GRi);
31202 in_GRj = FLD (in_GRj);
31203 out_GRk = FLD (out_GRk);
31204 referenced |= 1 << 0;
31205 referenced |= 1 << 1;
31206 referenced |= 1 << 2;
31207 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31209 return cycles;
31210 #undef FLD
31213 static int
31214 model_fr500_lduh (SIM_CPU *current_cpu, void *sem_arg)
31216 #define FLD(f) abuf->fields.sfmt_addcc.f
31217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31218 const IDESC * UNUSED idesc = abuf->idesc;
31219 int cycles = 0;
31221 int referenced = 0;
31222 int UNUSED insn_referenced = abuf->written;
31223 INT in_GRi = -1;
31224 INT in_GRj = -1;
31225 INT out_GRk = -1;
31226 INT out_GRdoublek = -1;
31227 in_GRi = FLD (in_GRi);
31228 in_GRj = FLD (in_GRj);
31229 out_GRk = FLD (out_GRk);
31230 referenced |= 1 << 0;
31231 referenced |= 1 << 1;
31232 referenced |= 1 << 2;
31233 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31235 return cycles;
31236 #undef FLD
31239 static int
31240 model_fr500_ld (SIM_CPU *current_cpu, void *sem_arg)
31242 #define FLD(f) abuf->fields.sfmt_addcc.f
31243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31244 const IDESC * UNUSED idesc = abuf->idesc;
31245 int cycles = 0;
31247 int referenced = 0;
31248 int UNUSED insn_referenced = abuf->written;
31249 INT in_GRi = -1;
31250 INT in_GRj = -1;
31251 INT out_GRk = -1;
31252 INT out_GRdoublek = -1;
31253 in_GRi = FLD (in_GRi);
31254 in_GRj = FLD (in_GRj);
31255 out_GRk = FLD (out_GRk);
31256 referenced |= 1 << 0;
31257 referenced |= 1 << 1;
31258 referenced |= 1 << 2;
31259 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31261 return cycles;
31262 #undef FLD
31265 static int
31266 model_fr500_ldbf (SIM_CPU *current_cpu, void *sem_arg)
31268 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31270 const IDESC * UNUSED idesc = abuf->idesc;
31271 int cycles = 0;
31273 int referenced = 0;
31274 int UNUSED insn_referenced = abuf->written;
31275 INT in_GRi = -1;
31276 INT in_GRj = -1;
31277 INT out_FRintk = -1;
31278 INT out_FRdoublek = -1;
31279 in_GRi = FLD (in_GRi);
31280 in_GRj = FLD (in_GRj);
31281 out_FRintk = FLD (out_FRintk);
31282 referenced |= 1 << 0;
31283 referenced |= 1 << 1;
31284 referenced |= 1 << 2;
31285 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31287 return cycles;
31288 #undef FLD
31291 static int
31292 model_fr500_ldhf (SIM_CPU *current_cpu, void *sem_arg)
31294 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31295 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31296 const IDESC * UNUSED idesc = abuf->idesc;
31297 int cycles = 0;
31299 int referenced = 0;
31300 int UNUSED insn_referenced = abuf->written;
31301 INT in_GRi = -1;
31302 INT in_GRj = -1;
31303 INT out_FRintk = -1;
31304 INT out_FRdoublek = -1;
31305 in_GRi = FLD (in_GRi);
31306 in_GRj = FLD (in_GRj);
31307 out_FRintk = FLD (out_FRintk);
31308 referenced |= 1 << 0;
31309 referenced |= 1 << 1;
31310 referenced |= 1 << 2;
31311 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31313 return cycles;
31314 #undef FLD
31317 static int
31318 model_fr500_ldf (SIM_CPU *current_cpu, void *sem_arg)
31320 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31322 const IDESC * UNUSED idesc = abuf->idesc;
31323 int cycles = 0;
31325 int referenced = 0;
31326 int UNUSED insn_referenced = abuf->written;
31327 INT in_GRi = -1;
31328 INT in_GRj = -1;
31329 INT out_FRintk = -1;
31330 INT out_FRdoublek = -1;
31331 in_GRi = FLD (in_GRi);
31332 in_GRj = FLD (in_GRj);
31333 out_FRintk = FLD (out_FRintk);
31334 referenced |= 1 << 0;
31335 referenced |= 1 << 1;
31336 referenced |= 1 << 2;
31337 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31339 return cycles;
31340 #undef FLD
31343 static int
31344 model_fr500_ldc (SIM_CPU *current_cpu, void *sem_arg)
31346 #define FLD(f) abuf->fields.sfmt_ldcu.f
31347 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31348 const IDESC * UNUSED idesc = abuf->idesc;
31349 int cycles = 0;
31351 int referenced = 0;
31352 int UNUSED insn_referenced = abuf->written;
31353 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31355 return cycles;
31356 #undef FLD
31359 static int
31360 model_fr500_nldsb (SIM_CPU *current_cpu, void *sem_arg)
31362 #define FLD(f) abuf->fields.sfmt_addcc.f
31363 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31364 const IDESC * UNUSED idesc = abuf->idesc;
31365 int cycles = 0;
31367 int referenced = 0;
31368 int UNUSED insn_referenced = abuf->written;
31369 INT in_GRi = -1;
31370 INT in_GRj = -1;
31371 INT out_GRk = -1;
31372 INT out_GRdoublek = -1;
31373 in_GRi = FLD (in_GRi);
31374 in_GRj = FLD (in_GRj);
31375 out_GRk = FLD (out_GRk);
31376 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31377 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31378 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31379 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31381 return cycles;
31382 #undef FLD
31385 static int
31386 model_fr500_nldub (SIM_CPU *current_cpu, void *sem_arg)
31388 #define FLD(f) abuf->fields.sfmt_addcc.f
31389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31390 const IDESC * UNUSED idesc = abuf->idesc;
31391 int cycles = 0;
31393 int referenced = 0;
31394 int UNUSED insn_referenced = abuf->written;
31395 INT in_GRi = -1;
31396 INT in_GRj = -1;
31397 INT out_GRk = -1;
31398 INT out_GRdoublek = -1;
31399 in_GRi = FLD (in_GRi);
31400 in_GRj = FLD (in_GRj);
31401 out_GRk = FLD (out_GRk);
31402 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31403 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31404 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31405 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31407 return cycles;
31408 #undef FLD
31411 static int
31412 model_fr500_nldsh (SIM_CPU *current_cpu, void *sem_arg)
31414 #define FLD(f) abuf->fields.sfmt_addcc.f
31415 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31416 const IDESC * UNUSED idesc = abuf->idesc;
31417 int cycles = 0;
31419 int referenced = 0;
31420 int UNUSED insn_referenced = abuf->written;
31421 INT in_GRi = -1;
31422 INT in_GRj = -1;
31423 INT out_GRk = -1;
31424 INT out_GRdoublek = -1;
31425 in_GRi = FLD (in_GRi);
31426 in_GRj = FLD (in_GRj);
31427 out_GRk = FLD (out_GRk);
31428 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31429 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31430 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31431 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31433 return cycles;
31434 #undef FLD
31437 static int
31438 model_fr500_nlduh (SIM_CPU *current_cpu, void *sem_arg)
31440 #define FLD(f) abuf->fields.sfmt_addcc.f
31441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31442 const IDESC * UNUSED idesc = abuf->idesc;
31443 int cycles = 0;
31445 int referenced = 0;
31446 int UNUSED insn_referenced = abuf->written;
31447 INT in_GRi = -1;
31448 INT in_GRj = -1;
31449 INT out_GRk = -1;
31450 INT out_GRdoublek = -1;
31451 in_GRi = FLD (in_GRi);
31452 in_GRj = FLD (in_GRj);
31453 out_GRk = FLD (out_GRk);
31454 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31455 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31456 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31457 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31459 return cycles;
31460 #undef FLD
31463 static int
31464 model_fr500_nld (SIM_CPU *current_cpu, void *sem_arg)
31466 #define FLD(f) abuf->fields.sfmt_addcc.f
31467 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31468 const IDESC * UNUSED idesc = abuf->idesc;
31469 int cycles = 0;
31471 int referenced = 0;
31472 int UNUSED insn_referenced = abuf->written;
31473 INT in_GRi = -1;
31474 INT in_GRj = -1;
31475 INT out_GRk = -1;
31476 INT out_GRdoublek = -1;
31477 in_GRi = FLD (in_GRi);
31478 in_GRj = FLD (in_GRj);
31479 out_GRk = FLD (out_GRk);
31480 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31481 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31482 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31483 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31485 return cycles;
31486 #undef FLD
31489 static int
31490 model_fr500_nldbf (SIM_CPU *current_cpu, void *sem_arg)
31492 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31494 const IDESC * UNUSED idesc = abuf->idesc;
31495 int cycles = 0;
31497 int referenced = 0;
31498 int UNUSED insn_referenced = abuf->written;
31499 INT in_GRi = -1;
31500 INT in_GRj = -1;
31501 INT out_FRintk = -1;
31502 INT out_FRdoublek = -1;
31503 in_GRi = FLD (in_GRi);
31504 in_GRj = FLD (in_GRj);
31505 out_FRintk = FLD (out_FRintk);
31506 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31507 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31508 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31509 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31511 return cycles;
31512 #undef FLD
31515 static int
31516 model_fr500_nldhf (SIM_CPU *current_cpu, void *sem_arg)
31518 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31519 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31520 const IDESC * UNUSED idesc = abuf->idesc;
31521 int cycles = 0;
31523 int referenced = 0;
31524 int UNUSED insn_referenced = abuf->written;
31525 INT in_GRi = -1;
31526 INT in_GRj = -1;
31527 INT out_FRintk = -1;
31528 INT out_FRdoublek = -1;
31529 in_GRi = FLD (in_GRi);
31530 in_GRj = FLD (in_GRj);
31531 out_FRintk = FLD (out_FRintk);
31532 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31533 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31534 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31535 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31537 return cycles;
31538 #undef FLD
31541 static int
31542 model_fr500_nldf (SIM_CPU *current_cpu, void *sem_arg)
31544 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31546 const IDESC * UNUSED idesc = abuf->idesc;
31547 int cycles = 0;
31549 int referenced = 0;
31550 int UNUSED insn_referenced = abuf->written;
31551 INT in_GRi = -1;
31552 INT in_GRj = -1;
31553 INT out_FRintk = -1;
31554 INT out_FRdoublek = -1;
31555 in_GRi = FLD (in_GRi);
31556 in_GRj = FLD (in_GRj);
31557 out_FRintk = FLD (out_FRintk);
31558 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31559 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31560 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31561 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31563 return cycles;
31564 #undef FLD
31567 static int
31568 model_fr500_ldd (SIM_CPU *current_cpu, void *sem_arg)
31570 #define FLD(f) abuf->fields.sfmt_smulcc.f
31571 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31572 const IDESC * UNUSED idesc = abuf->idesc;
31573 int cycles = 0;
31575 int referenced = 0;
31576 int UNUSED insn_referenced = abuf->written;
31577 INT in_GRi = -1;
31578 INT in_GRj = -1;
31579 INT out_GRk = -1;
31580 INT out_GRdoublek = -1;
31581 in_GRi = FLD (in_GRi);
31582 in_GRj = FLD (in_GRj);
31583 out_GRdoublek = FLD (out_GRdoublek);
31584 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31585 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31586 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
31587 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31589 return cycles;
31590 #undef FLD
31593 static int
31594 model_fr500_lddf (SIM_CPU *current_cpu, void *sem_arg)
31596 #define FLD(f) abuf->fields.sfmt_clddfu.f
31597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31598 const IDESC * UNUSED idesc = abuf->idesc;
31599 int cycles = 0;
31601 int referenced = 0;
31602 int UNUSED insn_referenced = abuf->written;
31603 INT in_GRi = -1;
31604 INT in_GRj = -1;
31605 INT out_FRintk = -1;
31606 INT out_FRdoublek = -1;
31607 in_GRi = FLD (in_GRi);
31608 in_GRj = FLD (in_GRj);
31609 out_FRdoublek = FLD (out_FRdoublek);
31610 referenced |= 1 << 0;
31611 referenced |= 1 << 1;
31612 referenced |= 1 << 3;
31613 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31615 return cycles;
31616 #undef FLD
31619 static int
31620 model_fr500_lddc (SIM_CPU *current_cpu, void *sem_arg)
31622 #define FLD(f) abuf->fields.sfmt_lddcu.f
31623 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31624 const IDESC * UNUSED idesc = abuf->idesc;
31625 int cycles = 0;
31627 int referenced = 0;
31628 int UNUSED insn_referenced = abuf->written;
31629 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31631 return cycles;
31632 #undef FLD
31635 static int
31636 model_fr500_nldd (SIM_CPU *current_cpu, void *sem_arg)
31638 #define FLD(f) abuf->fields.sfmt_smulcc.f
31639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31640 const IDESC * UNUSED idesc = abuf->idesc;
31641 int cycles = 0;
31643 int referenced = 0;
31644 int UNUSED insn_referenced = abuf->written;
31645 INT in_GRi = -1;
31646 INT in_GRj = -1;
31647 INT out_GRk = -1;
31648 INT out_GRdoublek = -1;
31649 in_GRi = FLD (in_GRi);
31650 in_GRj = FLD (in_GRj);
31651 out_GRdoublek = FLD (out_GRdoublek);
31652 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31653 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31654 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
31655 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31657 return cycles;
31658 #undef FLD
31661 static int
31662 model_fr500_nlddf (SIM_CPU *current_cpu, void *sem_arg)
31664 #define FLD(f) abuf->fields.sfmt_clddfu.f
31665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31666 const IDESC * UNUSED idesc = abuf->idesc;
31667 int cycles = 0;
31669 int referenced = 0;
31670 int UNUSED insn_referenced = abuf->written;
31671 INT in_GRi = -1;
31672 INT in_GRj = -1;
31673 INT out_FRintk = -1;
31674 INT out_FRdoublek = -1;
31675 in_GRi = FLD (in_GRi);
31676 in_GRj = FLD (in_GRj);
31677 out_FRdoublek = FLD (out_FRdoublek);
31678 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31679 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31680 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
31681 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31683 return cycles;
31684 #undef FLD
31687 static int
31688 model_fr500_ldq (SIM_CPU *current_cpu, void *sem_arg)
31690 #define FLD(f) abuf->fields.sfmt_smulcc.f
31691 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31692 const IDESC * UNUSED idesc = abuf->idesc;
31693 int cycles = 0;
31695 int referenced = 0;
31696 int UNUSED insn_referenced = abuf->written;
31697 INT in_GRi = -1;
31698 INT in_GRj = -1;
31699 INT out_GRk = -1;
31700 INT out_GRdoublek = -1;
31701 in_GRi = FLD (in_GRi);
31702 in_GRj = FLD (in_GRj);
31703 referenced |= 1 << 0;
31704 referenced |= 1 << 1;
31705 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31707 return cycles;
31708 #undef FLD
31711 static int
31712 model_fr500_ldqf (SIM_CPU *current_cpu, void *sem_arg)
31714 #define FLD(f) abuf->fields.sfmt_cstdfu.f
31715 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31716 const IDESC * UNUSED idesc = abuf->idesc;
31717 int cycles = 0;
31719 int referenced = 0;
31720 int UNUSED insn_referenced = abuf->written;
31721 INT in_GRi = -1;
31722 INT in_GRj = -1;
31723 INT out_FRintk = -1;
31724 INT out_FRdoublek = -1;
31725 in_GRi = FLD (in_GRi);
31726 in_GRj = FLD (in_GRj);
31727 referenced |= 1 << 0;
31728 referenced |= 1 << 1;
31729 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31731 return cycles;
31732 #undef FLD
31735 static int
31736 model_fr500_ldqc (SIM_CPU *current_cpu, void *sem_arg)
31738 #define FLD(f) abuf->fields.sfmt_stdcu.f
31739 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31740 const IDESC * UNUSED idesc = abuf->idesc;
31741 int cycles = 0;
31743 int referenced = 0;
31744 int UNUSED insn_referenced = abuf->written;
31745 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31747 return cycles;
31748 #undef FLD
31751 static int
31752 model_fr500_nldq (SIM_CPU *current_cpu, void *sem_arg)
31754 #define FLD(f) abuf->fields.sfmt_smulcc.f
31755 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31756 const IDESC * UNUSED idesc = abuf->idesc;
31757 int cycles = 0;
31759 int referenced = 0;
31760 int UNUSED insn_referenced = abuf->written;
31761 INT in_GRi = -1;
31762 INT in_GRj = -1;
31763 INT out_GRk = -1;
31764 INT out_GRdoublek = -1;
31765 in_GRi = FLD (in_GRi);
31766 in_GRj = FLD (in_GRj);
31767 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31768 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31769 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31771 return cycles;
31772 #undef FLD
31775 static int
31776 model_fr500_nldqf (SIM_CPU *current_cpu, void *sem_arg)
31778 #define FLD(f) abuf->fields.sfmt_cstdfu.f
31779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31780 const IDESC * UNUSED idesc = abuf->idesc;
31781 int cycles = 0;
31783 int referenced = 0;
31784 int UNUSED insn_referenced = abuf->written;
31785 INT in_GRi = -1;
31786 INT in_GRj = -1;
31787 INT out_FRintk = -1;
31788 INT out_FRdoublek = -1;
31789 in_GRi = FLD (in_GRi);
31790 in_GRj = FLD (in_GRj);
31791 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31792 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31793 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31795 return cycles;
31796 #undef FLD
31799 static int
31800 model_fr500_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
31802 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31804 const IDESC * UNUSED idesc = abuf->idesc;
31805 int cycles = 0;
31807 int referenced = 0;
31808 int UNUSED insn_referenced = abuf->written;
31809 INT in_GRi = -1;
31810 INT in_GRj = -1;
31811 INT out_GRk = -1;
31812 INT out_GRdoublek = -1;
31813 in_GRi = FLD (in_GRi);
31814 in_GRj = FLD (in_GRj);
31815 out_GRk = FLD (out_GRk);
31816 referenced |= 1 << 0;
31817 referenced |= 1 << 1;
31818 referenced |= 1 << 2;
31819 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31821 return cycles;
31822 #undef FLD
31825 static int
31826 model_fr500_ldubu (SIM_CPU *current_cpu, void *sem_arg)
31828 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31830 const IDESC * UNUSED idesc = abuf->idesc;
31831 int cycles = 0;
31833 int referenced = 0;
31834 int UNUSED insn_referenced = abuf->written;
31835 INT in_GRi = -1;
31836 INT in_GRj = -1;
31837 INT out_GRk = -1;
31838 INT out_GRdoublek = -1;
31839 in_GRi = FLD (in_GRi);
31840 in_GRj = FLD (in_GRj);
31841 out_GRk = FLD (out_GRk);
31842 referenced |= 1 << 0;
31843 referenced |= 1 << 1;
31844 referenced |= 1 << 2;
31845 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31847 return cycles;
31848 #undef FLD
31851 static int
31852 model_fr500_ldshu (SIM_CPU *current_cpu, void *sem_arg)
31854 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31855 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31856 const IDESC * UNUSED idesc = abuf->idesc;
31857 int cycles = 0;
31859 int referenced = 0;
31860 int UNUSED insn_referenced = abuf->written;
31861 INT in_GRi = -1;
31862 INT in_GRj = -1;
31863 INT out_GRk = -1;
31864 INT out_GRdoublek = -1;
31865 in_GRi = FLD (in_GRi);
31866 in_GRj = FLD (in_GRj);
31867 out_GRk = FLD (out_GRk);
31868 referenced |= 1 << 0;
31869 referenced |= 1 << 1;
31870 referenced |= 1 << 2;
31871 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31873 return cycles;
31874 #undef FLD
31877 static int
31878 model_fr500_lduhu (SIM_CPU *current_cpu, void *sem_arg)
31880 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31882 const IDESC * UNUSED idesc = abuf->idesc;
31883 int cycles = 0;
31885 int referenced = 0;
31886 int UNUSED insn_referenced = abuf->written;
31887 INT in_GRi = -1;
31888 INT in_GRj = -1;
31889 INT out_GRk = -1;
31890 INT out_GRdoublek = -1;
31891 in_GRi = FLD (in_GRi);
31892 in_GRj = FLD (in_GRj);
31893 out_GRk = FLD (out_GRk);
31894 referenced |= 1 << 0;
31895 referenced |= 1 << 1;
31896 referenced |= 1 << 2;
31897 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31899 return cycles;
31900 #undef FLD
31903 static int
31904 model_fr500_ldu (SIM_CPU *current_cpu, void *sem_arg)
31906 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31907 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31908 const IDESC * UNUSED idesc = abuf->idesc;
31909 int cycles = 0;
31911 int referenced = 0;
31912 int UNUSED insn_referenced = abuf->written;
31913 INT in_GRi = -1;
31914 INT in_GRj = -1;
31915 INT out_GRk = -1;
31916 INT out_GRdoublek = -1;
31917 in_GRi = FLD (in_GRi);
31918 in_GRj = FLD (in_GRj);
31919 out_GRk = FLD (out_GRk);
31920 referenced |= 1 << 0;
31921 referenced |= 1 << 1;
31922 referenced |= 1 << 2;
31923 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31925 return cycles;
31926 #undef FLD
31929 static int
31930 model_fr500_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
31932 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31934 const IDESC * UNUSED idesc = abuf->idesc;
31935 int cycles = 0;
31937 int referenced = 0;
31938 int UNUSED insn_referenced = abuf->written;
31939 INT in_GRi = -1;
31940 INT in_GRj = -1;
31941 INT out_GRk = -1;
31942 INT out_GRdoublek = -1;
31943 in_GRi = FLD (in_GRi);
31944 in_GRj = FLD (in_GRj);
31945 out_GRk = FLD (out_GRk);
31946 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31947 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31948 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
31949 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31951 return cycles;
31952 #undef FLD
31955 static int
31956 model_fr500_nldubu (SIM_CPU *current_cpu, void *sem_arg)
31958 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31959 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31960 const IDESC * UNUSED idesc = abuf->idesc;
31961 int cycles = 0;
31963 int referenced = 0;
31964 int UNUSED insn_referenced = abuf->written;
31965 INT in_GRi = -1;
31966 INT in_GRj = -1;
31967 INT out_GRk = -1;
31968 INT out_GRdoublek = -1;
31969 in_GRi = FLD (in_GRi);
31970 in_GRj = FLD (in_GRj);
31971 out_GRk = FLD (out_GRk);
31972 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31973 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31974 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
31975 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31977 return cycles;
31978 #undef FLD
31981 static int
31982 model_fr500_nldshu (SIM_CPU *current_cpu, void *sem_arg)
31984 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31986 const IDESC * UNUSED idesc = abuf->idesc;
31987 int cycles = 0;
31989 int referenced = 0;
31990 int UNUSED insn_referenced = abuf->written;
31991 INT in_GRi = -1;
31992 INT in_GRj = -1;
31993 INT out_GRk = -1;
31994 INT out_GRdoublek = -1;
31995 in_GRi = FLD (in_GRi);
31996 in_GRj = FLD (in_GRj);
31997 out_GRk = FLD (out_GRk);
31998 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31999 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32000 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
32001 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32003 return cycles;
32004 #undef FLD
32007 static int
32008 model_fr500_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
32010 #define FLD(f) abuf->fields.sfmt_cldsbu.f
32011 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32012 const IDESC * UNUSED idesc = abuf->idesc;
32013 int cycles = 0;
32015 int referenced = 0;
32016 int UNUSED insn_referenced = abuf->written;
32017 INT in_GRi = -1;
32018 INT in_GRj = -1;
32019 INT out_GRk = -1;
32020 INT out_GRdoublek = -1;
32021 in_GRi = FLD (in_GRi);
32022 in_GRj = FLD (in_GRj);
32023 out_GRk = FLD (out_GRk);
32024 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32025 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32026 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
32027 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32029 return cycles;
32030 #undef FLD
32033 static int
32034 model_fr500_nldu (SIM_CPU *current_cpu, void *sem_arg)
32036 #define FLD(f) abuf->fields.sfmt_cldsbu.f
32037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32038 const IDESC * UNUSED idesc = abuf->idesc;
32039 int cycles = 0;
32041 int referenced = 0;
32042 int UNUSED insn_referenced = abuf->written;
32043 INT in_GRi = -1;
32044 INT in_GRj = -1;
32045 INT out_GRk = -1;
32046 INT out_GRdoublek = -1;
32047 in_GRi = FLD (in_GRi);
32048 in_GRj = FLD (in_GRj);
32049 out_GRk = FLD (out_GRk);
32050 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32051 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32052 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
32053 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32055 return cycles;
32056 #undef FLD
32059 static int
32060 model_fr500_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
32062 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32063 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32064 const IDESC * UNUSED idesc = abuf->idesc;
32065 int cycles = 0;
32067 int referenced = 0;
32068 int UNUSED insn_referenced = abuf->written;
32069 INT in_GRi = -1;
32070 INT in_GRj = -1;
32071 INT out_FRintk = -1;
32072 INT out_FRdoublek = -1;
32073 in_GRi = FLD (in_GRi);
32074 in_GRj = FLD (in_GRj);
32075 out_FRintk = FLD (out_FRintk);
32076 referenced |= 1 << 0;
32077 referenced |= 1 << 1;
32078 referenced |= 1 << 2;
32079 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32081 return cycles;
32082 #undef FLD
32085 static int
32086 model_fr500_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
32088 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32090 const IDESC * UNUSED idesc = abuf->idesc;
32091 int cycles = 0;
32093 int referenced = 0;
32094 int UNUSED insn_referenced = abuf->written;
32095 INT in_GRi = -1;
32096 INT in_GRj = -1;
32097 INT out_FRintk = -1;
32098 INT out_FRdoublek = -1;
32099 in_GRi = FLD (in_GRi);
32100 in_GRj = FLD (in_GRj);
32101 out_FRintk = FLD (out_FRintk);
32102 referenced |= 1 << 0;
32103 referenced |= 1 << 1;
32104 referenced |= 1 << 2;
32105 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32107 return cycles;
32108 #undef FLD
32111 static int
32112 model_fr500_ldfu (SIM_CPU *current_cpu, void *sem_arg)
32114 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32115 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32116 const IDESC * UNUSED idesc = abuf->idesc;
32117 int cycles = 0;
32119 int referenced = 0;
32120 int UNUSED insn_referenced = abuf->written;
32121 INT in_GRi = -1;
32122 INT in_GRj = -1;
32123 INT out_FRintk = -1;
32124 INT out_FRdoublek = -1;
32125 in_GRi = FLD (in_GRi);
32126 in_GRj = FLD (in_GRj);
32127 out_FRintk = FLD (out_FRintk);
32128 referenced |= 1 << 0;
32129 referenced |= 1 << 1;
32130 referenced |= 1 << 2;
32131 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32133 return cycles;
32134 #undef FLD
32137 static int
32138 model_fr500_ldcu (SIM_CPU *current_cpu, void *sem_arg)
32140 #define FLD(f) abuf->fields.sfmt_ldcu.f
32141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32142 const IDESC * UNUSED idesc = abuf->idesc;
32143 int cycles = 0;
32145 int referenced = 0;
32146 int UNUSED insn_referenced = abuf->written;
32147 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
32149 return cycles;
32150 #undef FLD
32153 static int
32154 model_fr500_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
32156 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32158 const IDESC * UNUSED idesc = abuf->idesc;
32159 int cycles = 0;
32161 int referenced = 0;
32162 int UNUSED insn_referenced = abuf->written;
32163 INT in_GRi = -1;
32164 INT in_GRj = -1;
32165 INT out_FRintk = -1;
32166 INT out_FRdoublek = -1;
32167 in_GRi = FLD (in_GRi);
32168 in_GRj = FLD (in_GRj);
32169 out_FRintk = FLD (out_FRintk);
32170 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32171 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32172 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
32173 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32175 return cycles;
32176 #undef FLD
32179 static int
32180 model_fr500_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
32182 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32184 const IDESC * UNUSED idesc = abuf->idesc;
32185 int cycles = 0;
32187 int referenced = 0;
32188 int UNUSED insn_referenced = abuf->written;
32189 INT in_GRi = -1;
32190 INT in_GRj = -1;
32191 INT out_FRintk = -1;
32192 INT out_FRdoublek = -1;
32193 in_GRi = FLD (in_GRi);
32194 in_GRj = FLD (in_GRj);
32195 out_FRintk = FLD (out_FRintk);
32196 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32197 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32198 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
32199 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32201 return cycles;
32202 #undef FLD
32205 static int
32206 model_fr500_nldfu (SIM_CPU *current_cpu, void *sem_arg)
32208 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32210 const IDESC * UNUSED idesc = abuf->idesc;
32211 int cycles = 0;
32213 int referenced = 0;
32214 int UNUSED insn_referenced = abuf->written;
32215 INT in_GRi = -1;
32216 INT in_GRj = -1;
32217 INT out_FRintk = -1;
32218 INT out_FRdoublek = -1;
32219 in_GRi = FLD (in_GRi);
32220 in_GRj = FLD (in_GRj);
32221 out_FRintk = FLD (out_FRintk);
32222 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32223 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32224 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
32225 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32227 return cycles;
32228 #undef FLD
32231 static int
32232 model_fr500_lddu (SIM_CPU *current_cpu, void *sem_arg)
32234 #define FLD(f) abuf->fields.sfmt_clddu.f
32235 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32236 const IDESC * UNUSED idesc = abuf->idesc;
32237 int cycles = 0;
32239 int referenced = 0;
32240 int UNUSED insn_referenced = abuf->written;
32241 INT in_GRi = -1;
32242 INT in_GRj = -1;
32243 INT out_GRk = -1;
32244 INT out_GRdoublek = -1;
32245 in_GRi = FLD (in_GRi);
32246 in_GRj = FLD (in_GRj);
32247 out_GRdoublek = FLD (out_GRdoublek);
32248 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32249 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32250 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
32251 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32253 return cycles;
32254 #undef FLD
32257 static int
32258 model_fr500_nlddu (SIM_CPU *current_cpu, void *sem_arg)
32260 #define FLD(f) abuf->fields.sfmt_clddu.f
32261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32262 const IDESC * UNUSED idesc = abuf->idesc;
32263 int cycles = 0;
32265 int referenced = 0;
32266 int UNUSED insn_referenced = abuf->written;
32267 INT in_GRi = -1;
32268 INT in_GRj = -1;
32269 INT out_GRk = -1;
32270 INT out_GRdoublek = -1;
32271 in_GRi = FLD (in_GRi);
32272 in_GRj = FLD (in_GRj);
32273 out_GRdoublek = FLD (out_GRdoublek);
32274 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32275 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32276 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
32277 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32279 return cycles;
32280 #undef FLD
32283 static int
32284 model_fr500_lddfu (SIM_CPU *current_cpu, void *sem_arg)
32286 #define FLD(f) abuf->fields.sfmt_clddfu.f
32287 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32288 const IDESC * UNUSED idesc = abuf->idesc;
32289 int cycles = 0;
32291 int referenced = 0;
32292 int UNUSED insn_referenced = abuf->written;
32293 INT in_GRi = -1;
32294 INT in_GRj = -1;
32295 INT out_FRintk = -1;
32296 INT out_FRdoublek = -1;
32297 in_GRi = FLD (in_GRi);
32298 in_GRj = FLD (in_GRj);
32299 out_FRdoublek = FLD (out_FRdoublek);
32300 referenced |= 1 << 0;
32301 referenced |= 1 << 1;
32302 referenced |= 1 << 3;
32303 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32305 return cycles;
32306 #undef FLD
32309 static int
32310 model_fr500_lddcu (SIM_CPU *current_cpu, void *sem_arg)
32312 #define FLD(f) abuf->fields.sfmt_lddcu.f
32313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32314 const IDESC * UNUSED idesc = abuf->idesc;
32315 int cycles = 0;
32317 int referenced = 0;
32318 int UNUSED insn_referenced = abuf->written;
32319 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
32321 return cycles;
32322 #undef FLD
32325 static int
32326 model_fr500_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
32328 #define FLD(f) abuf->fields.sfmt_clddfu.f
32329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32330 const IDESC * UNUSED idesc = abuf->idesc;
32331 int cycles = 0;
32333 int referenced = 0;
32334 int UNUSED insn_referenced = abuf->written;
32335 INT in_GRi = -1;
32336 INT in_GRj = -1;
32337 INT out_FRintk = -1;
32338 INT out_FRdoublek = -1;
32339 in_GRi = FLD (in_GRi);
32340 in_GRj = FLD (in_GRj);
32341 out_FRdoublek = FLD (out_FRdoublek);
32342 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32343 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32344 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
32345 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32347 return cycles;
32348 #undef FLD
32351 static int
32352 model_fr500_ldqu (SIM_CPU *current_cpu, void *sem_arg)
32354 #define FLD(f) abuf->fields.sfmt_cstdu.f
32355 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32356 const IDESC * UNUSED idesc = abuf->idesc;
32357 int cycles = 0;
32359 int referenced = 0;
32360 int UNUSED insn_referenced = abuf->written;
32361 INT in_GRi = -1;
32362 INT in_GRj = -1;
32363 INT out_GRk = -1;
32364 INT out_GRdoublek = -1;
32365 in_GRi = FLD (in_GRi);
32366 in_GRj = FLD (in_GRj);
32367 referenced |= 1 << 0;
32368 referenced |= 1 << 1;
32369 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32371 return cycles;
32372 #undef FLD
32375 static int
32376 model_fr500_nldqu (SIM_CPU *current_cpu, void *sem_arg)
32378 #define FLD(f) abuf->fields.sfmt_cstdu.f
32379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32380 const IDESC * UNUSED idesc = abuf->idesc;
32381 int cycles = 0;
32383 int referenced = 0;
32384 int UNUSED insn_referenced = abuf->written;
32385 INT in_GRi = -1;
32386 INT in_GRj = -1;
32387 INT out_GRk = -1;
32388 INT out_GRdoublek = -1;
32389 in_GRi = FLD (in_GRi);
32390 in_GRj = FLD (in_GRj);
32391 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32392 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32393 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32395 return cycles;
32396 #undef FLD
32399 static int
32400 model_fr500_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
32402 #define FLD(f) abuf->fields.sfmt_cstdfu.f
32403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32404 const IDESC * UNUSED idesc = abuf->idesc;
32405 int cycles = 0;
32407 int referenced = 0;
32408 int UNUSED insn_referenced = abuf->written;
32409 INT in_GRi = -1;
32410 INT in_GRj = -1;
32411 INT out_FRintk = -1;
32412 INT out_FRdoublek = -1;
32413 in_GRi = FLD (in_GRi);
32414 in_GRj = FLD (in_GRj);
32415 referenced |= 1 << 0;
32416 referenced |= 1 << 1;
32417 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32419 return cycles;
32420 #undef FLD
32423 static int
32424 model_fr500_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
32426 #define FLD(f) abuf->fields.sfmt_stdcu.f
32427 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32428 const IDESC * UNUSED idesc = abuf->idesc;
32429 int cycles = 0;
32431 int referenced = 0;
32432 int UNUSED insn_referenced = abuf->written;
32433 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
32435 return cycles;
32436 #undef FLD
32439 static int
32440 model_fr500_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
32442 #define FLD(f) abuf->fields.sfmt_cstdfu.f
32443 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32444 const IDESC * UNUSED idesc = abuf->idesc;
32445 int cycles = 0;
32447 int referenced = 0;
32448 int UNUSED insn_referenced = abuf->written;
32449 INT in_GRi = -1;
32450 INT in_GRj = -1;
32451 INT out_FRintk = -1;
32452 INT out_FRdoublek = -1;
32453 in_GRi = FLD (in_GRi);
32454 in_GRj = FLD (in_GRj);
32455 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32456 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32457 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32459 return cycles;
32460 #undef FLD
32463 static int
32464 model_fr500_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
32466 #define FLD(f) abuf->fields.sfmt_swapi.f
32467 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32468 const IDESC * UNUSED idesc = abuf->idesc;
32469 int cycles = 0;
32471 int referenced = 0;
32472 int UNUSED insn_referenced = abuf->written;
32473 INT in_GRi = -1;
32474 INT in_GRj = -1;
32475 INT out_GRk = -1;
32476 INT out_GRdoublek = -1;
32477 in_GRi = FLD (in_GRi);
32478 out_GRk = FLD (out_GRk);
32479 referenced |= 1 << 0;
32480 referenced |= 1 << 2;
32481 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32483 return cycles;
32484 #undef FLD
32487 static int
32488 model_fr500_ldshi (SIM_CPU *current_cpu, void *sem_arg)
32490 #define FLD(f) abuf->fields.sfmt_swapi.f
32491 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32492 const IDESC * UNUSED idesc = abuf->idesc;
32493 int cycles = 0;
32495 int referenced = 0;
32496 int UNUSED insn_referenced = abuf->written;
32497 INT in_GRi = -1;
32498 INT in_GRj = -1;
32499 INT out_GRk = -1;
32500 INT out_GRdoublek = -1;
32501 in_GRi = FLD (in_GRi);
32502 out_GRk = FLD (out_GRk);
32503 referenced |= 1 << 0;
32504 referenced |= 1 << 2;
32505 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32507 return cycles;
32508 #undef FLD
32511 static int
32512 model_fr500_ldi (SIM_CPU *current_cpu, void *sem_arg)
32514 #define FLD(f) abuf->fields.sfmt_swapi.f
32515 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32516 const IDESC * UNUSED idesc = abuf->idesc;
32517 int cycles = 0;
32519 int referenced = 0;
32520 int UNUSED insn_referenced = abuf->written;
32521 INT in_GRi = -1;
32522 INT in_GRj = -1;
32523 INT out_GRk = -1;
32524 INT out_GRdoublek = -1;
32525 in_GRi = FLD (in_GRi);
32526 out_GRk = FLD (out_GRk);
32527 referenced |= 1 << 0;
32528 referenced |= 1 << 2;
32529 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32531 return cycles;
32532 #undef FLD
32535 static int
32536 model_fr500_ldubi (SIM_CPU *current_cpu, void *sem_arg)
32538 #define FLD(f) abuf->fields.sfmt_swapi.f
32539 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32540 const IDESC * UNUSED idesc = abuf->idesc;
32541 int cycles = 0;
32543 int referenced = 0;
32544 int UNUSED insn_referenced = abuf->written;
32545 INT in_GRi = -1;
32546 INT in_GRj = -1;
32547 INT out_GRk = -1;
32548 INT out_GRdoublek = -1;
32549 in_GRi = FLD (in_GRi);
32550 out_GRk = FLD (out_GRk);
32551 referenced |= 1 << 0;
32552 referenced |= 1 << 2;
32553 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32555 return cycles;
32556 #undef FLD
32559 static int
32560 model_fr500_lduhi (SIM_CPU *current_cpu, void *sem_arg)
32562 #define FLD(f) abuf->fields.sfmt_swapi.f
32563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32564 const IDESC * UNUSED idesc = abuf->idesc;
32565 int cycles = 0;
32567 int referenced = 0;
32568 int UNUSED insn_referenced = abuf->written;
32569 INT in_GRi = -1;
32570 INT in_GRj = -1;
32571 INT out_GRk = -1;
32572 INT out_GRdoublek = -1;
32573 in_GRi = FLD (in_GRi);
32574 out_GRk = FLD (out_GRk);
32575 referenced |= 1 << 0;
32576 referenced |= 1 << 2;
32577 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32579 return cycles;
32580 #undef FLD
32583 static int
32584 model_fr500_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
32586 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32588 const IDESC * UNUSED idesc = abuf->idesc;
32589 int cycles = 0;
32591 int referenced = 0;
32592 int UNUSED insn_referenced = abuf->written;
32593 INT in_GRi = -1;
32594 INT in_GRj = -1;
32595 INT out_FRintk = -1;
32596 INT out_FRdoublek = -1;
32597 in_GRi = FLD (in_GRi);
32598 out_FRintk = FLD (out_FRintk);
32599 referenced |= 1 << 0;
32600 referenced |= 1 << 2;
32601 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32603 return cycles;
32604 #undef FLD
32607 static int
32608 model_fr500_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
32610 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32611 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32612 const IDESC * UNUSED idesc = abuf->idesc;
32613 int cycles = 0;
32615 int referenced = 0;
32616 int UNUSED insn_referenced = abuf->written;
32617 INT in_GRi = -1;
32618 INT in_GRj = -1;
32619 INT out_FRintk = -1;
32620 INT out_FRdoublek = -1;
32621 in_GRi = FLD (in_GRi);
32622 out_FRintk = FLD (out_FRintk);
32623 referenced |= 1 << 0;
32624 referenced |= 1 << 2;
32625 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32627 return cycles;
32628 #undef FLD
32631 static int
32632 model_fr500_ldfi (SIM_CPU *current_cpu, void *sem_arg)
32634 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32635 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32636 const IDESC * UNUSED idesc = abuf->idesc;
32637 int cycles = 0;
32639 int referenced = 0;
32640 int UNUSED insn_referenced = abuf->written;
32641 INT in_GRi = -1;
32642 INT in_GRj = -1;
32643 INT out_FRintk = -1;
32644 INT out_FRdoublek = -1;
32645 in_GRi = FLD (in_GRi);
32646 out_FRintk = FLD (out_FRintk);
32647 referenced |= 1 << 0;
32648 referenced |= 1 << 2;
32649 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32651 return cycles;
32652 #undef FLD
32655 static int
32656 model_fr500_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
32658 #define FLD(f) abuf->fields.sfmt_swapi.f
32659 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32660 const IDESC * UNUSED idesc = abuf->idesc;
32661 int cycles = 0;
32663 int referenced = 0;
32664 int UNUSED insn_referenced = abuf->written;
32665 INT in_GRi = -1;
32666 INT in_GRj = -1;
32667 INT out_GRk = -1;
32668 INT out_GRdoublek = -1;
32669 in_GRi = FLD (in_GRi);
32670 out_GRk = FLD (out_GRk);
32671 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32672 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32673 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32675 return cycles;
32676 #undef FLD
32679 static int
32680 model_fr500_nldubi (SIM_CPU *current_cpu, void *sem_arg)
32682 #define FLD(f) abuf->fields.sfmt_swapi.f
32683 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32684 const IDESC * UNUSED idesc = abuf->idesc;
32685 int cycles = 0;
32687 int referenced = 0;
32688 int UNUSED insn_referenced = abuf->written;
32689 INT in_GRi = -1;
32690 INT in_GRj = -1;
32691 INT out_GRk = -1;
32692 INT out_GRdoublek = -1;
32693 in_GRi = FLD (in_GRi);
32694 out_GRk = FLD (out_GRk);
32695 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32696 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32697 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32699 return cycles;
32700 #undef FLD
32703 static int
32704 model_fr500_nldshi (SIM_CPU *current_cpu, void *sem_arg)
32706 #define FLD(f) abuf->fields.sfmt_swapi.f
32707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32708 const IDESC * UNUSED idesc = abuf->idesc;
32709 int cycles = 0;
32711 int referenced = 0;
32712 int UNUSED insn_referenced = abuf->written;
32713 INT in_GRi = -1;
32714 INT in_GRj = -1;
32715 INT out_GRk = -1;
32716 INT out_GRdoublek = -1;
32717 in_GRi = FLD (in_GRi);
32718 out_GRk = FLD (out_GRk);
32719 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32720 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32721 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32723 return cycles;
32724 #undef FLD
32727 static int
32728 model_fr500_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
32730 #define FLD(f) abuf->fields.sfmt_swapi.f
32731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32732 const IDESC * UNUSED idesc = abuf->idesc;
32733 int cycles = 0;
32735 int referenced = 0;
32736 int UNUSED insn_referenced = abuf->written;
32737 INT in_GRi = -1;
32738 INT in_GRj = -1;
32739 INT out_GRk = -1;
32740 INT out_GRdoublek = -1;
32741 in_GRi = FLD (in_GRi);
32742 out_GRk = FLD (out_GRk);
32743 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32744 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32745 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32747 return cycles;
32748 #undef FLD
32751 static int
32752 model_fr500_nldi (SIM_CPU *current_cpu, void *sem_arg)
32754 #define FLD(f) abuf->fields.sfmt_swapi.f
32755 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32756 const IDESC * UNUSED idesc = abuf->idesc;
32757 int cycles = 0;
32759 int referenced = 0;
32760 int UNUSED insn_referenced = abuf->written;
32761 INT in_GRi = -1;
32762 INT in_GRj = -1;
32763 INT out_GRk = -1;
32764 INT out_GRdoublek = -1;
32765 in_GRi = FLD (in_GRi);
32766 out_GRk = FLD (out_GRk);
32767 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32768 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32769 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32771 return cycles;
32772 #undef FLD
32775 static int
32776 model_fr500_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
32778 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32780 const IDESC * UNUSED idesc = abuf->idesc;
32781 int cycles = 0;
32783 int referenced = 0;
32784 int UNUSED insn_referenced = abuf->written;
32785 INT in_GRi = -1;
32786 INT in_GRj = -1;
32787 INT out_FRintk = -1;
32788 INT out_FRdoublek = -1;
32789 in_GRi = FLD (in_GRi);
32790 out_FRintk = FLD (out_FRintk);
32791 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32792 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32793 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32795 return cycles;
32796 #undef FLD
32799 static int
32800 model_fr500_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
32802 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32804 const IDESC * UNUSED idesc = abuf->idesc;
32805 int cycles = 0;
32807 int referenced = 0;
32808 int UNUSED insn_referenced = abuf->written;
32809 INT in_GRi = -1;
32810 INT in_GRj = -1;
32811 INT out_FRintk = -1;
32812 INT out_FRdoublek = -1;
32813 in_GRi = FLD (in_GRi);
32814 out_FRintk = FLD (out_FRintk);
32815 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32816 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32817 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32819 return cycles;
32820 #undef FLD
32823 static int
32824 model_fr500_nldfi (SIM_CPU *current_cpu, void *sem_arg)
32826 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32827 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32828 const IDESC * UNUSED idesc = abuf->idesc;
32829 int cycles = 0;
32831 int referenced = 0;
32832 int UNUSED insn_referenced = abuf->written;
32833 INT in_GRi = -1;
32834 INT in_GRj = -1;
32835 INT out_FRintk = -1;
32836 INT out_FRdoublek = -1;
32837 in_GRi = FLD (in_GRi);
32838 out_FRintk = FLD (out_FRintk);
32839 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32840 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32841 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32843 return cycles;
32844 #undef FLD
32847 static int
32848 model_fr500_lddi (SIM_CPU *current_cpu, void *sem_arg)
32850 #define FLD(f) abuf->fields.sfmt_smuli.f
32851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32852 const IDESC * UNUSED idesc = abuf->idesc;
32853 int cycles = 0;
32855 int referenced = 0;
32856 int UNUSED insn_referenced = abuf->written;
32857 INT in_GRi = -1;
32858 INT in_GRj = -1;
32859 INT out_GRk = -1;
32860 INT out_GRdoublek = -1;
32861 in_GRi = FLD (in_GRi);
32862 out_GRdoublek = FLD (out_GRdoublek);
32863 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32864 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
32865 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32867 return cycles;
32868 #undef FLD
32871 static int
32872 model_fr500_lddfi (SIM_CPU *current_cpu, void *sem_arg)
32874 #define FLD(f) abuf->fields.sfmt_lddfi.f
32875 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32876 const IDESC * UNUSED idesc = abuf->idesc;
32877 int cycles = 0;
32879 int referenced = 0;
32880 int UNUSED insn_referenced = abuf->written;
32881 INT in_GRi = -1;
32882 INT in_GRj = -1;
32883 INT out_FRintk = -1;
32884 INT out_FRdoublek = -1;
32885 in_GRi = FLD (in_GRi);
32886 out_FRdoublek = FLD (out_FRdoublek);
32887 referenced |= 1 << 0;
32888 referenced |= 1 << 3;
32889 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32891 return cycles;
32892 #undef FLD
32895 static int
32896 model_fr500_nlddi (SIM_CPU *current_cpu, void *sem_arg)
32898 #define FLD(f) abuf->fields.sfmt_smuli.f
32899 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32900 const IDESC * UNUSED idesc = abuf->idesc;
32901 int cycles = 0;
32903 int referenced = 0;
32904 int UNUSED insn_referenced = abuf->written;
32905 INT in_GRi = -1;
32906 INT in_GRj = -1;
32907 INT out_GRk = -1;
32908 INT out_GRdoublek = -1;
32909 in_GRi = FLD (in_GRi);
32910 out_GRdoublek = FLD (out_GRdoublek);
32911 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32912 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
32913 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32915 return cycles;
32916 #undef FLD
32919 static int
32920 model_fr500_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
32922 #define FLD(f) abuf->fields.sfmt_lddfi.f
32923 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32924 const IDESC * UNUSED idesc = abuf->idesc;
32925 int cycles = 0;
32927 int referenced = 0;
32928 int UNUSED insn_referenced = abuf->written;
32929 INT in_GRi = -1;
32930 INT in_GRj = -1;
32931 INT out_FRintk = -1;
32932 INT out_FRdoublek = -1;
32933 in_GRi = FLD (in_GRi);
32934 out_FRdoublek = FLD (out_FRdoublek);
32935 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32936 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
32937 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32939 return cycles;
32940 #undef FLD
32943 static int
32944 model_fr500_ldqi (SIM_CPU *current_cpu, void *sem_arg)
32946 #define FLD(f) abuf->fields.sfmt_stdi.f
32947 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32948 const IDESC * UNUSED idesc = abuf->idesc;
32949 int cycles = 0;
32951 int referenced = 0;
32952 int UNUSED insn_referenced = abuf->written;
32953 INT in_GRi = -1;
32954 INT in_GRj = -1;
32955 INT out_GRk = -1;
32956 INT out_GRdoublek = -1;
32957 in_GRi = FLD (in_GRi);
32958 referenced |= 1 << 0;
32959 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32961 return cycles;
32962 #undef FLD
32965 static int
32966 model_fr500_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
32968 #define FLD(f) abuf->fields.sfmt_stdfi.f
32969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32970 const IDESC * UNUSED idesc = abuf->idesc;
32971 int cycles = 0;
32973 int referenced = 0;
32974 int UNUSED insn_referenced = abuf->written;
32975 INT in_GRi = -1;
32976 INT in_GRj = -1;
32977 INT out_FRintk = -1;
32978 INT out_FRdoublek = -1;
32979 in_GRi = FLD (in_GRi);
32980 referenced |= 1 << 0;
32981 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32983 return cycles;
32984 #undef FLD
32987 static int
32988 model_fr500_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
32990 #define FLD(f) abuf->fields.sfmt_stdfi.f
32991 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32992 const IDESC * UNUSED idesc = abuf->idesc;
32993 int cycles = 0;
32995 int referenced = 0;
32996 int UNUSED insn_referenced = abuf->written;
32997 INT in_GRi = -1;
32998 INT in_GRj = -1;
32999 INT out_FRintk = -1;
33000 INT out_FRdoublek = -1;
33001 in_GRi = FLD (in_GRi);
33002 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
33003 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
33005 return cycles;
33006 #undef FLD
33009 static int
33010 model_fr500_stb (SIM_CPU *current_cpu, void *sem_arg)
33012 #define FLD(f) abuf->fields.sfmt_cswap.f
33013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33014 const IDESC * UNUSED idesc = abuf->idesc;
33015 int cycles = 0;
33017 int referenced = 0;
33018 int UNUSED insn_referenced = abuf->written;
33019 INT in_GRi = -1;
33020 INT in_GRj = -1;
33021 INT in_GRk = -1;
33022 INT in_GRdoublek = -1;
33023 in_GRi = FLD (in_GRi);
33024 in_GRj = FLD (in_GRj);
33025 in_GRk = FLD (in_GRk);
33026 referenced |= 1 << 0;
33027 referenced |= 1 << 1;
33028 referenced |= 1 << 2;
33029 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33031 return cycles;
33032 #undef FLD
33035 static int
33036 model_fr500_sth (SIM_CPU *current_cpu, void *sem_arg)
33038 #define FLD(f) abuf->fields.sfmt_cswap.f
33039 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33040 const IDESC * UNUSED idesc = abuf->idesc;
33041 int cycles = 0;
33043 int referenced = 0;
33044 int UNUSED insn_referenced = abuf->written;
33045 INT in_GRi = -1;
33046 INT in_GRj = -1;
33047 INT in_GRk = -1;
33048 INT in_GRdoublek = -1;
33049 in_GRi = FLD (in_GRi);
33050 in_GRj = FLD (in_GRj);
33051 in_GRk = FLD (in_GRk);
33052 referenced |= 1 << 0;
33053 referenced |= 1 << 1;
33054 referenced |= 1 << 2;
33055 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33057 return cycles;
33058 #undef FLD
33061 static int
33062 model_fr500_st (SIM_CPU *current_cpu, void *sem_arg)
33064 #define FLD(f) abuf->fields.sfmt_cswap.f
33065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33066 const IDESC * UNUSED idesc = abuf->idesc;
33067 int cycles = 0;
33069 int referenced = 0;
33070 int UNUSED insn_referenced = abuf->written;
33071 INT in_GRi = -1;
33072 INT in_GRj = -1;
33073 INT in_GRk = -1;
33074 INT in_GRdoublek = -1;
33075 in_GRi = FLD (in_GRi);
33076 in_GRj = FLD (in_GRj);
33077 in_GRk = FLD (in_GRk);
33078 referenced |= 1 << 0;
33079 referenced |= 1 << 1;
33080 referenced |= 1 << 2;
33081 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33083 return cycles;
33084 #undef FLD
33087 static int
33088 model_fr500_stbf (SIM_CPU *current_cpu, void *sem_arg)
33090 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33091 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33092 const IDESC * UNUSED idesc = abuf->idesc;
33093 int cycles = 0;
33095 int referenced = 0;
33096 int UNUSED insn_referenced = abuf->written;
33097 INT in_GRi = -1;
33098 INT in_GRj = -1;
33099 INT in_FRintk = -1;
33100 INT in_FRdoublek = -1;
33101 in_GRi = FLD (in_GRi);
33102 in_GRj = FLD (in_GRj);
33103 in_FRintk = FLD (in_FRintk);
33104 referenced |= 1 << 0;
33105 referenced |= 1 << 1;
33106 referenced |= 1 << 2;
33107 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33109 return cycles;
33110 #undef FLD
33113 static int
33114 model_fr500_sthf (SIM_CPU *current_cpu, void *sem_arg)
33116 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33118 const IDESC * UNUSED idesc = abuf->idesc;
33119 int cycles = 0;
33121 int referenced = 0;
33122 int UNUSED insn_referenced = abuf->written;
33123 INT in_GRi = -1;
33124 INT in_GRj = -1;
33125 INT in_FRintk = -1;
33126 INT in_FRdoublek = -1;
33127 in_GRi = FLD (in_GRi);
33128 in_GRj = FLD (in_GRj);
33129 in_FRintk = FLD (in_FRintk);
33130 referenced |= 1 << 0;
33131 referenced |= 1 << 1;
33132 referenced |= 1 << 2;
33133 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33135 return cycles;
33136 #undef FLD
33139 static int
33140 model_fr500_stf (SIM_CPU *current_cpu, void *sem_arg)
33142 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33143 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33144 const IDESC * UNUSED idesc = abuf->idesc;
33145 int cycles = 0;
33147 int referenced = 0;
33148 int UNUSED insn_referenced = abuf->written;
33149 INT in_GRi = -1;
33150 INT in_GRj = -1;
33151 INT in_FRintk = -1;
33152 INT in_FRdoublek = -1;
33153 in_GRi = FLD (in_GRi);
33154 in_GRj = FLD (in_GRj);
33155 in_FRintk = FLD (in_FRintk);
33156 referenced |= 1 << 0;
33157 referenced |= 1 << 1;
33158 referenced |= 1 << 2;
33159 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33161 return cycles;
33162 #undef FLD
33165 static int
33166 model_fr500_stc (SIM_CPU *current_cpu, void *sem_arg)
33168 #define FLD(f) abuf->fields.sfmt_stcu.f
33169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33170 const IDESC * UNUSED idesc = abuf->idesc;
33171 int cycles = 0;
33173 int referenced = 0;
33174 int UNUSED insn_referenced = abuf->written;
33175 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33177 return cycles;
33178 #undef FLD
33181 static int
33182 model_fr500_std (SIM_CPU *current_cpu, void *sem_arg)
33184 #define FLD(f) abuf->fields.sfmt_cstdu.f
33185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33186 const IDESC * UNUSED idesc = abuf->idesc;
33187 int cycles = 0;
33189 int referenced = 0;
33190 int UNUSED insn_referenced = abuf->written;
33191 INT in_GRi = -1;
33192 INT in_GRj = -1;
33193 INT in_GRk = -1;
33194 INT in_GRdoublek = -1;
33195 in_GRi = FLD (in_GRi);
33196 in_GRj = FLD (in_GRj);
33197 in_GRdoublek = FLD (in_GRdoublek);
33198 referenced |= 1 << 0;
33199 referenced |= 1 << 1;
33200 referenced |= 1 << 3;
33201 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33203 return cycles;
33204 #undef FLD
33207 static int
33208 model_fr500_stdf (SIM_CPU *current_cpu, void *sem_arg)
33210 #define FLD(f) abuf->fields.sfmt_cstdfu.f
33211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33212 const IDESC * UNUSED idesc = abuf->idesc;
33213 int cycles = 0;
33215 int referenced = 0;
33216 int UNUSED insn_referenced = abuf->written;
33217 INT in_GRi = -1;
33218 INT in_GRj = -1;
33219 INT in_FRintk = -1;
33220 INT in_FRdoublek = -1;
33221 in_GRi = FLD (in_GRi);
33222 in_GRj = FLD (in_GRj);
33223 in_FRdoublek = FLD (in_FRdoublek);
33224 referenced |= 1 << 0;
33225 referenced |= 1 << 1;
33226 referenced |= 1 << 3;
33227 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33229 return cycles;
33230 #undef FLD
33233 static int
33234 model_fr500_stdc (SIM_CPU *current_cpu, void *sem_arg)
33236 #define FLD(f) abuf->fields.sfmt_stdcu.f
33237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33238 const IDESC * UNUSED idesc = abuf->idesc;
33239 int cycles = 0;
33241 int referenced = 0;
33242 int UNUSED insn_referenced = abuf->written;
33243 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33245 return cycles;
33246 #undef FLD
33249 static int
33250 model_fr500_stq (SIM_CPU *current_cpu, void *sem_arg)
33252 #define FLD(f) abuf->fields.sfmt_smulcc.f
33253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33254 const IDESC * UNUSED idesc = abuf->idesc;
33255 int cycles = 0;
33257 int referenced = 0;
33258 int UNUSED insn_referenced = abuf->written;
33259 INT in_GRi = -1;
33260 INT in_GRj = -1;
33261 INT in_GRk = -1;
33262 INT in_GRdoublek = -1;
33263 in_GRi = FLD (in_GRi);
33264 in_GRj = FLD (in_GRj);
33265 referenced |= 1 << 0;
33266 referenced |= 1 << 1;
33267 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33269 return cycles;
33270 #undef FLD
33273 static int
33274 model_fr500_stqf (SIM_CPU *current_cpu, void *sem_arg)
33276 #define FLD(f) abuf->fields.sfmt_cstdfu.f
33277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33278 const IDESC * UNUSED idesc = abuf->idesc;
33279 int cycles = 0;
33281 int referenced = 0;
33282 int UNUSED insn_referenced = abuf->written;
33283 INT in_GRi = -1;
33284 INT in_GRj = -1;
33285 INT in_FRintk = -1;
33286 INT in_FRdoublek = -1;
33287 in_GRi = FLD (in_GRi);
33288 in_GRj = FLD (in_GRj);
33289 referenced |= 1 << 0;
33290 referenced |= 1 << 1;
33291 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33293 return cycles;
33294 #undef FLD
33297 static int
33298 model_fr500_stqc (SIM_CPU *current_cpu, void *sem_arg)
33300 #define FLD(f) abuf->fields.sfmt_stdcu.f
33301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33302 const IDESC * UNUSED idesc = abuf->idesc;
33303 int cycles = 0;
33305 int referenced = 0;
33306 int UNUSED insn_referenced = abuf->written;
33307 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33309 return cycles;
33310 #undef FLD
33313 static int
33314 model_fr500_stbu (SIM_CPU *current_cpu, void *sem_arg)
33316 #define FLD(f) abuf->fields.sfmt_cstbu.f
33317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33318 const IDESC * UNUSED idesc = abuf->idesc;
33319 int cycles = 0;
33321 int referenced = 0;
33322 int UNUSED insn_referenced = abuf->written;
33323 INT in_GRi = -1;
33324 INT in_GRj = -1;
33325 INT in_GRk = -1;
33326 INT in_GRdoublek = -1;
33327 in_GRi = FLD (in_GRi);
33328 in_GRj = FLD (in_GRj);
33329 in_GRk = FLD (in_GRk);
33330 referenced |= 1 << 0;
33331 referenced |= 1 << 1;
33332 referenced |= 1 << 2;
33333 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33335 return cycles;
33336 #undef FLD
33339 static int
33340 model_fr500_sthu (SIM_CPU *current_cpu, void *sem_arg)
33342 #define FLD(f) abuf->fields.sfmt_cstbu.f
33343 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33344 const IDESC * UNUSED idesc = abuf->idesc;
33345 int cycles = 0;
33347 int referenced = 0;
33348 int UNUSED insn_referenced = abuf->written;
33349 INT in_GRi = -1;
33350 INT in_GRj = -1;
33351 INT in_GRk = -1;
33352 INT in_GRdoublek = -1;
33353 in_GRi = FLD (in_GRi);
33354 in_GRj = FLD (in_GRj);
33355 in_GRk = FLD (in_GRk);
33356 referenced |= 1 << 0;
33357 referenced |= 1 << 1;
33358 referenced |= 1 << 2;
33359 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33361 return cycles;
33362 #undef FLD
33365 static int
33366 model_fr500_stu (SIM_CPU *current_cpu, void *sem_arg)
33368 #define FLD(f) abuf->fields.sfmt_cstbu.f
33369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33370 const IDESC * UNUSED idesc = abuf->idesc;
33371 int cycles = 0;
33373 int referenced = 0;
33374 int UNUSED insn_referenced = abuf->written;
33375 INT in_GRi = -1;
33376 INT in_GRj = -1;
33377 INT in_GRk = -1;
33378 INT in_GRdoublek = -1;
33379 in_GRi = FLD (in_GRi);
33380 in_GRj = FLD (in_GRj);
33381 in_GRk = FLD (in_GRk);
33382 referenced |= 1 << 0;
33383 referenced |= 1 << 1;
33384 referenced |= 1 << 2;
33385 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33387 return cycles;
33388 #undef FLD
33391 static int
33392 model_fr500_stbfu (SIM_CPU *current_cpu, void *sem_arg)
33394 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33395 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33396 const IDESC * UNUSED idesc = abuf->idesc;
33397 int cycles = 0;
33399 int referenced = 0;
33400 int UNUSED insn_referenced = abuf->written;
33401 INT in_GRi = -1;
33402 INT in_GRj = -1;
33403 INT in_FRintk = -1;
33404 INT in_FRdoublek = -1;
33405 in_GRi = FLD (in_GRi);
33406 in_GRj = FLD (in_GRj);
33407 in_FRintk = FLD (in_FRintk);
33408 referenced |= 1 << 0;
33409 referenced |= 1 << 1;
33410 referenced |= 1 << 2;
33411 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33413 return cycles;
33414 #undef FLD
33417 static int
33418 model_fr500_sthfu (SIM_CPU *current_cpu, void *sem_arg)
33420 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33422 const IDESC * UNUSED idesc = abuf->idesc;
33423 int cycles = 0;
33425 int referenced = 0;
33426 int UNUSED insn_referenced = abuf->written;
33427 INT in_GRi = -1;
33428 INT in_GRj = -1;
33429 INT in_FRintk = -1;
33430 INT in_FRdoublek = -1;
33431 in_GRi = FLD (in_GRi);
33432 in_GRj = FLD (in_GRj);
33433 in_FRintk = FLD (in_FRintk);
33434 referenced |= 1 << 0;
33435 referenced |= 1 << 1;
33436 referenced |= 1 << 2;
33437 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33439 return cycles;
33440 #undef FLD
33443 static int
33444 model_fr500_stfu (SIM_CPU *current_cpu, void *sem_arg)
33446 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33447 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33448 const IDESC * UNUSED idesc = abuf->idesc;
33449 int cycles = 0;
33451 int referenced = 0;
33452 int UNUSED insn_referenced = abuf->written;
33453 INT in_GRi = -1;
33454 INT in_GRj = -1;
33455 INT in_FRintk = -1;
33456 INT in_FRdoublek = -1;
33457 in_GRi = FLD (in_GRi);
33458 in_GRj = FLD (in_GRj);
33459 in_FRintk = FLD (in_FRintk);
33460 referenced |= 1 << 0;
33461 referenced |= 1 << 1;
33462 referenced |= 1 << 2;
33463 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33465 return cycles;
33466 #undef FLD
33469 static int
33470 model_fr500_stcu (SIM_CPU *current_cpu, void *sem_arg)
33472 #define FLD(f) abuf->fields.sfmt_stcu.f
33473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33474 const IDESC * UNUSED idesc = abuf->idesc;
33475 int cycles = 0;
33477 int referenced = 0;
33478 int UNUSED insn_referenced = abuf->written;
33479 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33481 return cycles;
33482 #undef FLD
33485 static int
33486 model_fr500_stdu (SIM_CPU *current_cpu, void *sem_arg)
33488 #define FLD(f) abuf->fields.sfmt_cstdu.f
33489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33490 const IDESC * UNUSED idesc = abuf->idesc;
33491 int cycles = 0;
33493 int referenced = 0;
33494 int UNUSED insn_referenced = abuf->written;
33495 INT in_GRi = -1;
33496 INT in_GRj = -1;
33497 INT in_GRk = -1;
33498 INT in_GRdoublek = -1;
33499 in_GRi = FLD (in_GRi);
33500 in_GRj = FLD (in_GRj);
33501 in_GRdoublek = FLD (in_GRdoublek);
33502 referenced |= 1 << 0;
33503 referenced |= 1 << 1;
33504 referenced |= 1 << 3;
33505 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33507 return cycles;
33508 #undef FLD
33511 static int
33512 model_fr500_stdfu (SIM_CPU *current_cpu, void *sem_arg)
33514 #define FLD(f) abuf->fields.sfmt_cstdfu.f
33515 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33516 const IDESC * UNUSED idesc = abuf->idesc;
33517 int cycles = 0;
33519 int referenced = 0;
33520 int UNUSED insn_referenced = abuf->written;
33521 INT in_GRi = -1;
33522 INT in_GRj = -1;
33523 INT in_FRintk = -1;
33524 INT in_FRdoublek = -1;
33525 in_GRi = FLD (in_GRi);
33526 in_GRj = FLD (in_GRj);
33527 in_FRdoublek = FLD (in_FRdoublek);
33528 referenced |= 1 << 0;
33529 referenced |= 1 << 1;
33530 referenced |= 1 << 3;
33531 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33533 return cycles;
33534 #undef FLD
33537 static int
33538 model_fr500_stdcu (SIM_CPU *current_cpu, void *sem_arg)
33540 #define FLD(f) abuf->fields.sfmt_stdcu.f
33541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33542 const IDESC * UNUSED idesc = abuf->idesc;
33543 int cycles = 0;
33545 int referenced = 0;
33546 int UNUSED insn_referenced = abuf->written;
33547 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33549 return cycles;
33550 #undef FLD
33553 static int
33554 model_fr500_stqu (SIM_CPU *current_cpu, void *sem_arg)
33556 #define FLD(f) abuf->fields.sfmt_cstdu.f
33557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33558 const IDESC * UNUSED idesc = abuf->idesc;
33559 int cycles = 0;
33561 int referenced = 0;
33562 int UNUSED insn_referenced = abuf->written;
33563 INT in_GRi = -1;
33564 INT in_GRj = -1;
33565 INT in_GRk = -1;
33566 INT in_GRdoublek = -1;
33567 in_GRi = FLD (in_GRi);
33568 in_GRj = FLD (in_GRj);
33569 referenced |= 1 << 0;
33570 referenced |= 1 << 1;
33571 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33573 return cycles;
33574 #undef FLD
33577 static int
33578 model_fr500_stqfu (SIM_CPU *current_cpu, void *sem_arg)
33580 #define FLD(f) abuf->fields.sfmt_cstdfu.f
33581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33582 const IDESC * UNUSED idesc = abuf->idesc;
33583 int cycles = 0;
33585 int referenced = 0;
33586 int UNUSED insn_referenced = abuf->written;
33587 INT in_GRi = -1;
33588 INT in_GRj = -1;
33589 INT in_FRintk = -1;
33590 INT in_FRdoublek = -1;
33591 in_GRi = FLD (in_GRi);
33592 in_GRj = FLD (in_GRj);
33593 referenced |= 1 << 0;
33594 referenced |= 1 << 1;
33595 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33597 return cycles;
33598 #undef FLD
33601 static int
33602 model_fr500_stqcu (SIM_CPU *current_cpu, void *sem_arg)
33604 #define FLD(f) abuf->fields.sfmt_stdcu.f
33605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33606 const IDESC * UNUSED idesc = abuf->idesc;
33607 int cycles = 0;
33609 int referenced = 0;
33610 int UNUSED insn_referenced = abuf->written;
33611 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33613 return cycles;
33614 #undef FLD
33617 static int
33618 model_fr500_cldsb (SIM_CPU *current_cpu, void *sem_arg)
33620 #define FLD(f) abuf->fields.sfmt_cswap.f
33621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33622 const IDESC * UNUSED idesc = abuf->idesc;
33623 int cycles = 0;
33625 int referenced = 0;
33626 int UNUSED insn_referenced = abuf->written;
33627 INT in_GRi = -1;
33628 INT in_GRj = -1;
33629 INT out_GRk = -1;
33630 INT out_GRdoublek = -1;
33631 in_GRi = FLD (in_GRi);
33632 in_GRj = FLD (in_GRj);
33633 out_GRk = FLD (out_GRk);
33634 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33635 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33636 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33637 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33639 return cycles;
33640 #undef FLD
33643 static int
33644 model_fr500_cldub (SIM_CPU *current_cpu, void *sem_arg)
33646 #define FLD(f) abuf->fields.sfmt_cswap.f
33647 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33648 const IDESC * UNUSED idesc = abuf->idesc;
33649 int cycles = 0;
33651 int referenced = 0;
33652 int UNUSED insn_referenced = abuf->written;
33653 INT in_GRi = -1;
33654 INT in_GRj = -1;
33655 INT out_GRk = -1;
33656 INT out_GRdoublek = -1;
33657 in_GRi = FLD (in_GRi);
33658 in_GRj = FLD (in_GRj);
33659 out_GRk = FLD (out_GRk);
33660 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33661 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33662 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33663 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33665 return cycles;
33666 #undef FLD
33669 static int
33670 model_fr500_cldsh (SIM_CPU *current_cpu, void *sem_arg)
33672 #define FLD(f) abuf->fields.sfmt_cswap.f
33673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33674 const IDESC * UNUSED idesc = abuf->idesc;
33675 int cycles = 0;
33677 int referenced = 0;
33678 int UNUSED insn_referenced = abuf->written;
33679 INT in_GRi = -1;
33680 INT in_GRj = -1;
33681 INT out_GRk = -1;
33682 INT out_GRdoublek = -1;
33683 in_GRi = FLD (in_GRi);
33684 in_GRj = FLD (in_GRj);
33685 out_GRk = FLD (out_GRk);
33686 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33687 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33688 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33689 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33691 return cycles;
33692 #undef FLD
33695 static int
33696 model_fr500_clduh (SIM_CPU *current_cpu, void *sem_arg)
33698 #define FLD(f) abuf->fields.sfmt_cswap.f
33699 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33700 const IDESC * UNUSED idesc = abuf->idesc;
33701 int cycles = 0;
33703 int referenced = 0;
33704 int UNUSED insn_referenced = abuf->written;
33705 INT in_GRi = -1;
33706 INT in_GRj = -1;
33707 INT out_GRk = -1;
33708 INT out_GRdoublek = -1;
33709 in_GRi = FLD (in_GRi);
33710 in_GRj = FLD (in_GRj);
33711 out_GRk = FLD (out_GRk);
33712 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33713 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33714 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33715 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33717 return cycles;
33718 #undef FLD
33721 static int
33722 model_fr500_cld (SIM_CPU *current_cpu, void *sem_arg)
33724 #define FLD(f) abuf->fields.sfmt_cswap.f
33725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33726 const IDESC * UNUSED idesc = abuf->idesc;
33727 int cycles = 0;
33729 int referenced = 0;
33730 int UNUSED insn_referenced = abuf->written;
33731 INT in_GRi = -1;
33732 INT in_GRj = -1;
33733 INT out_GRk = -1;
33734 INT out_GRdoublek = -1;
33735 in_GRi = FLD (in_GRi);
33736 in_GRj = FLD (in_GRj);
33737 out_GRk = FLD (out_GRk);
33738 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33739 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33740 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33741 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33743 return cycles;
33744 #undef FLD
33747 static int
33748 model_fr500_cldbf (SIM_CPU *current_cpu, void *sem_arg)
33750 #define FLD(f) abuf->fields.sfmt_cldbfu.f
33751 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33752 const IDESC * UNUSED idesc = abuf->idesc;
33753 int cycles = 0;
33755 int referenced = 0;
33756 int UNUSED insn_referenced = abuf->written;
33757 INT in_GRi = -1;
33758 INT in_GRj = -1;
33759 INT out_FRintk = -1;
33760 INT out_FRdoublek = -1;
33761 in_GRi = FLD (in_GRi);
33762 in_GRj = FLD (in_GRj);
33763 out_FRintk = FLD (out_FRintk);
33764 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33765 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33766 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33767 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
33769 return cycles;
33770 #undef FLD
33773 static int
33774 model_fr500_cldhf (SIM_CPU *current_cpu, void *sem_arg)
33776 #define FLD(f) abuf->fields.sfmt_cldbfu.f
33777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33778 const IDESC * UNUSED idesc = abuf->idesc;
33779 int cycles = 0;
33781 int referenced = 0;
33782 int UNUSED insn_referenced = abuf->written;
33783 INT in_GRi = -1;
33784 INT in_GRj = -1;
33785 INT out_FRintk = -1;
33786 INT out_FRdoublek = -1;
33787 in_GRi = FLD (in_GRi);
33788 in_GRj = FLD (in_GRj);
33789 out_FRintk = FLD (out_FRintk);
33790 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33791 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33792 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33793 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
33795 return cycles;
33796 #undef FLD
33799 static int
33800 model_fr500_cldf (SIM_CPU *current_cpu, void *sem_arg)
33802 #define FLD(f) abuf->fields.sfmt_cldbfu.f
33803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33804 const IDESC * UNUSED idesc = abuf->idesc;
33805 int cycles = 0;
33807 int referenced = 0;
33808 int UNUSED insn_referenced = abuf->written;
33809 INT in_GRi = -1;
33810 INT in_GRj = -1;
33811 INT out_FRintk = -1;
33812 INT out_FRdoublek = -1;
33813 in_GRi = FLD (in_GRi);
33814 in_GRj = FLD (in_GRj);
33815 out_FRintk = FLD (out_FRintk);
33816 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33817 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33818 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33819 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
33821 return cycles;
33822 #undef FLD
33825 static int
33826 model_fr500_cldd (SIM_CPU *current_cpu, void *sem_arg)
33828 #define FLD(f) abuf->fields.sfmt_clddu.f
33829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33830 const IDESC * UNUSED idesc = abuf->idesc;
33831 int cycles = 0;
33833 int referenced = 0;
33834 int UNUSED insn_referenced = abuf->written;
33835 INT in_GRi = -1;
33836 INT in_GRj = -1;
33837 INT out_GRk = -1;
33838 INT out_GRdoublek = -1;
33839 in_GRi = FLD (in_GRi);
33840 in_GRj = FLD (in_GRj);
33841 out_GRdoublek = FLD (out_GRdoublek);
33842 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33843 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33844 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
33845 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33847 return cycles;
33848 #undef FLD
33851 static int
33852 model_fr500_clddf (SIM_CPU *current_cpu, void *sem_arg)
33854 #define FLD(f) abuf->fields.sfmt_clddfu.f
33855 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33856 const IDESC * UNUSED idesc = abuf->idesc;
33857 int cycles = 0;
33859 int referenced = 0;
33860 int UNUSED insn_referenced = abuf->written;
33861 INT in_GRi = -1;
33862 INT in_GRj = -1;
33863 INT out_GRk = -1;
33864 INT out_GRdoublek = -1;
33865 in_GRi = FLD (in_GRi);
33866 in_GRj = FLD (in_GRj);
33867 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33868 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33869 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33871 return cycles;
33872 #undef FLD
33875 static int
33876 model_fr500_cldq (SIM_CPU *current_cpu, void *sem_arg)
33878 #define FLD(f) abuf->fields.sfmt_cswap.f
33879 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33880 const IDESC * UNUSED idesc = abuf->idesc;
33881 int cycles = 0;
33883 int referenced = 0;
33884 int UNUSED insn_referenced = abuf->written;
33885 INT in_GRi = -1;
33886 INT in_GRj = -1;
33887 INT out_GRk = -1;
33888 INT out_GRdoublek = -1;
33889 in_GRi = FLD (in_GRi);
33890 in_GRj = FLD (in_GRj);
33891 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33892 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33893 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33895 return cycles;
33896 #undef FLD
33899 static int
33900 model_fr500_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
33902 #define FLD(f) abuf->fields.sfmt_cldsbu.f
33903 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33904 const IDESC * UNUSED idesc = abuf->idesc;
33905 int cycles = 0;
33907 int referenced = 0;
33908 int UNUSED insn_referenced = abuf->written;
33909 INT in_GRi = -1;
33910 INT in_GRj = -1;
33911 INT out_GRk = -1;
33912 INT out_GRdoublek = -1;
33913 in_GRi = FLD (in_GRi);
33914 in_GRj = FLD (in_GRj);
33915 out_GRk = FLD (out_GRk);
33916 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33917 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33918 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
33919 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33921 return cycles;
33922 #undef FLD
33925 static int
33926 model_fr500_cldubu (SIM_CPU *current_cpu, void *sem_arg)
33928 #define FLD(f) abuf->fields.sfmt_cldsbu.f
33929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33930 const IDESC * UNUSED idesc = abuf->idesc;
33931 int cycles = 0;
33933 int referenced = 0;
33934 int UNUSED insn_referenced = abuf->written;
33935 INT in_GRi = -1;
33936 INT in_GRj = -1;
33937 INT out_GRk = -1;
33938 INT out_GRdoublek = -1;
33939 in_GRi = FLD (in_GRi);
33940 in_GRj = FLD (in_GRj);
33941 out_GRk = FLD (out_GRk);
33942 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33943 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33944 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
33945 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33947 return cycles;
33948 #undef FLD
33951 static int
33952 model_fr500_cldshu (SIM_CPU *current_cpu, void *sem_arg)
33954 #define FLD(f) abuf->fields.sfmt_cldsbu.f
33955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33956 const IDESC * UNUSED idesc = abuf->idesc;
33957 int cycles = 0;
33959 int referenced = 0;
33960 int UNUSED insn_referenced = abuf->written;
33961 INT in_GRi = -1;
33962 INT in_GRj = -1;
33963 INT out_GRk = -1;
33964 INT out_GRdoublek = -1;
33965 in_GRi = FLD (in_GRi);
33966 in_GRj = FLD (in_GRj);
33967 out_GRk = FLD (out_GRk);
33968 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33969 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33970 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
33971 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33973 return cycles;
33974 #undef FLD
33977 static int
33978 model_fr500_clduhu (SIM_CPU *current_cpu, void *sem_arg)
33980 #define FLD(f) abuf->fields.sfmt_cldsbu.f
33981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33982 const IDESC * UNUSED idesc = abuf->idesc;
33983 int cycles = 0;
33985 int referenced = 0;
33986 int UNUSED insn_referenced = abuf->written;
33987 INT in_GRi = -1;
33988 INT in_GRj = -1;
33989 INT out_GRk = -1;
33990 INT out_GRdoublek = -1;
33991 in_GRi = FLD (in_GRi);
33992 in_GRj = FLD (in_GRj);
33993 out_GRk = FLD (out_GRk);
33994 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33995 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33996 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
33997 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33999 return cycles;
34000 #undef FLD
34003 static int
34004 model_fr500_cldu (SIM_CPU *current_cpu, void *sem_arg)
34006 #define FLD(f) abuf->fields.sfmt_cldsbu.f
34007 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34008 const IDESC * UNUSED idesc = abuf->idesc;
34009 int cycles = 0;
34011 int referenced = 0;
34012 int UNUSED insn_referenced = abuf->written;
34013 INT in_GRi = -1;
34014 INT in_GRj = -1;
34015 INT out_GRk = -1;
34016 INT out_GRdoublek = -1;
34017 in_GRi = FLD (in_GRi);
34018 in_GRj = FLD (in_GRj);
34019 out_GRk = FLD (out_GRk);
34020 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34021 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34022 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
34023 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
34025 return cycles;
34026 #undef FLD
34029 static int
34030 model_fr500_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
34032 #define FLD(f) abuf->fields.sfmt_cldbfu.f
34033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34034 const IDESC * UNUSED idesc = abuf->idesc;
34035 int cycles = 0;
34037 int referenced = 0;
34038 int UNUSED insn_referenced = abuf->written;
34039 INT in_GRi = -1;
34040 INT in_GRj = -1;
34041 INT out_FRintk = -1;
34042 INT out_FRdoublek = -1;
34043 in_GRi = FLD (in_GRi);
34044 in_GRj = FLD (in_GRj);
34045 out_FRintk = FLD (out_FRintk);
34046 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34047 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34048 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
34049 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
34051 return cycles;
34052 #undef FLD
34055 static int
34056 model_fr500_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
34058 #define FLD(f) abuf->fields.sfmt_cldbfu.f
34059 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34060 const IDESC * UNUSED idesc = abuf->idesc;
34061 int cycles = 0;
34063 int referenced = 0;
34064 int UNUSED insn_referenced = abuf->written;
34065 INT in_GRi = -1;
34066 INT in_GRj = -1;
34067 INT out_FRintk = -1;
34068 INT out_FRdoublek = -1;
34069 in_GRi = FLD (in_GRi);
34070 in_GRj = FLD (in_GRj);
34071 out_FRintk = FLD (out_FRintk);
34072 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34073 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34074 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
34075 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
34077 return cycles;
34078 #undef FLD
34081 static int
34082 model_fr500_cldfu (SIM_CPU *current_cpu, void *sem_arg)
34084 #define FLD(f) abuf->fields.sfmt_cldbfu.f
34085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34086 const IDESC * UNUSED idesc = abuf->idesc;
34087 int cycles = 0;
34089 int referenced = 0;
34090 int UNUSED insn_referenced = abuf->written;
34091 INT in_GRi = -1;
34092 INT in_GRj = -1;
34093 INT out_FRintk = -1;
34094 INT out_FRdoublek = -1;
34095 in_GRi = FLD (in_GRi);
34096 in_GRj = FLD (in_GRj);
34097 out_FRintk = FLD (out_FRintk);
34098 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34099 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34100 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
34101 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
34103 return cycles;
34104 #undef FLD
34107 static int
34108 model_fr500_clddu (SIM_CPU *current_cpu, void *sem_arg)
34110 #define FLD(f) abuf->fields.sfmt_clddu.f
34111 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34112 const IDESC * UNUSED idesc = abuf->idesc;
34113 int cycles = 0;
34115 int referenced = 0;
34116 int UNUSED insn_referenced = abuf->written;
34117 INT in_GRi = -1;
34118 INT in_GRj = -1;
34119 INT out_GRk = -1;
34120 INT out_GRdoublek = -1;
34121 in_GRi = FLD (in_GRi);
34122 in_GRj = FLD (in_GRj);
34123 out_GRdoublek = FLD (out_GRdoublek);
34124 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34125 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34126 if (insn_referenced & (1 << 7)) referenced |= 1 << 3;
34127 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
34129 return cycles;
34130 #undef FLD
34133 static int
34134 model_fr500_clddfu (SIM_CPU *current_cpu, void *sem_arg)
34136 #define FLD(f) abuf->fields.sfmt_clddfu.f
34137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34138 const IDESC * UNUSED idesc = abuf->idesc;
34139 int cycles = 0;
34141 int referenced = 0;
34142 int UNUSED insn_referenced = abuf->written;
34143 INT in_GRi = -1;
34144 INT in_GRj = -1;
34145 INT out_FRintk = -1;
34146 INT out_FRdoublek = -1;
34147 in_GRi = FLD (in_GRi);
34148 in_GRj = FLD (in_GRj);
34149 out_FRdoublek = FLD (out_FRdoublek);
34150 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34151 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34152 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
34153 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
34155 return cycles;
34156 #undef FLD
34159 static int
34160 model_fr500_cldqu (SIM_CPU *current_cpu, void *sem_arg)
34162 #define FLD(f) abuf->fields.sfmt_cstdu.f
34163 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34164 const IDESC * UNUSED idesc = abuf->idesc;
34165 int cycles = 0;
34167 int referenced = 0;
34168 int UNUSED insn_referenced = abuf->written;
34169 INT in_GRi = -1;
34170 INT in_GRj = -1;
34171 INT out_GRk = -1;
34172 INT out_GRdoublek = -1;
34173 in_GRi = FLD (in_GRi);
34174 in_GRj = FLD (in_GRj);
34175 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34176 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34177 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
34179 return cycles;
34180 #undef FLD
34183 static int
34184 model_fr500_cstb (SIM_CPU *current_cpu, void *sem_arg)
34186 #define FLD(f) abuf->fields.sfmt_cswap.f
34187 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34188 const IDESC * UNUSED idesc = abuf->idesc;
34189 int cycles = 0;
34191 int referenced = 0;
34192 int UNUSED insn_referenced = abuf->written;
34193 INT in_GRi = -1;
34194 INT in_GRj = -1;
34195 INT in_GRk = -1;
34196 INT in_GRdoublek = -1;
34197 in_GRi = FLD (in_GRi);
34198 in_GRj = FLD (in_GRj);
34199 in_GRk = FLD (in_GRk);
34200 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34201 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34202 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34203 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34205 return cycles;
34206 #undef FLD
34209 static int
34210 model_fr500_csth (SIM_CPU *current_cpu, void *sem_arg)
34212 #define FLD(f) abuf->fields.sfmt_cswap.f
34213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34214 const IDESC * UNUSED idesc = abuf->idesc;
34215 int cycles = 0;
34217 int referenced = 0;
34218 int UNUSED insn_referenced = abuf->written;
34219 INT in_GRi = -1;
34220 INT in_GRj = -1;
34221 INT in_GRk = -1;
34222 INT in_GRdoublek = -1;
34223 in_GRi = FLD (in_GRi);
34224 in_GRj = FLD (in_GRj);
34225 in_GRk = FLD (in_GRk);
34226 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34227 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34228 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34229 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34231 return cycles;
34232 #undef FLD
34235 static int
34236 model_fr500_cst (SIM_CPU *current_cpu, void *sem_arg)
34238 #define FLD(f) abuf->fields.sfmt_cswap.f
34239 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34240 const IDESC * UNUSED idesc = abuf->idesc;
34241 int cycles = 0;
34243 int referenced = 0;
34244 int UNUSED insn_referenced = abuf->written;
34245 INT in_GRi = -1;
34246 INT in_GRj = -1;
34247 INT in_GRk = -1;
34248 INT in_GRdoublek = -1;
34249 in_GRi = FLD (in_GRi);
34250 in_GRj = FLD (in_GRj);
34251 in_GRk = FLD (in_GRk);
34252 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34253 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34254 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34255 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34257 return cycles;
34258 #undef FLD
34261 static int
34262 model_fr500_cstbf (SIM_CPU *current_cpu, void *sem_arg)
34264 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34266 const IDESC * UNUSED idesc = abuf->idesc;
34267 int cycles = 0;
34269 int referenced = 0;
34270 int UNUSED insn_referenced = abuf->written;
34271 INT in_GRi = -1;
34272 INT in_GRj = -1;
34273 INT in_FRintk = -1;
34274 INT in_FRdoublek = -1;
34275 in_GRi = FLD (in_GRi);
34276 in_GRj = FLD (in_GRj);
34277 in_FRintk = FLD (in_FRintk);
34278 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34279 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34280 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34281 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34283 return cycles;
34284 #undef FLD
34287 static int
34288 model_fr500_csthf (SIM_CPU *current_cpu, void *sem_arg)
34290 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34291 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34292 const IDESC * UNUSED idesc = abuf->idesc;
34293 int cycles = 0;
34295 int referenced = 0;
34296 int UNUSED insn_referenced = abuf->written;
34297 INT in_GRi = -1;
34298 INT in_GRj = -1;
34299 INT in_FRintk = -1;
34300 INT in_FRdoublek = -1;
34301 in_GRi = FLD (in_GRi);
34302 in_GRj = FLD (in_GRj);
34303 in_FRintk = FLD (in_FRintk);
34304 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34305 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34306 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34307 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34309 return cycles;
34310 #undef FLD
34313 static int
34314 model_fr500_cstf (SIM_CPU *current_cpu, void *sem_arg)
34316 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34318 const IDESC * UNUSED idesc = abuf->idesc;
34319 int cycles = 0;
34321 int referenced = 0;
34322 int UNUSED insn_referenced = abuf->written;
34323 INT in_GRi = -1;
34324 INT in_GRj = -1;
34325 INT in_FRintk = -1;
34326 INT in_FRdoublek = -1;
34327 in_GRi = FLD (in_GRi);
34328 in_GRj = FLD (in_GRj);
34329 in_FRintk = FLD (in_FRintk);
34330 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34331 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34332 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34333 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34335 return cycles;
34336 #undef FLD
34339 static int
34340 model_fr500_cstd (SIM_CPU *current_cpu, void *sem_arg)
34342 #define FLD(f) abuf->fields.sfmt_cstdu.f
34343 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34344 const IDESC * UNUSED idesc = abuf->idesc;
34345 int cycles = 0;
34347 int referenced = 0;
34348 int UNUSED insn_referenced = abuf->written;
34349 INT in_GRi = -1;
34350 INT in_GRj = -1;
34351 INT in_GRk = -1;
34352 INT in_GRdoublek = -1;
34353 in_GRi = FLD (in_GRi);
34354 in_GRj = FLD (in_GRj);
34355 in_GRdoublek = FLD (in_GRdoublek);
34356 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34357 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34358 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
34359 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34361 return cycles;
34362 #undef FLD
34365 static int
34366 model_fr500_cstdf (SIM_CPU *current_cpu, void *sem_arg)
34368 #define FLD(f) abuf->fields.sfmt_cstdfu.f
34369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34370 const IDESC * UNUSED idesc = abuf->idesc;
34371 int cycles = 0;
34373 int referenced = 0;
34374 int UNUSED insn_referenced = abuf->written;
34375 INT in_GRi = -1;
34376 INT in_GRj = -1;
34377 INT in_FRintk = -1;
34378 INT in_FRdoublek = -1;
34379 in_GRi = FLD (in_GRi);
34380 in_GRj = FLD (in_GRj);
34381 in_FRdoublek = FLD (in_FRdoublek);
34382 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34383 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34384 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
34385 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34387 return cycles;
34388 #undef FLD
34391 static int
34392 model_fr500_cstq (SIM_CPU *current_cpu, void *sem_arg)
34394 #define FLD(f) abuf->fields.sfmt_cswap.f
34395 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34396 const IDESC * UNUSED idesc = abuf->idesc;
34397 int cycles = 0;
34399 int referenced = 0;
34400 int UNUSED insn_referenced = abuf->written;
34401 INT in_GRi = -1;
34402 INT in_GRj = -1;
34403 INT in_GRk = -1;
34404 INT in_GRdoublek = -1;
34405 in_GRi = FLD (in_GRi);
34406 in_GRj = FLD (in_GRj);
34407 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34408 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34409 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34411 return cycles;
34412 #undef FLD
34415 static int
34416 model_fr500_cstbu (SIM_CPU *current_cpu, void *sem_arg)
34418 #define FLD(f) abuf->fields.sfmt_cstbu.f
34419 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34420 const IDESC * UNUSED idesc = abuf->idesc;
34421 int cycles = 0;
34423 int referenced = 0;
34424 int UNUSED insn_referenced = abuf->written;
34425 INT in_GRi = -1;
34426 INT in_GRj = -1;
34427 INT in_GRk = -1;
34428 INT in_GRdoublek = -1;
34429 in_GRi = FLD (in_GRi);
34430 in_GRj = FLD (in_GRj);
34431 in_GRk = FLD (in_GRk);
34432 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34433 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34434 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34435 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34437 return cycles;
34438 #undef FLD
34441 static int
34442 model_fr500_csthu (SIM_CPU *current_cpu, void *sem_arg)
34444 #define FLD(f) abuf->fields.sfmt_cstbu.f
34445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34446 const IDESC * UNUSED idesc = abuf->idesc;
34447 int cycles = 0;
34449 int referenced = 0;
34450 int UNUSED insn_referenced = abuf->written;
34451 INT in_GRi = -1;
34452 INT in_GRj = -1;
34453 INT in_GRk = -1;
34454 INT in_GRdoublek = -1;
34455 in_GRi = FLD (in_GRi);
34456 in_GRj = FLD (in_GRj);
34457 in_GRk = FLD (in_GRk);
34458 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34459 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34460 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34461 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34463 return cycles;
34464 #undef FLD
34467 static int
34468 model_fr500_cstu (SIM_CPU *current_cpu, void *sem_arg)
34470 #define FLD(f) abuf->fields.sfmt_cstbu.f
34471 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34472 const IDESC * UNUSED idesc = abuf->idesc;
34473 int cycles = 0;
34475 int referenced = 0;
34476 int UNUSED insn_referenced = abuf->written;
34477 INT in_GRi = -1;
34478 INT in_GRj = -1;
34479 INT in_GRk = -1;
34480 INT in_GRdoublek = -1;
34481 in_GRi = FLD (in_GRi);
34482 in_GRj = FLD (in_GRj);
34483 in_GRk = FLD (in_GRk);
34484 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34485 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34486 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34487 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34489 return cycles;
34490 #undef FLD
34493 static int
34494 model_fr500_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
34496 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34498 const IDESC * UNUSED idesc = abuf->idesc;
34499 int cycles = 0;
34501 int referenced = 0;
34502 int UNUSED insn_referenced = abuf->written;
34503 INT in_GRi = -1;
34504 INT in_GRj = -1;
34505 INT in_FRintk = -1;
34506 INT in_FRdoublek = -1;
34507 in_GRi = FLD (in_GRi);
34508 in_GRj = FLD (in_GRj);
34509 in_FRintk = FLD (in_FRintk);
34510 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34511 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34512 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34513 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34515 return cycles;
34516 #undef FLD
34519 static int
34520 model_fr500_csthfu (SIM_CPU *current_cpu, void *sem_arg)
34522 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34524 const IDESC * UNUSED idesc = abuf->idesc;
34525 int cycles = 0;
34527 int referenced = 0;
34528 int UNUSED insn_referenced = abuf->written;
34529 INT in_GRi = -1;
34530 INT in_GRj = -1;
34531 INT in_FRintk = -1;
34532 INT in_FRdoublek = -1;
34533 in_GRi = FLD (in_GRi);
34534 in_GRj = FLD (in_GRj);
34535 in_FRintk = FLD (in_FRintk);
34536 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34537 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34538 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34539 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34541 return cycles;
34542 #undef FLD
34545 static int
34546 model_fr500_cstfu (SIM_CPU *current_cpu, void *sem_arg)
34548 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34550 const IDESC * UNUSED idesc = abuf->idesc;
34551 int cycles = 0;
34553 int referenced = 0;
34554 int UNUSED insn_referenced = abuf->written;
34555 INT in_GRi = -1;
34556 INT in_GRj = -1;
34557 INT in_FRintk = -1;
34558 INT in_FRdoublek = -1;
34559 in_GRi = FLD (in_GRi);
34560 in_GRj = FLD (in_GRj);
34561 in_FRintk = FLD (in_FRintk);
34562 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34563 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34564 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34565 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34567 return cycles;
34568 #undef FLD
34571 static int
34572 model_fr500_cstdu (SIM_CPU *current_cpu, void *sem_arg)
34574 #define FLD(f) abuf->fields.sfmt_cstdu.f
34575 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34576 const IDESC * UNUSED idesc = abuf->idesc;
34577 int cycles = 0;
34579 int referenced = 0;
34580 int UNUSED insn_referenced = abuf->written;
34581 INT in_GRi = -1;
34582 INT in_GRj = -1;
34583 INT in_GRk = -1;
34584 INT in_GRdoublek = -1;
34585 in_GRi = FLD (in_GRi);
34586 in_GRj = FLD (in_GRj);
34587 in_GRdoublek = FLD (in_GRdoublek);
34588 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34589 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34590 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
34591 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34593 return cycles;
34594 #undef FLD
34597 static int
34598 model_fr500_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
34600 #define FLD(f) abuf->fields.sfmt_cstdfu.f
34601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34602 const IDESC * UNUSED idesc = abuf->idesc;
34603 int cycles = 0;
34605 int referenced = 0;
34606 int UNUSED insn_referenced = abuf->written;
34607 INT in_GRi = -1;
34608 INT in_GRj = -1;
34609 INT in_FRintk = -1;
34610 INT in_FRdoublek = -1;
34611 in_GRi = FLD (in_GRi);
34612 in_GRj = FLD (in_GRj);
34613 in_FRdoublek = FLD (in_FRdoublek);
34614 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34615 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34616 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
34617 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34619 return cycles;
34620 #undef FLD
34623 static int
34624 model_fr500_stbi (SIM_CPU *current_cpu, void *sem_arg)
34626 #define FLD(f) abuf->fields.sfmt_swapi.f
34627 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34628 const IDESC * UNUSED idesc = abuf->idesc;
34629 int cycles = 0;
34631 int referenced = 0;
34632 int UNUSED insn_referenced = abuf->written;
34633 INT in_GRi = -1;
34634 INT in_GRj = -1;
34635 INT in_GRk = -1;
34636 INT in_GRdoublek = -1;
34637 in_GRi = FLD (in_GRi);
34638 in_GRk = FLD (in_GRk);
34639 referenced |= 1 << 0;
34640 referenced |= 1 << 2;
34641 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34643 return cycles;
34644 #undef FLD
34647 static int
34648 model_fr500_sthi (SIM_CPU *current_cpu, void *sem_arg)
34650 #define FLD(f) abuf->fields.sfmt_swapi.f
34651 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34652 const IDESC * UNUSED idesc = abuf->idesc;
34653 int cycles = 0;
34655 int referenced = 0;
34656 int UNUSED insn_referenced = abuf->written;
34657 INT in_GRi = -1;
34658 INT in_GRj = -1;
34659 INT in_GRk = -1;
34660 INT in_GRdoublek = -1;
34661 in_GRi = FLD (in_GRi);
34662 in_GRk = FLD (in_GRk);
34663 referenced |= 1 << 0;
34664 referenced |= 1 << 2;
34665 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34667 return cycles;
34668 #undef FLD
34671 static int
34672 model_fr500_sti (SIM_CPU *current_cpu, void *sem_arg)
34674 #define FLD(f) abuf->fields.sfmt_swapi.f
34675 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34676 const IDESC * UNUSED idesc = abuf->idesc;
34677 int cycles = 0;
34679 int referenced = 0;
34680 int UNUSED insn_referenced = abuf->written;
34681 INT in_GRi = -1;
34682 INT in_GRj = -1;
34683 INT in_GRk = -1;
34684 INT in_GRdoublek = -1;
34685 in_GRi = FLD (in_GRi);
34686 in_GRk = FLD (in_GRk);
34687 referenced |= 1 << 0;
34688 referenced |= 1 << 2;
34689 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34691 return cycles;
34692 #undef FLD
34695 static int
34696 model_fr500_stbfi (SIM_CPU *current_cpu, void *sem_arg)
34698 #define FLD(f) abuf->fields.sfmt_stbfi.f
34699 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34700 const IDESC * UNUSED idesc = abuf->idesc;
34701 int cycles = 0;
34703 int referenced = 0;
34704 int UNUSED insn_referenced = abuf->written;
34705 INT in_GRi = -1;
34706 INT in_GRj = -1;
34707 INT in_FRintk = -1;
34708 INT in_FRdoublek = -1;
34709 in_GRi = FLD (in_GRi);
34710 in_FRintk = FLD (in_FRintk);
34711 referenced |= 1 << 0;
34712 referenced |= 1 << 2;
34713 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34715 return cycles;
34716 #undef FLD
34719 static int
34720 model_fr500_sthfi (SIM_CPU *current_cpu, void *sem_arg)
34722 #define FLD(f) abuf->fields.sfmt_stbfi.f
34723 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34724 const IDESC * UNUSED idesc = abuf->idesc;
34725 int cycles = 0;
34727 int referenced = 0;
34728 int UNUSED insn_referenced = abuf->written;
34729 INT in_GRi = -1;
34730 INT in_GRj = -1;
34731 INT in_FRintk = -1;
34732 INT in_FRdoublek = -1;
34733 in_GRi = FLD (in_GRi);
34734 in_FRintk = FLD (in_FRintk);
34735 referenced |= 1 << 0;
34736 referenced |= 1 << 2;
34737 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34739 return cycles;
34740 #undef FLD
34743 static int
34744 model_fr500_stfi (SIM_CPU *current_cpu, void *sem_arg)
34746 #define FLD(f) abuf->fields.sfmt_stbfi.f
34747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34748 const IDESC * UNUSED idesc = abuf->idesc;
34749 int cycles = 0;
34751 int referenced = 0;
34752 int UNUSED insn_referenced = abuf->written;
34753 INT in_GRi = -1;
34754 INT in_GRj = -1;
34755 INT in_FRintk = -1;
34756 INT in_FRdoublek = -1;
34757 in_GRi = FLD (in_GRi);
34758 in_FRintk = FLD (in_FRintk);
34759 referenced |= 1 << 0;
34760 referenced |= 1 << 2;
34761 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34763 return cycles;
34764 #undef FLD
34767 static int
34768 model_fr500_stdi (SIM_CPU *current_cpu, void *sem_arg)
34770 #define FLD(f) abuf->fields.sfmt_stdi.f
34771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34772 const IDESC * UNUSED idesc = abuf->idesc;
34773 int cycles = 0;
34775 int referenced = 0;
34776 int UNUSED insn_referenced = abuf->written;
34777 INT in_GRi = -1;
34778 INT in_GRj = -1;
34779 INT in_GRk = -1;
34780 INT in_GRdoublek = -1;
34781 in_GRi = FLD (in_GRi);
34782 in_GRdoublek = FLD (in_GRdoublek);
34783 referenced |= 1 << 0;
34784 referenced |= 1 << 3;
34785 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34787 return cycles;
34788 #undef FLD
34791 static int
34792 model_fr500_stdfi (SIM_CPU *current_cpu, void *sem_arg)
34794 #define FLD(f) abuf->fields.sfmt_stdfi.f
34795 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34796 const IDESC * UNUSED idesc = abuf->idesc;
34797 int cycles = 0;
34799 int referenced = 0;
34800 int UNUSED insn_referenced = abuf->written;
34801 INT in_GRi = -1;
34802 INT in_GRj = -1;
34803 INT in_FRintk = -1;
34804 INT in_FRdoublek = -1;
34805 in_GRi = FLD (in_GRi);
34806 in_FRdoublek = FLD (in_FRdoublek);
34807 referenced |= 1 << 0;
34808 referenced |= 1 << 3;
34809 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34811 return cycles;
34812 #undef FLD
34815 static int
34816 model_fr500_stqi (SIM_CPU *current_cpu, void *sem_arg)
34818 #define FLD(f) abuf->fields.sfmt_stdi.f
34819 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34820 const IDESC * UNUSED idesc = abuf->idesc;
34821 int cycles = 0;
34823 int referenced = 0;
34824 int UNUSED insn_referenced = abuf->written;
34825 INT in_GRi = -1;
34826 INT in_GRj = -1;
34827 INT in_GRk = -1;
34828 INT in_GRdoublek = -1;
34829 in_GRi = FLD (in_GRi);
34830 referenced |= 1 << 0;
34831 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34833 return cycles;
34834 #undef FLD
34837 static int
34838 model_fr500_stqfi (SIM_CPU *current_cpu, void *sem_arg)
34840 #define FLD(f) abuf->fields.sfmt_stdfi.f
34841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34842 const IDESC * UNUSED idesc = abuf->idesc;
34843 int cycles = 0;
34845 int referenced = 0;
34846 int UNUSED insn_referenced = abuf->written;
34847 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
34849 return cycles;
34850 #undef FLD
34853 static int
34854 model_fr500_swap (SIM_CPU *current_cpu, void *sem_arg)
34856 #define FLD(f) abuf->fields.sfmt_cswap.f
34857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34858 const IDESC * UNUSED idesc = abuf->idesc;
34859 int cycles = 0;
34861 int referenced = 0;
34862 int UNUSED insn_referenced = abuf->written;
34863 INT in_GRi = -1;
34864 INT in_GRj = -1;
34865 INT out_GRk = -1;
34866 in_GRi = FLD (in_GRi);
34867 in_GRj = FLD (in_GRj);
34868 out_GRk = FLD (out_GRk);
34869 referenced |= 1 << 0;
34870 referenced |= 1 << 1;
34871 referenced |= 1 << 2;
34872 cycles += frvbf_model_fr500_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
34874 return cycles;
34875 #undef FLD
34878 static int
34879 model_fr500_swapi (SIM_CPU *current_cpu, void *sem_arg)
34881 #define FLD(f) abuf->fields.sfmt_swapi.f
34882 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34883 const IDESC * UNUSED idesc = abuf->idesc;
34884 int cycles = 0;
34886 int referenced = 0;
34887 int UNUSED insn_referenced = abuf->written;
34888 INT in_GRi = -1;
34889 INT in_GRj = -1;
34890 INT out_GRk = -1;
34891 in_GRi = FLD (in_GRi);
34892 out_GRk = FLD (out_GRk);
34893 referenced |= 1 << 0;
34894 referenced |= 1 << 2;
34895 cycles += frvbf_model_fr500_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
34897 return cycles;
34898 #undef FLD
34901 static int
34902 model_fr500_cswap (SIM_CPU *current_cpu, void *sem_arg)
34904 #define FLD(f) abuf->fields.sfmt_cswap.f
34905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34906 const IDESC * UNUSED idesc = abuf->idesc;
34907 int cycles = 0;
34909 int referenced = 0;
34910 int UNUSED insn_referenced = abuf->written;
34911 INT in_GRi = -1;
34912 INT in_GRj = -1;
34913 INT out_GRk = -1;
34914 in_GRi = FLD (in_GRi);
34915 in_GRj = FLD (in_GRj);
34916 out_GRk = FLD (out_GRk);
34917 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34918 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34919 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
34920 cycles += frvbf_model_fr500_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
34922 return cycles;
34923 #undef FLD
34926 static int
34927 model_fr500_movgf (SIM_CPU *current_cpu, void *sem_arg)
34929 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
34930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34931 const IDESC * UNUSED idesc = abuf->idesc;
34932 int cycles = 0;
34934 int referenced = 0;
34935 int UNUSED insn_referenced = abuf->written;
34936 INT in_GRj = -1;
34937 INT out_FRintk = -1;
34938 in_GRj = FLD (in_GRj);
34939 out_FRintk = FLD (out_FRintk);
34940 referenced |= 1 << 0;
34941 referenced |= 1 << 1;
34942 cycles += frvbf_model_fr500_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
34944 return cycles;
34945 #undef FLD
34948 static int
34949 model_fr500_movfg (SIM_CPU *current_cpu, void *sem_arg)
34951 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
34952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34953 const IDESC * UNUSED idesc = abuf->idesc;
34954 int cycles = 0;
34956 int referenced = 0;
34957 int UNUSED insn_referenced = abuf->written;
34958 INT in_FRintk = -1;
34959 INT out_GRj = -1;
34960 in_FRintk = FLD (in_FRintk);
34961 out_GRj = FLD (out_GRj);
34962 referenced |= 1 << 0;
34963 referenced |= 1 << 1;
34964 cycles += frvbf_model_fr500_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
34966 return cycles;
34967 #undef FLD
34970 static int
34971 model_fr500_movgfd (SIM_CPU *current_cpu, void *sem_arg)
34973 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
34974 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34975 const IDESC * UNUSED idesc = abuf->idesc;
34976 int cycles = 0;
34978 int referenced = 0;
34979 int UNUSED insn_referenced = abuf->written;
34980 INT in_GRj = -1;
34981 INT out_FRintk = -1;
34982 in_GRj = FLD (in_GRj);
34983 out_FRintk = FLD (out_FRintk);
34984 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
34985 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
34986 cycles += frvbf_model_fr500_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
34988 return cycles;
34989 #undef FLD
34992 static int
34993 model_fr500_movfgd (SIM_CPU *current_cpu, void *sem_arg)
34995 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
34996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34997 const IDESC * UNUSED idesc = abuf->idesc;
34998 int cycles = 0;
35000 int referenced = 0;
35001 int UNUSED insn_referenced = abuf->written;
35002 INT in_FRintk = -1;
35003 INT out_GRj = -1;
35004 in_FRintk = FLD (in_FRintk);
35005 out_GRj = FLD (out_GRj);
35006 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
35007 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
35008 cycles += frvbf_model_fr500_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
35010 return cycles;
35011 #undef FLD
35014 static int
35015 model_fr500_movgfq (SIM_CPU *current_cpu, void *sem_arg)
35017 #define FLD(f) abuf->fields.sfmt_movgfq.f
35018 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35019 const IDESC * UNUSED idesc = abuf->idesc;
35020 int cycles = 0;
35022 int referenced = 0;
35023 int UNUSED insn_referenced = abuf->written;
35024 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
35026 return cycles;
35027 #undef FLD
35030 static int
35031 model_fr500_movfgq (SIM_CPU *current_cpu, void *sem_arg)
35033 #define FLD(f) abuf->fields.sfmt_movfgq.f
35034 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35035 const IDESC * UNUSED idesc = abuf->idesc;
35036 int cycles = 0;
35038 int referenced = 0;
35039 int UNUSED insn_referenced = abuf->written;
35040 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
35042 return cycles;
35043 #undef FLD
35046 static int
35047 model_fr500_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
35049 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
35050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35051 const IDESC * UNUSED idesc = abuf->idesc;
35052 int cycles = 0;
35054 int referenced = 0;
35055 int UNUSED insn_referenced = abuf->written;
35056 INT in_GRj = -1;
35057 INT out_FRintk = -1;
35058 in_GRj = FLD (in_GRj);
35059 out_FRintk = FLD (out_FRintk);
35060 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
35061 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
35062 cycles += frvbf_model_fr500_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
35064 return cycles;
35065 #undef FLD
35068 static int
35069 model_fr500_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
35071 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
35072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35073 const IDESC * UNUSED idesc = abuf->idesc;
35074 int cycles = 0;
35076 int referenced = 0;
35077 int UNUSED insn_referenced = abuf->written;
35078 INT in_FRintk = -1;
35079 INT out_GRj = -1;
35080 in_FRintk = FLD (in_FRintk);
35081 out_GRj = FLD (out_GRj);
35082 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
35083 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
35084 cycles += frvbf_model_fr500_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
35086 return cycles;
35087 #undef FLD
35090 static int
35091 model_fr500_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
35093 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
35094 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35095 const IDESC * UNUSED idesc = abuf->idesc;
35096 int cycles = 0;
35098 int referenced = 0;
35099 int UNUSED insn_referenced = abuf->written;
35100 INT in_GRj = -1;
35101 INT out_FRintk = -1;
35102 in_GRj = FLD (in_GRj);
35103 out_FRintk = FLD (out_FRintk);
35104 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
35105 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
35106 cycles += frvbf_model_fr500_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
35108 return cycles;
35109 #undef FLD
35112 static int
35113 model_fr500_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
35115 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
35116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35117 const IDESC * UNUSED idesc = abuf->idesc;
35118 int cycles = 0;
35120 int referenced = 0;
35121 int UNUSED insn_referenced = abuf->written;
35122 INT in_FRintk = -1;
35123 INT out_GRj = -1;
35124 in_FRintk = FLD (in_FRintk);
35125 out_GRj = FLD (out_GRj);
35126 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
35127 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
35128 cycles += frvbf_model_fr500_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
35130 return cycles;
35131 #undef FLD
35134 static int
35135 model_fr500_movgs (SIM_CPU *current_cpu, void *sem_arg)
35137 #define FLD(f) abuf->fields.sfmt_movgs.f
35138 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35139 const IDESC * UNUSED idesc = abuf->idesc;
35140 int cycles = 0;
35142 int referenced = 0;
35143 int UNUSED insn_referenced = abuf->written;
35144 INT in_GRj = -1;
35145 INT out_spr = -1;
35146 in_GRj = FLD (in_GRj);
35147 out_spr = FLD (out_spr);
35148 referenced |= 1 << 0;
35149 referenced |= 1 << 1;
35150 cycles += frvbf_model_fr500_u_gr2spr (current_cpu, idesc, 0, referenced, in_GRj, out_spr);
35152 return cycles;
35153 #undef FLD
35156 static int
35157 model_fr500_movsg (SIM_CPU *current_cpu, void *sem_arg)
35159 #define FLD(f) abuf->fields.sfmt_movsg.f
35160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35161 const IDESC * UNUSED idesc = abuf->idesc;
35162 int cycles = 0;
35164 int referenced = 0;
35165 int UNUSED insn_referenced = abuf->written;
35166 INT in_spr = -1;
35167 INT out_GRj = -1;
35168 in_spr = FLD (in_spr);
35169 out_GRj = FLD (out_GRj);
35170 referenced |= 1 << 0;
35171 referenced |= 1 << 1;
35172 cycles += frvbf_model_fr500_u_spr2gr (current_cpu, idesc, 0, referenced, in_spr, out_GRj);
35174 return cycles;
35175 #undef FLD
35178 static int
35179 model_fr500_bra (SIM_CPU *current_cpu, void *sem_arg)
35181 #define FLD(f) abuf->fields.sfmt_fbne.f
35182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35183 const IDESC * UNUSED idesc = abuf->idesc;
35184 int cycles = 0;
35186 int referenced = 0;
35187 int UNUSED insn_referenced = abuf->written;
35188 INT in_GRi = -1;
35189 INT in_GRj = -1;
35190 INT in_ICCi_2 = -1;
35191 INT in_FCCi_2 = -1;
35192 referenced |= 1 << 4;
35193 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35195 return cycles;
35196 #undef FLD
35199 static int
35200 model_fr500_bno (SIM_CPU *current_cpu, void *sem_arg)
35202 #define FLD(f) abuf->fields.sfmt_fbne.f
35203 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35204 const IDESC * UNUSED idesc = abuf->idesc;
35205 int cycles = 0;
35207 int referenced = 0;
35208 int UNUSED insn_referenced = abuf->written;
35209 INT in_GRi = -1;
35210 INT in_GRj = -1;
35211 INT in_ICCi_2 = -1;
35212 INT in_FCCi_2 = -1;
35213 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35215 return cycles;
35216 #undef FLD
35219 static int
35220 model_fr500_beq (SIM_CPU *current_cpu, void *sem_arg)
35222 #define FLD(f) abuf->fields.sfmt_beq.f
35223 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35224 const IDESC * UNUSED idesc = abuf->idesc;
35225 int cycles = 0;
35227 int referenced = 0;
35228 int UNUSED insn_referenced = abuf->written;
35229 INT in_GRi = -1;
35230 INT in_GRj = -1;
35231 INT in_ICCi_2 = -1;
35232 INT in_FCCi_2 = -1;
35233 in_ICCi_2 = FLD (in_ICCi_2);
35234 referenced |= 1 << 2;
35235 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35236 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35238 return cycles;
35239 #undef FLD
35242 static int
35243 model_fr500_bne (SIM_CPU *current_cpu, void *sem_arg)
35245 #define FLD(f) abuf->fields.sfmt_beq.f
35246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35247 const IDESC * UNUSED idesc = abuf->idesc;
35248 int cycles = 0;
35250 int referenced = 0;
35251 int UNUSED insn_referenced = abuf->written;
35252 INT in_GRi = -1;
35253 INT in_GRj = -1;
35254 INT in_ICCi_2 = -1;
35255 INT in_FCCi_2 = -1;
35256 in_ICCi_2 = FLD (in_ICCi_2);
35257 referenced |= 1 << 2;
35258 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35259 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35261 return cycles;
35262 #undef FLD
35265 static int
35266 model_fr500_ble (SIM_CPU *current_cpu, void *sem_arg)
35268 #define FLD(f) abuf->fields.sfmt_beq.f
35269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35270 const IDESC * UNUSED idesc = abuf->idesc;
35271 int cycles = 0;
35273 int referenced = 0;
35274 int UNUSED insn_referenced = abuf->written;
35275 INT in_GRi = -1;
35276 INT in_GRj = -1;
35277 INT in_ICCi_2 = -1;
35278 INT in_FCCi_2 = -1;
35279 in_ICCi_2 = FLD (in_ICCi_2);
35280 referenced |= 1 << 2;
35281 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35282 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35284 return cycles;
35285 #undef FLD
35288 static int
35289 model_fr500_bgt (SIM_CPU *current_cpu, void *sem_arg)
35291 #define FLD(f) abuf->fields.sfmt_beq.f
35292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35293 const IDESC * UNUSED idesc = abuf->idesc;
35294 int cycles = 0;
35296 int referenced = 0;
35297 int UNUSED insn_referenced = abuf->written;
35298 INT in_GRi = -1;
35299 INT in_GRj = -1;
35300 INT in_ICCi_2 = -1;
35301 INT in_FCCi_2 = -1;
35302 in_ICCi_2 = FLD (in_ICCi_2);
35303 referenced |= 1 << 2;
35304 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35305 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35307 return cycles;
35308 #undef FLD
35311 static int
35312 model_fr500_blt (SIM_CPU *current_cpu, void *sem_arg)
35314 #define FLD(f) abuf->fields.sfmt_beq.f
35315 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35316 const IDESC * UNUSED idesc = abuf->idesc;
35317 int cycles = 0;
35319 int referenced = 0;
35320 int UNUSED insn_referenced = abuf->written;
35321 INT in_GRi = -1;
35322 INT in_GRj = -1;
35323 INT in_ICCi_2 = -1;
35324 INT in_FCCi_2 = -1;
35325 in_ICCi_2 = FLD (in_ICCi_2);
35326 referenced |= 1 << 2;
35327 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35328 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35330 return cycles;
35331 #undef FLD
35334 static int
35335 model_fr500_bge (SIM_CPU *current_cpu, void *sem_arg)
35337 #define FLD(f) abuf->fields.sfmt_beq.f
35338 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35339 const IDESC * UNUSED idesc = abuf->idesc;
35340 int cycles = 0;
35342 int referenced = 0;
35343 int UNUSED insn_referenced = abuf->written;
35344 INT in_GRi = -1;
35345 INT in_GRj = -1;
35346 INT in_ICCi_2 = -1;
35347 INT in_FCCi_2 = -1;
35348 in_ICCi_2 = FLD (in_ICCi_2);
35349 referenced |= 1 << 2;
35350 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35351 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35353 return cycles;
35354 #undef FLD
35357 static int
35358 model_fr500_bls (SIM_CPU *current_cpu, void *sem_arg)
35360 #define FLD(f) abuf->fields.sfmt_beq.f
35361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35362 const IDESC * UNUSED idesc = abuf->idesc;
35363 int cycles = 0;
35365 int referenced = 0;
35366 int UNUSED insn_referenced = abuf->written;
35367 INT in_GRi = -1;
35368 INT in_GRj = -1;
35369 INT in_ICCi_2 = -1;
35370 INT in_FCCi_2 = -1;
35371 in_ICCi_2 = FLD (in_ICCi_2);
35372 referenced |= 1 << 2;
35373 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35374 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35376 return cycles;
35377 #undef FLD
35380 static int
35381 model_fr500_bhi (SIM_CPU *current_cpu, void *sem_arg)
35383 #define FLD(f) abuf->fields.sfmt_beq.f
35384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35385 const IDESC * UNUSED idesc = abuf->idesc;
35386 int cycles = 0;
35388 int referenced = 0;
35389 int UNUSED insn_referenced = abuf->written;
35390 INT in_GRi = -1;
35391 INT in_GRj = -1;
35392 INT in_ICCi_2 = -1;
35393 INT in_FCCi_2 = -1;
35394 in_ICCi_2 = FLD (in_ICCi_2);
35395 referenced |= 1 << 2;
35396 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35397 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35399 return cycles;
35400 #undef FLD
35403 static int
35404 model_fr500_bc (SIM_CPU *current_cpu, void *sem_arg)
35406 #define FLD(f) abuf->fields.sfmt_beq.f
35407 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35408 const IDESC * UNUSED idesc = abuf->idesc;
35409 int cycles = 0;
35411 int referenced = 0;
35412 int UNUSED insn_referenced = abuf->written;
35413 INT in_GRi = -1;
35414 INT in_GRj = -1;
35415 INT in_ICCi_2 = -1;
35416 INT in_FCCi_2 = -1;
35417 in_ICCi_2 = FLD (in_ICCi_2);
35418 referenced |= 1 << 2;
35419 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35420 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35422 return cycles;
35423 #undef FLD
35426 static int
35427 model_fr500_bnc (SIM_CPU *current_cpu, void *sem_arg)
35429 #define FLD(f) abuf->fields.sfmt_beq.f
35430 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35431 const IDESC * UNUSED idesc = abuf->idesc;
35432 int cycles = 0;
35434 int referenced = 0;
35435 int UNUSED insn_referenced = abuf->written;
35436 INT in_GRi = -1;
35437 INT in_GRj = -1;
35438 INT in_ICCi_2 = -1;
35439 INT in_FCCi_2 = -1;
35440 in_ICCi_2 = FLD (in_ICCi_2);
35441 referenced |= 1 << 2;
35442 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35443 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35445 return cycles;
35446 #undef FLD
35449 static int
35450 model_fr500_bn (SIM_CPU *current_cpu, void *sem_arg)
35452 #define FLD(f) abuf->fields.sfmt_beq.f
35453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35454 const IDESC * UNUSED idesc = abuf->idesc;
35455 int cycles = 0;
35457 int referenced = 0;
35458 int UNUSED insn_referenced = abuf->written;
35459 INT in_GRi = -1;
35460 INT in_GRj = -1;
35461 INT in_ICCi_2 = -1;
35462 INT in_FCCi_2 = -1;
35463 in_ICCi_2 = FLD (in_ICCi_2);
35464 referenced |= 1 << 2;
35465 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35466 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35468 return cycles;
35469 #undef FLD
35472 static int
35473 model_fr500_bp (SIM_CPU *current_cpu, void *sem_arg)
35475 #define FLD(f) abuf->fields.sfmt_beq.f
35476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35477 const IDESC * UNUSED idesc = abuf->idesc;
35478 int cycles = 0;
35480 int referenced = 0;
35481 int UNUSED insn_referenced = abuf->written;
35482 INT in_GRi = -1;
35483 INT in_GRj = -1;
35484 INT in_ICCi_2 = -1;
35485 INT in_FCCi_2 = -1;
35486 in_ICCi_2 = FLD (in_ICCi_2);
35487 referenced |= 1 << 2;
35488 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35489 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35491 return cycles;
35492 #undef FLD
35495 static int
35496 model_fr500_bv (SIM_CPU *current_cpu, void *sem_arg)
35498 #define FLD(f) abuf->fields.sfmt_beq.f
35499 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35500 const IDESC * UNUSED idesc = abuf->idesc;
35501 int cycles = 0;
35503 int referenced = 0;
35504 int UNUSED insn_referenced = abuf->written;
35505 INT in_GRi = -1;
35506 INT in_GRj = -1;
35507 INT in_ICCi_2 = -1;
35508 INT in_FCCi_2 = -1;
35509 in_ICCi_2 = FLD (in_ICCi_2);
35510 referenced |= 1 << 2;
35511 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35512 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35514 return cycles;
35515 #undef FLD
35518 static int
35519 model_fr500_bnv (SIM_CPU *current_cpu, void *sem_arg)
35521 #define FLD(f) abuf->fields.sfmt_beq.f
35522 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35523 const IDESC * UNUSED idesc = abuf->idesc;
35524 int cycles = 0;
35526 int referenced = 0;
35527 int UNUSED insn_referenced = abuf->written;
35528 INT in_GRi = -1;
35529 INT in_GRj = -1;
35530 INT in_ICCi_2 = -1;
35531 INT in_FCCi_2 = -1;
35532 in_ICCi_2 = FLD (in_ICCi_2);
35533 referenced |= 1 << 2;
35534 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35535 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35537 return cycles;
35538 #undef FLD
35541 static int
35542 model_fr500_fbra (SIM_CPU *current_cpu, void *sem_arg)
35544 #define FLD(f) abuf->fields.sfmt_fbne.f
35545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35546 const IDESC * UNUSED idesc = abuf->idesc;
35547 int cycles = 0;
35549 int referenced = 0;
35550 int UNUSED insn_referenced = abuf->written;
35551 INT in_GRi = -1;
35552 INT in_GRj = -1;
35553 INT in_ICCi_2 = -1;
35554 INT in_FCCi_2 = -1;
35555 referenced |= 1 << 4;
35556 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35558 return cycles;
35559 #undef FLD
35562 static int
35563 model_fr500_fbno (SIM_CPU *current_cpu, void *sem_arg)
35565 #define FLD(f) abuf->fields.sfmt_fbne.f
35566 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35567 const IDESC * UNUSED idesc = abuf->idesc;
35568 int cycles = 0;
35570 int referenced = 0;
35571 int UNUSED insn_referenced = abuf->written;
35572 INT in_GRi = -1;
35573 INT in_GRj = -1;
35574 INT in_ICCi_2 = -1;
35575 INT in_FCCi_2 = -1;
35576 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35578 return cycles;
35579 #undef FLD
35582 static int
35583 model_fr500_fbne (SIM_CPU *current_cpu, void *sem_arg)
35585 #define FLD(f) abuf->fields.sfmt_fbne.f
35586 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35587 const IDESC * UNUSED idesc = abuf->idesc;
35588 int cycles = 0;
35590 int referenced = 0;
35591 int UNUSED insn_referenced = abuf->written;
35592 INT in_GRi = -1;
35593 INT in_GRj = -1;
35594 INT in_ICCi_2 = -1;
35595 INT in_FCCi_2 = -1;
35596 in_FCCi_2 = FLD (in_FCCi_2);
35597 referenced |= 1 << 3;
35598 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35599 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35601 return cycles;
35602 #undef FLD
35605 static int
35606 model_fr500_fbeq (SIM_CPU *current_cpu, void *sem_arg)
35608 #define FLD(f) abuf->fields.sfmt_fbne.f
35609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35610 const IDESC * UNUSED idesc = abuf->idesc;
35611 int cycles = 0;
35613 int referenced = 0;
35614 int UNUSED insn_referenced = abuf->written;
35615 INT in_GRi = -1;
35616 INT in_GRj = -1;
35617 INT in_ICCi_2 = -1;
35618 INT in_FCCi_2 = -1;
35619 in_FCCi_2 = FLD (in_FCCi_2);
35620 referenced |= 1 << 3;
35621 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35622 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35624 return cycles;
35625 #undef FLD
35628 static int
35629 model_fr500_fblg (SIM_CPU *current_cpu, void *sem_arg)
35631 #define FLD(f) abuf->fields.sfmt_fbne.f
35632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35633 const IDESC * UNUSED idesc = abuf->idesc;
35634 int cycles = 0;
35636 int referenced = 0;
35637 int UNUSED insn_referenced = abuf->written;
35638 INT in_GRi = -1;
35639 INT in_GRj = -1;
35640 INT in_ICCi_2 = -1;
35641 INT in_FCCi_2 = -1;
35642 in_FCCi_2 = FLD (in_FCCi_2);
35643 referenced |= 1 << 3;
35644 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35645 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35647 return cycles;
35648 #undef FLD
35651 static int
35652 model_fr500_fbue (SIM_CPU *current_cpu, void *sem_arg)
35654 #define FLD(f) abuf->fields.sfmt_fbne.f
35655 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35656 const IDESC * UNUSED idesc = abuf->idesc;
35657 int cycles = 0;
35659 int referenced = 0;
35660 int UNUSED insn_referenced = abuf->written;
35661 INT in_GRi = -1;
35662 INT in_GRj = -1;
35663 INT in_ICCi_2 = -1;
35664 INT in_FCCi_2 = -1;
35665 in_FCCi_2 = FLD (in_FCCi_2);
35666 referenced |= 1 << 3;
35667 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35668 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35670 return cycles;
35671 #undef FLD
35674 static int
35675 model_fr500_fbul (SIM_CPU *current_cpu, void *sem_arg)
35677 #define FLD(f) abuf->fields.sfmt_fbne.f
35678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35679 const IDESC * UNUSED idesc = abuf->idesc;
35680 int cycles = 0;
35682 int referenced = 0;
35683 int UNUSED insn_referenced = abuf->written;
35684 INT in_GRi = -1;
35685 INT in_GRj = -1;
35686 INT in_ICCi_2 = -1;
35687 INT in_FCCi_2 = -1;
35688 in_FCCi_2 = FLD (in_FCCi_2);
35689 referenced |= 1 << 3;
35690 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35691 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35693 return cycles;
35694 #undef FLD
35697 static int
35698 model_fr500_fbge (SIM_CPU *current_cpu, void *sem_arg)
35700 #define FLD(f) abuf->fields.sfmt_fbne.f
35701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35702 const IDESC * UNUSED idesc = abuf->idesc;
35703 int cycles = 0;
35705 int referenced = 0;
35706 int UNUSED insn_referenced = abuf->written;
35707 INT in_GRi = -1;
35708 INT in_GRj = -1;
35709 INT in_ICCi_2 = -1;
35710 INT in_FCCi_2 = -1;
35711 in_FCCi_2 = FLD (in_FCCi_2);
35712 referenced |= 1 << 3;
35713 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35714 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35716 return cycles;
35717 #undef FLD
35720 static int
35721 model_fr500_fblt (SIM_CPU *current_cpu, void *sem_arg)
35723 #define FLD(f) abuf->fields.sfmt_fbne.f
35724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35725 const IDESC * UNUSED idesc = abuf->idesc;
35726 int cycles = 0;
35728 int referenced = 0;
35729 int UNUSED insn_referenced = abuf->written;
35730 INT in_GRi = -1;
35731 INT in_GRj = -1;
35732 INT in_ICCi_2 = -1;
35733 INT in_FCCi_2 = -1;
35734 in_FCCi_2 = FLD (in_FCCi_2);
35735 referenced |= 1 << 3;
35736 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35737 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35739 return cycles;
35740 #undef FLD
35743 static int
35744 model_fr500_fbuge (SIM_CPU *current_cpu, void *sem_arg)
35746 #define FLD(f) abuf->fields.sfmt_fbne.f
35747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35748 const IDESC * UNUSED idesc = abuf->idesc;
35749 int cycles = 0;
35751 int referenced = 0;
35752 int UNUSED insn_referenced = abuf->written;
35753 INT in_GRi = -1;
35754 INT in_GRj = -1;
35755 INT in_ICCi_2 = -1;
35756 INT in_FCCi_2 = -1;
35757 in_FCCi_2 = FLD (in_FCCi_2);
35758 referenced |= 1 << 3;
35759 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35760 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35762 return cycles;
35763 #undef FLD
35766 static int
35767 model_fr500_fbug (SIM_CPU *current_cpu, void *sem_arg)
35769 #define FLD(f) abuf->fields.sfmt_fbne.f
35770 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35771 const IDESC * UNUSED idesc = abuf->idesc;
35772 int cycles = 0;
35774 int referenced = 0;
35775 int UNUSED insn_referenced = abuf->written;
35776 INT in_GRi = -1;
35777 INT in_GRj = -1;
35778 INT in_ICCi_2 = -1;
35779 INT in_FCCi_2 = -1;
35780 in_FCCi_2 = FLD (in_FCCi_2);
35781 referenced |= 1 << 3;
35782 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35783 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35785 return cycles;
35786 #undef FLD
35789 static int
35790 model_fr500_fble (SIM_CPU *current_cpu, void *sem_arg)
35792 #define FLD(f) abuf->fields.sfmt_fbne.f
35793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35794 const IDESC * UNUSED idesc = abuf->idesc;
35795 int cycles = 0;
35797 int referenced = 0;
35798 int UNUSED insn_referenced = abuf->written;
35799 INT in_GRi = -1;
35800 INT in_GRj = -1;
35801 INT in_ICCi_2 = -1;
35802 INT in_FCCi_2 = -1;
35803 in_FCCi_2 = FLD (in_FCCi_2);
35804 referenced |= 1 << 3;
35805 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35806 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35808 return cycles;
35809 #undef FLD
35812 static int
35813 model_fr500_fbgt (SIM_CPU *current_cpu, void *sem_arg)
35815 #define FLD(f) abuf->fields.sfmt_fbne.f
35816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35817 const IDESC * UNUSED idesc = abuf->idesc;
35818 int cycles = 0;
35820 int referenced = 0;
35821 int UNUSED insn_referenced = abuf->written;
35822 INT in_GRi = -1;
35823 INT in_GRj = -1;
35824 INT in_ICCi_2 = -1;
35825 INT in_FCCi_2 = -1;
35826 in_FCCi_2 = FLD (in_FCCi_2);
35827 referenced |= 1 << 3;
35828 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35829 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35831 return cycles;
35832 #undef FLD
35835 static int
35836 model_fr500_fbule (SIM_CPU *current_cpu, void *sem_arg)
35838 #define FLD(f) abuf->fields.sfmt_fbne.f
35839 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35840 const IDESC * UNUSED idesc = abuf->idesc;
35841 int cycles = 0;
35843 int referenced = 0;
35844 int UNUSED insn_referenced = abuf->written;
35845 INT in_GRi = -1;
35846 INT in_GRj = -1;
35847 INT in_ICCi_2 = -1;
35848 INT in_FCCi_2 = -1;
35849 in_FCCi_2 = FLD (in_FCCi_2);
35850 referenced |= 1 << 3;
35851 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35852 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35854 return cycles;
35855 #undef FLD
35858 static int
35859 model_fr500_fbu (SIM_CPU *current_cpu, void *sem_arg)
35861 #define FLD(f) abuf->fields.sfmt_fbne.f
35862 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35863 const IDESC * UNUSED idesc = abuf->idesc;
35864 int cycles = 0;
35866 int referenced = 0;
35867 int UNUSED insn_referenced = abuf->written;
35868 INT in_GRi = -1;
35869 INT in_GRj = -1;
35870 INT in_ICCi_2 = -1;
35871 INT in_FCCi_2 = -1;
35872 in_FCCi_2 = FLD (in_FCCi_2);
35873 referenced |= 1 << 3;
35874 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35875 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35877 return cycles;
35878 #undef FLD
35881 static int
35882 model_fr500_fbo (SIM_CPU *current_cpu, void *sem_arg)
35884 #define FLD(f) abuf->fields.sfmt_fbne.f
35885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35886 const IDESC * UNUSED idesc = abuf->idesc;
35887 int cycles = 0;
35889 int referenced = 0;
35890 int UNUSED insn_referenced = abuf->written;
35891 INT in_GRi = -1;
35892 INT in_GRj = -1;
35893 INT in_ICCi_2 = -1;
35894 INT in_FCCi_2 = -1;
35895 in_FCCi_2 = FLD (in_FCCi_2);
35896 referenced |= 1 << 3;
35897 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35898 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35900 return cycles;
35901 #undef FLD
35904 static int
35905 model_fr500_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
35907 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
35908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35909 const IDESC * UNUSED idesc = abuf->idesc;
35910 int cycles = 0;
35912 int referenced = 0;
35913 int UNUSED insn_referenced = abuf->written;
35914 INT in_GRi = -1;
35915 INT in_GRj = -1;
35916 INT in_ICCi_2 = -1;
35917 INT in_FCCi_2 = -1;
35918 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
35919 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35921 return cycles;
35922 #undef FLD
35925 static int
35926 model_fr500_bralr (SIM_CPU *current_cpu, void *sem_arg)
35928 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
35929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35930 const IDESC * UNUSED idesc = abuf->idesc;
35931 int cycles = 0;
35933 int referenced = 0;
35934 int UNUSED insn_referenced = abuf->written;
35935 INT in_GRi = -1;
35936 INT in_GRj = -1;
35937 INT in_ICCi_2 = -1;
35938 INT in_FCCi_2 = -1;
35939 referenced |= 1 << 4;
35940 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35942 return cycles;
35943 #undef FLD
35946 static int
35947 model_fr500_bnolr (SIM_CPU *current_cpu, void *sem_arg)
35949 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
35950 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35951 const IDESC * UNUSED idesc = abuf->idesc;
35952 int cycles = 0;
35954 int referenced = 0;
35955 int UNUSED insn_referenced = abuf->written;
35956 INT in_GRi = -1;
35957 INT in_GRj = -1;
35958 INT in_ICCi_2 = -1;
35959 INT in_FCCi_2 = -1;
35960 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35962 return cycles;
35963 #undef FLD
35966 static int
35967 model_fr500_beqlr (SIM_CPU *current_cpu, void *sem_arg)
35969 #define FLD(f) abuf->fields.sfmt_bceqlr.f
35970 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35971 const IDESC * UNUSED idesc = abuf->idesc;
35972 int cycles = 0;
35974 int referenced = 0;
35975 int UNUSED insn_referenced = abuf->written;
35976 INT in_GRi = -1;
35977 INT in_GRj = -1;
35978 INT in_ICCi_2 = -1;
35979 INT in_FCCi_2 = -1;
35980 in_ICCi_2 = FLD (in_ICCi_2);
35981 referenced |= 1 << 2;
35982 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35983 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35985 return cycles;
35986 #undef FLD
35989 static int
35990 model_fr500_bnelr (SIM_CPU *current_cpu, void *sem_arg)
35992 #define FLD(f) abuf->fields.sfmt_bceqlr.f
35993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35994 const IDESC * UNUSED idesc = abuf->idesc;
35995 int cycles = 0;
35997 int referenced = 0;
35998 int UNUSED insn_referenced = abuf->written;
35999 INT in_GRi = -1;
36000 INT in_GRj = -1;
36001 INT in_ICCi_2 = -1;
36002 INT in_FCCi_2 = -1;
36003 in_ICCi_2 = FLD (in_ICCi_2);
36004 referenced |= 1 << 2;
36005 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36006 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36008 return cycles;
36009 #undef FLD
36012 static int
36013 model_fr500_blelr (SIM_CPU *current_cpu, void *sem_arg)
36015 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36017 const IDESC * UNUSED idesc = abuf->idesc;
36018 int cycles = 0;
36020 int referenced = 0;
36021 int UNUSED insn_referenced = abuf->written;
36022 INT in_GRi = -1;
36023 INT in_GRj = -1;
36024 INT in_ICCi_2 = -1;
36025 INT in_FCCi_2 = -1;
36026 in_ICCi_2 = FLD (in_ICCi_2);
36027 referenced |= 1 << 2;
36028 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36029 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36031 return cycles;
36032 #undef FLD
36035 static int
36036 model_fr500_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
36038 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36039 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36040 const IDESC * UNUSED idesc = abuf->idesc;
36041 int cycles = 0;
36043 int referenced = 0;
36044 int UNUSED insn_referenced = abuf->written;
36045 INT in_GRi = -1;
36046 INT in_GRj = -1;
36047 INT in_ICCi_2 = -1;
36048 INT in_FCCi_2 = -1;
36049 in_ICCi_2 = FLD (in_ICCi_2);
36050 referenced |= 1 << 2;
36051 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36052 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36054 return cycles;
36055 #undef FLD
36058 static int
36059 model_fr500_bltlr (SIM_CPU *current_cpu, void *sem_arg)
36061 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36062 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36063 const IDESC * UNUSED idesc = abuf->idesc;
36064 int cycles = 0;
36066 int referenced = 0;
36067 int UNUSED insn_referenced = abuf->written;
36068 INT in_GRi = -1;
36069 INT in_GRj = -1;
36070 INT in_ICCi_2 = -1;
36071 INT in_FCCi_2 = -1;
36072 in_ICCi_2 = FLD (in_ICCi_2);
36073 referenced |= 1 << 2;
36074 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36075 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36077 return cycles;
36078 #undef FLD
36081 static int
36082 model_fr500_bgelr (SIM_CPU *current_cpu, void *sem_arg)
36084 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36086 const IDESC * UNUSED idesc = abuf->idesc;
36087 int cycles = 0;
36089 int referenced = 0;
36090 int UNUSED insn_referenced = abuf->written;
36091 INT in_GRi = -1;
36092 INT in_GRj = -1;
36093 INT in_ICCi_2 = -1;
36094 INT in_FCCi_2 = -1;
36095 in_ICCi_2 = FLD (in_ICCi_2);
36096 referenced |= 1 << 2;
36097 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36098 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36100 return cycles;
36101 #undef FLD
36104 static int
36105 model_fr500_blslr (SIM_CPU *current_cpu, void *sem_arg)
36107 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36109 const IDESC * UNUSED idesc = abuf->idesc;
36110 int cycles = 0;
36112 int referenced = 0;
36113 int UNUSED insn_referenced = abuf->written;
36114 INT in_GRi = -1;
36115 INT in_GRj = -1;
36116 INT in_ICCi_2 = -1;
36117 INT in_FCCi_2 = -1;
36118 in_ICCi_2 = FLD (in_ICCi_2);
36119 referenced |= 1 << 2;
36120 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36121 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36123 return cycles;
36124 #undef FLD
36127 static int
36128 model_fr500_bhilr (SIM_CPU *current_cpu, void *sem_arg)
36130 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36132 const IDESC * UNUSED idesc = abuf->idesc;
36133 int cycles = 0;
36135 int referenced = 0;
36136 int UNUSED insn_referenced = abuf->written;
36137 INT in_GRi = -1;
36138 INT in_GRj = -1;
36139 INT in_ICCi_2 = -1;
36140 INT in_FCCi_2 = -1;
36141 in_ICCi_2 = FLD (in_ICCi_2);
36142 referenced |= 1 << 2;
36143 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36144 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36146 return cycles;
36147 #undef FLD
36150 static int
36151 model_fr500_bclr (SIM_CPU *current_cpu, void *sem_arg)
36153 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36154 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36155 const IDESC * UNUSED idesc = abuf->idesc;
36156 int cycles = 0;
36158 int referenced = 0;
36159 int UNUSED insn_referenced = abuf->written;
36160 INT in_GRi = -1;
36161 INT in_GRj = -1;
36162 INT in_ICCi_2 = -1;
36163 INT in_FCCi_2 = -1;
36164 in_ICCi_2 = FLD (in_ICCi_2);
36165 referenced |= 1 << 2;
36166 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36167 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36169 return cycles;
36170 #undef FLD
36173 static int
36174 model_fr500_bnclr (SIM_CPU *current_cpu, void *sem_arg)
36176 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36178 const IDESC * UNUSED idesc = abuf->idesc;
36179 int cycles = 0;
36181 int referenced = 0;
36182 int UNUSED insn_referenced = abuf->written;
36183 INT in_GRi = -1;
36184 INT in_GRj = -1;
36185 INT in_ICCi_2 = -1;
36186 INT in_FCCi_2 = -1;
36187 in_ICCi_2 = FLD (in_ICCi_2);
36188 referenced |= 1 << 2;
36189 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36190 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36192 return cycles;
36193 #undef FLD
36196 static int
36197 model_fr500_bnlr (SIM_CPU *current_cpu, void *sem_arg)
36199 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36201 const IDESC * UNUSED idesc = abuf->idesc;
36202 int cycles = 0;
36204 int referenced = 0;
36205 int UNUSED insn_referenced = abuf->written;
36206 INT in_GRi = -1;
36207 INT in_GRj = -1;
36208 INT in_ICCi_2 = -1;
36209 INT in_FCCi_2 = -1;
36210 in_ICCi_2 = FLD (in_ICCi_2);
36211 referenced |= 1 << 2;
36212 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36213 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36215 return cycles;
36216 #undef FLD
36219 static int
36220 model_fr500_bplr (SIM_CPU *current_cpu, void *sem_arg)
36222 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36223 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36224 const IDESC * UNUSED idesc = abuf->idesc;
36225 int cycles = 0;
36227 int referenced = 0;
36228 int UNUSED insn_referenced = abuf->written;
36229 INT in_GRi = -1;
36230 INT in_GRj = -1;
36231 INT in_ICCi_2 = -1;
36232 INT in_FCCi_2 = -1;
36233 in_ICCi_2 = FLD (in_ICCi_2);
36234 referenced |= 1 << 2;
36235 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36236 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36238 return cycles;
36239 #undef FLD
36242 static int
36243 model_fr500_bvlr (SIM_CPU *current_cpu, void *sem_arg)
36245 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36247 const IDESC * UNUSED idesc = abuf->idesc;
36248 int cycles = 0;
36250 int referenced = 0;
36251 int UNUSED insn_referenced = abuf->written;
36252 INT in_GRi = -1;
36253 INT in_GRj = -1;
36254 INT in_ICCi_2 = -1;
36255 INT in_FCCi_2 = -1;
36256 in_ICCi_2 = FLD (in_ICCi_2);
36257 referenced |= 1 << 2;
36258 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36259 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36261 return cycles;
36262 #undef FLD
36265 static int
36266 model_fr500_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
36268 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36270 const IDESC * UNUSED idesc = abuf->idesc;
36271 int cycles = 0;
36273 int referenced = 0;
36274 int UNUSED insn_referenced = abuf->written;
36275 INT in_GRi = -1;
36276 INT in_GRj = -1;
36277 INT in_ICCi_2 = -1;
36278 INT in_FCCi_2 = -1;
36279 in_ICCi_2 = FLD (in_ICCi_2);
36280 referenced |= 1 << 2;
36281 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36282 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36284 return cycles;
36285 #undef FLD
36288 static int
36289 model_fr500_fbralr (SIM_CPU *current_cpu, void *sem_arg)
36291 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36293 const IDESC * UNUSED idesc = abuf->idesc;
36294 int cycles = 0;
36296 int referenced = 0;
36297 int UNUSED insn_referenced = abuf->written;
36298 INT in_GRi = -1;
36299 INT in_GRj = -1;
36300 INT in_ICCi_2 = -1;
36301 INT in_FCCi_2 = -1;
36302 referenced |= 1 << 4;
36303 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36305 return cycles;
36306 #undef FLD
36309 static int
36310 model_fr500_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
36312 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36314 const IDESC * UNUSED idesc = abuf->idesc;
36315 int cycles = 0;
36317 int referenced = 0;
36318 int UNUSED insn_referenced = abuf->written;
36319 INT in_GRi = -1;
36320 INT in_GRj = -1;
36321 INT in_ICCi_2 = -1;
36322 INT in_FCCi_2 = -1;
36323 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36325 return cycles;
36326 #undef FLD
36329 static int
36330 model_fr500_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
36332 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36334 const IDESC * UNUSED idesc = abuf->idesc;
36335 int cycles = 0;
36337 int referenced = 0;
36338 int UNUSED insn_referenced = abuf->written;
36339 INT in_GRi = -1;
36340 INT in_GRj = -1;
36341 INT in_ICCi_2 = -1;
36342 INT in_FCCi_2 = -1;
36343 in_FCCi_2 = FLD (in_FCCi_2);
36344 referenced |= 1 << 3;
36345 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36346 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36348 return cycles;
36349 #undef FLD
36352 static int
36353 model_fr500_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
36355 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36357 const IDESC * UNUSED idesc = abuf->idesc;
36358 int cycles = 0;
36360 int referenced = 0;
36361 int UNUSED insn_referenced = abuf->written;
36362 INT in_GRi = -1;
36363 INT in_GRj = -1;
36364 INT in_ICCi_2 = -1;
36365 INT in_FCCi_2 = -1;
36366 in_FCCi_2 = FLD (in_FCCi_2);
36367 referenced |= 1 << 3;
36368 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36369 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36371 return cycles;
36372 #undef FLD
36375 static int
36376 model_fr500_fblglr (SIM_CPU *current_cpu, void *sem_arg)
36378 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36380 const IDESC * UNUSED idesc = abuf->idesc;
36381 int cycles = 0;
36383 int referenced = 0;
36384 int UNUSED insn_referenced = abuf->written;
36385 INT in_GRi = -1;
36386 INT in_GRj = -1;
36387 INT in_ICCi_2 = -1;
36388 INT in_FCCi_2 = -1;
36389 in_FCCi_2 = FLD (in_FCCi_2);
36390 referenced |= 1 << 3;
36391 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36392 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36394 return cycles;
36395 #undef FLD
36398 static int
36399 model_fr500_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
36401 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36403 const IDESC * UNUSED idesc = abuf->idesc;
36404 int cycles = 0;
36406 int referenced = 0;
36407 int UNUSED insn_referenced = abuf->written;
36408 INT in_GRi = -1;
36409 INT in_GRj = -1;
36410 INT in_ICCi_2 = -1;
36411 INT in_FCCi_2 = -1;
36412 in_FCCi_2 = FLD (in_FCCi_2);
36413 referenced |= 1 << 3;
36414 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36415 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36417 return cycles;
36418 #undef FLD
36421 static int
36422 model_fr500_fbullr (SIM_CPU *current_cpu, void *sem_arg)
36424 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36426 const IDESC * UNUSED idesc = abuf->idesc;
36427 int cycles = 0;
36429 int referenced = 0;
36430 int UNUSED insn_referenced = abuf->written;
36431 INT in_GRi = -1;
36432 INT in_GRj = -1;
36433 INT in_ICCi_2 = -1;
36434 INT in_FCCi_2 = -1;
36435 in_FCCi_2 = FLD (in_FCCi_2);
36436 referenced |= 1 << 3;
36437 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36438 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36440 return cycles;
36441 #undef FLD
36444 static int
36445 model_fr500_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
36447 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36449 const IDESC * UNUSED idesc = abuf->idesc;
36450 int cycles = 0;
36452 int referenced = 0;
36453 int UNUSED insn_referenced = abuf->written;
36454 INT in_GRi = -1;
36455 INT in_GRj = -1;
36456 INT in_ICCi_2 = -1;
36457 INT in_FCCi_2 = -1;
36458 in_FCCi_2 = FLD (in_FCCi_2);
36459 referenced |= 1 << 3;
36460 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36461 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36463 return cycles;
36464 #undef FLD
36467 static int
36468 model_fr500_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
36470 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36471 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36472 const IDESC * UNUSED idesc = abuf->idesc;
36473 int cycles = 0;
36475 int referenced = 0;
36476 int UNUSED insn_referenced = abuf->written;
36477 INT in_GRi = -1;
36478 INT in_GRj = -1;
36479 INT in_ICCi_2 = -1;
36480 INT in_FCCi_2 = -1;
36481 in_FCCi_2 = FLD (in_FCCi_2);
36482 referenced |= 1 << 3;
36483 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36484 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36486 return cycles;
36487 #undef FLD
36490 static int
36491 model_fr500_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
36493 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36495 const IDESC * UNUSED idesc = abuf->idesc;
36496 int cycles = 0;
36498 int referenced = 0;
36499 int UNUSED insn_referenced = abuf->written;
36500 INT in_GRi = -1;
36501 INT in_GRj = -1;
36502 INT in_ICCi_2 = -1;
36503 INT in_FCCi_2 = -1;
36504 in_FCCi_2 = FLD (in_FCCi_2);
36505 referenced |= 1 << 3;
36506 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36507 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36509 return cycles;
36510 #undef FLD
36513 static int
36514 model_fr500_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
36516 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36518 const IDESC * UNUSED idesc = abuf->idesc;
36519 int cycles = 0;
36521 int referenced = 0;
36522 int UNUSED insn_referenced = abuf->written;
36523 INT in_GRi = -1;
36524 INT in_GRj = -1;
36525 INT in_ICCi_2 = -1;
36526 INT in_FCCi_2 = -1;
36527 in_FCCi_2 = FLD (in_FCCi_2);
36528 referenced |= 1 << 3;
36529 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36530 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36532 return cycles;
36533 #undef FLD
36536 static int
36537 model_fr500_fblelr (SIM_CPU *current_cpu, void *sem_arg)
36539 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36541 const IDESC * UNUSED idesc = abuf->idesc;
36542 int cycles = 0;
36544 int referenced = 0;
36545 int UNUSED insn_referenced = abuf->written;
36546 INT in_GRi = -1;
36547 INT in_GRj = -1;
36548 INT in_ICCi_2 = -1;
36549 INT in_FCCi_2 = -1;
36550 in_FCCi_2 = FLD (in_FCCi_2);
36551 referenced |= 1 << 3;
36552 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36553 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36555 return cycles;
36556 #undef FLD
36559 static int
36560 model_fr500_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
36562 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36564 const IDESC * UNUSED idesc = abuf->idesc;
36565 int cycles = 0;
36567 int referenced = 0;
36568 int UNUSED insn_referenced = abuf->written;
36569 INT in_GRi = -1;
36570 INT in_GRj = -1;
36571 INT in_ICCi_2 = -1;
36572 INT in_FCCi_2 = -1;
36573 in_FCCi_2 = FLD (in_FCCi_2);
36574 referenced |= 1 << 3;
36575 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36576 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36578 return cycles;
36579 #undef FLD
36582 static int
36583 model_fr500_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
36585 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36586 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36587 const IDESC * UNUSED idesc = abuf->idesc;
36588 int cycles = 0;
36590 int referenced = 0;
36591 int UNUSED insn_referenced = abuf->written;
36592 INT in_GRi = -1;
36593 INT in_GRj = -1;
36594 INT in_ICCi_2 = -1;
36595 INT in_FCCi_2 = -1;
36596 in_FCCi_2 = FLD (in_FCCi_2);
36597 referenced |= 1 << 3;
36598 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36599 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36601 return cycles;
36602 #undef FLD
36605 static int
36606 model_fr500_fbulr (SIM_CPU *current_cpu, void *sem_arg)
36608 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36610 const IDESC * UNUSED idesc = abuf->idesc;
36611 int cycles = 0;
36613 int referenced = 0;
36614 int UNUSED insn_referenced = abuf->written;
36615 INT in_GRi = -1;
36616 INT in_GRj = -1;
36617 INT in_ICCi_2 = -1;
36618 INT in_FCCi_2 = -1;
36619 in_FCCi_2 = FLD (in_FCCi_2);
36620 referenced |= 1 << 3;
36621 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36622 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36624 return cycles;
36625 #undef FLD
36628 static int
36629 model_fr500_fbolr (SIM_CPU *current_cpu, void *sem_arg)
36631 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36633 const IDESC * UNUSED idesc = abuf->idesc;
36634 int cycles = 0;
36636 int referenced = 0;
36637 int UNUSED insn_referenced = abuf->written;
36638 INT in_GRi = -1;
36639 INT in_GRj = -1;
36640 INT in_ICCi_2 = -1;
36641 INT in_FCCi_2 = -1;
36642 in_FCCi_2 = FLD (in_FCCi_2);
36643 referenced |= 1 << 3;
36644 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36645 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36647 return cycles;
36648 #undef FLD
36651 static int
36652 model_fr500_bcralr (SIM_CPU *current_cpu, void *sem_arg)
36654 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36655 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36656 const IDESC * UNUSED idesc = abuf->idesc;
36657 int cycles = 0;
36659 int referenced = 0;
36660 int UNUSED insn_referenced = abuf->written;
36661 INT in_GRi = -1;
36662 INT in_GRj = -1;
36663 INT in_ICCi_2 = -1;
36664 INT in_FCCi_2 = -1;
36665 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
36666 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36668 return cycles;
36669 #undef FLD
36672 static int
36673 model_fr500_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
36675 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36677 const IDESC * UNUSED idesc = abuf->idesc;
36678 int cycles = 0;
36680 int referenced = 0;
36681 int UNUSED insn_referenced = abuf->written;
36682 INT in_GRi = -1;
36683 INT in_GRj = -1;
36684 INT in_ICCi_2 = -1;
36685 INT in_FCCi_2 = -1;
36686 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36688 return cycles;
36689 #undef FLD
36692 static int
36693 model_fr500_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
36695 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36697 const IDESC * UNUSED idesc = abuf->idesc;
36698 int cycles = 0;
36700 int referenced = 0;
36701 int UNUSED insn_referenced = abuf->written;
36702 INT in_GRi = -1;
36703 INT in_GRj = -1;
36704 INT in_ICCi_2 = -1;
36705 INT in_FCCi_2 = -1;
36706 in_ICCi_2 = FLD (in_ICCi_2);
36707 referenced |= 1 << 2;
36708 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36709 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36711 return cycles;
36712 #undef FLD
36715 static int
36716 model_fr500_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
36718 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36719 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36720 const IDESC * UNUSED idesc = abuf->idesc;
36721 int cycles = 0;
36723 int referenced = 0;
36724 int UNUSED insn_referenced = abuf->written;
36725 INT in_GRi = -1;
36726 INT in_GRj = -1;
36727 INT in_ICCi_2 = -1;
36728 INT in_FCCi_2 = -1;
36729 in_ICCi_2 = FLD (in_ICCi_2);
36730 referenced |= 1 << 2;
36731 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36732 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36734 return cycles;
36735 #undef FLD
36738 static int
36739 model_fr500_bclelr (SIM_CPU *current_cpu, void *sem_arg)
36741 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36742 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36743 const IDESC * UNUSED idesc = abuf->idesc;
36744 int cycles = 0;
36746 int referenced = 0;
36747 int UNUSED insn_referenced = abuf->written;
36748 INT in_GRi = -1;
36749 INT in_GRj = -1;
36750 INT in_ICCi_2 = -1;
36751 INT in_FCCi_2 = -1;
36752 in_ICCi_2 = FLD (in_ICCi_2);
36753 referenced |= 1 << 2;
36754 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36755 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36757 return cycles;
36758 #undef FLD
36761 static int
36762 model_fr500_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
36764 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36766 const IDESC * UNUSED idesc = abuf->idesc;
36767 int cycles = 0;
36769 int referenced = 0;
36770 int UNUSED insn_referenced = abuf->written;
36771 INT in_GRi = -1;
36772 INT in_GRj = -1;
36773 INT in_ICCi_2 = -1;
36774 INT in_FCCi_2 = -1;
36775 in_ICCi_2 = FLD (in_ICCi_2);
36776 referenced |= 1 << 2;
36777 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36778 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36780 return cycles;
36781 #undef FLD
36784 static int
36785 model_fr500_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
36787 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36789 const IDESC * UNUSED idesc = abuf->idesc;
36790 int cycles = 0;
36792 int referenced = 0;
36793 int UNUSED insn_referenced = abuf->written;
36794 INT in_GRi = -1;
36795 INT in_GRj = -1;
36796 INT in_ICCi_2 = -1;
36797 INT in_FCCi_2 = -1;
36798 in_ICCi_2 = FLD (in_ICCi_2);
36799 referenced |= 1 << 2;
36800 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36801 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36803 return cycles;
36804 #undef FLD
36807 static int
36808 model_fr500_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
36810 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36812 const IDESC * UNUSED idesc = abuf->idesc;
36813 int cycles = 0;
36815 int referenced = 0;
36816 int UNUSED insn_referenced = abuf->written;
36817 INT in_GRi = -1;
36818 INT in_GRj = -1;
36819 INT in_ICCi_2 = -1;
36820 INT in_FCCi_2 = -1;
36821 in_ICCi_2 = FLD (in_ICCi_2);
36822 referenced |= 1 << 2;
36823 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36824 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36826 return cycles;
36827 #undef FLD
36830 static int
36831 model_fr500_bclslr (SIM_CPU *current_cpu, void *sem_arg)
36833 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36834 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36835 const IDESC * UNUSED idesc = abuf->idesc;
36836 int cycles = 0;
36838 int referenced = 0;
36839 int UNUSED insn_referenced = abuf->written;
36840 INT in_GRi = -1;
36841 INT in_GRj = -1;
36842 INT in_ICCi_2 = -1;
36843 INT in_FCCi_2 = -1;
36844 in_ICCi_2 = FLD (in_ICCi_2);
36845 referenced |= 1 << 2;
36846 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36847 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36849 return cycles;
36850 #undef FLD
36853 static int
36854 model_fr500_bchilr (SIM_CPU *current_cpu, void *sem_arg)
36856 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36858 const IDESC * UNUSED idesc = abuf->idesc;
36859 int cycles = 0;
36861 int referenced = 0;
36862 int UNUSED insn_referenced = abuf->written;
36863 INT in_GRi = -1;
36864 INT in_GRj = -1;
36865 INT in_ICCi_2 = -1;
36866 INT in_FCCi_2 = -1;
36867 in_ICCi_2 = FLD (in_ICCi_2);
36868 referenced |= 1 << 2;
36869 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36870 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36872 return cycles;
36873 #undef FLD
36876 static int
36877 model_fr500_bcclr (SIM_CPU *current_cpu, void *sem_arg)
36879 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36881 const IDESC * UNUSED idesc = abuf->idesc;
36882 int cycles = 0;
36884 int referenced = 0;
36885 int UNUSED insn_referenced = abuf->written;
36886 INT in_GRi = -1;
36887 INT in_GRj = -1;
36888 INT in_ICCi_2 = -1;
36889 INT in_FCCi_2 = -1;
36890 in_ICCi_2 = FLD (in_ICCi_2);
36891 referenced |= 1 << 2;
36892 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36893 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36895 return cycles;
36896 #undef FLD
36899 static int
36900 model_fr500_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
36902 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36903 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36904 const IDESC * UNUSED idesc = abuf->idesc;
36905 int cycles = 0;
36907 int referenced = 0;
36908 int UNUSED insn_referenced = abuf->written;
36909 INT in_GRi = -1;
36910 INT in_GRj = -1;
36911 INT in_ICCi_2 = -1;
36912 INT in_FCCi_2 = -1;
36913 in_ICCi_2 = FLD (in_ICCi_2);
36914 referenced |= 1 << 2;
36915 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36916 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36918 return cycles;
36919 #undef FLD
36922 static int
36923 model_fr500_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
36925 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36926 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36927 const IDESC * UNUSED idesc = abuf->idesc;
36928 int cycles = 0;
36930 int referenced = 0;
36931 int UNUSED insn_referenced = abuf->written;
36932 INT in_GRi = -1;
36933 INT in_GRj = -1;
36934 INT in_ICCi_2 = -1;
36935 INT in_FCCi_2 = -1;
36936 in_ICCi_2 = FLD (in_ICCi_2);
36937 referenced |= 1 << 2;
36938 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36939 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36941 return cycles;
36942 #undef FLD
36945 static int
36946 model_fr500_bcplr (SIM_CPU *current_cpu, void *sem_arg)
36948 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36950 const IDESC * UNUSED idesc = abuf->idesc;
36951 int cycles = 0;
36953 int referenced = 0;
36954 int UNUSED insn_referenced = abuf->written;
36955 INT in_GRi = -1;
36956 INT in_GRj = -1;
36957 INT in_ICCi_2 = -1;
36958 INT in_FCCi_2 = -1;
36959 in_ICCi_2 = FLD (in_ICCi_2);
36960 referenced |= 1 << 2;
36961 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36962 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36964 return cycles;
36965 #undef FLD
36968 static int
36969 model_fr500_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
36971 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36973 const IDESC * UNUSED idesc = abuf->idesc;
36974 int cycles = 0;
36976 int referenced = 0;
36977 int UNUSED insn_referenced = abuf->written;
36978 INT in_GRi = -1;
36979 INT in_GRj = -1;
36980 INT in_ICCi_2 = -1;
36981 INT in_FCCi_2 = -1;
36982 in_ICCi_2 = FLD (in_ICCi_2);
36983 referenced |= 1 << 2;
36984 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36985 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36987 return cycles;
36988 #undef FLD
36991 static int
36992 model_fr500_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
36994 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36995 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36996 const IDESC * UNUSED idesc = abuf->idesc;
36997 int cycles = 0;
36999 int referenced = 0;
37000 int UNUSED insn_referenced = abuf->written;
37001 INT in_GRi = -1;
37002 INT in_GRj = -1;
37003 INT in_ICCi_2 = -1;
37004 INT in_FCCi_2 = -1;
37005 in_ICCi_2 = FLD (in_ICCi_2);
37006 referenced |= 1 << 2;
37007 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37008 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37010 return cycles;
37011 #undef FLD
37014 static int
37015 model_fr500_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
37017 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37018 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37019 const IDESC * UNUSED idesc = abuf->idesc;
37020 int cycles = 0;
37022 int referenced = 0;
37023 int UNUSED insn_referenced = abuf->written;
37024 INT in_GRi = -1;
37025 INT in_GRj = -1;
37026 INT in_ICCi_2 = -1;
37027 INT in_FCCi_2 = -1;
37028 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
37029 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37031 return cycles;
37032 #undef FLD
37035 static int
37036 model_fr500_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
37038 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37039 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37040 const IDESC * UNUSED idesc = abuf->idesc;
37041 int cycles = 0;
37043 int referenced = 0;
37044 int UNUSED insn_referenced = abuf->written;
37045 INT in_GRi = -1;
37046 INT in_GRj = -1;
37047 INT in_ICCi_2 = -1;
37048 INT in_FCCi_2 = -1;
37049 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37051 return cycles;
37052 #undef FLD
37055 static int
37056 model_fr500_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
37058 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37059 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37060 const IDESC * UNUSED idesc = abuf->idesc;
37061 int cycles = 0;
37063 int referenced = 0;
37064 int UNUSED insn_referenced = abuf->written;
37065 INT in_GRi = -1;
37066 INT in_GRj = -1;
37067 INT in_ICCi_2 = -1;
37068 INT in_FCCi_2 = -1;
37069 in_FCCi_2 = FLD (in_FCCi_2);
37070 referenced |= 1 << 3;
37071 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37072 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37074 return cycles;
37075 #undef FLD
37078 static int
37079 model_fr500_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
37081 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37083 const IDESC * UNUSED idesc = abuf->idesc;
37084 int cycles = 0;
37086 int referenced = 0;
37087 int UNUSED insn_referenced = abuf->written;
37088 INT in_GRi = -1;
37089 INT in_GRj = -1;
37090 INT in_ICCi_2 = -1;
37091 INT in_FCCi_2 = -1;
37092 in_FCCi_2 = FLD (in_FCCi_2);
37093 referenced |= 1 << 3;
37094 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37095 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37097 return cycles;
37098 #undef FLD
37101 static int
37102 model_fr500_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
37104 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37106 const IDESC * UNUSED idesc = abuf->idesc;
37107 int cycles = 0;
37109 int referenced = 0;
37110 int UNUSED insn_referenced = abuf->written;
37111 INT in_GRi = -1;
37112 INT in_GRj = -1;
37113 INT in_ICCi_2 = -1;
37114 INT in_FCCi_2 = -1;
37115 in_FCCi_2 = FLD (in_FCCi_2);
37116 referenced |= 1 << 3;
37117 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37118 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37120 return cycles;
37121 #undef FLD
37124 static int
37125 model_fr500_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
37127 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37129 const IDESC * UNUSED idesc = abuf->idesc;
37130 int cycles = 0;
37132 int referenced = 0;
37133 int UNUSED insn_referenced = abuf->written;
37134 INT in_GRi = -1;
37135 INT in_GRj = -1;
37136 INT in_ICCi_2 = -1;
37137 INT in_FCCi_2 = -1;
37138 in_FCCi_2 = FLD (in_FCCi_2);
37139 referenced |= 1 << 3;
37140 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37141 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37143 return cycles;
37144 #undef FLD
37147 static int
37148 model_fr500_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
37150 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37152 const IDESC * UNUSED idesc = abuf->idesc;
37153 int cycles = 0;
37155 int referenced = 0;
37156 int UNUSED insn_referenced = abuf->written;
37157 INT in_GRi = -1;
37158 INT in_GRj = -1;
37159 INT in_ICCi_2 = -1;
37160 INT in_FCCi_2 = -1;
37161 in_FCCi_2 = FLD (in_FCCi_2);
37162 referenced |= 1 << 3;
37163 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37164 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37166 return cycles;
37167 #undef FLD
37170 static int
37171 model_fr500_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
37173 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37175 const IDESC * UNUSED idesc = abuf->idesc;
37176 int cycles = 0;
37178 int referenced = 0;
37179 int UNUSED insn_referenced = abuf->written;
37180 INT in_GRi = -1;
37181 INT in_GRj = -1;
37182 INT in_ICCi_2 = -1;
37183 INT in_FCCi_2 = -1;
37184 in_FCCi_2 = FLD (in_FCCi_2);
37185 referenced |= 1 << 3;
37186 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37187 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37189 return cycles;
37190 #undef FLD
37193 static int
37194 model_fr500_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
37196 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37198 const IDESC * UNUSED idesc = abuf->idesc;
37199 int cycles = 0;
37201 int referenced = 0;
37202 int UNUSED insn_referenced = abuf->written;
37203 INT in_GRi = -1;
37204 INT in_GRj = -1;
37205 INT in_ICCi_2 = -1;
37206 INT in_FCCi_2 = -1;
37207 in_FCCi_2 = FLD (in_FCCi_2);
37208 referenced |= 1 << 3;
37209 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37210 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37212 return cycles;
37213 #undef FLD
37216 static int
37217 model_fr500_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
37219 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37221 const IDESC * UNUSED idesc = abuf->idesc;
37222 int cycles = 0;
37224 int referenced = 0;
37225 int UNUSED insn_referenced = abuf->written;
37226 INT in_GRi = -1;
37227 INT in_GRj = -1;
37228 INT in_ICCi_2 = -1;
37229 INT in_FCCi_2 = -1;
37230 in_FCCi_2 = FLD (in_FCCi_2);
37231 referenced |= 1 << 3;
37232 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37233 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37235 return cycles;
37236 #undef FLD
37239 static int
37240 model_fr500_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
37242 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37244 const IDESC * UNUSED idesc = abuf->idesc;
37245 int cycles = 0;
37247 int referenced = 0;
37248 int UNUSED insn_referenced = abuf->written;
37249 INT in_GRi = -1;
37250 INT in_GRj = -1;
37251 INT in_ICCi_2 = -1;
37252 INT in_FCCi_2 = -1;
37253 in_FCCi_2 = FLD (in_FCCi_2);
37254 referenced |= 1 << 3;
37255 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37256 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37258 return cycles;
37259 #undef FLD
37262 static int
37263 model_fr500_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
37265 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37266 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37267 const IDESC * UNUSED idesc = abuf->idesc;
37268 int cycles = 0;
37270 int referenced = 0;
37271 int UNUSED insn_referenced = abuf->written;
37272 INT in_GRi = -1;
37273 INT in_GRj = -1;
37274 INT in_ICCi_2 = -1;
37275 INT in_FCCi_2 = -1;
37276 in_FCCi_2 = FLD (in_FCCi_2);
37277 referenced |= 1 << 3;
37278 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37279 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37281 return cycles;
37282 #undef FLD
37285 static int
37286 model_fr500_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
37288 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37290 const IDESC * UNUSED idesc = abuf->idesc;
37291 int cycles = 0;
37293 int referenced = 0;
37294 int UNUSED insn_referenced = abuf->written;
37295 INT in_GRi = -1;
37296 INT in_GRj = -1;
37297 INT in_ICCi_2 = -1;
37298 INT in_FCCi_2 = -1;
37299 in_FCCi_2 = FLD (in_FCCi_2);
37300 referenced |= 1 << 3;
37301 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37302 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37304 return cycles;
37305 #undef FLD
37308 static int
37309 model_fr500_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
37311 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37313 const IDESC * UNUSED idesc = abuf->idesc;
37314 int cycles = 0;
37316 int referenced = 0;
37317 int UNUSED insn_referenced = abuf->written;
37318 INT in_GRi = -1;
37319 INT in_GRj = -1;
37320 INT in_ICCi_2 = -1;
37321 INT in_FCCi_2 = -1;
37322 in_FCCi_2 = FLD (in_FCCi_2);
37323 referenced |= 1 << 3;
37324 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37325 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37327 return cycles;
37328 #undef FLD
37331 static int
37332 model_fr500_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
37334 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37336 const IDESC * UNUSED idesc = abuf->idesc;
37337 int cycles = 0;
37339 int referenced = 0;
37340 int UNUSED insn_referenced = abuf->written;
37341 INT in_GRi = -1;
37342 INT in_GRj = -1;
37343 INT in_ICCi_2 = -1;
37344 INT in_FCCi_2 = -1;
37345 in_FCCi_2 = FLD (in_FCCi_2);
37346 referenced |= 1 << 3;
37347 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37348 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37350 return cycles;
37351 #undef FLD
37354 static int
37355 model_fr500_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
37357 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37358 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37359 const IDESC * UNUSED idesc = abuf->idesc;
37360 int cycles = 0;
37362 int referenced = 0;
37363 int UNUSED insn_referenced = abuf->written;
37364 INT in_GRi = -1;
37365 INT in_GRj = -1;
37366 INT in_ICCi_2 = -1;
37367 INT in_FCCi_2 = -1;
37368 in_FCCi_2 = FLD (in_FCCi_2);
37369 referenced |= 1 << 3;
37370 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37371 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37373 return cycles;
37374 #undef FLD
37377 static int
37378 model_fr500_jmpl (SIM_CPU *current_cpu, void *sem_arg)
37380 #define FLD(f) abuf->fields.sfmt_cjmpl.f
37381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37382 const IDESC * UNUSED idesc = abuf->idesc;
37383 int cycles = 0;
37385 int referenced = 0;
37386 int UNUSED insn_referenced = abuf->written;
37387 INT in_GRi = -1;
37388 INT in_GRj = -1;
37389 INT in_ICCi_2 = -1;
37390 INT in_FCCi_2 = -1;
37391 in_GRi = FLD (in_GRi);
37392 in_GRj = FLD (in_GRj);
37393 referenced |= 1 << 0;
37394 referenced |= 1 << 1;
37395 referenced |= 1 << 4;
37396 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37398 return cycles;
37399 #undef FLD
37402 static int
37403 model_fr500_calll (SIM_CPU *current_cpu, void *sem_arg)
37405 #define FLD(f) abuf->fields.sfmt_cjmpl.f
37406 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37407 const IDESC * UNUSED idesc = abuf->idesc;
37408 int cycles = 0;
37410 int referenced = 0;
37411 int UNUSED insn_referenced = abuf->written;
37412 INT in_GRi = -1;
37413 INT in_GRj = -1;
37414 INT in_ICCi_2 = -1;
37415 INT in_FCCi_2 = -1;
37416 in_GRi = FLD (in_GRi);
37417 in_GRj = FLD (in_GRj);
37418 referenced |= 1 << 0;
37419 referenced |= 1 << 1;
37420 referenced |= 1 << 4;
37421 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37423 return cycles;
37424 #undef FLD
37427 static int
37428 model_fr500_jmpil (SIM_CPU *current_cpu, void *sem_arg)
37430 #define FLD(f) abuf->fields.sfmt_jmpil.f
37431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37432 const IDESC * UNUSED idesc = abuf->idesc;
37433 int cycles = 0;
37435 int referenced = 0;
37436 int UNUSED insn_referenced = abuf->written;
37437 INT in_GRi = -1;
37438 INT in_GRj = -1;
37439 INT in_ICCi_2 = -1;
37440 INT in_FCCi_2 = -1;
37441 in_GRi = FLD (in_GRi);
37442 referenced |= 1 << 0;
37443 referenced |= 1 << 4;
37444 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37446 return cycles;
37447 #undef FLD
37450 static int
37451 model_fr500_callil (SIM_CPU *current_cpu, void *sem_arg)
37453 #define FLD(f) abuf->fields.sfmt_jmpil.f
37454 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37455 const IDESC * UNUSED idesc = abuf->idesc;
37456 int cycles = 0;
37458 int referenced = 0;
37459 int UNUSED insn_referenced = abuf->written;
37460 INT in_GRi = -1;
37461 INT in_GRj = -1;
37462 INT in_ICCi_2 = -1;
37463 INT in_FCCi_2 = -1;
37464 in_GRi = FLD (in_GRi);
37465 referenced |= 1 << 0;
37466 referenced |= 1 << 4;
37467 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37469 return cycles;
37470 #undef FLD
37473 static int
37474 model_fr500_call (SIM_CPU *current_cpu, void *sem_arg)
37476 #define FLD(f) abuf->fields.sfmt_call.f
37477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37478 const IDESC * UNUSED idesc = abuf->idesc;
37479 int cycles = 0;
37481 int referenced = 0;
37482 int UNUSED insn_referenced = abuf->written;
37483 INT in_GRi = -1;
37484 INT in_GRj = -1;
37485 INT in_ICCi_2 = -1;
37486 INT in_FCCi_2 = -1;
37487 referenced |= 1 << 4;
37488 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37490 return cycles;
37491 #undef FLD
37494 static int
37495 model_fr500_rett (SIM_CPU *current_cpu, void *sem_arg)
37497 #define FLD(f) abuf->fields.sfmt_rett.f
37498 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37499 const IDESC * UNUSED idesc = abuf->idesc;
37500 int cycles = 0;
37502 int referenced = 0;
37503 int UNUSED insn_referenced = abuf->written;
37504 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
37506 return cycles;
37507 #undef FLD
37510 static int
37511 model_fr500_rei (SIM_CPU *current_cpu, void *sem_arg)
37513 #define FLD(f) abuf->fields.sfmt_empty.f
37514 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37515 const IDESC * UNUSED idesc = abuf->idesc;
37516 int cycles = 0;
37518 int referenced = 0;
37519 int UNUSED insn_referenced = abuf->written;
37520 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
37522 return cycles;
37523 #undef FLD
37526 static int
37527 model_fr500_tra (SIM_CPU *current_cpu, void *sem_arg)
37529 #define FLD(f) abuf->fields.sfmt_ftne.f
37530 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37531 const IDESC * UNUSED idesc = abuf->idesc;
37532 int cycles = 0;
37534 int referenced = 0;
37535 int UNUSED insn_referenced = abuf->written;
37536 INT in_GRi = -1;
37537 INT in_GRj = -1;
37538 INT in_ICCi_2 = -1;
37539 INT in_FCCi_2 = -1;
37540 in_GRi = FLD (in_GRi);
37541 in_GRj = FLD (in_GRj);
37542 referenced |= 1 << 0;
37543 referenced |= 1 << 1;
37544 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37546 return cycles;
37547 #undef FLD
37550 static int
37551 model_fr500_tno (SIM_CPU *current_cpu, void *sem_arg)
37553 #define FLD(f) abuf->fields.sfmt_empty.f
37554 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37555 const IDESC * UNUSED idesc = abuf->idesc;
37556 int cycles = 0;
37558 int referenced = 0;
37559 int UNUSED insn_referenced = abuf->written;
37560 INT in_GRi = -1;
37561 INT in_GRj = -1;
37562 INT in_ICCi_2 = -1;
37563 INT in_FCCi_2 = -1;
37564 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37566 return cycles;
37567 #undef FLD
37570 static int
37571 model_fr500_teq (SIM_CPU *current_cpu, void *sem_arg)
37573 #define FLD(f) abuf->fields.sfmt_teq.f
37574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37575 const IDESC * UNUSED idesc = abuf->idesc;
37576 int cycles = 0;
37578 int referenced = 0;
37579 int UNUSED insn_referenced = abuf->written;
37580 INT in_GRi = -1;
37581 INT in_GRj = -1;
37582 INT in_ICCi_2 = -1;
37583 INT in_FCCi_2 = -1;
37584 in_GRi = FLD (in_GRi);
37585 in_GRj = FLD (in_GRj);
37586 in_ICCi_2 = FLD (in_ICCi_2);
37587 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37588 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37589 referenced |= 1 << 2;
37590 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37592 return cycles;
37593 #undef FLD
37596 static int
37597 model_fr500_tne (SIM_CPU *current_cpu, void *sem_arg)
37599 #define FLD(f) abuf->fields.sfmt_teq.f
37600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37601 const IDESC * UNUSED idesc = abuf->idesc;
37602 int cycles = 0;
37604 int referenced = 0;
37605 int UNUSED insn_referenced = abuf->written;
37606 INT in_GRi = -1;
37607 INT in_GRj = -1;
37608 INT in_ICCi_2 = -1;
37609 INT in_FCCi_2 = -1;
37610 in_GRi = FLD (in_GRi);
37611 in_GRj = FLD (in_GRj);
37612 in_ICCi_2 = FLD (in_ICCi_2);
37613 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37614 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37615 referenced |= 1 << 2;
37616 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37618 return cycles;
37619 #undef FLD
37622 static int
37623 model_fr500_tle (SIM_CPU *current_cpu, void *sem_arg)
37625 #define FLD(f) abuf->fields.sfmt_teq.f
37626 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37627 const IDESC * UNUSED idesc = abuf->idesc;
37628 int cycles = 0;
37630 int referenced = 0;
37631 int UNUSED insn_referenced = abuf->written;
37632 INT in_GRi = -1;
37633 INT in_GRj = -1;
37634 INT in_ICCi_2 = -1;
37635 INT in_FCCi_2 = -1;
37636 in_GRi = FLD (in_GRi);
37637 in_GRj = FLD (in_GRj);
37638 in_ICCi_2 = FLD (in_ICCi_2);
37639 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37640 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37641 referenced |= 1 << 2;
37642 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37644 return cycles;
37645 #undef FLD
37648 static int
37649 model_fr500_tgt (SIM_CPU *current_cpu, void *sem_arg)
37651 #define FLD(f) abuf->fields.sfmt_teq.f
37652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37653 const IDESC * UNUSED idesc = abuf->idesc;
37654 int cycles = 0;
37656 int referenced = 0;
37657 int UNUSED insn_referenced = abuf->written;
37658 INT in_GRi = -1;
37659 INT in_GRj = -1;
37660 INT in_ICCi_2 = -1;
37661 INT in_FCCi_2 = -1;
37662 in_GRi = FLD (in_GRi);
37663 in_GRj = FLD (in_GRj);
37664 in_ICCi_2 = FLD (in_ICCi_2);
37665 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37666 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37667 referenced |= 1 << 2;
37668 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37670 return cycles;
37671 #undef FLD
37674 static int
37675 model_fr500_tlt (SIM_CPU *current_cpu, void *sem_arg)
37677 #define FLD(f) abuf->fields.sfmt_teq.f
37678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37679 const IDESC * UNUSED idesc = abuf->idesc;
37680 int cycles = 0;
37682 int referenced = 0;
37683 int UNUSED insn_referenced = abuf->written;
37684 INT in_GRi = -1;
37685 INT in_GRj = -1;
37686 INT in_ICCi_2 = -1;
37687 INT in_FCCi_2 = -1;
37688 in_GRi = FLD (in_GRi);
37689 in_GRj = FLD (in_GRj);
37690 in_ICCi_2 = FLD (in_ICCi_2);
37691 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37692 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37693 referenced |= 1 << 2;
37694 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37696 return cycles;
37697 #undef FLD
37700 static int
37701 model_fr500_tge (SIM_CPU *current_cpu, void *sem_arg)
37703 #define FLD(f) abuf->fields.sfmt_teq.f
37704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37705 const IDESC * UNUSED idesc = abuf->idesc;
37706 int cycles = 0;
37708 int referenced = 0;
37709 int UNUSED insn_referenced = abuf->written;
37710 INT in_GRi = -1;
37711 INT in_GRj = -1;
37712 INT in_ICCi_2 = -1;
37713 INT in_FCCi_2 = -1;
37714 in_GRi = FLD (in_GRi);
37715 in_GRj = FLD (in_GRj);
37716 in_ICCi_2 = FLD (in_ICCi_2);
37717 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37718 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37719 referenced |= 1 << 2;
37720 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37722 return cycles;
37723 #undef FLD
37726 static int
37727 model_fr500_tls (SIM_CPU *current_cpu, void *sem_arg)
37729 #define FLD(f) abuf->fields.sfmt_teq.f
37730 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37731 const IDESC * UNUSED idesc = abuf->idesc;
37732 int cycles = 0;
37734 int referenced = 0;
37735 int UNUSED insn_referenced = abuf->written;
37736 INT in_GRi = -1;
37737 INT in_GRj = -1;
37738 INT in_ICCi_2 = -1;
37739 INT in_FCCi_2 = -1;
37740 in_GRi = FLD (in_GRi);
37741 in_GRj = FLD (in_GRj);
37742 in_ICCi_2 = FLD (in_ICCi_2);
37743 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37744 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37745 referenced |= 1 << 2;
37746 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37748 return cycles;
37749 #undef FLD
37752 static int
37753 model_fr500_thi (SIM_CPU *current_cpu, void *sem_arg)
37755 #define FLD(f) abuf->fields.sfmt_teq.f
37756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37757 const IDESC * UNUSED idesc = abuf->idesc;
37758 int cycles = 0;
37760 int referenced = 0;
37761 int UNUSED insn_referenced = abuf->written;
37762 INT in_GRi = -1;
37763 INT in_GRj = -1;
37764 INT in_ICCi_2 = -1;
37765 INT in_FCCi_2 = -1;
37766 in_GRi = FLD (in_GRi);
37767 in_GRj = FLD (in_GRj);
37768 in_ICCi_2 = FLD (in_ICCi_2);
37769 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37770 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37771 referenced |= 1 << 2;
37772 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37774 return cycles;
37775 #undef FLD
37778 static int
37779 model_fr500_tc (SIM_CPU *current_cpu, void *sem_arg)
37781 #define FLD(f) abuf->fields.sfmt_teq.f
37782 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37783 const IDESC * UNUSED idesc = abuf->idesc;
37784 int cycles = 0;
37786 int referenced = 0;
37787 int UNUSED insn_referenced = abuf->written;
37788 INT in_GRi = -1;
37789 INT in_GRj = -1;
37790 INT in_ICCi_2 = -1;
37791 INT in_FCCi_2 = -1;
37792 in_GRi = FLD (in_GRi);
37793 in_GRj = FLD (in_GRj);
37794 in_ICCi_2 = FLD (in_ICCi_2);
37795 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37796 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37797 referenced |= 1 << 2;
37798 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37800 return cycles;
37801 #undef FLD
37804 static int
37805 model_fr500_tnc (SIM_CPU *current_cpu, void *sem_arg)
37807 #define FLD(f) abuf->fields.sfmt_teq.f
37808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37809 const IDESC * UNUSED idesc = abuf->idesc;
37810 int cycles = 0;
37812 int referenced = 0;
37813 int UNUSED insn_referenced = abuf->written;
37814 INT in_GRi = -1;
37815 INT in_GRj = -1;
37816 INT in_ICCi_2 = -1;
37817 INT in_FCCi_2 = -1;
37818 in_GRi = FLD (in_GRi);
37819 in_GRj = FLD (in_GRj);
37820 in_ICCi_2 = FLD (in_ICCi_2);
37821 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37822 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37823 referenced |= 1 << 2;
37824 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37826 return cycles;
37827 #undef FLD
37830 static int
37831 model_fr500_tn (SIM_CPU *current_cpu, void *sem_arg)
37833 #define FLD(f) abuf->fields.sfmt_teq.f
37834 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37835 const IDESC * UNUSED idesc = abuf->idesc;
37836 int cycles = 0;
37838 int referenced = 0;
37839 int UNUSED insn_referenced = abuf->written;
37840 INT in_GRi = -1;
37841 INT in_GRj = -1;
37842 INT in_ICCi_2 = -1;
37843 INT in_FCCi_2 = -1;
37844 in_GRi = FLD (in_GRi);
37845 in_GRj = FLD (in_GRj);
37846 in_ICCi_2 = FLD (in_ICCi_2);
37847 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37848 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37849 referenced |= 1 << 2;
37850 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37852 return cycles;
37853 #undef FLD
37856 static int
37857 model_fr500_tp (SIM_CPU *current_cpu, void *sem_arg)
37859 #define FLD(f) abuf->fields.sfmt_teq.f
37860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37861 const IDESC * UNUSED idesc = abuf->idesc;
37862 int cycles = 0;
37864 int referenced = 0;
37865 int UNUSED insn_referenced = abuf->written;
37866 INT in_GRi = -1;
37867 INT in_GRj = -1;
37868 INT in_ICCi_2 = -1;
37869 INT in_FCCi_2 = -1;
37870 in_GRi = FLD (in_GRi);
37871 in_GRj = FLD (in_GRj);
37872 in_ICCi_2 = FLD (in_ICCi_2);
37873 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37874 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37875 referenced |= 1 << 2;
37876 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37878 return cycles;
37879 #undef FLD
37882 static int
37883 model_fr500_tv (SIM_CPU *current_cpu, void *sem_arg)
37885 #define FLD(f) abuf->fields.sfmt_teq.f
37886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37887 const IDESC * UNUSED idesc = abuf->idesc;
37888 int cycles = 0;
37890 int referenced = 0;
37891 int UNUSED insn_referenced = abuf->written;
37892 INT in_GRi = -1;
37893 INT in_GRj = -1;
37894 INT in_ICCi_2 = -1;
37895 INT in_FCCi_2 = -1;
37896 in_GRi = FLD (in_GRi);
37897 in_GRj = FLD (in_GRj);
37898 in_ICCi_2 = FLD (in_ICCi_2);
37899 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37900 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37901 referenced |= 1 << 2;
37902 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37904 return cycles;
37905 #undef FLD
37908 static int
37909 model_fr500_tnv (SIM_CPU *current_cpu, void *sem_arg)
37911 #define FLD(f) abuf->fields.sfmt_teq.f
37912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37913 const IDESC * UNUSED idesc = abuf->idesc;
37914 int cycles = 0;
37916 int referenced = 0;
37917 int UNUSED insn_referenced = abuf->written;
37918 INT in_GRi = -1;
37919 INT in_GRj = -1;
37920 INT in_ICCi_2 = -1;
37921 INT in_FCCi_2 = -1;
37922 in_GRi = FLD (in_GRi);
37923 in_GRj = FLD (in_GRj);
37924 in_ICCi_2 = FLD (in_ICCi_2);
37925 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37926 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37927 referenced |= 1 << 2;
37928 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37930 return cycles;
37931 #undef FLD
37934 static int
37935 model_fr500_ftra (SIM_CPU *current_cpu, void *sem_arg)
37937 #define FLD(f) abuf->fields.sfmt_ftne.f
37938 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37939 const IDESC * UNUSED idesc = abuf->idesc;
37940 int cycles = 0;
37942 int referenced = 0;
37943 int UNUSED insn_referenced = abuf->written;
37944 INT in_GRi = -1;
37945 INT in_GRj = -1;
37946 INT in_ICCi_2 = -1;
37947 INT in_FCCi_2 = -1;
37948 in_GRi = FLD (in_GRi);
37949 in_GRj = FLD (in_GRj);
37950 referenced |= 1 << 0;
37951 referenced |= 1 << 1;
37952 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37954 return cycles;
37955 #undef FLD
37958 static int
37959 model_fr500_ftno (SIM_CPU *current_cpu, void *sem_arg)
37961 #define FLD(f) abuf->fields.sfmt_empty.f
37962 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37963 const IDESC * UNUSED idesc = abuf->idesc;
37964 int cycles = 0;
37966 int referenced = 0;
37967 int UNUSED insn_referenced = abuf->written;
37968 INT in_GRi = -1;
37969 INT in_GRj = -1;
37970 INT in_ICCi_2 = -1;
37971 INT in_FCCi_2 = -1;
37972 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37974 return cycles;
37975 #undef FLD
37978 static int
37979 model_fr500_ftne (SIM_CPU *current_cpu, void *sem_arg)
37981 #define FLD(f) abuf->fields.sfmt_ftne.f
37982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37983 const IDESC * UNUSED idesc = abuf->idesc;
37984 int cycles = 0;
37986 int referenced = 0;
37987 int UNUSED insn_referenced = abuf->written;
37988 INT in_GRi = -1;
37989 INT in_GRj = -1;
37990 INT in_ICCi_2 = -1;
37991 INT in_FCCi_2 = -1;
37992 in_GRi = FLD (in_GRi);
37993 in_GRj = FLD (in_GRj);
37994 in_FCCi_2 = FLD (in_FCCi_2);
37995 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
37996 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
37997 referenced |= 1 << 3;
37998 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38000 return cycles;
38001 #undef FLD
38004 static int
38005 model_fr500_fteq (SIM_CPU *current_cpu, void *sem_arg)
38007 #define FLD(f) abuf->fields.sfmt_ftne.f
38008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38009 const IDESC * UNUSED idesc = abuf->idesc;
38010 int cycles = 0;
38012 int referenced = 0;
38013 int UNUSED insn_referenced = abuf->written;
38014 INT in_GRi = -1;
38015 INT in_GRj = -1;
38016 INT in_ICCi_2 = -1;
38017 INT in_FCCi_2 = -1;
38018 in_GRi = FLD (in_GRi);
38019 in_GRj = FLD (in_GRj);
38020 in_FCCi_2 = FLD (in_FCCi_2);
38021 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38022 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38023 referenced |= 1 << 3;
38024 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38026 return cycles;
38027 #undef FLD
38030 static int
38031 model_fr500_ftlg (SIM_CPU *current_cpu, void *sem_arg)
38033 #define FLD(f) abuf->fields.sfmt_ftne.f
38034 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38035 const IDESC * UNUSED idesc = abuf->idesc;
38036 int cycles = 0;
38038 int referenced = 0;
38039 int UNUSED insn_referenced = abuf->written;
38040 INT in_GRi = -1;
38041 INT in_GRj = -1;
38042 INT in_ICCi_2 = -1;
38043 INT in_FCCi_2 = -1;
38044 in_GRi = FLD (in_GRi);
38045 in_GRj = FLD (in_GRj);
38046 in_FCCi_2 = FLD (in_FCCi_2);
38047 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38048 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38049 referenced |= 1 << 3;
38050 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38052 return cycles;
38053 #undef FLD
38056 static int
38057 model_fr500_ftue (SIM_CPU *current_cpu, void *sem_arg)
38059 #define FLD(f) abuf->fields.sfmt_ftne.f
38060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38061 const IDESC * UNUSED idesc = abuf->idesc;
38062 int cycles = 0;
38064 int referenced = 0;
38065 int UNUSED insn_referenced = abuf->written;
38066 INT in_GRi = -1;
38067 INT in_GRj = -1;
38068 INT in_ICCi_2 = -1;
38069 INT in_FCCi_2 = -1;
38070 in_GRi = FLD (in_GRi);
38071 in_GRj = FLD (in_GRj);
38072 in_FCCi_2 = FLD (in_FCCi_2);
38073 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38074 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38075 referenced |= 1 << 3;
38076 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38078 return cycles;
38079 #undef FLD
38082 static int
38083 model_fr500_ftul (SIM_CPU *current_cpu, void *sem_arg)
38085 #define FLD(f) abuf->fields.sfmt_ftne.f
38086 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38087 const IDESC * UNUSED idesc = abuf->idesc;
38088 int cycles = 0;
38090 int referenced = 0;
38091 int UNUSED insn_referenced = abuf->written;
38092 INT in_GRi = -1;
38093 INT in_GRj = -1;
38094 INT in_ICCi_2 = -1;
38095 INT in_FCCi_2 = -1;
38096 in_GRi = FLD (in_GRi);
38097 in_GRj = FLD (in_GRj);
38098 in_FCCi_2 = FLD (in_FCCi_2);
38099 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38100 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38101 referenced |= 1 << 3;
38102 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38104 return cycles;
38105 #undef FLD
38108 static int
38109 model_fr500_ftge (SIM_CPU *current_cpu, void *sem_arg)
38111 #define FLD(f) abuf->fields.sfmt_ftne.f
38112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38113 const IDESC * UNUSED idesc = abuf->idesc;
38114 int cycles = 0;
38116 int referenced = 0;
38117 int UNUSED insn_referenced = abuf->written;
38118 INT in_GRi = -1;
38119 INT in_GRj = -1;
38120 INT in_ICCi_2 = -1;
38121 INT in_FCCi_2 = -1;
38122 in_GRi = FLD (in_GRi);
38123 in_GRj = FLD (in_GRj);
38124 in_FCCi_2 = FLD (in_FCCi_2);
38125 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38126 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38127 referenced |= 1 << 3;
38128 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38130 return cycles;
38131 #undef FLD
38134 static int
38135 model_fr500_ftlt (SIM_CPU *current_cpu, void *sem_arg)
38137 #define FLD(f) abuf->fields.sfmt_ftne.f
38138 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38139 const IDESC * UNUSED idesc = abuf->idesc;
38140 int cycles = 0;
38142 int referenced = 0;
38143 int UNUSED insn_referenced = abuf->written;
38144 INT in_GRi = -1;
38145 INT in_GRj = -1;
38146 INT in_ICCi_2 = -1;
38147 INT in_FCCi_2 = -1;
38148 in_GRi = FLD (in_GRi);
38149 in_GRj = FLD (in_GRj);
38150 in_FCCi_2 = FLD (in_FCCi_2);
38151 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38152 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38153 referenced |= 1 << 3;
38154 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38156 return cycles;
38157 #undef FLD
38160 static int
38161 model_fr500_ftuge (SIM_CPU *current_cpu, void *sem_arg)
38163 #define FLD(f) abuf->fields.sfmt_ftne.f
38164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38165 const IDESC * UNUSED idesc = abuf->idesc;
38166 int cycles = 0;
38168 int referenced = 0;
38169 int UNUSED insn_referenced = abuf->written;
38170 INT in_GRi = -1;
38171 INT in_GRj = -1;
38172 INT in_ICCi_2 = -1;
38173 INT in_FCCi_2 = -1;
38174 in_GRi = FLD (in_GRi);
38175 in_GRj = FLD (in_GRj);
38176 in_FCCi_2 = FLD (in_FCCi_2);
38177 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38178 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38179 referenced |= 1 << 3;
38180 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38182 return cycles;
38183 #undef FLD
38186 static int
38187 model_fr500_ftug (SIM_CPU *current_cpu, void *sem_arg)
38189 #define FLD(f) abuf->fields.sfmt_ftne.f
38190 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38191 const IDESC * UNUSED idesc = abuf->idesc;
38192 int cycles = 0;
38194 int referenced = 0;
38195 int UNUSED insn_referenced = abuf->written;
38196 INT in_GRi = -1;
38197 INT in_GRj = -1;
38198 INT in_ICCi_2 = -1;
38199 INT in_FCCi_2 = -1;
38200 in_GRi = FLD (in_GRi);
38201 in_GRj = FLD (in_GRj);
38202 in_FCCi_2 = FLD (in_FCCi_2);
38203 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38204 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38205 referenced |= 1 << 3;
38206 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38208 return cycles;
38209 #undef FLD
38212 static int
38213 model_fr500_ftle (SIM_CPU *current_cpu, void *sem_arg)
38215 #define FLD(f) abuf->fields.sfmt_ftne.f
38216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38217 const IDESC * UNUSED idesc = abuf->idesc;
38218 int cycles = 0;
38220 int referenced = 0;
38221 int UNUSED insn_referenced = abuf->written;
38222 INT in_GRi = -1;
38223 INT in_GRj = -1;
38224 INT in_ICCi_2 = -1;
38225 INT in_FCCi_2 = -1;
38226 in_GRi = FLD (in_GRi);
38227 in_GRj = FLD (in_GRj);
38228 in_FCCi_2 = FLD (in_FCCi_2);
38229 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38230 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38231 referenced |= 1 << 3;
38232 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38234 return cycles;
38235 #undef FLD
38238 static int
38239 model_fr500_ftgt (SIM_CPU *current_cpu, void *sem_arg)
38241 #define FLD(f) abuf->fields.sfmt_ftne.f
38242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38243 const IDESC * UNUSED idesc = abuf->idesc;
38244 int cycles = 0;
38246 int referenced = 0;
38247 int UNUSED insn_referenced = abuf->written;
38248 INT in_GRi = -1;
38249 INT in_GRj = -1;
38250 INT in_ICCi_2 = -1;
38251 INT in_FCCi_2 = -1;
38252 in_GRi = FLD (in_GRi);
38253 in_GRj = FLD (in_GRj);
38254 in_FCCi_2 = FLD (in_FCCi_2);
38255 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38256 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38257 referenced |= 1 << 3;
38258 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38260 return cycles;
38261 #undef FLD
38264 static int
38265 model_fr500_ftule (SIM_CPU *current_cpu, void *sem_arg)
38267 #define FLD(f) abuf->fields.sfmt_ftne.f
38268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38269 const IDESC * UNUSED idesc = abuf->idesc;
38270 int cycles = 0;
38272 int referenced = 0;
38273 int UNUSED insn_referenced = abuf->written;
38274 INT in_GRi = -1;
38275 INT in_GRj = -1;
38276 INT in_ICCi_2 = -1;
38277 INT in_FCCi_2 = -1;
38278 in_GRi = FLD (in_GRi);
38279 in_GRj = FLD (in_GRj);
38280 in_FCCi_2 = FLD (in_FCCi_2);
38281 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38282 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38283 referenced |= 1 << 3;
38284 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38286 return cycles;
38287 #undef FLD
38290 static int
38291 model_fr500_ftu (SIM_CPU *current_cpu, void *sem_arg)
38293 #define FLD(f) abuf->fields.sfmt_ftne.f
38294 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38295 const IDESC * UNUSED idesc = abuf->idesc;
38296 int cycles = 0;
38298 int referenced = 0;
38299 int UNUSED insn_referenced = abuf->written;
38300 INT in_GRi = -1;
38301 INT in_GRj = -1;
38302 INT in_ICCi_2 = -1;
38303 INT in_FCCi_2 = -1;
38304 in_GRi = FLD (in_GRi);
38305 in_GRj = FLD (in_GRj);
38306 in_FCCi_2 = FLD (in_FCCi_2);
38307 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38308 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38309 referenced |= 1 << 3;
38310 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38312 return cycles;
38313 #undef FLD
38316 static int
38317 model_fr500_fto (SIM_CPU *current_cpu, void *sem_arg)
38319 #define FLD(f) abuf->fields.sfmt_ftne.f
38320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38321 const IDESC * UNUSED idesc = abuf->idesc;
38322 int cycles = 0;
38324 int referenced = 0;
38325 int UNUSED insn_referenced = abuf->written;
38326 INT in_GRi = -1;
38327 INT in_GRj = -1;
38328 INT in_ICCi_2 = -1;
38329 INT in_FCCi_2 = -1;
38330 in_GRi = FLD (in_GRi);
38331 in_GRj = FLD (in_GRj);
38332 in_FCCi_2 = FLD (in_FCCi_2);
38333 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38334 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38335 referenced |= 1 << 3;
38336 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38338 return cycles;
38339 #undef FLD
38342 static int
38343 model_fr500_tira (SIM_CPU *current_cpu, void *sem_arg)
38345 #define FLD(f) abuf->fields.sfmt_ftine.f
38346 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38347 const IDESC * UNUSED idesc = abuf->idesc;
38348 int cycles = 0;
38350 int referenced = 0;
38351 int UNUSED insn_referenced = abuf->written;
38352 INT in_GRi = -1;
38353 INT in_GRj = -1;
38354 INT in_ICCi_2 = -1;
38355 INT in_FCCi_2 = -1;
38356 in_GRi = FLD (in_GRi);
38357 referenced |= 1 << 0;
38358 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38360 return cycles;
38361 #undef FLD
38364 static int
38365 model_fr500_tino (SIM_CPU *current_cpu, void *sem_arg)
38367 #define FLD(f) abuf->fields.sfmt_empty.f
38368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38369 const IDESC * UNUSED idesc = abuf->idesc;
38370 int cycles = 0;
38372 int referenced = 0;
38373 int UNUSED insn_referenced = abuf->written;
38374 INT in_GRi = -1;
38375 INT in_GRj = -1;
38376 INT in_ICCi_2 = -1;
38377 INT in_FCCi_2 = -1;
38378 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38380 return cycles;
38381 #undef FLD
38384 static int
38385 model_fr500_tieq (SIM_CPU *current_cpu, void *sem_arg)
38387 #define FLD(f) abuf->fields.sfmt_tieq.f
38388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38389 const IDESC * UNUSED idesc = abuf->idesc;
38390 int cycles = 0;
38392 int referenced = 0;
38393 int UNUSED insn_referenced = abuf->written;
38394 INT in_GRi = -1;
38395 INT in_GRj = -1;
38396 INT in_ICCi_2 = -1;
38397 INT in_FCCi_2 = -1;
38398 in_GRi = FLD (in_GRi);
38399 in_ICCi_2 = FLD (in_ICCi_2);
38400 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38401 referenced |= 1 << 2;
38402 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38404 return cycles;
38405 #undef FLD
38408 static int
38409 model_fr500_tine (SIM_CPU *current_cpu, void *sem_arg)
38411 #define FLD(f) abuf->fields.sfmt_tieq.f
38412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38413 const IDESC * UNUSED idesc = abuf->idesc;
38414 int cycles = 0;
38416 int referenced = 0;
38417 int UNUSED insn_referenced = abuf->written;
38418 INT in_GRi = -1;
38419 INT in_GRj = -1;
38420 INT in_ICCi_2 = -1;
38421 INT in_FCCi_2 = -1;
38422 in_GRi = FLD (in_GRi);
38423 in_ICCi_2 = FLD (in_ICCi_2);
38424 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38425 referenced |= 1 << 2;
38426 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38428 return cycles;
38429 #undef FLD
38432 static int
38433 model_fr500_tile (SIM_CPU *current_cpu, void *sem_arg)
38435 #define FLD(f) abuf->fields.sfmt_tieq.f
38436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38437 const IDESC * UNUSED idesc = abuf->idesc;
38438 int cycles = 0;
38440 int referenced = 0;
38441 int UNUSED insn_referenced = abuf->written;
38442 INT in_GRi = -1;
38443 INT in_GRj = -1;
38444 INT in_ICCi_2 = -1;
38445 INT in_FCCi_2 = -1;
38446 in_GRi = FLD (in_GRi);
38447 in_ICCi_2 = FLD (in_ICCi_2);
38448 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38449 referenced |= 1 << 2;
38450 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38452 return cycles;
38453 #undef FLD
38456 static int
38457 model_fr500_tigt (SIM_CPU *current_cpu, void *sem_arg)
38459 #define FLD(f) abuf->fields.sfmt_tieq.f
38460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38461 const IDESC * UNUSED idesc = abuf->idesc;
38462 int cycles = 0;
38464 int referenced = 0;
38465 int UNUSED insn_referenced = abuf->written;
38466 INT in_GRi = -1;
38467 INT in_GRj = -1;
38468 INT in_ICCi_2 = -1;
38469 INT in_FCCi_2 = -1;
38470 in_GRi = FLD (in_GRi);
38471 in_ICCi_2 = FLD (in_ICCi_2);
38472 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38473 referenced |= 1 << 2;
38474 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38476 return cycles;
38477 #undef FLD
38480 static int
38481 model_fr500_tilt (SIM_CPU *current_cpu, void *sem_arg)
38483 #define FLD(f) abuf->fields.sfmt_tieq.f
38484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38485 const IDESC * UNUSED idesc = abuf->idesc;
38486 int cycles = 0;
38488 int referenced = 0;
38489 int UNUSED insn_referenced = abuf->written;
38490 INT in_GRi = -1;
38491 INT in_GRj = -1;
38492 INT in_ICCi_2 = -1;
38493 INT in_FCCi_2 = -1;
38494 in_GRi = FLD (in_GRi);
38495 in_ICCi_2 = FLD (in_ICCi_2);
38496 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38497 referenced |= 1 << 2;
38498 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38500 return cycles;
38501 #undef FLD
38504 static int
38505 model_fr500_tige (SIM_CPU *current_cpu, void *sem_arg)
38507 #define FLD(f) abuf->fields.sfmt_tieq.f
38508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38509 const IDESC * UNUSED idesc = abuf->idesc;
38510 int cycles = 0;
38512 int referenced = 0;
38513 int UNUSED insn_referenced = abuf->written;
38514 INT in_GRi = -1;
38515 INT in_GRj = -1;
38516 INT in_ICCi_2 = -1;
38517 INT in_FCCi_2 = -1;
38518 in_GRi = FLD (in_GRi);
38519 in_ICCi_2 = FLD (in_ICCi_2);
38520 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38521 referenced |= 1 << 2;
38522 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38524 return cycles;
38525 #undef FLD
38528 static int
38529 model_fr500_tils (SIM_CPU *current_cpu, void *sem_arg)
38531 #define FLD(f) abuf->fields.sfmt_tieq.f
38532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38533 const IDESC * UNUSED idesc = abuf->idesc;
38534 int cycles = 0;
38536 int referenced = 0;
38537 int UNUSED insn_referenced = abuf->written;
38538 INT in_GRi = -1;
38539 INT in_GRj = -1;
38540 INT in_ICCi_2 = -1;
38541 INT in_FCCi_2 = -1;
38542 in_GRi = FLD (in_GRi);
38543 in_ICCi_2 = FLD (in_ICCi_2);
38544 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38545 referenced |= 1 << 2;
38546 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38548 return cycles;
38549 #undef FLD
38552 static int
38553 model_fr500_tihi (SIM_CPU *current_cpu, void *sem_arg)
38555 #define FLD(f) abuf->fields.sfmt_tieq.f
38556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38557 const IDESC * UNUSED idesc = abuf->idesc;
38558 int cycles = 0;
38560 int referenced = 0;
38561 int UNUSED insn_referenced = abuf->written;
38562 INT in_GRi = -1;
38563 INT in_GRj = -1;
38564 INT in_ICCi_2 = -1;
38565 INT in_FCCi_2 = -1;
38566 in_GRi = FLD (in_GRi);
38567 in_ICCi_2 = FLD (in_ICCi_2);
38568 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38569 referenced |= 1 << 2;
38570 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38572 return cycles;
38573 #undef FLD
38576 static int
38577 model_fr500_tic (SIM_CPU *current_cpu, void *sem_arg)
38579 #define FLD(f) abuf->fields.sfmt_tieq.f
38580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38581 const IDESC * UNUSED idesc = abuf->idesc;
38582 int cycles = 0;
38584 int referenced = 0;
38585 int UNUSED insn_referenced = abuf->written;
38586 INT in_GRi = -1;
38587 INT in_GRj = -1;
38588 INT in_ICCi_2 = -1;
38589 INT in_FCCi_2 = -1;
38590 in_GRi = FLD (in_GRi);
38591 in_ICCi_2 = FLD (in_ICCi_2);
38592 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38593 referenced |= 1 << 2;
38594 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38596 return cycles;
38597 #undef FLD
38600 static int
38601 model_fr500_tinc (SIM_CPU *current_cpu, void *sem_arg)
38603 #define FLD(f) abuf->fields.sfmt_tieq.f
38604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38605 const IDESC * UNUSED idesc = abuf->idesc;
38606 int cycles = 0;
38608 int referenced = 0;
38609 int UNUSED insn_referenced = abuf->written;
38610 INT in_GRi = -1;
38611 INT in_GRj = -1;
38612 INT in_ICCi_2 = -1;
38613 INT in_FCCi_2 = -1;
38614 in_GRi = FLD (in_GRi);
38615 in_ICCi_2 = FLD (in_ICCi_2);
38616 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38617 referenced |= 1 << 2;
38618 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38620 return cycles;
38621 #undef FLD
38624 static int
38625 model_fr500_tin (SIM_CPU *current_cpu, void *sem_arg)
38627 #define FLD(f) abuf->fields.sfmt_tieq.f
38628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38629 const IDESC * UNUSED idesc = abuf->idesc;
38630 int cycles = 0;
38632 int referenced = 0;
38633 int UNUSED insn_referenced = abuf->written;
38634 INT in_GRi = -1;
38635 INT in_GRj = -1;
38636 INT in_ICCi_2 = -1;
38637 INT in_FCCi_2 = -1;
38638 in_GRi = FLD (in_GRi);
38639 in_ICCi_2 = FLD (in_ICCi_2);
38640 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38641 referenced |= 1 << 2;
38642 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38644 return cycles;
38645 #undef FLD
38648 static int
38649 model_fr500_tip (SIM_CPU *current_cpu, void *sem_arg)
38651 #define FLD(f) abuf->fields.sfmt_tieq.f
38652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38653 const IDESC * UNUSED idesc = abuf->idesc;
38654 int cycles = 0;
38656 int referenced = 0;
38657 int UNUSED insn_referenced = abuf->written;
38658 INT in_GRi = -1;
38659 INT in_GRj = -1;
38660 INT in_ICCi_2 = -1;
38661 INT in_FCCi_2 = -1;
38662 in_GRi = FLD (in_GRi);
38663 in_ICCi_2 = FLD (in_ICCi_2);
38664 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38665 referenced |= 1 << 2;
38666 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38668 return cycles;
38669 #undef FLD
38672 static int
38673 model_fr500_tiv (SIM_CPU *current_cpu, void *sem_arg)
38675 #define FLD(f) abuf->fields.sfmt_tieq.f
38676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38677 const IDESC * UNUSED idesc = abuf->idesc;
38678 int cycles = 0;
38680 int referenced = 0;
38681 int UNUSED insn_referenced = abuf->written;
38682 INT in_GRi = -1;
38683 INT in_GRj = -1;
38684 INT in_ICCi_2 = -1;
38685 INT in_FCCi_2 = -1;
38686 in_GRi = FLD (in_GRi);
38687 in_ICCi_2 = FLD (in_ICCi_2);
38688 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38689 referenced |= 1 << 2;
38690 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38692 return cycles;
38693 #undef FLD
38696 static int
38697 model_fr500_tinv (SIM_CPU *current_cpu, void *sem_arg)
38699 #define FLD(f) abuf->fields.sfmt_tieq.f
38700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38701 const IDESC * UNUSED idesc = abuf->idesc;
38702 int cycles = 0;
38704 int referenced = 0;
38705 int UNUSED insn_referenced = abuf->written;
38706 INT in_GRi = -1;
38707 INT in_GRj = -1;
38708 INT in_ICCi_2 = -1;
38709 INT in_FCCi_2 = -1;
38710 in_GRi = FLD (in_GRi);
38711 in_ICCi_2 = FLD (in_ICCi_2);
38712 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38713 referenced |= 1 << 2;
38714 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38716 return cycles;
38717 #undef FLD
38720 static int
38721 model_fr500_ftira (SIM_CPU *current_cpu, void *sem_arg)
38723 #define FLD(f) abuf->fields.sfmt_ftine.f
38724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38725 const IDESC * UNUSED idesc = abuf->idesc;
38726 int cycles = 0;
38728 int referenced = 0;
38729 int UNUSED insn_referenced = abuf->written;
38730 INT in_GRi = -1;
38731 INT in_GRj = -1;
38732 INT in_ICCi_2 = -1;
38733 INT in_FCCi_2 = -1;
38734 in_GRi = FLD (in_GRi);
38735 referenced |= 1 << 0;
38736 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38738 return cycles;
38739 #undef FLD
38742 static int
38743 model_fr500_ftino (SIM_CPU *current_cpu, void *sem_arg)
38745 #define FLD(f) abuf->fields.sfmt_empty.f
38746 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38747 const IDESC * UNUSED idesc = abuf->idesc;
38748 int cycles = 0;
38750 int referenced = 0;
38751 int UNUSED insn_referenced = abuf->written;
38752 INT in_GRi = -1;
38753 INT in_GRj = -1;
38754 INT in_ICCi_2 = -1;
38755 INT in_FCCi_2 = -1;
38756 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38758 return cycles;
38759 #undef FLD
38762 static int
38763 model_fr500_ftine (SIM_CPU *current_cpu, void *sem_arg)
38765 #define FLD(f) abuf->fields.sfmt_ftine.f
38766 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38767 const IDESC * UNUSED idesc = abuf->idesc;
38768 int cycles = 0;
38770 int referenced = 0;
38771 int UNUSED insn_referenced = abuf->written;
38772 INT in_GRi = -1;
38773 INT in_GRj = -1;
38774 INT in_ICCi_2 = -1;
38775 INT in_FCCi_2 = -1;
38776 in_GRi = FLD (in_GRi);
38777 in_FCCi_2 = FLD (in_FCCi_2);
38778 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38779 referenced |= 1 << 3;
38780 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38782 return cycles;
38783 #undef FLD
38786 static int
38787 model_fr500_ftieq (SIM_CPU *current_cpu, void *sem_arg)
38789 #define FLD(f) abuf->fields.sfmt_ftine.f
38790 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38791 const IDESC * UNUSED idesc = abuf->idesc;
38792 int cycles = 0;
38794 int referenced = 0;
38795 int UNUSED insn_referenced = abuf->written;
38796 INT in_GRi = -1;
38797 INT in_GRj = -1;
38798 INT in_ICCi_2 = -1;
38799 INT in_FCCi_2 = -1;
38800 in_GRi = FLD (in_GRi);
38801 in_FCCi_2 = FLD (in_FCCi_2);
38802 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38803 referenced |= 1 << 3;
38804 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38806 return cycles;
38807 #undef FLD
38810 static int
38811 model_fr500_ftilg (SIM_CPU *current_cpu, void *sem_arg)
38813 #define FLD(f) abuf->fields.sfmt_ftine.f
38814 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38815 const IDESC * UNUSED idesc = abuf->idesc;
38816 int cycles = 0;
38818 int referenced = 0;
38819 int UNUSED insn_referenced = abuf->written;
38820 INT in_GRi = -1;
38821 INT in_GRj = -1;
38822 INT in_ICCi_2 = -1;
38823 INT in_FCCi_2 = -1;
38824 in_GRi = FLD (in_GRi);
38825 in_FCCi_2 = FLD (in_FCCi_2);
38826 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38827 referenced |= 1 << 3;
38828 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38830 return cycles;
38831 #undef FLD
38834 static int
38835 model_fr500_ftiue (SIM_CPU *current_cpu, void *sem_arg)
38837 #define FLD(f) abuf->fields.sfmt_ftine.f
38838 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38839 const IDESC * UNUSED idesc = abuf->idesc;
38840 int cycles = 0;
38842 int referenced = 0;
38843 int UNUSED insn_referenced = abuf->written;
38844 INT in_GRi = -1;
38845 INT in_GRj = -1;
38846 INT in_ICCi_2 = -1;
38847 INT in_FCCi_2 = -1;
38848 in_GRi = FLD (in_GRi);
38849 in_FCCi_2 = FLD (in_FCCi_2);
38850 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38851 referenced |= 1 << 3;
38852 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38854 return cycles;
38855 #undef FLD
38858 static int
38859 model_fr500_ftiul (SIM_CPU *current_cpu, void *sem_arg)
38861 #define FLD(f) abuf->fields.sfmt_ftine.f
38862 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38863 const IDESC * UNUSED idesc = abuf->idesc;
38864 int cycles = 0;
38866 int referenced = 0;
38867 int UNUSED insn_referenced = abuf->written;
38868 INT in_GRi = -1;
38869 INT in_GRj = -1;
38870 INT in_ICCi_2 = -1;
38871 INT in_FCCi_2 = -1;
38872 in_GRi = FLD (in_GRi);
38873 in_FCCi_2 = FLD (in_FCCi_2);
38874 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38875 referenced |= 1 << 3;
38876 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38878 return cycles;
38879 #undef FLD
38882 static int
38883 model_fr500_ftige (SIM_CPU *current_cpu, void *sem_arg)
38885 #define FLD(f) abuf->fields.sfmt_ftine.f
38886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38887 const IDESC * UNUSED idesc = abuf->idesc;
38888 int cycles = 0;
38890 int referenced = 0;
38891 int UNUSED insn_referenced = abuf->written;
38892 INT in_GRi = -1;
38893 INT in_GRj = -1;
38894 INT in_ICCi_2 = -1;
38895 INT in_FCCi_2 = -1;
38896 in_GRi = FLD (in_GRi);
38897 in_FCCi_2 = FLD (in_FCCi_2);
38898 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38899 referenced |= 1 << 3;
38900 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38902 return cycles;
38903 #undef FLD
38906 static int
38907 model_fr500_ftilt (SIM_CPU *current_cpu, void *sem_arg)
38909 #define FLD(f) abuf->fields.sfmt_ftine.f
38910 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38911 const IDESC * UNUSED idesc = abuf->idesc;
38912 int cycles = 0;
38914 int referenced = 0;
38915 int UNUSED insn_referenced = abuf->written;
38916 INT in_GRi = -1;
38917 INT in_GRj = -1;
38918 INT in_ICCi_2 = -1;
38919 INT in_FCCi_2 = -1;
38920 in_GRi = FLD (in_GRi);
38921 in_FCCi_2 = FLD (in_FCCi_2);
38922 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38923 referenced |= 1 << 3;
38924 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38926 return cycles;
38927 #undef FLD
38930 static int
38931 model_fr500_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
38933 #define FLD(f) abuf->fields.sfmt_ftine.f
38934 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38935 const IDESC * UNUSED idesc = abuf->idesc;
38936 int cycles = 0;
38938 int referenced = 0;
38939 int UNUSED insn_referenced = abuf->written;
38940 INT in_GRi = -1;
38941 INT in_GRj = -1;
38942 INT in_ICCi_2 = -1;
38943 INT in_FCCi_2 = -1;
38944 in_GRi = FLD (in_GRi);
38945 in_FCCi_2 = FLD (in_FCCi_2);
38946 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38947 referenced |= 1 << 3;
38948 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38950 return cycles;
38951 #undef FLD
38954 static int
38955 model_fr500_ftiug (SIM_CPU *current_cpu, void *sem_arg)
38957 #define FLD(f) abuf->fields.sfmt_ftine.f
38958 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38959 const IDESC * UNUSED idesc = abuf->idesc;
38960 int cycles = 0;
38962 int referenced = 0;
38963 int UNUSED insn_referenced = abuf->written;
38964 INT in_GRi = -1;
38965 INT in_GRj = -1;
38966 INT in_ICCi_2 = -1;
38967 INT in_FCCi_2 = -1;
38968 in_GRi = FLD (in_GRi);
38969 in_FCCi_2 = FLD (in_FCCi_2);
38970 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38971 referenced |= 1 << 3;
38972 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38974 return cycles;
38975 #undef FLD
38978 static int
38979 model_fr500_ftile (SIM_CPU *current_cpu, void *sem_arg)
38981 #define FLD(f) abuf->fields.sfmt_ftine.f
38982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38983 const IDESC * UNUSED idesc = abuf->idesc;
38984 int cycles = 0;
38986 int referenced = 0;
38987 int UNUSED insn_referenced = abuf->written;
38988 INT in_GRi = -1;
38989 INT in_GRj = -1;
38990 INT in_ICCi_2 = -1;
38991 INT in_FCCi_2 = -1;
38992 in_GRi = FLD (in_GRi);
38993 in_FCCi_2 = FLD (in_FCCi_2);
38994 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38995 referenced |= 1 << 3;
38996 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38998 return cycles;
38999 #undef FLD
39002 static int
39003 model_fr500_ftigt (SIM_CPU *current_cpu, void *sem_arg)
39005 #define FLD(f) abuf->fields.sfmt_ftine.f
39006 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39007 const IDESC * UNUSED idesc = abuf->idesc;
39008 int cycles = 0;
39010 int referenced = 0;
39011 int UNUSED insn_referenced = abuf->written;
39012 INT in_GRi = -1;
39013 INT in_GRj = -1;
39014 INT in_ICCi_2 = -1;
39015 INT in_FCCi_2 = -1;
39016 in_GRi = FLD (in_GRi);
39017 in_FCCi_2 = FLD (in_FCCi_2);
39018 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39019 referenced |= 1 << 3;
39020 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
39022 return cycles;
39023 #undef FLD
39026 static int
39027 model_fr500_ftiule (SIM_CPU *current_cpu, void *sem_arg)
39029 #define FLD(f) abuf->fields.sfmt_ftine.f
39030 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39031 const IDESC * UNUSED idesc = abuf->idesc;
39032 int cycles = 0;
39034 int referenced = 0;
39035 int UNUSED insn_referenced = abuf->written;
39036 INT in_GRi = -1;
39037 INT in_GRj = -1;
39038 INT in_ICCi_2 = -1;
39039 INT in_FCCi_2 = -1;
39040 in_GRi = FLD (in_GRi);
39041 in_FCCi_2 = FLD (in_FCCi_2);
39042 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39043 referenced |= 1 << 3;
39044 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
39046 return cycles;
39047 #undef FLD
39050 static int
39051 model_fr500_ftiu (SIM_CPU *current_cpu, void *sem_arg)
39053 #define FLD(f) abuf->fields.sfmt_ftine.f
39054 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39055 const IDESC * UNUSED idesc = abuf->idesc;
39056 int cycles = 0;
39058 int referenced = 0;
39059 int UNUSED insn_referenced = abuf->written;
39060 INT in_GRi = -1;
39061 INT in_GRj = -1;
39062 INT in_ICCi_2 = -1;
39063 INT in_FCCi_2 = -1;
39064 in_GRi = FLD (in_GRi);
39065 in_FCCi_2 = FLD (in_FCCi_2);
39066 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39067 referenced |= 1 << 3;
39068 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
39070 return cycles;
39071 #undef FLD
39074 static int
39075 model_fr500_ftio (SIM_CPU *current_cpu, void *sem_arg)
39077 #define FLD(f) abuf->fields.sfmt_ftine.f
39078 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39079 const IDESC * UNUSED idesc = abuf->idesc;
39080 int cycles = 0;
39082 int referenced = 0;
39083 int UNUSED insn_referenced = abuf->written;
39084 INT in_GRi = -1;
39085 INT in_GRj = -1;
39086 INT in_ICCi_2 = -1;
39087 INT in_FCCi_2 = -1;
39088 in_GRi = FLD (in_GRi);
39089 in_FCCi_2 = FLD (in_FCCi_2);
39090 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39091 referenced |= 1 << 3;
39092 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
39094 return cycles;
39095 #undef FLD
39098 static int
39099 model_fr500_break (SIM_CPU *current_cpu, void *sem_arg)
39101 #define FLD(f) abuf->fields.sfmt_break.f
39102 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39103 const IDESC * UNUSED idesc = abuf->idesc;
39104 int cycles = 0;
39106 int referenced = 0;
39107 int UNUSED insn_referenced = abuf->written;
39108 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39110 return cycles;
39111 #undef FLD
39114 static int
39115 model_fr500_mtrap (SIM_CPU *current_cpu, void *sem_arg)
39117 #define FLD(f) abuf->fields.sfmt_empty.f
39118 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39119 const IDESC * UNUSED idesc = abuf->idesc;
39120 int cycles = 0;
39122 int referenced = 0;
39123 int UNUSED insn_referenced = abuf->written;
39124 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39126 return cycles;
39127 #undef FLD
39130 static int
39131 model_fr500_andcr (SIM_CPU *current_cpu, void *sem_arg)
39133 #define FLD(f) abuf->fields.sfmt_andcr.f
39134 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39135 const IDESC * UNUSED idesc = abuf->idesc;
39136 int cycles = 0;
39138 int referenced = 0;
39139 int UNUSED insn_referenced = abuf->written;
39140 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39142 return cycles;
39143 #undef FLD
39146 static int
39147 model_fr500_orcr (SIM_CPU *current_cpu, void *sem_arg)
39149 #define FLD(f) abuf->fields.sfmt_andcr.f
39150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39151 const IDESC * UNUSED idesc = abuf->idesc;
39152 int cycles = 0;
39154 int referenced = 0;
39155 int UNUSED insn_referenced = abuf->written;
39156 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39158 return cycles;
39159 #undef FLD
39162 static int
39163 model_fr500_xorcr (SIM_CPU *current_cpu, void *sem_arg)
39165 #define FLD(f) abuf->fields.sfmt_andcr.f
39166 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39167 const IDESC * UNUSED idesc = abuf->idesc;
39168 int cycles = 0;
39170 int referenced = 0;
39171 int UNUSED insn_referenced = abuf->written;
39172 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39174 return cycles;
39175 #undef FLD
39178 static int
39179 model_fr500_nandcr (SIM_CPU *current_cpu, void *sem_arg)
39181 #define FLD(f) abuf->fields.sfmt_andcr.f
39182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39183 const IDESC * UNUSED idesc = abuf->idesc;
39184 int cycles = 0;
39186 int referenced = 0;
39187 int UNUSED insn_referenced = abuf->written;
39188 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39190 return cycles;
39191 #undef FLD
39194 static int
39195 model_fr500_norcr (SIM_CPU *current_cpu, void *sem_arg)
39197 #define FLD(f) abuf->fields.sfmt_andcr.f
39198 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39199 const IDESC * UNUSED idesc = abuf->idesc;
39200 int cycles = 0;
39202 int referenced = 0;
39203 int UNUSED insn_referenced = abuf->written;
39204 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39206 return cycles;
39207 #undef FLD
39210 static int
39211 model_fr500_andncr (SIM_CPU *current_cpu, void *sem_arg)
39213 #define FLD(f) abuf->fields.sfmt_andcr.f
39214 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39215 const IDESC * UNUSED idesc = abuf->idesc;
39216 int cycles = 0;
39218 int referenced = 0;
39219 int UNUSED insn_referenced = abuf->written;
39220 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39222 return cycles;
39223 #undef FLD
39226 static int
39227 model_fr500_orncr (SIM_CPU *current_cpu, void *sem_arg)
39229 #define FLD(f) abuf->fields.sfmt_andcr.f
39230 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39231 const IDESC * UNUSED idesc = abuf->idesc;
39232 int cycles = 0;
39234 int referenced = 0;
39235 int UNUSED insn_referenced = abuf->written;
39236 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39238 return cycles;
39239 #undef FLD
39242 static int
39243 model_fr500_nandncr (SIM_CPU *current_cpu, void *sem_arg)
39245 #define FLD(f) abuf->fields.sfmt_andcr.f
39246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39247 const IDESC * UNUSED idesc = abuf->idesc;
39248 int cycles = 0;
39250 int referenced = 0;
39251 int UNUSED insn_referenced = abuf->written;
39252 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39254 return cycles;
39255 #undef FLD
39258 static int
39259 model_fr500_norncr (SIM_CPU *current_cpu, void *sem_arg)
39261 #define FLD(f) abuf->fields.sfmt_andcr.f
39262 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39263 const IDESC * UNUSED idesc = abuf->idesc;
39264 int cycles = 0;
39266 int referenced = 0;
39267 int UNUSED insn_referenced = abuf->written;
39268 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39270 return cycles;
39271 #undef FLD
39274 static int
39275 model_fr500_notcr (SIM_CPU *current_cpu, void *sem_arg)
39277 #define FLD(f) abuf->fields.sfmt_andcr.f
39278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39279 const IDESC * UNUSED idesc = abuf->idesc;
39280 int cycles = 0;
39282 int referenced = 0;
39283 int UNUSED insn_referenced = abuf->written;
39284 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39286 return cycles;
39287 #undef FLD
39290 static int
39291 model_fr500_ckra (SIM_CPU *current_cpu, void *sem_arg)
39293 #define FLD(f) abuf->fields.sfmt_cckeq.f
39294 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39295 const IDESC * UNUSED idesc = abuf->idesc;
39296 int cycles = 0;
39298 int referenced = 0;
39299 int UNUSED insn_referenced = abuf->written;
39300 INT in_ICCi_3 = -1;
39301 INT in_FCCi_3 = -1;
39302 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39304 return cycles;
39305 #undef FLD
39308 static int
39309 model_fr500_ckno (SIM_CPU *current_cpu, void *sem_arg)
39311 #define FLD(f) abuf->fields.sfmt_cckeq.f
39312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39313 const IDESC * UNUSED idesc = abuf->idesc;
39314 int cycles = 0;
39316 int referenced = 0;
39317 int UNUSED insn_referenced = abuf->written;
39318 INT in_ICCi_3 = -1;
39319 INT in_FCCi_3 = -1;
39320 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39322 return cycles;
39323 #undef FLD
39326 static int
39327 model_fr500_ckeq (SIM_CPU *current_cpu, void *sem_arg)
39329 #define FLD(f) abuf->fields.sfmt_cckeq.f
39330 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39331 const IDESC * UNUSED idesc = abuf->idesc;
39332 int cycles = 0;
39334 int referenced = 0;
39335 int UNUSED insn_referenced = abuf->written;
39336 INT in_ICCi_3 = -1;
39337 INT in_FCCi_3 = -1;
39338 in_ICCi_3 = FLD (in_ICCi_3);
39339 referenced |= 1 << 0;
39340 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39342 return cycles;
39343 #undef FLD
39346 static int
39347 model_fr500_ckne (SIM_CPU *current_cpu, void *sem_arg)
39349 #define FLD(f) abuf->fields.sfmt_cckeq.f
39350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39351 const IDESC * UNUSED idesc = abuf->idesc;
39352 int cycles = 0;
39354 int referenced = 0;
39355 int UNUSED insn_referenced = abuf->written;
39356 INT in_ICCi_3 = -1;
39357 INT in_FCCi_3 = -1;
39358 in_ICCi_3 = FLD (in_ICCi_3);
39359 referenced |= 1 << 0;
39360 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39362 return cycles;
39363 #undef FLD
39366 static int
39367 model_fr500_ckle (SIM_CPU *current_cpu, void *sem_arg)
39369 #define FLD(f) abuf->fields.sfmt_cckeq.f
39370 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39371 const IDESC * UNUSED idesc = abuf->idesc;
39372 int cycles = 0;
39374 int referenced = 0;
39375 int UNUSED insn_referenced = abuf->written;
39376 INT in_ICCi_3 = -1;
39377 INT in_FCCi_3 = -1;
39378 in_ICCi_3 = FLD (in_ICCi_3);
39379 referenced |= 1 << 0;
39380 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39382 return cycles;
39383 #undef FLD
39386 static int
39387 model_fr500_ckgt (SIM_CPU *current_cpu, void *sem_arg)
39389 #define FLD(f) abuf->fields.sfmt_cckeq.f
39390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39391 const IDESC * UNUSED idesc = abuf->idesc;
39392 int cycles = 0;
39394 int referenced = 0;
39395 int UNUSED insn_referenced = abuf->written;
39396 INT in_ICCi_3 = -1;
39397 INT in_FCCi_3 = -1;
39398 in_ICCi_3 = FLD (in_ICCi_3);
39399 referenced |= 1 << 0;
39400 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39402 return cycles;
39403 #undef FLD
39406 static int
39407 model_fr500_cklt (SIM_CPU *current_cpu, void *sem_arg)
39409 #define FLD(f) abuf->fields.sfmt_cckeq.f
39410 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39411 const IDESC * UNUSED idesc = abuf->idesc;
39412 int cycles = 0;
39414 int referenced = 0;
39415 int UNUSED insn_referenced = abuf->written;
39416 INT in_ICCi_3 = -1;
39417 INT in_FCCi_3 = -1;
39418 in_ICCi_3 = FLD (in_ICCi_3);
39419 referenced |= 1 << 0;
39420 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39422 return cycles;
39423 #undef FLD
39426 static int
39427 model_fr500_ckge (SIM_CPU *current_cpu, void *sem_arg)
39429 #define FLD(f) abuf->fields.sfmt_cckeq.f
39430 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39431 const IDESC * UNUSED idesc = abuf->idesc;
39432 int cycles = 0;
39434 int referenced = 0;
39435 int UNUSED insn_referenced = abuf->written;
39436 INT in_ICCi_3 = -1;
39437 INT in_FCCi_3 = -1;
39438 in_ICCi_3 = FLD (in_ICCi_3);
39439 referenced |= 1 << 0;
39440 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39442 return cycles;
39443 #undef FLD
39446 static int
39447 model_fr500_ckls (SIM_CPU *current_cpu, void *sem_arg)
39449 #define FLD(f) abuf->fields.sfmt_cckeq.f
39450 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39451 const IDESC * UNUSED idesc = abuf->idesc;
39452 int cycles = 0;
39454 int referenced = 0;
39455 int UNUSED insn_referenced = abuf->written;
39456 INT in_ICCi_3 = -1;
39457 INT in_FCCi_3 = -1;
39458 in_ICCi_3 = FLD (in_ICCi_3);
39459 referenced |= 1 << 0;
39460 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39462 return cycles;
39463 #undef FLD
39466 static int
39467 model_fr500_ckhi (SIM_CPU *current_cpu, void *sem_arg)
39469 #define FLD(f) abuf->fields.sfmt_cckeq.f
39470 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39471 const IDESC * UNUSED idesc = abuf->idesc;
39472 int cycles = 0;
39474 int referenced = 0;
39475 int UNUSED insn_referenced = abuf->written;
39476 INT in_ICCi_3 = -1;
39477 INT in_FCCi_3 = -1;
39478 in_ICCi_3 = FLD (in_ICCi_3);
39479 referenced |= 1 << 0;
39480 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39482 return cycles;
39483 #undef FLD
39486 static int
39487 model_fr500_ckc (SIM_CPU *current_cpu, void *sem_arg)
39489 #define FLD(f) abuf->fields.sfmt_cckeq.f
39490 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39491 const IDESC * UNUSED idesc = abuf->idesc;
39492 int cycles = 0;
39494 int referenced = 0;
39495 int UNUSED insn_referenced = abuf->written;
39496 INT in_ICCi_3 = -1;
39497 INT in_FCCi_3 = -1;
39498 in_ICCi_3 = FLD (in_ICCi_3);
39499 referenced |= 1 << 0;
39500 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39502 return cycles;
39503 #undef FLD
39506 static int
39507 model_fr500_cknc (SIM_CPU *current_cpu, void *sem_arg)
39509 #define FLD(f) abuf->fields.sfmt_cckeq.f
39510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39511 const IDESC * UNUSED idesc = abuf->idesc;
39512 int cycles = 0;
39514 int referenced = 0;
39515 int UNUSED insn_referenced = abuf->written;
39516 INT in_ICCi_3 = -1;
39517 INT in_FCCi_3 = -1;
39518 in_ICCi_3 = FLD (in_ICCi_3);
39519 referenced |= 1 << 0;
39520 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39522 return cycles;
39523 #undef FLD
39526 static int
39527 model_fr500_ckn (SIM_CPU *current_cpu, void *sem_arg)
39529 #define FLD(f) abuf->fields.sfmt_cckeq.f
39530 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39531 const IDESC * UNUSED idesc = abuf->idesc;
39532 int cycles = 0;
39534 int referenced = 0;
39535 int UNUSED insn_referenced = abuf->written;
39536 INT in_ICCi_3 = -1;
39537 INT in_FCCi_3 = -1;
39538 in_ICCi_3 = FLD (in_ICCi_3);
39539 referenced |= 1 << 0;
39540 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39542 return cycles;
39543 #undef FLD
39546 static int
39547 model_fr500_ckp (SIM_CPU *current_cpu, void *sem_arg)
39549 #define FLD(f) abuf->fields.sfmt_cckeq.f
39550 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39551 const IDESC * UNUSED idesc = abuf->idesc;
39552 int cycles = 0;
39554 int referenced = 0;
39555 int UNUSED insn_referenced = abuf->written;
39556 INT in_ICCi_3 = -1;
39557 INT in_FCCi_3 = -1;
39558 in_ICCi_3 = FLD (in_ICCi_3);
39559 referenced |= 1 << 0;
39560 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39562 return cycles;
39563 #undef FLD
39566 static int
39567 model_fr500_ckv (SIM_CPU *current_cpu, void *sem_arg)
39569 #define FLD(f) abuf->fields.sfmt_cckeq.f
39570 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39571 const IDESC * UNUSED idesc = abuf->idesc;
39572 int cycles = 0;
39574 int referenced = 0;
39575 int UNUSED insn_referenced = abuf->written;
39576 INT in_ICCi_3 = -1;
39577 INT in_FCCi_3 = -1;
39578 in_ICCi_3 = FLD (in_ICCi_3);
39579 referenced |= 1 << 0;
39580 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39582 return cycles;
39583 #undef FLD
39586 static int
39587 model_fr500_cknv (SIM_CPU *current_cpu, void *sem_arg)
39589 #define FLD(f) abuf->fields.sfmt_cckeq.f
39590 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39591 const IDESC * UNUSED idesc = abuf->idesc;
39592 int cycles = 0;
39594 int referenced = 0;
39595 int UNUSED insn_referenced = abuf->written;
39596 INT in_ICCi_3 = -1;
39597 INT in_FCCi_3 = -1;
39598 in_ICCi_3 = FLD (in_ICCi_3);
39599 referenced |= 1 << 0;
39600 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39602 return cycles;
39603 #undef FLD
39606 static int
39607 model_fr500_fckra (SIM_CPU *current_cpu, void *sem_arg)
39609 #define FLD(f) abuf->fields.sfmt_cfckne.f
39610 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39611 const IDESC * UNUSED idesc = abuf->idesc;
39612 int cycles = 0;
39614 int referenced = 0;
39615 int UNUSED insn_referenced = abuf->written;
39616 INT in_ICCi_3 = -1;
39617 INT in_FCCi_3 = -1;
39618 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39620 return cycles;
39621 #undef FLD
39624 static int
39625 model_fr500_fckno (SIM_CPU *current_cpu, void *sem_arg)
39627 #define FLD(f) abuf->fields.sfmt_cfckne.f
39628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39629 const IDESC * UNUSED idesc = abuf->idesc;
39630 int cycles = 0;
39632 int referenced = 0;
39633 int UNUSED insn_referenced = abuf->written;
39634 INT in_ICCi_3 = -1;
39635 INT in_FCCi_3 = -1;
39636 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39638 return cycles;
39639 #undef FLD
39642 static int
39643 model_fr500_fckne (SIM_CPU *current_cpu, void *sem_arg)
39645 #define FLD(f) abuf->fields.sfmt_cfckne.f
39646 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39647 const IDESC * UNUSED idesc = abuf->idesc;
39648 int cycles = 0;
39650 int referenced = 0;
39651 int UNUSED insn_referenced = abuf->written;
39652 INT in_ICCi_3 = -1;
39653 INT in_FCCi_3 = -1;
39654 in_FCCi_3 = FLD (in_FCCi_3);
39655 referenced |= 1 << 1;
39656 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39658 return cycles;
39659 #undef FLD
39662 static int
39663 model_fr500_fckeq (SIM_CPU *current_cpu, void *sem_arg)
39665 #define FLD(f) abuf->fields.sfmt_cfckne.f
39666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39667 const IDESC * UNUSED idesc = abuf->idesc;
39668 int cycles = 0;
39670 int referenced = 0;
39671 int UNUSED insn_referenced = abuf->written;
39672 INT in_ICCi_3 = -1;
39673 INT in_FCCi_3 = -1;
39674 in_FCCi_3 = FLD (in_FCCi_3);
39675 referenced |= 1 << 1;
39676 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39678 return cycles;
39679 #undef FLD
39682 static int
39683 model_fr500_fcklg (SIM_CPU *current_cpu, void *sem_arg)
39685 #define FLD(f) abuf->fields.sfmt_cfckne.f
39686 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39687 const IDESC * UNUSED idesc = abuf->idesc;
39688 int cycles = 0;
39690 int referenced = 0;
39691 int UNUSED insn_referenced = abuf->written;
39692 INT in_ICCi_3 = -1;
39693 INT in_FCCi_3 = -1;
39694 in_FCCi_3 = FLD (in_FCCi_3);
39695 referenced |= 1 << 1;
39696 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39698 return cycles;
39699 #undef FLD
39702 static int
39703 model_fr500_fckue (SIM_CPU *current_cpu, void *sem_arg)
39705 #define FLD(f) abuf->fields.sfmt_cfckne.f
39706 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39707 const IDESC * UNUSED idesc = abuf->idesc;
39708 int cycles = 0;
39710 int referenced = 0;
39711 int UNUSED insn_referenced = abuf->written;
39712 INT in_ICCi_3 = -1;
39713 INT in_FCCi_3 = -1;
39714 in_FCCi_3 = FLD (in_FCCi_3);
39715 referenced |= 1 << 1;
39716 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39718 return cycles;
39719 #undef FLD
39722 static int
39723 model_fr500_fckul (SIM_CPU *current_cpu, void *sem_arg)
39725 #define FLD(f) abuf->fields.sfmt_cfckne.f
39726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39727 const IDESC * UNUSED idesc = abuf->idesc;
39728 int cycles = 0;
39730 int referenced = 0;
39731 int UNUSED insn_referenced = abuf->written;
39732 INT in_ICCi_3 = -1;
39733 INT in_FCCi_3 = -1;
39734 in_FCCi_3 = FLD (in_FCCi_3);
39735 referenced |= 1 << 1;
39736 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39738 return cycles;
39739 #undef FLD
39742 static int
39743 model_fr500_fckge (SIM_CPU *current_cpu, void *sem_arg)
39745 #define FLD(f) abuf->fields.sfmt_cfckne.f
39746 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39747 const IDESC * UNUSED idesc = abuf->idesc;
39748 int cycles = 0;
39750 int referenced = 0;
39751 int UNUSED insn_referenced = abuf->written;
39752 INT in_ICCi_3 = -1;
39753 INT in_FCCi_3 = -1;
39754 in_FCCi_3 = FLD (in_FCCi_3);
39755 referenced |= 1 << 1;
39756 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39758 return cycles;
39759 #undef FLD
39762 static int
39763 model_fr500_fcklt (SIM_CPU *current_cpu, void *sem_arg)
39765 #define FLD(f) abuf->fields.sfmt_cfckne.f
39766 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39767 const IDESC * UNUSED idesc = abuf->idesc;
39768 int cycles = 0;
39770 int referenced = 0;
39771 int UNUSED insn_referenced = abuf->written;
39772 INT in_ICCi_3 = -1;
39773 INT in_FCCi_3 = -1;
39774 in_FCCi_3 = FLD (in_FCCi_3);
39775 referenced |= 1 << 1;
39776 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39778 return cycles;
39779 #undef FLD
39782 static int
39783 model_fr500_fckuge (SIM_CPU *current_cpu, void *sem_arg)
39785 #define FLD(f) abuf->fields.sfmt_cfckne.f
39786 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39787 const IDESC * UNUSED idesc = abuf->idesc;
39788 int cycles = 0;
39790 int referenced = 0;
39791 int UNUSED insn_referenced = abuf->written;
39792 INT in_ICCi_3 = -1;
39793 INT in_FCCi_3 = -1;
39794 in_FCCi_3 = FLD (in_FCCi_3);
39795 referenced |= 1 << 1;
39796 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39798 return cycles;
39799 #undef FLD
39802 static int
39803 model_fr500_fckug (SIM_CPU *current_cpu, void *sem_arg)
39805 #define FLD(f) abuf->fields.sfmt_cfckne.f
39806 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39807 const IDESC * UNUSED idesc = abuf->idesc;
39808 int cycles = 0;
39810 int referenced = 0;
39811 int UNUSED insn_referenced = abuf->written;
39812 INT in_ICCi_3 = -1;
39813 INT in_FCCi_3 = -1;
39814 in_FCCi_3 = FLD (in_FCCi_3);
39815 referenced |= 1 << 1;
39816 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39818 return cycles;
39819 #undef FLD
39822 static int
39823 model_fr500_fckle (SIM_CPU *current_cpu, void *sem_arg)
39825 #define FLD(f) abuf->fields.sfmt_cfckne.f
39826 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39827 const IDESC * UNUSED idesc = abuf->idesc;
39828 int cycles = 0;
39830 int referenced = 0;
39831 int UNUSED insn_referenced = abuf->written;
39832 INT in_ICCi_3 = -1;
39833 INT in_FCCi_3 = -1;
39834 in_FCCi_3 = FLD (in_FCCi_3);
39835 referenced |= 1 << 1;
39836 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39838 return cycles;
39839 #undef FLD
39842 static int
39843 model_fr500_fckgt (SIM_CPU *current_cpu, void *sem_arg)
39845 #define FLD(f) abuf->fields.sfmt_cfckne.f
39846 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39847 const IDESC * UNUSED idesc = abuf->idesc;
39848 int cycles = 0;
39850 int referenced = 0;
39851 int UNUSED insn_referenced = abuf->written;
39852 INT in_ICCi_3 = -1;
39853 INT in_FCCi_3 = -1;
39854 in_FCCi_3 = FLD (in_FCCi_3);
39855 referenced |= 1 << 1;
39856 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39858 return cycles;
39859 #undef FLD
39862 static int
39863 model_fr500_fckule (SIM_CPU *current_cpu, void *sem_arg)
39865 #define FLD(f) abuf->fields.sfmt_cfckne.f
39866 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39867 const IDESC * UNUSED idesc = abuf->idesc;
39868 int cycles = 0;
39870 int referenced = 0;
39871 int UNUSED insn_referenced = abuf->written;
39872 INT in_ICCi_3 = -1;
39873 INT in_FCCi_3 = -1;
39874 in_FCCi_3 = FLD (in_FCCi_3);
39875 referenced |= 1 << 1;
39876 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39878 return cycles;
39879 #undef FLD
39882 static int
39883 model_fr500_fcku (SIM_CPU *current_cpu, void *sem_arg)
39885 #define FLD(f) abuf->fields.sfmt_cfckne.f
39886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39887 const IDESC * UNUSED idesc = abuf->idesc;
39888 int cycles = 0;
39890 int referenced = 0;
39891 int UNUSED insn_referenced = abuf->written;
39892 INT in_ICCi_3 = -1;
39893 INT in_FCCi_3 = -1;
39894 in_FCCi_3 = FLD (in_FCCi_3);
39895 referenced |= 1 << 1;
39896 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39898 return cycles;
39899 #undef FLD
39902 static int
39903 model_fr500_fcko (SIM_CPU *current_cpu, void *sem_arg)
39905 #define FLD(f) abuf->fields.sfmt_cfckne.f
39906 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39907 const IDESC * UNUSED idesc = abuf->idesc;
39908 int cycles = 0;
39910 int referenced = 0;
39911 int UNUSED insn_referenced = abuf->written;
39912 INT in_ICCi_3 = -1;
39913 INT in_FCCi_3 = -1;
39914 in_FCCi_3 = FLD (in_FCCi_3);
39915 referenced |= 1 << 1;
39916 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39918 return cycles;
39919 #undef FLD
39922 static int
39923 model_fr500_cckra (SIM_CPU *current_cpu, void *sem_arg)
39925 #define FLD(f) abuf->fields.sfmt_cckeq.f
39926 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39927 const IDESC * UNUSED idesc = abuf->idesc;
39928 int cycles = 0;
39930 int referenced = 0;
39931 int UNUSED insn_referenced = abuf->written;
39932 INT in_ICCi_3 = -1;
39933 INT in_FCCi_3 = -1;
39934 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39936 return cycles;
39937 #undef FLD
39940 static int
39941 model_fr500_cckno (SIM_CPU *current_cpu, void *sem_arg)
39943 #define FLD(f) abuf->fields.sfmt_cckeq.f
39944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39945 const IDESC * UNUSED idesc = abuf->idesc;
39946 int cycles = 0;
39948 int referenced = 0;
39949 int UNUSED insn_referenced = abuf->written;
39950 INT in_ICCi_3 = -1;
39951 INT in_FCCi_3 = -1;
39952 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39954 return cycles;
39955 #undef FLD
39958 static int
39959 model_fr500_cckeq (SIM_CPU *current_cpu, void *sem_arg)
39961 #define FLD(f) abuf->fields.sfmt_cckeq.f
39962 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39963 const IDESC * UNUSED idesc = abuf->idesc;
39964 int cycles = 0;
39966 int referenced = 0;
39967 int UNUSED insn_referenced = abuf->written;
39968 INT in_ICCi_3 = -1;
39969 INT in_FCCi_3 = -1;
39970 in_ICCi_3 = FLD (in_ICCi_3);
39971 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39972 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39974 return cycles;
39975 #undef FLD
39978 static int
39979 model_fr500_cckne (SIM_CPU *current_cpu, void *sem_arg)
39981 #define FLD(f) abuf->fields.sfmt_cckeq.f
39982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39983 const IDESC * UNUSED idesc = abuf->idesc;
39984 int cycles = 0;
39986 int referenced = 0;
39987 int UNUSED insn_referenced = abuf->written;
39988 INT in_ICCi_3 = -1;
39989 INT in_FCCi_3 = -1;
39990 in_ICCi_3 = FLD (in_ICCi_3);
39991 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39992 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39994 return cycles;
39995 #undef FLD
39998 static int
39999 model_fr500_cckle (SIM_CPU *current_cpu, void *sem_arg)
40001 #define FLD(f) abuf->fields.sfmt_cckeq.f
40002 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40003 const IDESC * UNUSED idesc = abuf->idesc;
40004 int cycles = 0;
40006 int referenced = 0;
40007 int UNUSED insn_referenced = abuf->written;
40008 INT in_ICCi_3 = -1;
40009 INT in_FCCi_3 = -1;
40010 in_ICCi_3 = FLD (in_ICCi_3);
40011 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40012 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40014 return cycles;
40015 #undef FLD
40018 static int
40019 model_fr500_cckgt (SIM_CPU *current_cpu, void *sem_arg)
40021 #define FLD(f) abuf->fields.sfmt_cckeq.f
40022 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40023 const IDESC * UNUSED idesc = abuf->idesc;
40024 int cycles = 0;
40026 int referenced = 0;
40027 int UNUSED insn_referenced = abuf->written;
40028 INT in_ICCi_3 = -1;
40029 INT in_FCCi_3 = -1;
40030 in_ICCi_3 = FLD (in_ICCi_3);
40031 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40032 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40034 return cycles;
40035 #undef FLD
40038 static int
40039 model_fr500_ccklt (SIM_CPU *current_cpu, void *sem_arg)
40041 #define FLD(f) abuf->fields.sfmt_cckeq.f
40042 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40043 const IDESC * UNUSED idesc = abuf->idesc;
40044 int cycles = 0;
40046 int referenced = 0;
40047 int UNUSED insn_referenced = abuf->written;
40048 INT in_ICCi_3 = -1;
40049 INT in_FCCi_3 = -1;
40050 in_ICCi_3 = FLD (in_ICCi_3);
40051 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40052 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40054 return cycles;
40055 #undef FLD
40058 static int
40059 model_fr500_cckge (SIM_CPU *current_cpu, void *sem_arg)
40061 #define FLD(f) abuf->fields.sfmt_cckeq.f
40062 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40063 const IDESC * UNUSED idesc = abuf->idesc;
40064 int cycles = 0;
40066 int referenced = 0;
40067 int UNUSED insn_referenced = abuf->written;
40068 INT in_ICCi_3 = -1;
40069 INT in_FCCi_3 = -1;
40070 in_ICCi_3 = FLD (in_ICCi_3);
40071 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40072 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40074 return cycles;
40075 #undef FLD
40078 static int
40079 model_fr500_cckls (SIM_CPU *current_cpu, void *sem_arg)
40081 #define FLD(f) abuf->fields.sfmt_cckeq.f
40082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40083 const IDESC * UNUSED idesc = abuf->idesc;
40084 int cycles = 0;
40086 int referenced = 0;
40087 int UNUSED insn_referenced = abuf->written;
40088 INT in_ICCi_3 = -1;
40089 INT in_FCCi_3 = -1;
40090 in_ICCi_3 = FLD (in_ICCi_3);
40091 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40092 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40094 return cycles;
40095 #undef FLD
40098 static int
40099 model_fr500_cckhi (SIM_CPU *current_cpu, void *sem_arg)
40101 #define FLD(f) abuf->fields.sfmt_cckeq.f
40102 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40103 const IDESC * UNUSED idesc = abuf->idesc;
40104 int cycles = 0;
40106 int referenced = 0;
40107 int UNUSED insn_referenced = abuf->written;
40108 INT in_ICCi_3 = -1;
40109 INT in_FCCi_3 = -1;
40110 in_ICCi_3 = FLD (in_ICCi_3);
40111 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40112 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40114 return cycles;
40115 #undef FLD
40118 static int
40119 model_fr500_cckc (SIM_CPU *current_cpu, void *sem_arg)
40121 #define FLD(f) abuf->fields.sfmt_cckeq.f
40122 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40123 const IDESC * UNUSED idesc = abuf->idesc;
40124 int cycles = 0;
40126 int referenced = 0;
40127 int UNUSED insn_referenced = abuf->written;
40128 INT in_ICCi_3 = -1;
40129 INT in_FCCi_3 = -1;
40130 in_ICCi_3 = FLD (in_ICCi_3);
40131 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40132 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40134 return cycles;
40135 #undef FLD
40138 static int
40139 model_fr500_ccknc (SIM_CPU *current_cpu, void *sem_arg)
40141 #define FLD(f) abuf->fields.sfmt_cckeq.f
40142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40143 const IDESC * UNUSED idesc = abuf->idesc;
40144 int cycles = 0;
40146 int referenced = 0;
40147 int UNUSED insn_referenced = abuf->written;
40148 INT in_ICCi_3 = -1;
40149 INT in_FCCi_3 = -1;
40150 in_ICCi_3 = FLD (in_ICCi_3);
40151 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40152 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40154 return cycles;
40155 #undef FLD
40158 static int
40159 model_fr500_cckn (SIM_CPU *current_cpu, void *sem_arg)
40161 #define FLD(f) abuf->fields.sfmt_cckeq.f
40162 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40163 const IDESC * UNUSED idesc = abuf->idesc;
40164 int cycles = 0;
40166 int referenced = 0;
40167 int UNUSED insn_referenced = abuf->written;
40168 INT in_ICCi_3 = -1;
40169 INT in_FCCi_3 = -1;
40170 in_ICCi_3 = FLD (in_ICCi_3);
40171 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40172 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40174 return cycles;
40175 #undef FLD
40178 static int
40179 model_fr500_cckp (SIM_CPU *current_cpu, void *sem_arg)
40181 #define FLD(f) abuf->fields.sfmt_cckeq.f
40182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40183 const IDESC * UNUSED idesc = abuf->idesc;
40184 int cycles = 0;
40186 int referenced = 0;
40187 int UNUSED insn_referenced = abuf->written;
40188 INT in_ICCi_3 = -1;
40189 INT in_FCCi_3 = -1;
40190 in_ICCi_3 = FLD (in_ICCi_3);
40191 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40192 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40194 return cycles;
40195 #undef FLD
40198 static int
40199 model_fr500_cckv (SIM_CPU *current_cpu, void *sem_arg)
40201 #define FLD(f) abuf->fields.sfmt_cckeq.f
40202 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40203 const IDESC * UNUSED idesc = abuf->idesc;
40204 int cycles = 0;
40206 int referenced = 0;
40207 int UNUSED insn_referenced = abuf->written;
40208 INT in_ICCi_3 = -1;
40209 INT in_FCCi_3 = -1;
40210 in_ICCi_3 = FLD (in_ICCi_3);
40211 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40212 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40214 return cycles;
40215 #undef FLD
40218 static int
40219 model_fr500_ccknv (SIM_CPU *current_cpu, void *sem_arg)
40221 #define FLD(f) abuf->fields.sfmt_cckeq.f
40222 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40223 const IDESC * UNUSED idesc = abuf->idesc;
40224 int cycles = 0;
40226 int referenced = 0;
40227 int UNUSED insn_referenced = abuf->written;
40228 INT in_ICCi_3 = -1;
40229 INT in_FCCi_3 = -1;
40230 in_ICCi_3 = FLD (in_ICCi_3);
40231 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40232 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40234 return cycles;
40235 #undef FLD
40238 static int
40239 model_fr500_cfckra (SIM_CPU *current_cpu, void *sem_arg)
40241 #define FLD(f) abuf->fields.sfmt_cfckne.f
40242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40243 const IDESC * UNUSED idesc = abuf->idesc;
40244 int cycles = 0;
40246 int referenced = 0;
40247 int UNUSED insn_referenced = abuf->written;
40248 INT in_ICCi_3 = -1;
40249 INT in_FCCi_3 = -1;
40250 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40252 return cycles;
40253 #undef FLD
40256 static int
40257 model_fr500_cfckno (SIM_CPU *current_cpu, void *sem_arg)
40259 #define FLD(f) abuf->fields.sfmt_cfckne.f
40260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40261 const IDESC * UNUSED idesc = abuf->idesc;
40262 int cycles = 0;
40264 int referenced = 0;
40265 int UNUSED insn_referenced = abuf->written;
40266 INT in_ICCi_3 = -1;
40267 INT in_FCCi_3 = -1;
40268 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40270 return cycles;
40271 #undef FLD
40274 static int
40275 model_fr500_cfckne (SIM_CPU *current_cpu, void *sem_arg)
40277 #define FLD(f) abuf->fields.sfmt_cfckne.f
40278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40279 const IDESC * UNUSED idesc = abuf->idesc;
40280 int cycles = 0;
40282 int referenced = 0;
40283 int UNUSED insn_referenced = abuf->written;
40284 INT in_ICCi_3 = -1;
40285 INT in_FCCi_3 = -1;
40286 in_FCCi_3 = FLD (in_FCCi_3);
40287 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40288 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40290 return cycles;
40291 #undef FLD
40294 static int
40295 model_fr500_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
40297 #define FLD(f) abuf->fields.sfmt_cfckne.f
40298 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40299 const IDESC * UNUSED idesc = abuf->idesc;
40300 int cycles = 0;
40302 int referenced = 0;
40303 int UNUSED insn_referenced = abuf->written;
40304 INT in_ICCi_3 = -1;
40305 INT in_FCCi_3 = -1;
40306 in_FCCi_3 = FLD (in_FCCi_3);
40307 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40308 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40310 return cycles;
40311 #undef FLD
40314 static int
40315 model_fr500_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
40317 #define FLD(f) abuf->fields.sfmt_cfckne.f
40318 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40319 const IDESC * UNUSED idesc = abuf->idesc;
40320 int cycles = 0;
40322 int referenced = 0;
40323 int UNUSED insn_referenced = abuf->written;
40324 INT in_ICCi_3 = -1;
40325 INT in_FCCi_3 = -1;
40326 in_FCCi_3 = FLD (in_FCCi_3);
40327 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40328 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40330 return cycles;
40331 #undef FLD
40334 static int
40335 model_fr500_cfckue (SIM_CPU *current_cpu, void *sem_arg)
40337 #define FLD(f) abuf->fields.sfmt_cfckne.f
40338 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40339 const IDESC * UNUSED idesc = abuf->idesc;
40340 int cycles = 0;
40342 int referenced = 0;
40343 int UNUSED insn_referenced = abuf->written;
40344 INT in_ICCi_3 = -1;
40345 INT in_FCCi_3 = -1;
40346 in_FCCi_3 = FLD (in_FCCi_3);
40347 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40348 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40350 return cycles;
40351 #undef FLD
40354 static int
40355 model_fr500_cfckul (SIM_CPU *current_cpu, void *sem_arg)
40357 #define FLD(f) abuf->fields.sfmt_cfckne.f
40358 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40359 const IDESC * UNUSED idesc = abuf->idesc;
40360 int cycles = 0;
40362 int referenced = 0;
40363 int UNUSED insn_referenced = abuf->written;
40364 INT in_ICCi_3 = -1;
40365 INT in_FCCi_3 = -1;
40366 in_FCCi_3 = FLD (in_FCCi_3);
40367 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40368 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40370 return cycles;
40371 #undef FLD
40374 static int
40375 model_fr500_cfckge (SIM_CPU *current_cpu, void *sem_arg)
40377 #define FLD(f) abuf->fields.sfmt_cfckne.f
40378 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40379 const IDESC * UNUSED idesc = abuf->idesc;
40380 int cycles = 0;
40382 int referenced = 0;
40383 int UNUSED insn_referenced = abuf->written;
40384 INT in_ICCi_3 = -1;
40385 INT in_FCCi_3 = -1;
40386 in_FCCi_3 = FLD (in_FCCi_3);
40387 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40388 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40390 return cycles;
40391 #undef FLD
40394 static int
40395 model_fr500_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
40397 #define FLD(f) abuf->fields.sfmt_cfckne.f
40398 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40399 const IDESC * UNUSED idesc = abuf->idesc;
40400 int cycles = 0;
40402 int referenced = 0;
40403 int UNUSED insn_referenced = abuf->written;
40404 INT in_ICCi_3 = -1;
40405 INT in_FCCi_3 = -1;
40406 in_FCCi_3 = FLD (in_FCCi_3);
40407 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40408 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40410 return cycles;
40411 #undef FLD
40414 static int
40415 model_fr500_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
40417 #define FLD(f) abuf->fields.sfmt_cfckne.f
40418 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40419 const IDESC * UNUSED idesc = abuf->idesc;
40420 int cycles = 0;
40422 int referenced = 0;
40423 int UNUSED insn_referenced = abuf->written;
40424 INT in_ICCi_3 = -1;
40425 INT in_FCCi_3 = -1;
40426 in_FCCi_3 = FLD (in_FCCi_3);
40427 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40428 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40430 return cycles;
40431 #undef FLD
40434 static int
40435 model_fr500_cfckug (SIM_CPU *current_cpu, void *sem_arg)
40437 #define FLD(f) abuf->fields.sfmt_cfckne.f
40438 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40439 const IDESC * UNUSED idesc = abuf->idesc;
40440 int cycles = 0;
40442 int referenced = 0;
40443 int UNUSED insn_referenced = abuf->written;
40444 INT in_ICCi_3 = -1;
40445 INT in_FCCi_3 = -1;
40446 in_FCCi_3 = FLD (in_FCCi_3);
40447 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40448 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40450 return cycles;
40451 #undef FLD
40454 static int
40455 model_fr500_cfckle (SIM_CPU *current_cpu, void *sem_arg)
40457 #define FLD(f) abuf->fields.sfmt_cfckne.f
40458 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40459 const IDESC * UNUSED idesc = abuf->idesc;
40460 int cycles = 0;
40462 int referenced = 0;
40463 int UNUSED insn_referenced = abuf->written;
40464 INT in_ICCi_3 = -1;
40465 INT in_FCCi_3 = -1;
40466 in_FCCi_3 = FLD (in_FCCi_3);
40467 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40468 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40470 return cycles;
40471 #undef FLD
40474 static int
40475 model_fr500_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
40477 #define FLD(f) abuf->fields.sfmt_cfckne.f
40478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40479 const IDESC * UNUSED idesc = abuf->idesc;
40480 int cycles = 0;
40482 int referenced = 0;
40483 int UNUSED insn_referenced = abuf->written;
40484 INT in_ICCi_3 = -1;
40485 INT in_FCCi_3 = -1;
40486 in_FCCi_3 = FLD (in_FCCi_3);
40487 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40488 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40490 return cycles;
40491 #undef FLD
40494 static int
40495 model_fr500_cfckule (SIM_CPU *current_cpu, void *sem_arg)
40497 #define FLD(f) abuf->fields.sfmt_cfckne.f
40498 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40499 const IDESC * UNUSED idesc = abuf->idesc;
40500 int cycles = 0;
40502 int referenced = 0;
40503 int UNUSED insn_referenced = abuf->written;
40504 INT in_ICCi_3 = -1;
40505 INT in_FCCi_3 = -1;
40506 in_FCCi_3 = FLD (in_FCCi_3);
40507 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40508 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40510 return cycles;
40511 #undef FLD
40514 static int
40515 model_fr500_cfcku (SIM_CPU *current_cpu, void *sem_arg)
40517 #define FLD(f) abuf->fields.sfmt_cfckne.f
40518 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40519 const IDESC * UNUSED idesc = abuf->idesc;
40520 int cycles = 0;
40522 int referenced = 0;
40523 int UNUSED insn_referenced = abuf->written;
40524 INT in_ICCi_3 = -1;
40525 INT in_FCCi_3 = -1;
40526 in_FCCi_3 = FLD (in_FCCi_3);
40527 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40528 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40530 return cycles;
40531 #undef FLD
40534 static int
40535 model_fr500_cfcko (SIM_CPU *current_cpu, void *sem_arg)
40537 #define FLD(f) abuf->fields.sfmt_cfckne.f
40538 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40539 const IDESC * UNUSED idesc = abuf->idesc;
40540 int cycles = 0;
40542 int referenced = 0;
40543 int UNUSED insn_referenced = abuf->written;
40544 INT in_ICCi_3 = -1;
40545 INT in_FCCi_3 = -1;
40546 in_FCCi_3 = FLD (in_FCCi_3);
40547 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40548 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40550 return cycles;
40551 #undef FLD
40554 static int
40555 model_fr500_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
40557 #define FLD(f) abuf->fields.sfmt_cjmpl.f
40558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40559 const IDESC * UNUSED idesc = abuf->idesc;
40560 int cycles = 0;
40562 int referenced = 0;
40563 int UNUSED insn_referenced = abuf->written;
40564 INT in_GRi = -1;
40565 INT in_GRj = -1;
40566 INT in_ICCi_2 = -1;
40567 INT in_FCCi_2 = -1;
40568 in_GRi = FLD (in_GRi);
40569 in_GRj = FLD (in_GRj);
40570 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40571 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
40572 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
40573 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
40575 return cycles;
40576 #undef FLD
40579 static int
40580 model_fr500_ccalll (SIM_CPU *current_cpu, void *sem_arg)
40582 #define FLD(f) abuf->fields.sfmt_cjmpl.f
40583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40584 const IDESC * UNUSED idesc = abuf->idesc;
40585 int cycles = 0;
40587 int referenced = 0;
40588 int UNUSED insn_referenced = abuf->written;
40589 INT in_GRi = -1;
40590 INT in_GRj = -1;
40591 INT in_ICCi_2 = -1;
40592 INT in_FCCi_2 = -1;
40593 in_GRi = FLD (in_GRi);
40594 in_GRj = FLD (in_GRj);
40595 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40596 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
40597 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
40598 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
40600 return cycles;
40601 #undef FLD
40604 static int
40605 model_fr500_ici (SIM_CPU *current_cpu, void *sem_arg)
40607 #define FLD(f) abuf->fields.sfmt_icpl.f
40608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40609 const IDESC * UNUSED idesc = abuf->idesc;
40610 int cycles = 0;
40612 int referenced = 0;
40613 int UNUSED insn_referenced = abuf->written;
40614 INT in_GRi = -1;
40615 INT in_GRj = -1;
40616 in_GRi = FLD (in_GRi);
40617 in_GRj = FLD (in_GRj);
40618 referenced |= 1 << 0;
40619 referenced |= 1 << 1;
40620 cycles += frvbf_model_fr500_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40622 return cycles;
40623 #undef FLD
40626 static int
40627 model_fr500_dci (SIM_CPU *current_cpu, void *sem_arg)
40629 #define FLD(f) abuf->fields.sfmt_icpl.f
40630 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40631 const IDESC * UNUSED idesc = abuf->idesc;
40632 int cycles = 0;
40634 int referenced = 0;
40635 int UNUSED insn_referenced = abuf->written;
40636 INT in_GRi = -1;
40637 INT in_GRj = -1;
40638 in_GRi = FLD (in_GRi);
40639 in_GRj = FLD (in_GRj);
40640 referenced |= 1 << 0;
40641 referenced |= 1 << 1;
40642 cycles += frvbf_model_fr500_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40644 return cycles;
40645 #undef FLD
40648 static int
40649 model_fr500_icei (SIM_CPU *current_cpu, void *sem_arg)
40651 #define FLD(f) abuf->fields.sfmt_icei.f
40652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40653 const IDESC * UNUSED idesc = abuf->idesc;
40654 int cycles = 0;
40656 int referenced = 0;
40657 int UNUSED insn_referenced = abuf->written;
40658 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40660 return cycles;
40661 #undef FLD
40664 static int
40665 model_fr500_dcei (SIM_CPU *current_cpu, void *sem_arg)
40667 #define FLD(f) abuf->fields.sfmt_icei.f
40668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40669 const IDESC * UNUSED idesc = abuf->idesc;
40670 int cycles = 0;
40672 int referenced = 0;
40673 int UNUSED insn_referenced = abuf->written;
40674 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40676 return cycles;
40677 #undef FLD
40680 static int
40681 model_fr500_dcf (SIM_CPU *current_cpu, void *sem_arg)
40683 #define FLD(f) abuf->fields.sfmt_icpl.f
40684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40685 const IDESC * UNUSED idesc = abuf->idesc;
40686 int cycles = 0;
40688 int referenced = 0;
40689 int UNUSED insn_referenced = abuf->written;
40690 INT in_GRi = -1;
40691 INT in_GRj = -1;
40692 in_GRi = FLD (in_GRi);
40693 in_GRj = FLD (in_GRj);
40694 referenced |= 1 << 0;
40695 referenced |= 1 << 1;
40696 cycles += frvbf_model_fr500_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40698 return cycles;
40699 #undef FLD
40702 static int
40703 model_fr500_dcef (SIM_CPU *current_cpu, void *sem_arg)
40705 #define FLD(f) abuf->fields.sfmt_icei.f
40706 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40707 const IDESC * UNUSED idesc = abuf->idesc;
40708 int cycles = 0;
40710 int referenced = 0;
40711 int UNUSED insn_referenced = abuf->written;
40712 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40714 return cycles;
40715 #undef FLD
40718 static int
40719 model_fr500_witlb (SIM_CPU *current_cpu, void *sem_arg)
40721 #define FLD(f) abuf->fields.sfmt_empty.f
40722 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40723 const IDESC * UNUSED idesc = abuf->idesc;
40724 int cycles = 0;
40726 int referenced = 0;
40727 int UNUSED insn_referenced = abuf->written;
40728 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40730 return cycles;
40731 #undef FLD
40734 static int
40735 model_fr500_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
40737 #define FLD(f) abuf->fields.sfmt_empty.f
40738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40739 const IDESC * UNUSED idesc = abuf->idesc;
40740 int cycles = 0;
40742 int referenced = 0;
40743 int UNUSED insn_referenced = abuf->written;
40744 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40746 return cycles;
40747 #undef FLD
40750 static int
40751 model_fr500_itlbi (SIM_CPU *current_cpu, void *sem_arg)
40753 #define FLD(f) abuf->fields.sfmt_empty.f
40754 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40755 const IDESC * UNUSED idesc = abuf->idesc;
40756 int cycles = 0;
40758 int referenced = 0;
40759 int UNUSED insn_referenced = abuf->written;
40760 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40762 return cycles;
40763 #undef FLD
40766 static int
40767 model_fr500_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
40769 #define FLD(f) abuf->fields.sfmt_empty.f
40770 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40771 const IDESC * UNUSED idesc = abuf->idesc;
40772 int cycles = 0;
40774 int referenced = 0;
40775 int UNUSED insn_referenced = abuf->written;
40776 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40778 return cycles;
40779 #undef FLD
40782 static int
40783 model_fr500_icpl (SIM_CPU *current_cpu, void *sem_arg)
40785 #define FLD(f) abuf->fields.sfmt_icpl.f
40786 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40787 const IDESC * UNUSED idesc = abuf->idesc;
40788 int cycles = 0;
40790 int referenced = 0;
40791 int UNUSED insn_referenced = abuf->written;
40792 INT in_GRi = -1;
40793 INT in_GRj = -1;
40794 in_GRi = FLD (in_GRi);
40795 in_GRj = FLD (in_GRj);
40796 referenced |= 1 << 0;
40797 referenced |= 1 << 1;
40798 cycles += frvbf_model_fr500_u_icpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40800 return cycles;
40801 #undef FLD
40804 static int
40805 model_fr500_dcpl (SIM_CPU *current_cpu, void *sem_arg)
40807 #define FLD(f) abuf->fields.sfmt_icpl.f
40808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40809 const IDESC * UNUSED idesc = abuf->idesc;
40810 int cycles = 0;
40812 int referenced = 0;
40813 int UNUSED insn_referenced = abuf->written;
40814 INT in_GRi = -1;
40815 INT in_GRj = -1;
40816 in_GRi = FLD (in_GRi);
40817 in_GRj = FLD (in_GRj);
40818 referenced |= 1 << 0;
40819 referenced |= 1 << 1;
40820 cycles += frvbf_model_fr500_u_dcpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40822 return cycles;
40823 #undef FLD
40826 static int
40827 model_fr500_icul (SIM_CPU *current_cpu, void *sem_arg)
40829 #define FLD(f) abuf->fields.sfmt_jmpil.f
40830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40831 const IDESC * UNUSED idesc = abuf->idesc;
40832 int cycles = 0;
40834 int referenced = 0;
40835 int UNUSED insn_referenced = abuf->written;
40836 INT in_GRi = -1;
40837 INT in_GRj = -1;
40838 in_GRi = FLD (in_GRi);
40839 referenced |= 1 << 0;
40840 cycles += frvbf_model_fr500_u_icul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40842 return cycles;
40843 #undef FLD
40846 static int
40847 model_fr500_dcul (SIM_CPU *current_cpu, void *sem_arg)
40849 #define FLD(f) abuf->fields.sfmt_jmpil.f
40850 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40851 const IDESC * UNUSED idesc = abuf->idesc;
40852 int cycles = 0;
40854 int referenced = 0;
40855 int UNUSED insn_referenced = abuf->written;
40856 INT in_GRi = -1;
40857 INT in_GRj = -1;
40858 in_GRi = FLD (in_GRi);
40859 referenced |= 1 << 0;
40860 cycles += frvbf_model_fr500_u_dcul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40862 return cycles;
40863 #undef FLD
40866 static int
40867 model_fr500_bar (SIM_CPU *current_cpu, void *sem_arg)
40869 #define FLD(f) abuf->fields.sfmt_empty.f
40870 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40871 const IDESC * UNUSED idesc = abuf->idesc;
40872 int cycles = 0;
40874 int referenced = 0;
40875 int UNUSED insn_referenced = abuf->written;
40876 cycles += frvbf_model_fr500_u_barrier (current_cpu, idesc, 0, referenced);
40878 return cycles;
40879 #undef FLD
40882 static int
40883 model_fr500_membar (SIM_CPU *current_cpu, void *sem_arg)
40885 #define FLD(f) abuf->fields.sfmt_empty.f
40886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40887 const IDESC * UNUSED idesc = abuf->idesc;
40888 int cycles = 0;
40890 int referenced = 0;
40891 int UNUSED insn_referenced = abuf->written;
40892 cycles += frvbf_model_fr500_u_membar (current_cpu, idesc, 0, referenced);
40894 return cycles;
40895 #undef FLD
40898 static int
40899 model_fr500_lrai (SIM_CPU *current_cpu, void *sem_arg)
40901 #define FLD(f) abuf->fields.sfmt_empty.f
40902 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40903 const IDESC * UNUSED idesc = abuf->idesc;
40904 int cycles = 0;
40906 int referenced = 0;
40907 int UNUSED insn_referenced = abuf->written;
40908 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40910 return cycles;
40911 #undef FLD
40914 static int
40915 model_fr500_lrad (SIM_CPU *current_cpu, void *sem_arg)
40917 #define FLD(f) abuf->fields.sfmt_empty.f
40918 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40919 const IDESC * UNUSED idesc = abuf->idesc;
40920 int cycles = 0;
40922 int referenced = 0;
40923 int UNUSED insn_referenced = abuf->written;
40924 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40926 return cycles;
40927 #undef FLD
40930 static int
40931 model_fr500_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
40933 #define FLD(f) abuf->fields.sfmt_empty.f
40934 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40935 const IDESC * UNUSED idesc = abuf->idesc;
40936 int cycles = 0;
40938 int referenced = 0;
40939 int UNUSED insn_referenced = abuf->written;
40940 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40942 return cycles;
40943 #undef FLD
40946 static int
40947 model_fr500_cop1 (SIM_CPU *current_cpu, void *sem_arg)
40949 #define FLD(f) abuf->fields.sfmt_empty.f
40950 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40951 const IDESC * UNUSED idesc = abuf->idesc;
40952 int cycles = 0;
40954 int referenced = 0;
40955 int UNUSED insn_referenced = abuf->written;
40956 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40958 return cycles;
40959 #undef FLD
40962 static int
40963 model_fr500_cop2 (SIM_CPU *current_cpu, void *sem_arg)
40965 #define FLD(f) abuf->fields.sfmt_empty.f
40966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40967 const IDESC * UNUSED idesc = abuf->idesc;
40968 int cycles = 0;
40970 int referenced = 0;
40971 int UNUSED insn_referenced = abuf->written;
40972 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40974 return cycles;
40975 #undef FLD
40978 static int
40979 model_fr500_clrgr (SIM_CPU *current_cpu, void *sem_arg)
40981 #define FLD(f) abuf->fields.sfmt_swapi.f
40982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40983 const IDESC * UNUSED idesc = abuf->idesc;
40984 int cycles = 0;
40986 int referenced = 0;
40987 int UNUSED insn_referenced = abuf->written;
40988 INT in_GRk = -1;
40989 in_GRk = FLD (in_GRk);
40990 referenced |= 1 << 0;
40991 cycles += frvbf_model_fr500_u_clrgr (current_cpu, idesc, 0, referenced, in_GRk);
40993 return cycles;
40994 #undef FLD
40997 static int
40998 model_fr500_clrfr (SIM_CPU *current_cpu, void *sem_arg)
41000 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41002 const IDESC * UNUSED idesc = abuf->idesc;
41003 int cycles = 0;
41005 int referenced = 0;
41006 int UNUSED insn_referenced = abuf->written;
41007 INT in_FRk = -1;
41008 in_FRk = FLD (in_FRk);
41009 referenced |= 1 << 0;
41010 cycles += frvbf_model_fr500_u_clrfr (current_cpu, idesc, 0, referenced, in_FRk);
41012 return cycles;
41013 #undef FLD
41016 static int
41017 model_fr500_clrga (SIM_CPU *current_cpu, void *sem_arg)
41019 #define FLD(f) abuf->fields.sfmt_empty.f
41020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41021 const IDESC * UNUSED idesc = abuf->idesc;
41022 int cycles = 0;
41024 int referenced = 0;
41025 int UNUSED insn_referenced = abuf->written;
41026 INT in_GRk = -1;
41027 cycles += frvbf_model_fr500_u_clrgr (current_cpu, idesc, 0, referenced, in_GRk);
41029 return cycles;
41030 #undef FLD
41033 static int
41034 model_fr500_clrfa (SIM_CPU *current_cpu, void *sem_arg)
41036 #define FLD(f) abuf->fields.sfmt_empty.f
41037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41038 const IDESC * UNUSED idesc = abuf->idesc;
41039 int cycles = 0;
41041 int referenced = 0;
41042 int UNUSED insn_referenced = abuf->written;
41043 INT in_FRk = -1;
41044 cycles += frvbf_model_fr500_u_clrfr (current_cpu, idesc, 0, referenced, in_FRk);
41046 return cycles;
41047 #undef FLD
41050 static int
41051 model_fr500_commitgr (SIM_CPU *current_cpu, void *sem_arg)
41053 #define FLD(f) abuf->fields.sfmt_setlos.f
41054 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41055 const IDESC * UNUSED idesc = abuf->idesc;
41056 int cycles = 0;
41058 int referenced = 0;
41059 int UNUSED insn_referenced = abuf->written;
41060 INT in_GRk = -1;
41061 INT in_FRk = -1;
41062 cycles += frvbf_model_fr500_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
41064 return cycles;
41065 #undef FLD
41068 static int
41069 model_fr500_commitfr (SIM_CPU *current_cpu, void *sem_arg)
41071 #define FLD(f) abuf->fields.sfmt_mhsethis.f
41072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41073 const IDESC * UNUSED idesc = abuf->idesc;
41074 int cycles = 0;
41076 int referenced = 0;
41077 int UNUSED insn_referenced = abuf->written;
41078 INT in_GRk = -1;
41079 INT in_FRk = -1;
41080 cycles += frvbf_model_fr500_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
41082 return cycles;
41083 #undef FLD
41086 static int
41087 model_fr500_commitga (SIM_CPU *current_cpu, void *sem_arg)
41089 #define FLD(f) abuf->fields.sfmt_empty.f
41090 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41091 const IDESC * UNUSED idesc = abuf->idesc;
41092 int cycles = 0;
41094 int referenced = 0;
41095 int UNUSED insn_referenced = abuf->written;
41096 INT in_GRk = -1;
41097 INT in_FRk = -1;
41098 cycles += frvbf_model_fr500_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
41100 return cycles;
41101 #undef FLD
41104 static int
41105 model_fr500_commitfa (SIM_CPU *current_cpu, void *sem_arg)
41107 #define FLD(f) abuf->fields.sfmt_empty.f
41108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41109 const IDESC * UNUSED idesc = abuf->idesc;
41110 int cycles = 0;
41112 int referenced = 0;
41113 int UNUSED insn_referenced = abuf->written;
41114 INT in_GRk = -1;
41115 INT in_FRk = -1;
41116 cycles += frvbf_model_fr500_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
41118 return cycles;
41119 #undef FLD
41122 static int
41123 model_fr500_fitos (SIM_CPU *current_cpu, void *sem_arg)
41125 #define FLD(f) abuf->fields.sfmt_fditos.f
41126 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41127 const IDESC * UNUSED idesc = abuf->idesc;
41128 int cycles = 0;
41130 int referenced = 0;
41131 int UNUSED insn_referenced = abuf->written;
41132 INT in_FRj = -1;
41133 INT in_FRintj = -1;
41134 INT in_FRdoublej = -1;
41135 INT out_FRk = -1;
41136 INT out_FRintk = -1;
41137 INT out_FRdoublek = -1;
41138 in_FRintj = FLD (in_FRintj);
41139 out_FRk = FLD (out_FRk);
41140 referenced |= 1 << 1;
41141 referenced |= 1 << 3;
41142 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41144 return cycles;
41145 #undef FLD
41148 static int
41149 model_fr500_fstoi (SIM_CPU *current_cpu, void *sem_arg)
41151 #define FLD(f) abuf->fields.sfmt_fdstoi.f
41152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41153 const IDESC * UNUSED idesc = abuf->idesc;
41154 int cycles = 0;
41156 int referenced = 0;
41157 int UNUSED insn_referenced = abuf->written;
41158 INT in_FRj = -1;
41159 INT in_FRintj = -1;
41160 INT in_FRdoublej = -1;
41161 INT out_FRk = -1;
41162 INT out_FRintk = -1;
41163 INT out_FRdoublek = -1;
41164 in_FRj = FLD (in_FRj);
41165 out_FRintk = FLD (out_FRintk);
41166 referenced |= 1 << 0;
41167 referenced |= 1 << 4;
41168 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41170 return cycles;
41171 #undef FLD
41174 static int
41175 model_fr500_fitod (SIM_CPU *current_cpu, void *sem_arg)
41177 #define FLD(f) abuf->fields.sfmt_fitod.f
41178 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41179 const IDESC * UNUSED idesc = abuf->idesc;
41180 int cycles = 0;
41182 int referenced = 0;
41183 int UNUSED insn_referenced = abuf->written;
41184 INT in_FRj = -1;
41185 INT in_FRintj = -1;
41186 INT in_FRdoublej = -1;
41187 INT out_FRk = -1;
41188 INT out_FRintk = -1;
41189 INT out_FRdoublek = -1;
41190 in_FRintj = FLD (in_FRintj);
41191 out_FRdoublek = FLD (out_FRdoublek);
41192 referenced |= 1 << 1;
41193 referenced |= 1 << 5;
41194 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41196 return cycles;
41197 #undef FLD
41200 static int
41201 model_fr500_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
41203 #define FLD(f) abuf->fields.sfmt_fdtoi.f
41204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41205 const IDESC * UNUSED idesc = abuf->idesc;
41206 int cycles = 0;
41208 int referenced = 0;
41209 int UNUSED insn_referenced = abuf->written;
41210 INT in_FRj = -1;
41211 INT in_FRintj = -1;
41212 INT in_FRdoublej = -1;
41213 INT out_FRk = -1;
41214 INT out_FRintk = -1;
41215 INT out_FRdoublek = -1;
41216 in_FRdoublej = FLD (in_FRdoublej);
41217 out_FRintk = FLD (out_FRintk);
41218 referenced |= 1 << 2;
41219 referenced |= 1 << 4;
41220 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41222 return cycles;
41223 #undef FLD
41226 static int
41227 model_fr500_fditos (SIM_CPU *current_cpu, void *sem_arg)
41229 #define FLD(f) abuf->fields.sfmt_fditos.f
41230 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41231 const IDESC * UNUSED idesc = abuf->idesc;
41232 int cycles = 0;
41234 int referenced = 0;
41235 int UNUSED insn_referenced = abuf->written;
41236 INT in_FRj = -1;
41237 INT in_FRintj = -1;
41238 INT out_FRk = -1;
41239 INT out_FRintk = -1;
41240 in_FRintj = FLD (in_FRintj);
41241 out_FRk = FLD (out_FRk);
41242 referenced |= 1 << 1;
41243 referenced |= 1 << 2;
41244 cycles += frvbf_model_fr500_u_float_dual_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, out_FRk, out_FRintk);
41246 return cycles;
41247 #undef FLD
41250 static int
41251 model_fr500_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
41253 #define FLD(f) abuf->fields.sfmt_fdstoi.f
41254 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41255 const IDESC * UNUSED idesc = abuf->idesc;
41256 int cycles = 0;
41258 int referenced = 0;
41259 int UNUSED insn_referenced = abuf->written;
41260 INT in_FRj = -1;
41261 INT in_FRintj = -1;
41262 INT out_FRk = -1;
41263 INT out_FRintk = -1;
41264 in_FRj = FLD (in_FRj);
41265 out_FRintk = FLD (out_FRintk);
41266 referenced |= 1 << 0;
41267 referenced |= 1 << 3;
41268 cycles += frvbf_model_fr500_u_float_dual_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, out_FRk, out_FRintk);
41270 return cycles;
41271 #undef FLD
41274 static int
41275 model_fr500_nfditos (SIM_CPU *current_cpu, void *sem_arg)
41277 #define FLD(f) abuf->fields.sfmt_fditos.f
41278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41279 const IDESC * UNUSED idesc = abuf->idesc;
41280 int cycles = 0;
41282 int referenced = 0;
41283 int UNUSED insn_referenced = abuf->written;
41284 INT in_FRj = -1;
41285 INT in_FRintj = -1;
41286 INT out_FRk = -1;
41287 INT out_FRintk = -1;
41288 in_FRintj = FLD (in_FRintj);
41289 out_FRk = FLD (out_FRk);
41290 referenced |= 1 << 1;
41291 referenced |= 1 << 2;
41292 cycles += frvbf_model_fr500_u_float_dual_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, out_FRk, out_FRintk);
41294 return cycles;
41295 #undef FLD
41298 static int
41299 model_fr500_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
41301 #define FLD(f) abuf->fields.sfmt_fdstoi.f
41302 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41303 const IDESC * UNUSED idesc = abuf->idesc;
41304 int cycles = 0;
41306 int referenced = 0;
41307 int UNUSED insn_referenced = abuf->written;
41308 INT in_FRj = -1;
41309 INT in_FRintj = -1;
41310 INT out_FRk = -1;
41311 INT out_FRintk = -1;
41312 in_FRj = FLD (in_FRj);
41313 out_FRintk = FLD (out_FRintk);
41314 referenced |= 1 << 0;
41315 referenced |= 1 << 3;
41316 cycles += frvbf_model_fr500_u_float_dual_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, out_FRk, out_FRintk);
41318 return cycles;
41319 #undef FLD
41322 static int
41323 model_fr500_cfitos (SIM_CPU *current_cpu, void *sem_arg)
41325 #define FLD(f) abuf->fields.sfmt_cfitos.f
41326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41327 const IDESC * UNUSED idesc = abuf->idesc;
41328 int cycles = 0;
41330 int referenced = 0;
41331 int UNUSED insn_referenced = abuf->written;
41332 INT in_FRj = -1;
41333 INT in_FRintj = -1;
41334 INT in_FRdoublej = -1;
41335 INT out_FRk = -1;
41336 INT out_FRintk = -1;
41337 INT out_FRdoublek = -1;
41338 in_FRintj = FLD (in_FRintj);
41339 out_FRk = FLD (out_FRk);
41340 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
41341 if (insn_referenced & (1 << 3)) referenced |= 1 << 3;
41342 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41344 return cycles;
41345 #undef FLD
41348 static int
41349 model_fr500_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
41351 #define FLD(f) abuf->fields.sfmt_cfstoi.f
41352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41353 const IDESC * UNUSED idesc = abuf->idesc;
41354 int cycles = 0;
41356 int referenced = 0;
41357 int UNUSED insn_referenced = abuf->written;
41358 INT in_FRj = -1;
41359 INT in_FRintj = -1;
41360 INT in_FRdoublej = -1;
41361 INT out_FRk = -1;
41362 INT out_FRintk = -1;
41363 INT out_FRdoublek = -1;
41364 in_FRj = FLD (in_FRj);
41365 out_FRintk = FLD (out_FRintk);
41366 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
41367 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
41368 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41370 return cycles;
41371 #undef FLD
41374 static int
41375 model_fr500_nfitos (SIM_CPU *current_cpu, void *sem_arg)
41377 #define FLD(f) abuf->fields.sfmt_fditos.f
41378 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41379 const IDESC * UNUSED idesc = abuf->idesc;
41380 int cycles = 0;
41382 int referenced = 0;
41383 int UNUSED insn_referenced = abuf->written;
41384 INT in_FRj = -1;
41385 INT in_FRintj = -1;
41386 INT in_FRdoublej = -1;
41387 INT out_FRk = -1;
41388 INT out_FRintk = -1;
41389 INT out_FRdoublek = -1;
41390 in_FRintj = FLD (in_FRintj);
41391 out_FRk = FLD (out_FRk);
41392 referenced |= 1 << 1;
41393 referenced |= 1 << 3;
41394 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41396 return cycles;
41397 #undef FLD
41400 static int
41401 model_fr500_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
41403 #define FLD(f) abuf->fields.sfmt_fdstoi.f
41404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41405 const IDESC * UNUSED idesc = abuf->idesc;
41406 int cycles = 0;
41408 int referenced = 0;
41409 int UNUSED insn_referenced = abuf->written;
41410 INT in_FRj = -1;
41411 INT in_FRintj = -1;
41412 INT in_FRdoublej = -1;
41413 INT out_FRk = -1;
41414 INT out_FRintk = -1;
41415 INT out_FRdoublek = -1;
41416 in_FRj = FLD (in_FRj);
41417 out_FRintk = FLD (out_FRintk);
41418 referenced |= 1 << 0;
41419 referenced |= 1 << 4;
41420 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41422 return cycles;
41423 #undef FLD
41426 static int
41427 model_fr500_fmovs (SIM_CPU *current_cpu, void *sem_arg)
41429 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41430 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41431 const IDESC * UNUSED idesc = abuf->idesc;
41432 int cycles = 0;
41434 int referenced = 0;
41435 int UNUSED insn_referenced = abuf->written;
41436 INT in_FRi = -1;
41437 INT out_FRk = -1;
41438 out_FRk = FLD (out_FRk);
41439 referenced |= 1 << 1;
41440 cycles += frvbf_model_fr500_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
41442 return cycles;
41443 #undef FLD
41446 static int
41447 model_fr500_fmovd (SIM_CPU *current_cpu, void *sem_arg)
41449 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41450 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41451 const IDESC * UNUSED idesc = abuf->idesc;
41452 int cycles = 0;
41454 int referenced = 0;
41455 int UNUSED insn_referenced = abuf->written;
41456 INT in_FRi = -1;
41457 INT out_FRk = -1;
41458 cycles += frvbf_model_fr500_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
41460 return cycles;
41461 #undef FLD
41464 static int
41465 model_fr500_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
41467 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41469 const IDESC * UNUSED idesc = abuf->idesc;
41470 int cycles = 0;
41472 int referenced = 0;
41473 int UNUSED insn_referenced = abuf->written;
41474 INT in_FRi = -1;
41475 INT out_FRk = -1;
41476 out_FRk = FLD (out_FRk);
41477 referenced |= 1 << 1;
41478 cycles += frvbf_model_fr500_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
41480 return cycles;
41481 #undef FLD
41484 static int
41485 model_fr500_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
41487 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41489 const IDESC * UNUSED idesc = abuf->idesc;
41490 int cycles = 0;
41492 int referenced = 0;
41493 int UNUSED insn_referenced = abuf->written;
41494 INT in_FRi = -1;
41495 INT out_FRk = -1;
41496 out_FRk = FLD (out_FRk);
41497 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
41498 cycles += frvbf_model_fr500_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
41500 return cycles;
41501 #undef FLD
41504 static int
41505 model_fr500_fnegs (SIM_CPU *current_cpu, void *sem_arg)
41507 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41509 const IDESC * UNUSED idesc = abuf->idesc;
41510 int cycles = 0;
41512 int referenced = 0;
41513 int UNUSED insn_referenced = abuf->written;
41514 INT in_FRi = -1;
41515 INT in_FRj = -1;
41516 INT in_FRdoublei = -1;
41517 INT in_FRdoublej = -1;
41518 INT out_FRk = -1;
41519 INT out_FRdoublek = -1;
41520 in_FRj = FLD (in_FRj);
41521 out_FRk = FLD (out_FRk);
41522 referenced |= 1 << 1;
41523 referenced |= 1 << 4;
41524 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41526 return cycles;
41527 #undef FLD
41530 static int
41531 model_fr500_fnegd (SIM_CPU *current_cpu, void *sem_arg)
41533 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41534 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41535 const IDESC * UNUSED idesc = abuf->idesc;
41536 int cycles = 0;
41538 int referenced = 0;
41539 int UNUSED insn_referenced = abuf->written;
41540 INT in_FRi = -1;
41541 INT in_FRj = -1;
41542 INT in_FRdoublei = -1;
41543 INT in_FRdoublej = -1;
41544 INT out_FRk = -1;
41545 INT out_FRdoublek = -1;
41546 in_FRdoublej = FLD (in_FRdoublej);
41547 out_FRdoublek = FLD (out_FRdoublek);
41548 referenced |= 1 << 3;
41549 referenced |= 1 << 5;
41550 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41552 return cycles;
41553 #undef FLD
41556 static int
41557 model_fr500_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
41559 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41561 const IDESC * UNUSED idesc = abuf->idesc;
41562 int cycles = 0;
41564 int referenced = 0;
41565 int UNUSED insn_referenced = abuf->written;
41566 INT in_FRi = -1;
41567 INT in_FRj = -1;
41568 INT in_FRdoublei = -1;
41569 INT in_FRdoublej = -1;
41570 INT out_FRk = -1;
41571 INT out_FRdoublek = -1;
41572 in_FRj = FLD (in_FRj);
41573 out_FRk = FLD (out_FRk);
41574 referenced |= 1 << 1;
41575 referenced |= 1 << 4;
41576 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41578 return cycles;
41579 #undef FLD
41582 static int
41583 model_fr500_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
41585 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41586 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41587 const IDESC * UNUSED idesc = abuf->idesc;
41588 int cycles = 0;
41590 int referenced = 0;
41591 int UNUSED insn_referenced = abuf->written;
41592 INT in_FRi = -1;
41593 INT in_FRj = -1;
41594 INT in_FRdoublei = -1;
41595 INT in_FRdoublej = -1;
41596 INT out_FRk = -1;
41597 INT out_FRdoublek = -1;
41598 in_FRj = FLD (in_FRj);
41599 out_FRk = FLD (out_FRk);
41600 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
41601 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
41602 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41604 return cycles;
41605 #undef FLD
41608 static int
41609 model_fr500_fabss (SIM_CPU *current_cpu, void *sem_arg)
41611 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41613 const IDESC * UNUSED idesc = abuf->idesc;
41614 int cycles = 0;
41616 int referenced = 0;
41617 int UNUSED insn_referenced = abuf->written;
41618 INT in_FRi = -1;
41619 INT in_FRj = -1;
41620 INT in_FRdoublei = -1;
41621 INT in_FRdoublej = -1;
41622 INT out_FRk = -1;
41623 INT out_FRdoublek = -1;
41624 in_FRj = FLD (in_FRj);
41625 out_FRk = FLD (out_FRk);
41626 referenced |= 1 << 1;
41627 referenced |= 1 << 4;
41628 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41630 return cycles;
41631 #undef FLD
41634 static int
41635 model_fr500_fabsd (SIM_CPU *current_cpu, void *sem_arg)
41637 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41638 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41639 const IDESC * UNUSED idesc = abuf->idesc;
41640 int cycles = 0;
41642 int referenced = 0;
41643 int UNUSED insn_referenced = abuf->written;
41644 INT in_FRi = -1;
41645 INT in_FRj = -1;
41646 INT in_FRdoublei = -1;
41647 INT in_FRdoublej = -1;
41648 INT out_FRk = -1;
41649 INT out_FRdoublek = -1;
41650 in_FRdoublej = FLD (in_FRdoublej);
41651 out_FRdoublek = FLD (out_FRdoublek);
41652 referenced |= 1 << 3;
41653 referenced |= 1 << 5;
41654 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41656 return cycles;
41657 #undef FLD
41660 static int
41661 model_fr500_fdabss (SIM_CPU *current_cpu, void *sem_arg)
41663 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41665 const IDESC * UNUSED idesc = abuf->idesc;
41666 int cycles = 0;
41668 int referenced = 0;
41669 int UNUSED insn_referenced = abuf->written;
41670 INT in_FRi = -1;
41671 INT in_FRj = -1;
41672 INT in_FRdoublei = -1;
41673 INT in_FRdoublej = -1;
41674 INT out_FRk = -1;
41675 INT out_FRdoublek = -1;
41676 in_FRj = FLD (in_FRj);
41677 out_FRk = FLD (out_FRk);
41678 referenced |= 1 << 1;
41679 referenced |= 1 << 4;
41680 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41682 return cycles;
41683 #undef FLD
41686 static int
41687 model_fr500_cfabss (SIM_CPU *current_cpu, void *sem_arg)
41689 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41690 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41691 const IDESC * UNUSED idesc = abuf->idesc;
41692 int cycles = 0;
41694 int referenced = 0;
41695 int UNUSED insn_referenced = abuf->written;
41696 INT in_FRi = -1;
41697 INT in_FRj = -1;
41698 INT in_FRdoublei = -1;
41699 INT in_FRdoublej = -1;
41700 INT out_FRk = -1;
41701 INT out_FRdoublek = -1;
41702 in_FRj = FLD (in_FRj);
41703 out_FRk = FLD (out_FRk);
41704 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
41705 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
41706 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41708 return cycles;
41709 #undef FLD
41712 static int
41713 model_fr500_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
41715 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41717 const IDESC * UNUSED idesc = abuf->idesc;
41718 int cycles = 0;
41720 int referenced = 0;
41721 int UNUSED insn_referenced = abuf->written;
41722 INT in_FRj = -1;
41723 INT in_FRdoublej = -1;
41724 INT out_FRk = -1;
41725 INT out_FRdoublek = -1;
41726 in_FRj = FLD (in_FRj);
41727 out_FRk = FLD (out_FRk);
41728 referenced |= 1 << 0;
41729 referenced |= 1 << 2;
41730 cycles += frvbf_model_fr500_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
41732 return cycles;
41733 #undef FLD
41736 static int
41737 model_fr500_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
41739 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41741 const IDESC * UNUSED idesc = abuf->idesc;
41742 int cycles = 0;
41744 int referenced = 0;
41745 int UNUSED insn_referenced = abuf->written;
41746 INT in_FRj = -1;
41747 INT out_FRk = -1;
41748 in_FRj = FLD (in_FRj);
41749 out_FRk = FLD (out_FRk);
41750 referenced |= 1 << 0;
41751 referenced |= 1 << 1;
41752 cycles += frvbf_model_fr500_u_float_dual_sqrt (current_cpu, idesc, 0, referenced, in_FRj, out_FRk);
41754 return cycles;
41755 #undef FLD
41758 static int
41759 model_fr500_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
41761 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41762 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41763 const IDESC * UNUSED idesc = abuf->idesc;
41764 int cycles = 0;
41766 int referenced = 0;
41767 int UNUSED insn_referenced = abuf->written;
41768 INT in_FRj = -1;
41769 INT out_FRk = -1;
41770 in_FRj = FLD (in_FRj);
41771 out_FRk = FLD (out_FRk);
41772 referenced |= 1 << 0;
41773 referenced |= 1 << 1;
41774 cycles += frvbf_model_fr500_u_float_dual_sqrt (current_cpu, idesc, 0, referenced, in_FRj, out_FRk);
41776 return cycles;
41777 #undef FLD
41780 static int
41781 model_fr500_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
41783 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41785 const IDESC * UNUSED idesc = abuf->idesc;
41786 int cycles = 0;
41788 int referenced = 0;
41789 int UNUSED insn_referenced = abuf->written;
41790 INT in_FRj = -1;
41791 INT in_FRdoublej = -1;
41792 INT out_FRk = -1;
41793 INT out_FRdoublek = -1;
41794 in_FRdoublej = FLD (in_FRdoublej);
41795 out_FRdoublek = FLD (out_FRdoublek);
41796 referenced |= 1 << 1;
41797 referenced |= 1 << 3;
41798 cycles += frvbf_model_fr500_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
41800 return cycles;
41801 #undef FLD
41804 static int
41805 model_fr500_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
41807 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41809 const IDESC * UNUSED idesc = abuf->idesc;
41810 int cycles = 0;
41812 int referenced = 0;
41813 int UNUSED insn_referenced = abuf->written;
41814 INT in_FRj = -1;
41815 INT in_FRdoublej = -1;
41816 INT out_FRk = -1;
41817 INT out_FRdoublek = -1;
41818 in_FRj = FLD (in_FRj);
41819 out_FRk = FLD (out_FRk);
41820 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
41821 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
41822 cycles += frvbf_model_fr500_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
41824 return cycles;
41825 #undef FLD
41828 static int
41829 model_fr500_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
41831 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41833 const IDESC * UNUSED idesc = abuf->idesc;
41834 int cycles = 0;
41836 int referenced = 0;
41837 int UNUSED insn_referenced = abuf->written;
41838 INT in_FRj = -1;
41839 INT in_FRdoublej = -1;
41840 INT out_FRk = -1;
41841 INT out_FRdoublek = -1;
41842 in_FRj = FLD (in_FRj);
41843 out_FRk = FLD (out_FRk);
41844 referenced |= 1 << 0;
41845 referenced |= 1 << 2;
41846 cycles += frvbf_model_fr500_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
41848 return cycles;
41849 #undef FLD
41852 static int
41853 model_fr500_fadds (SIM_CPU *current_cpu, void *sem_arg)
41855 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41857 const IDESC * UNUSED idesc = abuf->idesc;
41858 int cycles = 0;
41860 int referenced = 0;
41861 int UNUSED insn_referenced = abuf->written;
41862 INT in_FRi = -1;
41863 INT in_FRj = -1;
41864 INT in_FRdoublei = -1;
41865 INT in_FRdoublej = -1;
41866 INT out_FRk = -1;
41867 INT out_FRdoublek = -1;
41868 in_FRi = FLD (in_FRi);
41869 in_FRj = FLD (in_FRj);
41870 out_FRk = FLD (out_FRk);
41871 referenced |= 1 << 0;
41872 referenced |= 1 << 1;
41873 referenced |= 1 << 4;
41874 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41876 return cycles;
41877 #undef FLD
41880 static int
41881 model_fr500_fsubs (SIM_CPU *current_cpu, void *sem_arg)
41883 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41885 const IDESC * UNUSED idesc = abuf->idesc;
41886 int cycles = 0;
41888 int referenced = 0;
41889 int UNUSED insn_referenced = abuf->written;
41890 INT in_FRi = -1;
41891 INT in_FRj = -1;
41892 INT in_FRdoublei = -1;
41893 INT in_FRdoublej = -1;
41894 INT out_FRk = -1;
41895 INT out_FRdoublek = -1;
41896 in_FRi = FLD (in_FRi);
41897 in_FRj = FLD (in_FRj);
41898 out_FRk = FLD (out_FRk);
41899 referenced |= 1 << 0;
41900 referenced |= 1 << 1;
41901 referenced |= 1 << 4;
41902 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41904 return cycles;
41905 #undef FLD
41908 static int
41909 model_fr500_fmuls (SIM_CPU *current_cpu, void *sem_arg)
41911 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41913 const IDESC * UNUSED idesc = abuf->idesc;
41914 int cycles = 0;
41916 int referenced = 0;
41917 int UNUSED insn_referenced = abuf->written;
41918 INT in_FRi = -1;
41919 INT in_FRj = -1;
41920 INT in_FRdoublei = -1;
41921 INT in_FRdoublej = -1;
41922 INT out_FRk = -1;
41923 INT out_FRdoublek = -1;
41924 in_FRi = FLD (in_FRi);
41925 in_FRj = FLD (in_FRj);
41926 out_FRk = FLD (out_FRk);
41927 referenced |= 1 << 0;
41928 referenced |= 1 << 1;
41929 referenced |= 1 << 4;
41930 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41932 return cycles;
41933 #undef FLD
41936 static int
41937 model_fr500_fdivs (SIM_CPU *current_cpu, void *sem_arg)
41939 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41941 const IDESC * UNUSED idesc = abuf->idesc;
41942 int cycles = 0;
41944 int referenced = 0;
41945 int UNUSED insn_referenced = abuf->written;
41946 INT in_FRi = -1;
41947 INT in_FRj = -1;
41948 INT out_FRk = -1;
41949 in_FRi = FLD (in_FRi);
41950 in_FRj = FLD (in_FRj);
41951 out_FRk = FLD (out_FRk);
41952 referenced |= 1 << 0;
41953 referenced |= 1 << 1;
41954 referenced |= 1 << 2;
41955 cycles += frvbf_model_fr500_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
41957 return cycles;
41958 #undef FLD
41961 static int
41962 model_fr500_faddd (SIM_CPU *current_cpu, void *sem_arg)
41964 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41966 const IDESC * UNUSED idesc = abuf->idesc;
41967 int cycles = 0;
41969 int referenced = 0;
41970 int UNUSED insn_referenced = abuf->written;
41971 INT in_FRi = -1;
41972 INT in_FRj = -1;
41973 INT in_FRdoublei = -1;
41974 INT in_FRdoublej = -1;
41975 INT out_FRk = -1;
41976 INT out_FRdoublek = -1;
41977 in_FRdoublei = FLD (in_FRdoublei);
41978 in_FRdoublej = FLD (in_FRdoublej);
41979 out_FRdoublek = FLD (out_FRdoublek);
41980 referenced |= 1 << 2;
41981 referenced |= 1 << 3;
41982 referenced |= 1 << 5;
41983 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41985 return cycles;
41986 #undef FLD
41989 static int
41990 model_fr500_fsubd (SIM_CPU *current_cpu, void *sem_arg)
41992 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41994 const IDESC * UNUSED idesc = abuf->idesc;
41995 int cycles = 0;
41997 int referenced = 0;
41998 int UNUSED insn_referenced = abuf->written;
41999 INT in_FRi = -1;
42000 INT in_FRj = -1;
42001 INT in_FRdoublei = -1;
42002 INT in_FRdoublej = -1;
42003 INT out_FRk = -1;
42004 INT out_FRdoublek = -1;
42005 in_FRdoublei = FLD (in_FRdoublei);
42006 in_FRdoublej = FLD (in_FRdoublej);
42007 out_FRdoublek = FLD (out_FRdoublek);
42008 referenced |= 1 << 2;
42009 referenced |= 1 << 3;
42010 referenced |= 1 << 5;
42011 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42013 return cycles;
42014 #undef FLD
42017 static int
42018 model_fr500_fmuld (SIM_CPU *current_cpu, void *sem_arg)
42020 #define FLD(f) abuf->fields.sfmt_fmaddd.f
42021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42022 const IDESC * UNUSED idesc = abuf->idesc;
42023 int cycles = 0;
42025 int referenced = 0;
42026 int UNUSED insn_referenced = abuf->written;
42027 INT in_FRi = -1;
42028 INT in_FRj = -1;
42029 INT in_FRdoublei = -1;
42030 INT in_FRdoublej = -1;
42031 INT out_FRk = -1;
42032 INT out_FRdoublek = -1;
42033 in_FRdoublei = FLD (in_FRdoublei);
42034 in_FRdoublej = FLD (in_FRdoublej);
42035 out_FRdoublek = FLD (out_FRdoublek);
42036 referenced |= 1 << 2;
42037 referenced |= 1 << 3;
42038 referenced |= 1 << 5;
42039 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42041 return cycles;
42042 #undef FLD
42045 static int
42046 model_fr500_fdivd (SIM_CPU *current_cpu, void *sem_arg)
42048 #define FLD(f) abuf->fields.sfmt_fmaddd.f
42049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42050 const IDESC * UNUSED idesc = abuf->idesc;
42051 int cycles = 0;
42053 int referenced = 0;
42054 int UNUSED insn_referenced = abuf->written;
42055 INT in_FRi = -1;
42056 INT in_FRj = -1;
42057 INT in_FRdoublei = -1;
42058 INT in_FRdoublej = -1;
42059 INT out_FRk = -1;
42060 INT out_FRdoublek = -1;
42061 in_FRdoublei = FLD (in_FRdoublei);
42062 in_FRdoublej = FLD (in_FRdoublej);
42063 out_FRdoublek = FLD (out_FRdoublek);
42064 referenced |= 1 << 2;
42065 referenced |= 1 << 3;
42066 referenced |= 1 << 5;
42067 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42069 return cycles;
42070 #undef FLD
42073 static int
42074 model_fr500_cfadds (SIM_CPU *current_cpu, void *sem_arg)
42076 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42078 const IDESC * UNUSED idesc = abuf->idesc;
42079 int cycles = 0;
42081 int referenced = 0;
42082 int UNUSED insn_referenced = abuf->written;
42083 INT in_FRi = -1;
42084 INT in_FRj = -1;
42085 INT in_FRdoublei = -1;
42086 INT in_FRdoublej = -1;
42087 INT out_FRk = -1;
42088 INT out_FRdoublek = -1;
42089 in_FRi = FLD (in_FRi);
42090 in_FRj = FLD (in_FRj);
42091 out_FRk = FLD (out_FRk);
42092 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42093 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42094 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
42095 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42097 return cycles;
42098 #undef FLD
42101 static int
42102 model_fr500_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
42104 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42106 const IDESC * UNUSED idesc = abuf->idesc;
42107 int cycles = 0;
42109 int referenced = 0;
42110 int UNUSED insn_referenced = abuf->written;
42111 INT in_FRi = -1;
42112 INT in_FRj = -1;
42113 INT in_FRdoublei = -1;
42114 INT in_FRdoublej = -1;
42115 INT out_FRk = -1;
42116 INT out_FRdoublek = -1;
42117 in_FRi = FLD (in_FRi);
42118 in_FRj = FLD (in_FRj);
42119 out_FRk = FLD (out_FRk);
42120 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42121 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42122 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
42123 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42125 return cycles;
42126 #undef FLD
42129 static int
42130 model_fr500_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
42132 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42134 const IDESC * UNUSED idesc = abuf->idesc;
42135 int cycles = 0;
42137 int referenced = 0;
42138 int UNUSED insn_referenced = abuf->written;
42139 INT in_FRi = -1;
42140 INT in_FRj = -1;
42141 INT in_FRdoublei = -1;
42142 INT in_FRdoublej = -1;
42143 INT out_FRk = -1;
42144 INT out_FRdoublek = -1;
42145 in_FRi = FLD (in_FRi);
42146 in_FRj = FLD (in_FRj);
42147 out_FRk = FLD (out_FRk);
42148 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42149 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42150 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
42151 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42153 return cycles;
42154 #undef FLD
42157 static int
42158 model_fr500_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
42160 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42162 const IDESC * UNUSED idesc = abuf->idesc;
42163 int cycles = 0;
42165 int referenced = 0;
42166 int UNUSED insn_referenced = abuf->written;
42167 INT in_FRi = -1;
42168 INT in_FRj = -1;
42169 INT out_FRk = -1;
42170 in_FRi = FLD (in_FRi);
42171 in_FRj = FLD (in_FRj);
42172 out_FRk = FLD (out_FRk);
42173 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42174 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42175 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
42176 cycles += frvbf_model_fr500_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
42178 return cycles;
42179 #undef FLD
42182 static int
42183 model_fr500_nfadds (SIM_CPU *current_cpu, void *sem_arg)
42185 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42186 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42187 const IDESC * UNUSED idesc = abuf->idesc;
42188 int cycles = 0;
42190 int referenced = 0;
42191 int UNUSED insn_referenced = abuf->written;
42192 INT in_FRi = -1;
42193 INT in_FRj = -1;
42194 INT in_FRdoublei = -1;
42195 INT in_FRdoublej = -1;
42196 INT out_FRk = -1;
42197 INT out_FRdoublek = -1;
42198 in_FRi = FLD (in_FRi);
42199 in_FRj = FLD (in_FRj);
42200 out_FRk = FLD (out_FRk);
42201 referenced |= 1 << 0;
42202 referenced |= 1 << 1;
42203 referenced |= 1 << 4;
42204 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42206 return cycles;
42207 #undef FLD
42210 static int
42211 model_fr500_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
42213 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42214 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42215 const IDESC * UNUSED idesc = abuf->idesc;
42216 int cycles = 0;
42218 int referenced = 0;
42219 int UNUSED insn_referenced = abuf->written;
42220 INT in_FRi = -1;
42221 INT in_FRj = -1;
42222 INT in_FRdoublei = -1;
42223 INT in_FRdoublej = -1;
42224 INT out_FRk = -1;
42225 INT out_FRdoublek = -1;
42226 in_FRi = FLD (in_FRi);
42227 in_FRj = FLD (in_FRj);
42228 out_FRk = FLD (out_FRk);
42229 referenced |= 1 << 0;
42230 referenced |= 1 << 1;
42231 referenced |= 1 << 4;
42232 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42234 return cycles;
42235 #undef FLD
42238 static int
42239 model_fr500_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
42241 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42243 const IDESC * UNUSED idesc = abuf->idesc;
42244 int cycles = 0;
42246 int referenced = 0;
42247 int UNUSED insn_referenced = abuf->written;
42248 INT in_FRi = -1;
42249 INT in_FRj = -1;
42250 INT in_FRdoublei = -1;
42251 INT in_FRdoublej = -1;
42252 INT out_FRk = -1;
42253 INT out_FRdoublek = -1;
42254 in_FRi = FLD (in_FRi);
42255 in_FRj = FLD (in_FRj);
42256 out_FRk = FLD (out_FRk);
42257 referenced |= 1 << 0;
42258 referenced |= 1 << 1;
42259 referenced |= 1 << 4;
42260 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42262 return cycles;
42263 #undef FLD
42266 static int
42267 model_fr500_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
42269 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42270 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42271 const IDESC * UNUSED idesc = abuf->idesc;
42272 int cycles = 0;
42274 int referenced = 0;
42275 int UNUSED insn_referenced = abuf->written;
42276 INT in_FRi = -1;
42277 INT in_FRj = -1;
42278 INT out_FRk = -1;
42279 in_FRi = FLD (in_FRi);
42280 in_FRj = FLD (in_FRj);
42281 out_FRk = FLD (out_FRk);
42282 referenced |= 1 << 0;
42283 referenced |= 1 << 1;
42284 referenced |= 1 << 2;
42285 cycles += frvbf_model_fr500_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
42287 return cycles;
42288 #undef FLD
42291 static int
42292 model_fr500_fcmps (SIM_CPU *current_cpu, void *sem_arg)
42294 #define FLD(f) abuf->fields.sfmt_cfcmps.f
42295 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42296 const IDESC * UNUSED idesc = abuf->idesc;
42297 int cycles = 0;
42299 int referenced = 0;
42300 int UNUSED insn_referenced = abuf->written;
42301 INT in_FRi = -1;
42302 INT in_FRj = -1;
42303 INT in_FRdoublei = -1;
42304 INT in_FRdoublej = -1;
42305 INT out_FCCi_2 = -1;
42306 in_FRi = FLD (in_FRi);
42307 in_FRj = FLD (in_FRj);
42308 out_FCCi_2 = FLD (out_FCCi_2);
42309 referenced |= 1 << 0;
42310 referenced |= 1 << 1;
42311 if (insn_referenced & (1 << 2)) referenced |= 1 << 4;
42312 cycles += frvbf_model_fr500_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
42314 return cycles;
42315 #undef FLD
42318 static int
42319 model_fr500_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
42321 #define FLD(f) abuf->fields.sfmt_fcmpd.f
42322 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42323 const IDESC * UNUSED idesc = abuf->idesc;
42324 int cycles = 0;
42326 int referenced = 0;
42327 int UNUSED insn_referenced = abuf->written;
42328 INT in_FRi = -1;
42329 INT in_FRj = -1;
42330 INT in_FRdoublei = -1;
42331 INT in_FRdoublej = -1;
42332 INT out_FCCi_2 = -1;
42333 in_FRdoublei = FLD (in_FRdoublei);
42334 in_FRdoublej = FLD (in_FRdoublej);
42335 out_FCCi_2 = FLD (out_FCCi_2);
42336 referenced |= 1 << 2;
42337 referenced |= 1 << 3;
42338 if (insn_referenced & (1 << 2)) referenced |= 1 << 4;
42339 cycles += frvbf_model_fr500_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
42341 return cycles;
42342 #undef FLD
42345 static int
42346 model_fr500_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
42348 #define FLD(f) abuf->fields.sfmt_cfcmps.f
42349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42350 const IDESC * UNUSED idesc = abuf->idesc;
42351 int cycles = 0;
42353 int referenced = 0;
42354 int UNUSED insn_referenced = abuf->written;
42355 INT in_FRi = -1;
42356 INT in_FRj = -1;
42357 INT in_FRdoublei = -1;
42358 INT in_FRdoublej = -1;
42359 INT out_FCCi_2 = -1;
42360 in_FRi = FLD (in_FRi);
42361 in_FRj = FLD (in_FRj);
42362 out_FCCi_2 = FLD (out_FCCi_2);
42363 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42364 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42365 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
42366 cycles += frvbf_model_fr500_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
42368 return cycles;
42369 #undef FLD
42372 static int
42373 model_fr500_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
42375 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
42376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42377 const IDESC * UNUSED idesc = abuf->idesc;
42378 int cycles = 0;
42380 int referenced = 0;
42381 int UNUSED insn_referenced = abuf->written;
42382 INT in_FRi = -1;
42383 INT in_FRj = -1;
42384 INT out_FCCi_2 = -1;
42385 in_FRi = FLD (in_FRi);
42386 in_FRj = FLD (in_FRj);
42387 out_FCCi_2 = FLD (out_FCCi_2);
42388 referenced |= 1 << 0;
42389 referenced |= 1 << 1;
42390 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
42391 cycles += frvbf_model_fr500_u_float_dual_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FCCi_2);
42393 return cycles;
42394 #undef FLD
42397 static int
42398 model_fr500_fmadds (SIM_CPU *current_cpu, void *sem_arg)
42400 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42402 const IDESC * UNUSED idesc = abuf->idesc;
42403 int cycles = 0;
42405 int referenced = 0;
42406 int UNUSED insn_referenced = abuf->written;
42407 INT in_FRi = -1;
42408 INT in_FRj = -1;
42409 INT in_FRdoublei = -1;
42410 INT in_FRdoublej = -1;
42411 INT out_FRk = -1;
42412 INT out_FRdoublek = -1;
42413 in_FRi = FLD (in_FRi);
42414 in_FRj = FLD (in_FRj);
42415 out_FRk = FLD (out_FRk);
42416 referenced |= 1 << 0;
42417 referenced |= 1 << 1;
42418 referenced |= 1 << 4;
42419 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42421 return cycles;
42422 #undef FLD
42425 static int
42426 model_fr500_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
42428 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42430 const IDESC * UNUSED idesc = abuf->idesc;
42431 int cycles = 0;
42433 int referenced = 0;
42434 int UNUSED insn_referenced = abuf->written;
42435 INT in_FRi = -1;
42436 INT in_FRj = -1;
42437 INT in_FRdoublei = -1;
42438 INT in_FRdoublej = -1;
42439 INT out_FRk = -1;
42440 INT out_FRdoublek = -1;
42441 in_FRi = FLD (in_FRi);
42442 in_FRj = FLD (in_FRj);
42443 out_FRk = FLD (out_FRk);
42444 referenced |= 1 << 0;
42445 referenced |= 1 << 1;
42446 referenced |= 1 << 4;
42447 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42449 return cycles;
42450 #undef FLD
42453 static int
42454 model_fr500_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
42456 #define FLD(f) abuf->fields.sfmt_fmaddd.f
42457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42458 const IDESC * UNUSED idesc = abuf->idesc;
42459 int cycles = 0;
42461 int referenced = 0;
42462 int UNUSED insn_referenced = abuf->written;
42463 INT in_FRi = -1;
42464 INT in_FRj = -1;
42465 INT in_FRdoublei = -1;
42466 INT in_FRdoublej = -1;
42467 INT out_FRk = -1;
42468 INT out_FRdoublek = -1;
42469 in_FRdoublei = FLD (in_FRdoublei);
42470 in_FRdoublej = FLD (in_FRdoublej);
42471 out_FRdoublek = FLD (out_FRdoublek);
42472 referenced |= 1 << 2;
42473 referenced |= 1 << 3;
42474 referenced |= 1 << 5;
42475 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42477 return cycles;
42478 #undef FLD
42481 static int
42482 model_fr500_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
42484 #define FLD(f) abuf->fields.sfmt_fmaddd.f
42485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42486 const IDESC * UNUSED idesc = abuf->idesc;
42487 int cycles = 0;
42489 int referenced = 0;
42490 int UNUSED insn_referenced = abuf->written;
42491 INT in_FRi = -1;
42492 INT in_FRj = -1;
42493 INT in_FRdoublei = -1;
42494 INT in_FRdoublej = -1;
42495 INT out_FRk = -1;
42496 INT out_FRdoublek = -1;
42497 in_FRdoublei = FLD (in_FRdoublei);
42498 in_FRdoublej = FLD (in_FRdoublej);
42499 out_FRdoublek = FLD (out_FRdoublek);
42500 referenced |= 1 << 2;
42501 referenced |= 1 << 3;
42502 referenced |= 1 << 5;
42503 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42505 return cycles;
42506 #undef FLD
42509 static int
42510 model_fr500_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
42512 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42514 const IDESC * UNUSED idesc = abuf->idesc;
42515 int cycles = 0;
42517 int referenced = 0;
42518 int UNUSED insn_referenced = abuf->written;
42519 INT in_FRi = -1;
42520 INT in_FRj = -1;
42521 INT in_FRdoublei = -1;
42522 INT in_FRdoublej = -1;
42523 INT out_FRk = -1;
42524 INT out_FRdoublek = -1;
42525 in_FRi = FLD (in_FRi);
42526 in_FRj = FLD (in_FRj);
42527 out_FRk = FLD (out_FRk);
42528 referenced |= 1 << 0;
42529 referenced |= 1 << 1;
42530 referenced |= 1 << 4;
42531 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42533 return cycles;
42534 #undef FLD
42537 static int
42538 model_fr500_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
42540 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42542 const IDESC * UNUSED idesc = abuf->idesc;
42543 int cycles = 0;
42545 int referenced = 0;
42546 int UNUSED insn_referenced = abuf->written;
42547 INT in_FRi = -1;
42548 INT in_FRj = -1;
42549 INT in_FRdoublei = -1;
42550 INT in_FRdoublej = -1;
42551 INT out_FRk = -1;
42552 INT out_FRdoublek = -1;
42553 in_FRi = FLD (in_FRi);
42554 in_FRj = FLD (in_FRj);
42555 out_FRk = FLD (out_FRk);
42556 referenced |= 1 << 0;
42557 referenced |= 1 << 1;
42558 referenced |= 1 << 4;
42559 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42561 return cycles;
42562 #undef FLD
42565 static int
42566 model_fr500_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
42568 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42570 const IDESC * UNUSED idesc = abuf->idesc;
42571 int cycles = 0;
42573 int referenced = 0;
42574 int UNUSED insn_referenced = abuf->written;
42575 INT in_FRi = -1;
42576 INT in_FRj = -1;
42577 INT in_FRdoublei = -1;
42578 INT in_FRdoublej = -1;
42579 INT out_FRk = -1;
42580 INT out_FRdoublek = -1;
42581 in_FRi = FLD (in_FRi);
42582 in_FRj = FLD (in_FRj);
42583 out_FRk = FLD (out_FRk);
42584 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42585 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42586 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
42587 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42589 return cycles;
42590 #undef FLD
42593 static int
42594 model_fr500_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
42596 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42598 const IDESC * UNUSED idesc = abuf->idesc;
42599 int cycles = 0;
42601 int referenced = 0;
42602 int UNUSED insn_referenced = abuf->written;
42603 INT in_FRi = -1;
42604 INT in_FRj = -1;
42605 INT in_FRdoublei = -1;
42606 INT in_FRdoublej = -1;
42607 INT out_FRk = -1;
42608 INT out_FRdoublek = -1;
42609 in_FRi = FLD (in_FRi);
42610 in_FRj = FLD (in_FRj);
42611 out_FRk = FLD (out_FRk);
42612 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42613 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42614 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
42615 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42617 return cycles;
42618 #undef FLD
42621 static int
42622 model_fr500_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
42624 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42626 const IDESC * UNUSED idesc = abuf->idesc;
42627 int cycles = 0;
42629 int referenced = 0;
42630 int UNUSED insn_referenced = abuf->written;
42631 INT in_FRi = -1;
42632 INT in_FRj = -1;
42633 INT in_FRdoublei = -1;
42634 INT in_FRdoublej = -1;
42635 INT out_FRk = -1;
42636 INT out_FRdoublek = -1;
42637 in_FRi = FLD (in_FRi);
42638 in_FRj = FLD (in_FRj);
42639 out_FRk = FLD (out_FRk);
42640 referenced |= 1 << 0;
42641 referenced |= 1 << 1;
42642 referenced |= 1 << 4;
42643 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42645 return cycles;
42646 #undef FLD
42649 static int
42650 model_fr500_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
42652 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42654 const IDESC * UNUSED idesc = abuf->idesc;
42655 int cycles = 0;
42657 int referenced = 0;
42658 int UNUSED insn_referenced = abuf->written;
42659 INT in_FRi = -1;
42660 INT in_FRj = -1;
42661 INT in_FRdoublei = -1;
42662 INT in_FRdoublej = -1;
42663 INT out_FRk = -1;
42664 INT out_FRdoublek = -1;
42665 in_FRi = FLD (in_FRi);
42666 in_FRj = FLD (in_FRj);
42667 out_FRk = FLD (out_FRk);
42668 referenced |= 1 << 0;
42669 referenced |= 1 << 1;
42670 referenced |= 1 << 4;
42671 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42673 return cycles;
42674 #undef FLD
42677 static int
42678 model_fr500_fmas (SIM_CPU *current_cpu, void *sem_arg)
42680 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42682 const IDESC * UNUSED idesc = abuf->idesc;
42683 int cycles = 0;
42685 int referenced = 0;
42686 int UNUSED insn_referenced = abuf->written;
42687 INT in_FRi = -1;
42688 INT in_FRj = -1;
42689 INT in_FRdoublei = -1;
42690 INT in_FRdoublej = -1;
42691 INT out_FRk = -1;
42692 INT out_FRdoublek = -1;
42693 in_FRi = FLD (in_FRi);
42694 in_FRj = FLD (in_FRj);
42695 out_FRk = FLD (out_FRk);
42696 referenced |= 1 << 0;
42697 referenced |= 1 << 1;
42698 referenced |= 1 << 4;
42699 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42701 return cycles;
42702 #undef FLD
42705 static int
42706 model_fr500_fmss (SIM_CPU *current_cpu, void *sem_arg)
42708 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42710 const IDESC * UNUSED idesc = abuf->idesc;
42711 int cycles = 0;
42713 int referenced = 0;
42714 int UNUSED insn_referenced = abuf->written;
42715 INT in_FRi = -1;
42716 INT in_FRj = -1;
42717 INT in_FRdoublei = -1;
42718 INT in_FRdoublej = -1;
42719 INT out_FRk = -1;
42720 INT out_FRdoublek = -1;
42721 in_FRi = FLD (in_FRi);
42722 in_FRj = FLD (in_FRj);
42723 out_FRk = FLD (out_FRk);
42724 referenced |= 1 << 0;
42725 referenced |= 1 << 1;
42726 referenced |= 1 << 4;
42727 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42729 return cycles;
42730 #undef FLD
42733 static int
42734 model_fr500_fdmas (SIM_CPU *current_cpu, void *sem_arg)
42736 #define FLD(f) abuf->fields.sfmt_fdmas.f
42737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42738 const IDESC * UNUSED idesc = abuf->idesc;
42739 int cycles = 0;
42741 int referenced = 0;
42742 int UNUSED insn_referenced = abuf->written;
42743 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42745 return cycles;
42746 #undef FLD
42749 static int
42750 model_fr500_fdmss (SIM_CPU *current_cpu, void *sem_arg)
42752 #define FLD(f) abuf->fields.sfmt_fdmas.f
42753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42754 const IDESC * UNUSED idesc = abuf->idesc;
42755 int cycles = 0;
42757 int referenced = 0;
42758 int UNUSED insn_referenced = abuf->written;
42759 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42761 return cycles;
42762 #undef FLD
42765 static int
42766 model_fr500_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
42768 #define FLD(f) abuf->fields.sfmt_fdmas.f
42769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42770 const IDESC * UNUSED idesc = abuf->idesc;
42771 int cycles = 0;
42773 int referenced = 0;
42774 int UNUSED insn_referenced = abuf->written;
42775 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42777 return cycles;
42778 #undef FLD
42781 static int
42782 model_fr500_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
42784 #define FLD(f) abuf->fields.sfmt_fdmas.f
42785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42786 const IDESC * UNUSED idesc = abuf->idesc;
42787 int cycles = 0;
42789 int referenced = 0;
42790 int UNUSED insn_referenced = abuf->written;
42791 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42793 return cycles;
42794 #undef FLD
42797 static int
42798 model_fr500_cfmas (SIM_CPU *current_cpu, void *sem_arg)
42800 #define FLD(f) abuf->fields.sfmt_cfmas.f
42801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42802 const IDESC * UNUSED idesc = abuf->idesc;
42803 int cycles = 0;
42805 int referenced = 0;
42806 int UNUSED insn_referenced = abuf->written;
42807 INT in_FRi = -1;
42808 INT in_FRj = -1;
42809 INT in_FRdoublei = -1;
42810 INT in_FRdoublej = -1;
42811 INT out_FRk = -1;
42812 INT out_FRdoublek = -1;
42813 in_FRi = FLD (in_FRi);
42814 in_FRj = FLD (in_FRj);
42815 out_FRk = FLD (out_FRk);
42816 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42817 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42818 if (insn_referenced & (1 << 9)) referenced |= 1 << 4;
42819 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42821 return cycles;
42822 #undef FLD
42825 static int
42826 model_fr500_cfmss (SIM_CPU *current_cpu, void *sem_arg)
42828 #define FLD(f) abuf->fields.sfmt_cfmas.f
42829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42830 const IDESC * UNUSED idesc = abuf->idesc;
42831 int cycles = 0;
42833 int referenced = 0;
42834 int UNUSED insn_referenced = abuf->written;
42835 INT in_FRi = -1;
42836 INT in_FRj = -1;
42837 INT in_FRdoublei = -1;
42838 INT in_FRdoublej = -1;
42839 INT out_FRk = -1;
42840 INT out_FRdoublek = -1;
42841 in_FRi = FLD (in_FRi);
42842 in_FRj = FLD (in_FRj);
42843 out_FRk = FLD (out_FRk);
42844 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42845 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42846 if (insn_referenced & (1 << 9)) referenced |= 1 << 4;
42847 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42849 return cycles;
42850 #undef FLD
42853 static int
42854 model_fr500_fmad (SIM_CPU *current_cpu, void *sem_arg)
42856 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42858 const IDESC * UNUSED idesc = abuf->idesc;
42859 int cycles = 0;
42861 int referenced = 0;
42862 int UNUSED insn_referenced = abuf->written;
42863 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42865 return cycles;
42866 #undef FLD
42869 static int
42870 model_fr500_fmsd (SIM_CPU *current_cpu, void *sem_arg)
42872 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42874 const IDESC * UNUSED idesc = abuf->idesc;
42875 int cycles = 0;
42877 int referenced = 0;
42878 int UNUSED insn_referenced = abuf->written;
42879 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42881 return cycles;
42882 #undef FLD
42885 static int
42886 model_fr500_nfmas (SIM_CPU *current_cpu, void *sem_arg)
42888 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42890 const IDESC * UNUSED idesc = abuf->idesc;
42891 int cycles = 0;
42893 int referenced = 0;
42894 int UNUSED insn_referenced = abuf->written;
42895 INT in_FRi = -1;
42896 INT in_FRj = -1;
42897 INT in_FRdoublei = -1;
42898 INT in_FRdoublej = -1;
42899 INT out_FRk = -1;
42900 INT out_FRdoublek = -1;
42901 in_FRi = FLD (in_FRi);
42902 in_FRj = FLD (in_FRj);
42903 out_FRk = FLD (out_FRk);
42904 referenced |= 1 << 0;
42905 referenced |= 1 << 1;
42906 referenced |= 1 << 4;
42907 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42909 return cycles;
42910 #undef FLD
42913 static int
42914 model_fr500_nfmss (SIM_CPU *current_cpu, void *sem_arg)
42916 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42918 const IDESC * UNUSED idesc = abuf->idesc;
42919 int cycles = 0;
42921 int referenced = 0;
42922 int UNUSED insn_referenced = abuf->written;
42923 INT in_FRi = -1;
42924 INT in_FRj = -1;
42925 INT in_FRdoublei = -1;
42926 INT in_FRdoublej = -1;
42927 INT out_FRk = -1;
42928 INT out_FRdoublek = -1;
42929 in_FRi = FLD (in_FRi);
42930 in_FRj = FLD (in_FRj);
42931 out_FRk = FLD (out_FRk);
42932 referenced |= 1 << 0;
42933 referenced |= 1 << 1;
42934 referenced |= 1 << 4;
42935 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42937 return cycles;
42938 #undef FLD
42941 static int
42942 model_fr500_fdadds (SIM_CPU *current_cpu, void *sem_arg)
42944 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42946 const IDESC * UNUSED idesc = abuf->idesc;
42947 int cycles = 0;
42949 int referenced = 0;
42950 int UNUSED insn_referenced = abuf->written;
42951 INT in_FRi = -1;
42952 INT in_FRj = -1;
42953 INT in_FRdoublei = -1;
42954 INT in_FRdoublej = -1;
42955 INT out_FRk = -1;
42956 INT out_FRdoublek = -1;
42957 in_FRi = FLD (in_FRi);
42958 in_FRj = FLD (in_FRj);
42959 out_FRk = FLD (out_FRk);
42960 referenced |= 1 << 0;
42961 referenced |= 1 << 1;
42962 referenced |= 1 << 4;
42963 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42965 return cycles;
42966 #undef FLD
42969 static int
42970 model_fr500_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
42972 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42974 const IDESC * UNUSED idesc = abuf->idesc;
42975 int cycles = 0;
42977 int referenced = 0;
42978 int UNUSED insn_referenced = abuf->written;
42979 INT in_FRi = -1;
42980 INT in_FRj = -1;
42981 INT in_FRdoublei = -1;
42982 INT in_FRdoublej = -1;
42983 INT out_FRk = -1;
42984 INT out_FRdoublek = -1;
42985 in_FRi = FLD (in_FRi);
42986 in_FRj = FLD (in_FRj);
42987 out_FRk = FLD (out_FRk);
42988 referenced |= 1 << 0;
42989 referenced |= 1 << 1;
42990 referenced |= 1 << 4;
42991 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42993 return cycles;
42994 #undef FLD
42997 static int
42998 model_fr500_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
43000 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43002 const IDESC * UNUSED idesc = abuf->idesc;
43003 int cycles = 0;
43005 int referenced = 0;
43006 int UNUSED insn_referenced = abuf->written;
43007 INT in_FRi = -1;
43008 INT in_FRj = -1;
43009 INT in_FRdoublei = -1;
43010 INT in_FRdoublej = -1;
43011 INT out_FRk = -1;
43012 INT out_FRdoublek = -1;
43013 in_FRi = FLD (in_FRi);
43014 in_FRj = FLD (in_FRj);
43015 out_FRk = FLD (out_FRk);
43016 referenced |= 1 << 0;
43017 referenced |= 1 << 1;
43018 referenced |= 1 << 4;
43019 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43021 return cycles;
43022 #undef FLD
43025 static int
43026 model_fr500_fddivs (SIM_CPU *current_cpu, void *sem_arg)
43028 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43030 const IDESC * UNUSED idesc = abuf->idesc;
43031 int cycles = 0;
43033 int referenced = 0;
43034 int UNUSED insn_referenced = abuf->written;
43035 INT in_FRi = -1;
43036 INT in_FRj = -1;
43037 INT in_FRdoublei = -1;
43038 INT in_FRdoublej = -1;
43039 INT out_FRk = -1;
43040 INT out_FRdoublek = -1;
43041 in_FRi = FLD (in_FRi);
43042 in_FRj = FLD (in_FRj);
43043 out_FRk = FLD (out_FRk);
43044 referenced |= 1 << 0;
43045 referenced |= 1 << 1;
43046 referenced |= 1 << 4;
43047 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43049 return cycles;
43050 #undef FLD
43053 static int
43054 model_fr500_fdsads (SIM_CPU *current_cpu, void *sem_arg)
43056 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43058 const IDESC * UNUSED idesc = abuf->idesc;
43059 int cycles = 0;
43061 int referenced = 0;
43062 int UNUSED insn_referenced = abuf->written;
43063 INT in_FRi = -1;
43064 INT in_FRj = -1;
43065 INT in_FRdoublei = -1;
43066 INT in_FRdoublej = -1;
43067 INT out_FRk = -1;
43068 INT out_FRdoublek = -1;
43069 in_FRi = FLD (in_FRi);
43070 in_FRj = FLD (in_FRj);
43071 out_FRk = FLD (out_FRk);
43072 referenced |= 1 << 0;
43073 referenced |= 1 << 1;
43074 referenced |= 1 << 4;
43075 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43077 return cycles;
43078 #undef FLD
43081 static int
43082 model_fr500_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
43084 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43086 const IDESC * UNUSED idesc = abuf->idesc;
43087 int cycles = 0;
43089 int referenced = 0;
43090 int UNUSED insn_referenced = abuf->written;
43091 INT in_FRi = -1;
43092 INT in_FRj = -1;
43093 INT in_FRdoublei = -1;
43094 INT in_FRdoublej = -1;
43095 INT out_FRk = -1;
43096 INT out_FRdoublek = -1;
43097 in_FRi = FLD (in_FRi);
43098 in_FRj = FLD (in_FRj);
43099 out_FRk = FLD (out_FRk);
43100 referenced |= 1 << 0;
43101 referenced |= 1 << 1;
43102 referenced |= 1 << 4;
43103 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43105 return cycles;
43106 #undef FLD
43109 static int
43110 model_fr500_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
43112 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43114 const IDESC * UNUSED idesc = abuf->idesc;
43115 int cycles = 0;
43117 int referenced = 0;
43118 int UNUSED insn_referenced = abuf->written;
43119 INT in_FRi = -1;
43120 INT in_FRj = -1;
43121 INT in_FRdoublei = -1;
43122 INT in_FRdoublej = -1;
43123 INT out_FRk = -1;
43124 INT out_FRdoublek = -1;
43125 in_FRi = FLD (in_FRi);
43126 in_FRj = FLD (in_FRj);
43127 out_FRk = FLD (out_FRk);
43128 referenced |= 1 << 0;
43129 referenced |= 1 << 1;
43130 referenced |= 1 << 4;
43131 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43133 return cycles;
43134 #undef FLD
43137 static int
43138 model_fr500_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
43140 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43142 const IDESC * UNUSED idesc = abuf->idesc;
43143 int cycles = 0;
43145 int referenced = 0;
43146 int UNUSED insn_referenced = abuf->written;
43147 INT in_FRi = -1;
43148 INT in_FRj = -1;
43149 INT in_FRdoublei = -1;
43150 INT in_FRdoublej = -1;
43151 INT out_FRk = -1;
43152 INT out_FRdoublek = -1;
43153 in_FRi = FLD (in_FRi);
43154 in_FRj = FLD (in_FRj);
43155 out_FRk = FLD (out_FRk);
43156 referenced |= 1 << 0;
43157 referenced |= 1 << 1;
43158 referenced |= 1 << 4;
43159 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43161 return cycles;
43162 #undef FLD
43165 static int
43166 model_fr500_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
43168 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43170 const IDESC * UNUSED idesc = abuf->idesc;
43171 int cycles = 0;
43173 int referenced = 0;
43174 int UNUSED insn_referenced = abuf->written;
43175 INT in_FRi = -1;
43176 INT in_FRj = -1;
43177 INT in_FRdoublei = -1;
43178 INT in_FRdoublej = -1;
43179 INT out_FRk = -1;
43180 INT out_FRdoublek = -1;
43181 in_FRi = FLD (in_FRi);
43182 in_FRj = FLD (in_FRj);
43183 out_FRk = FLD (out_FRk);
43184 referenced |= 1 << 0;
43185 referenced |= 1 << 1;
43186 referenced |= 1 << 4;
43187 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43189 return cycles;
43190 #undef FLD
43193 static int
43194 model_fr500_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
43196 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43198 const IDESC * UNUSED idesc = abuf->idesc;
43199 int cycles = 0;
43201 int referenced = 0;
43202 int UNUSED insn_referenced = abuf->written;
43203 INT in_FRi = -1;
43204 INT in_FRj = -1;
43205 INT in_FRdoublei = -1;
43206 INT in_FRdoublej = -1;
43207 INT out_FRk = -1;
43208 INT out_FRdoublek = -1;
43209 in_FRi = FLD (in_FRi);
43210 in_FRj = FLD (in_FRj);
43211 out_FRk = FLD (out_FRk);
43212 referenced |= 1 << 0;
43213 referenced |= 1 << 1;
43214 referenced |= 1 << 4;
43215 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43217 return cycles;
43218 #undef FLD
43221 static int
43222 model_fr500_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
43224 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43226 const IDESC * UNUSED idesc = abuf->idesc;
43227 int cycles = 0;
43229 int referenced = 0;
43230 int UNUSED insn_referenced = abuf->written;
43231 INT in_FRi = -1;
43232 INT in_FRj = -1;
43233 INT in_FRdoublei = -1;
43234 INT in_FRdoublej = -1;
43235 INT out_FRk = -1;
43236 INT out_FRdoublek = -1;
43237 in_FRi = FLD (in_FRi);
43238 in_FRj = FLD (in_FRj);
43239 out_FRk = FLD (out_FRk);
43240 referenced |= 1 << 0;
43241 referenced |= 1 << 1;
43242 referenced |= 1 << 4;
43243 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43245 return cycles;
43246 #undef FLD
43249 static int
43250 model_fr500_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
43252 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43254 const IDESC * UNUSED idesc = abuf->idesc;
43255 int cycles = 0;
43257 int referenced = 0;
43258 int UNUSED insn_referenced = abuf->written;
43259 INT in_FRi = -1;
43260 INT in_FRj = -1;
43261 INT in_FRdoublei = -1;
43262 INT in_FRdoublej = -1;
43263 INT out_FRk = -1;
43264 INT out_FRdoublek = -1;
43265 in_FRi = FLD (in_FRi);
43266 in_FRj = FLD (in_FRj);
43267 out_FRk = FLD (out_FRk);
43268 referenced |= 1 << 0;
43269 referenced |= 1 << 1;
43270 referenced |= 1 << 4;
43271 cycles += frvbf_model_fr500_u_float_dual_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
43273 return cycles;
43274 #undef FLD
43277 static int
43278 model_fr500_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
43280 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
43281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43282 const IDESC * UNUSED idesc = abuf->idesc;
43283 int cycles = 0;
43285 int referenced = 0;
43286 int UNUSED insn_referenced = abuf->written;
43287 INT in_FRi = -1;
43288 INT in_FRj = -1;
43289 INT out_FCCi_2 = -1;
43290 in_FRi = FLD (in_FRi);
43291 in_FRj = FLD (in_FRj);
43292 out_FCCi_2 = FLD (out_FCCi_2);
43293 referenced |= 1 << 0;
43294 referenced |= 1 << 1;
43295 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
43296 cycles += frvbf_model_fr500_u_float_dual_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FCCi_2);
43298 return cycles;
43299 #undef FLD
43302 static int
43303 model_fr500_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
43305 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
43306 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43307 const IDESC * UNUSED idesc = abuf->idesc;
43308 int cycles = 0;
43310 int referenced = 0;
43311 int UNUSED insn_referenced = abuf->written;
43312 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43314 return cycles;
43315 #undef FLD
43318 static int
43319 model_fr500_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
43321 #define FLD(f) abuf->fields.sfmt_mhsethis.f
43322 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43323 const IDESC * UNUSED idesc = abuf->idesc;
43324 int cycles = 0;
43326 int referenced = 0;
43327 int UNUSED insn_referenced = abuf->written;
43328 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43330 return cycles;
43331 #undef FLD
43334 static int
43335 model_fr500_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
43337 #define FLD(f) abuf->fields.sfmt_mhdsets.f
43338 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43339 const IDESC * UNUSED idesc = abuf->idesc;
43340 int cycles = 0;
43342 int referenced = 0;
43343 int UNUSED insn_referenced = abuf->written;
43344 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43346 return cycles;
43347 #undef FLD
43350 static int
43351 model_fr500_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
43353 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
43354 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43355 const IDESC * UNUSED idesc = abuf->idesc;
43356 int cycles = 0;
43358 int referenced = 0;
43359 int UNUSED insn_referenced = abuf->written;
43360 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43362 return cycles;
43363 #undef FLD
43366 static int
43367 model_fr500_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
43369 #define FLD(f) abuf->fields.sfmt_mhsethih.f
43370 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43371 const IDESC * UNUSED idesc = abuf->idesc;
43372 int cycles = 0;
43374 int referenced = 0;
43375 int UNUSED insn_referenced = abuf->written;
43376 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43378 return cycles;
43379 #undef FLD
43382 static int
43383 model_fr500_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
43385 #define FLD(f) abuf->fields.sfmt_mhdseth.f
43386 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43387 const IDESC * UNUSED idesc = abuf->idesc;
43388 int cycles = 0;
43390 int referenced = 0;
43391 int UNUSED insn_referenced = abuf->written;
43392 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43394 return cycles;
43395 #undef FLD
43398 static int
43399 model_fr500_mand (SIM_CPU *current_cpu, void *sem_arg)
43401 #define FLD(f) abuf->fields.sfmt_mwcut.f
43402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43403 const IDESC * UNUSED idesc = abuf->idesc;
43404 int cycles = 0;
43406 int referenced = 0;
43407 int UNUSED insn_referenced = abuf->written;
43408 INT in_FRinti = -1;
43409 INT in_FRintj = -1;
43410 INT in_ACC40Si = -1;
43411 INT in_ACCGi = -1;
43412 INT out_FRintk = -1;
43413 INT out_ACC40Sk = -1;
43414 INT out_ACC40Uk = -1;
43415 INT out_ACCGk = -1;
43416 in_FRinti = FLD (in_FRinti);
43417 in_FRintj = FLD (in_FRintj);
43418 out_FRintk = FLD (out_FRintk);
43419 referenced |= 1 << 0;
43420 referenced |= 1 << 1;
43421 referenced |= 1 << 4;
43422 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43424 return cycles;
43425 #undef FLD
43428 static int
43429 model_fr500_mor (SIM_CPU *current_cpu, void *sem_arg)
43431 #define FLD(f) abuf->fields.sfmt_mwcut.f
43432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43433 const IDESC * UNUSED idesc = abuf->idesc;
43434 int cycles = 0;
43436 int referenced = 0;
43437 int UNUSED insn_referenced = abuf->written;
43438 INT in_FRinti = -1;
43439 INT in_FRintj = -1;
43440 INT in_ACC40Si = -1;
43441 INT in_ACCGi = -1;
43442 INT out_FRintk = -1;
43443 INT out_ACC40Sk = -1;
43444 INT out_ACC40Uk = -1;
43445 INT out_ACCGk = -1;
43446 in_FRinti = FLD (in_FRinti);
43447 in_FRintj = FLD (in_FRintj);
43448 out_FRintk = FLD (out_FRintk);
43449 referenced |= 1 << 0;
43450 referenced |= 1 << 1;
43451 referenced |= 1 << 4;
43452 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43454 return cycles;
43455 #undef FLD
43458 static int
43459 model_fr500_mxor (SIM_CPU *current_cpu, void *sem_arg)
43461 #define FLD(f) abuf->fields.sfmt_mwcut.f
43462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43463 const IDESC * UNUSED idesc = abuf->idesc;
43464 int cycles = 0;
43466 int referenced = 0;
43467 int UNUSED insn_referenced = abuf->written;
43468 INT in_FRinti = -1;
43469 INT in_FRintj = -1;
43470 INT in_ACC40Si = -1;
43471 INT in_ACCGi = -1;
43472 INT out_FRintk = -1;
43473 INT out_ACC40Sk = -1;
43474 INT out_ACC40Uk = -1;
43475 INT out_ACCGk = -1;
43476 in_FRinti = FLD (in_FRinti);
43477 in_FRintj = FLD (in_FRintj);
43478 out_FRintk = FLD (out_FRintk);
43479 referenced |= 1 << 0;
43480 referenced |= 1 << 1;
43481 referenced |= 1 << 4;
43482 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43484 return cycles;
43485 #undef FLD
43488 static int
43489 model_fr500_cmand (SIM_CPU *current_cpu, void *sem_arg)
43491 #define FLD(f) abuf->fields.sfmt_cmand.f
43492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43493 const IDESC * UNUSED idesc = abuf->idesc;
43494 int cycles = 0;
43496 int referenced = 0;
43497 int UNUSED insn_referenced = abuf->written;
43498 INT in_FRinti = -1;
43499 INT in_FRintj = -1;
43500 INT in_ACC40Si = -1;
43501 INT in_ACCGi = -1;
43502 INT out_FRintk = -1;
43503 INT out_ACC40Sk = -1;
43504 INT out_ACC40Uk = -1;
43505 INT out_ACCGk = -1;
43506 in_FRinti = FLD (in_FRinti);
43507 in_FRintj = FLD (in_FRintj);
43508 out_FRintk = FLD (out_FRintk);
43509 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
43510 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
43511 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
43512 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43514 return cycles;
43515 #undef FLD
43518 static int
43519 model_fr500_cmor (SIM_CPU *current_cpu, void *sem_arg)
43521 #define FLD(f) abuf->fields.sfmt_cmand.f
43522 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43523 const IDESC * UNUSED idesc = abuf->idesc;
43524 int cycles = 0;
43526 int referenced = 0;
43527 int UNUSED insn_referenced = abuf->written;
43528 INT in_FRinti = -1;
43529 INT in_FRintj = -1;
43530 INT in_ACC40Si = -1;
43531 INT in_ACCGi = -1;
43532 INT out_FRintk = -1;
43533 INT out_ACC40Sk = -1;
43534 INT out_ACC40Uk = -1;
43535 INT out_ACCGk = -1;
43536 in_FRinti = FLD (in_FRinti);
43537 in_FRintj = FLD (in_FRintj);
43538 out_FRintk = FLD (out_FRintk);
43539 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
43540 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
43541 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
43542 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43544 return cycles;
43545 #undef FLD
43548 static int
43549 model_fr500_cmxor (SIM_CPU *current_cpu, void *sem_arg)
43551 #define FLD(f) abuf->fields.sfmt_cmand.f
43552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43553 const IDESC * UNUSED idesc = abuf->idesc;
43554 int cycles = 0;
43556 int referenced = 0;
43557 int UNUSED insn_referenced = abuf->written;
43558 INT in_FRinti = -1;
43559 INT in_FRintj = -1;
43560 INT in_ACC40Si = -1;
43561 INT in_ACCGi = -1;
43562 INT out_FRintk = -1;
43563 INT out_ACC40Sk = -1;
43564 INT out_ACC40Uk = -1;
43565 INT out_ACCGk = -1;
43566 in_FRinti = FLD (in_FRinti);
43567 in_FRintj = FLD (in_FRintj);
43568 out_FRintk = FLD (out_FRintk);
43569 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
43570 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
43571 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
43572 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43574 return cycles;
43575 #undef FLD
43578 static int
43579 model_fr500_mnot (SIM_CPU *current_cpu, void *sem_arg)
43581 #define FLD(f) abuf->fields.sfmt_mcut.f
43582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43583 const IDESC * UNUSED idesc = abuf->idesc;
43584 int cycles = 0;
43586 int referenced = 0;
43587 int UNUSED insn_referenced = abuf->written;
43588 INT in_FRinti = -1;
43589 INT in_FRintj = -1;
43590 INT in_ACC40Si = -1;
43591 INT in_ACCGi = -1;
43592 INT out_FRintk = -1;
43593 INT out_ACC40Sk = -1;
43594 INT out_ACC40Uk = -1;
43595 INT out_ACCGk = -1;
43596 in_FRintj = FLD (in_FRintj);
43597 out_FRintk = FLD (out_FRintk);
43598 referenced |= 1 << 1;
43599 referenced |= 1 << 4;
43600 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43602 return cycles;
43603 #undef FLD
43606 static int
43607 model_fr500_cmnot (SIM_CPU *current_cpu, void *sem_arg)
43609 #define FLD(f) abuf->fields.sfmt_cmand.f
43610 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43611 const IDESC * UNUSED idesc = abuf->idesc;
43612 int cycles = 0;
43614 int referenced = 0;
43615 int UNUSED insn_referenced = abuf->written;
43616 INT in_FRinti = -1;
43617 INT in_FRintj = -1;
43618 INT in_ACC40Si = -1;
43619 INT in_ACCGi = -1;
43620 INT out_FRintk = -1;
43621 INT out_ACC40Sk = -1;
43622 INT out_ACC40Uk = -1;
43623 INT out_ACCGk = -1;
43624 in_FRintj = FLD (in_FRintj);
43625 out_FRintk = FLD (out_FRintk);
43626 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
43627 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
43628 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43630 return cycles;
43631 #undef FLD
43634 static int
43635 model_fr500_mrotli (SIM_CPU *current_cpu, void *sem_arg)
43637 #define FLD(f) abuf->fields.sfmt_mwcuti.f
43638 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43639 const IDESC * UNUSED idesc = abuf->idesc;
43640 int cycles = 0;
43642 int referenced = 0;
43643 int UNUSED insn_referenced = abuf->written;
43644 INT in_FRinti = -1;
43645 INT in_FRintj = -1;
43646 INT in_ACC40Si = -1;
43647 INT in_ACCGi = -1;
43648 INT out_FRintk = -1;
43649 INT out_ACC40Sk = -1;
43650 INT out_ACC40Uk = -1;
43651 INT out_ACCGk = -1;
43652 in_FRinti = FLD (in_FRinti);
43653 out_FRintk = FLD (out_FRintk);
43654 referenced |= 1 << 0;
43655 referenced |= 1 << 4;
43656 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43658 return cycles;
43659 #undef FLD
43662 static int
43663 model_fr500_mrotri (SIM_CPU *current_cpu, void *sem_arg)
43665 #define FLD(f) abuf->fields.sfmt_mwcuti.f
43666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43667 const IDESC * UNUSED idesc = abuf->idesc;
43668 int cycles = 0;
43670 int referenced = 0;
43671 int UNUSED insn_referenced = abuf->written;
43672 INT in_FRinti = -1;
43673 INT in_FRintj = -1;
43674 INT in_ACC40Si = -1;
43675 INT in_ACCGi = -1;
43676 INT out_FRintk = -1;
43677 INT out_ACC40Sk = -1;
43678 INT out_ACC40Uk = -1;
43679 INT out_ACCGk = -1;
43680 in_FRinti = FLD (in_FRinti);
43681 out_FRintk = FLD (out_FRintk);
43682 referenced |= 1 << 0;
43683 referenced |= 1 << 4;
43684 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43686 return cycles;
43687 #undef FLD
43690 static int
43691 model_fr500_mwcut (SIM_CPU *current_cpu, void *sem_arg)
43693 #define FLD(f) abuf->fields.sfmt_mwcut.f
43694 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43695 const IDESC * UNUSED idesc = abuf->idesc;
43696 int cycles = 0;
43698 int referenced = 0;
43699 int UNUSED insn_referenced = abuf->written;
43700 INT in_FRinti = -1;
43701 INT in_FRintj = -1;
43702 INT in_ACC40Si = -1;
43703 INT in_ACCGi = -1;
43704 INT out_FRintk = -1;
43705 INT out_ACC40Sk = -1;
43706 INT out_ACC40Uk = -1;
43707 INT out_ACCGk = -1;
43708 in_FRinti = FLD (in_FRinti);
43709 in_FRintj = FLD (in_FRintj);
43710 out_FRintk = FLD (out_FRintk);
43711 referenced |= 1 << 0;
43712 referenced |= 1 << 1;
43713 referenced |= 1 << 4;
43714 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43716 return cycles;
43717 #undef FLD
43720 static int
43721 model_fr500_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
43723 #define FLD(f) abuf->fields.sfmt_mwcuti.f
43724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43725 const IDESC * UNUSED idesc = abuf->idesc;
43726 int cycles = 0;
43728 int referenced = 0;
43729 int UNUSED insn_referenced = abuf->written;
43730 INT in_FRinti = -1;
43731 INT in_FRintj = -1;
43732 INT in_ACC40Si = -1;
43733 INT in_ACCGi = -1;
43734 INT out_FRintk = -1;
43735 INT out_ACC40Sk = -1;
43736 INT out_ACC40Uk = -1;
43737 INT out_ACCGk = -1;
43738 in_FRinti = FLD (in_FRinti);
43739 out_FRintk = FLD (out_FRintk);
43740 referenced |= 1 << 0;
43741 referenced |= 1 << 4;
43742 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43744 return cycles;
43745 #undef FLD
43748 static int
43749 model_fr500_mcut (SIM_CPU *current_cpu, void *sem_arg)
43751 #define FLD(f) abuf->fields.sfmt_mcut.f
43752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43753 const IDESC * UNUSED idesc = abuf->idesc;
43754 int cycles = 0;
43756 int referenced = 0;
43757 int UNUSED insn_referenced = abuf->written;
43758 INT in_FRinti = -1;
43759 INT in_FRintj = -1;
43760 INT in_ACC40Si = -1;
43761 INT in_ACCGi = -1;
43762 INT out_FRintk = -1;
43763 INT out_ACC40Sk = -1;
43764 INT out_ACC40Uk = -1;
43765 INT out_ACCGk = -1;
43766 in_FRintj = FLD (in_FRintj);
43767 in_ACC40Si = FLD (in_ACC40Si);
43768 out_FRintk = FLD (out_FRintk);
43769 referenced |= 1 << 1;
43770 referenced |= 1 << 2;
43771 referenced |= 1 << 4;
43772 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43774 return cycles;
43775 #undef FLD
43778 static int
43779 model_fr500_mcuti (SIM_CPU *current_cpu, void *sem_arg)
43781 #define FLD(f) abuf->fields.sfmt_mcuti.f
43782 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43783 const IDESC * UNUSED idesc = abuf->idesc;
43784 int cycles = 0;
43786 int referenced = 0;
43787 int UNUSED insn_referenced = abuf->written;
43788 INT in_FRinti = -1;
43789 INT in_FRintj = -1;
43790 INT in_ACC40Si = -1;
43791 INT in_ACCGi = -1;
43792 INT out_FRintk = -1;
43793 INT out_ACC40Sk = -1;
43794 INT out_ACC40Uk = -1;
43795 INT out_ACCGk = -1;
43796 in_ACC40Si = FLD (in_ACC40Si);
43797 out_FRintk = FLD (out_FRintk);
43798 referenced |= 1 << 2;
43799 referenced |= 1 << 4;
43800 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43802 return cycles;
43803 #undef FLD
43806 static int
43807 model_fr500_mcutss (SIM_CPU *current_cpu, void *sem_arg)
43809 #define FLD(f) abuf->fields.sfmt_mcut.f
43810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43811 const IDESC * UNUSED idesc = abuf->idesc;
43812 int cycles = 0;
43814 int referenced = 0;
43815 int UNUSED insn_referenced = abuf->written;
43816 INT in_FRinti = -1;
43817 INT in_FRintj = -1;
43818 INT in_ACC40Si = -1;
43819 INT in_ACCGi = -1;
43820 INT out_FRintk = -1;
43821 INT out_ACC40Sk = -1;
43822 INT out_ACC40Uk = -1;
43823 INT out_ACCGk = -1;
43824 in_FRintj = FLD (in_FRintj);
43825 in_ACC40Si = FLD (in_ACC40Si);
43826 out_FRintk = FLD (out_FRintk);
43827 referenced |= 1 << 1;
43828 referenced |= 1 << 2;
43829 referenced |= 1 << 4;
43830 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43832 return cycles;
43833 #undef FLD
43836 static int
43837 model_fr500_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
43839 #define FLD(f) abuf->fields.sfmt_mcuti.f
43840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43841 const IDESC * UNUSED idesc = abuf->idesc;
43842 int cycles = 0;
43844 int referenced = 0;
43845 int UNUSED insn_referenced = abuf->written;
43846 INT in_FRinti = -1;
43847 INT in_FRintj = -1;
43848 INT in_ACC40Si = -1;
43849 INT in_ACCGi = -1;
43850 INT out_FRintk = -1;
43851 INT out_ACC40Sk = -1;
43852 INT out_ACC40Uk = -1;
43853 INT out_ACCGk = -1;
43854 in_ACC40Si = FLD (in_ACC40Si);
43855 out_FRintk = FLD (out_FRintk);
43856 referenced |= 1 << 2;
43857 referenced |= 1 << 4;
43858 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43860 return cycles;
43861 #undef FLD
43864 static int
43865 model_fr500_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
43867 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
43868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43869 const IDESC * UNUSED idesc = abuf->idesc;
43870 int cycles = 0;
43872 int referenced = 0;
43873 int UNUSED insn_referenced = abuf->written;
43874 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43876 return cycles;
43877 #undef FLD
43880 static int
43881 model_fr500_maveh (SIM_CPU *current_cpu, void *sem_arg)
43883 #define FLD(f) abuf->fields.sfmt_mwcut.f
43884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43885 const IDESC * UNUSED idesc = abuf->idesc;
43886 int cycles = 0;
43888 int referenced = 0;
43889 int UNUSED insn_referenced = abuf->written;
43890 INT in_FRinti = -1;
43891 INT in_FRintj = -1;
43892 INT in_ACC40Si = -1;
43893 INT in_ACCGi = -1;
43894 INT out_FRintk = -1;
43895 INT out_ACC40Sk = -1;
43896 INT out_ACC40Uk = -1;
43897 INT out_ACCGk = -1;
43898 in_FRinti = FLD (in_FRinti);
43899 in_FRintj = FLD (in_FRintj);
43900 out_FRintk = FLD (out_FRintk);
43901 referenced |= 1 << 0;
43902 referenced |= 1 << 1;
43903 referenced |= 1 << 4;
43904 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43906 return cycles;
43907 #undef FLD
43910 static int
43911 model_fr500_msllhi (SIM_CPU *current_cpu, void *sem_arg)
43913 #define FLD(f) abuf->fields.sfmt_msllhi.f
43914 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43915 const IDESC * UNUSED idesc = abuf->idesc;
43916 int cycles = 0;
43918 int referenced = 0;
43919 int UNUSED insn_referenced = abuf->written;
43920 INT in_FRinti = -1;
43921 INT in_FRintj = -1;
43922 INT in_ACC40Si = -1;
43923 INT in_ACCGi = -1;
43924 INT out_FRintk = -1;
43925 INT out_ACC40Sk = -1;
43926 INT out_ACC40Uk = -1;
43927 INT out_ACCGk = -1;
43928 in_FRinti = FLD (in_FRinti);
43929 out_FRintk = FLD (out_FRintk);
43930 referenced |= 1 << 0;
43931 referenced |= 1 << 4;
43932 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43934 return cycles;
43935 #undef FLD
43938 static int
43939 model_fr500_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
43941 #define FLD(f) abuf->fields.sfmt_msllhi.f
43942 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43943 const IDESC * UNUSED idesc = abuf->idesc;
43944 int cycles = 0;
43946 int referenced = 0;
43947 int UNUSED insn_referenced = abuf->written;
43948 INT in_FRinti = -1;
43949 INT in_FRintj = -1;
43950 INT in_ACC40Si = -1;
43951 INT in_ACCGi = -1;
43952 INT out_FRintk = -1;
43953 INT out_ACC40Sk = -1;
43954 INT out_ACC40Uk = -1;
43955 INT out_ACCGk = -1;
43956 in_FRinti = FLD (in_FRinti);
43957 out_FRintk = FLD (out_FRintk);
43958 referenced |= 1 << 0;
43959 referenced |= 1 << 4;
43960 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43962 return cycles;
43963 #undef FLD
43966 static int
43967 model_fr500_msrahi (SIM_CPU *current_cpu, void *sem_arg)
43969 #define FLD(f) abuf->fields.sfmt_msllhi.f
43970 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43971 const IDESC * UNUSED idesc = abuf->idesc;
43972 int cycles = 0;
43974 int referenced = 0;
43975 int UNUSED insn_referenced = abuf->written;
43976 INT in_FRinti = -1;
43977 INT in_FRintj = -1;
43978 INT in_ACC40Si = -1;
43979 INT in_ACCGi = -1;
43980 INT out_FRintk = -1;
43981 INT out_ACC40Sk = -1;
43982 INT out_ACC40Uk = -1;
43983 INT out_ACCGk = -1;
43984 in_FRinti = FLD (in_FRinti);
43985 out_FRintk = FLD (out_FRintk);
43986 referenced |= 1 << 0;
43987 referenced |= 1 << 4;
43988 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
43990 return cycles;
43991 #undef FLD
43994 static int
43995 model_fr500_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
43997 #define FLD(f) abuf->fields.sfmt_mdrotli.f
43998 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43999 const IDESC * UNUSED idesc = abuf->idesc;
44000 int cycles = 0;
44002 int referenced = 0;
44003 int UNUSED insn_referenced = abuf->written;
44004 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44006 return cycles;
44007 #undef FLD
44010 static int
44011 model_fr500_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
44013 #define FLD(f) abuf->fields.sfmt_mcplhi.f
44014 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44015 const IDESC * UNUSED idesc = abuf->idesc;
44016 int cycles = 0;
44018 int referenced = 0;
44019 int UNUSED insn_referenced = abuf->written;
44020 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44022 return cycles;
44023 #undef FLD
44026 static int
44027 model_fr500_mcpli (SIM_CPU *current_cpu, void *sem_arg)
44029 #define FLD(f) abuf->fields.sfmt_mwcuti.f
44030 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44031 const IDESC * UNUSED idesc = abuf->idesc;
44032 int cycles = 0;
44034 int referenced = 0;
44035 int UNUSED insn_referenced = abuf->written;
44036 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44038 return cycles;
44039 #undef FLD
44042 static int
44043 model_fr500_msaths (SIM_CPU *current_cpu, void *sem_arg)
44045 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44046 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44047 const IDESC * UNUSED idesc = abuf->idesc;
44048 int cycles = 0;
44050 int referenced = 0;
44051 int UNUSED insn_referenced = abuf->written;
44052 INT in_FRinti = -1;
44053 INT in_FRintj = -1;
44054 INT in_ACC40Si = -1;
44055 INT in_ACCGi = -1;
44056 INT out_FRintk = -1;
44057 INT out_ACC40Sk = -1;
44058 INT out_ACC40Uk = -1;
44059 INT out_ACCGk = -1;
44060 in_FRinti = FLD (in_FRinti);
44061 in_FRintj = FLD (in_FRintj);
44062 referenced |= 1 << 0;
44063 referenced |= 1 << 1;
44064 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44066 return cycles;
44067 #undef FLD
44070 static int
44071 model_fr500_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
44073 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44075 const IDESC * UNUSED idesc = abuf->idesc;
44076 int cycles = 0;
44078 int referenced = 0;
44079 int UNUSED insn_referenced = abuf->written;
44080 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44082 return cycles;
44083 #undef FLD
44086 static int
44087 model_fr500_msathu (SIM_CPU *current_cpu, void *sem_arg)
44089 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44090 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44091 const IDESC * UNUSED idesc = abuf->idesc;
44092 int cycles = 0;
44094 int referenced = 0;
44095 int UNUSED insn_referenced = abuf->written;
44096 INT in_FRinti = -1;
44097 INT in_FRintj = -1;
44098 INT in_ACC40Si = -1;
44099 INT in_ACCGi = -1;
44100 INT out_FRintk = -1;
44101 INT out_ACC40Sk = -1;
44102 INT out_ACC40Uk = -1;
44103 INT out_ACCGk = -1;
44104 in_FRinti = FLD (in_FRinti);
44105 in_FRintj = FLD (in_FRintj);
44106 referenced |= 1 << 0;
44107 referenced |= 1 << 1;
44108 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44110 return cycles;
44111 #undef FLD
44114 static int
44115 model_fr500_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
44117 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
44118 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44119 const IDESC * UNUSED idesc = abuf->idesc;
44120 int cycles = 0;
44122 int referenced = 0;
44123 int UNUSED insn_referenced = abuf->written;
44124 INT in_FRinti = -1;
44125 INT in_FRintj = -1;
44126 INT in_ACC40Si = -1;
44127 INT in_ACCGi = -1;
44128 INT out_FRintk = -1;
44129 INT out_ACC40Sk = -1;
44130 INT out_ACC40Uk = -1;
44131 INT out_ACCGk = -1;
44132 in_FRinti = FLD (in_FRinti);
44133 in_FRintj = FLD (in_FRintj);
44134 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44135 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44136 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44138 return cycles;
44139 #undef FLD
44142 static int
44143 model_fr500_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
44145 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
44146 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44147 const IDESC * UNUSED idesc = abuf->idesc;
44148 int cycles = 0;
44150 int referenced = 0;
44151 int UNUSED insn_referenced = abuf->written;
44152 INT in_FRinti = -1;
44153 INT in_FRintj = -1;
44154 INT in_ACC40Si = -1;
44155 INT in_ACCGi = -1;
44156 INT out_FRintk = -1;
44157 INT out_ACC40Sk = -1;
44158 INT out_ACC40Uk = -1;
44159 INT out_ACCGk = -1;
44160 in_FRinti = FLD (in_FRinti);
44161 in_FRintj = FLD (in_FRintj);
44162 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44163 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44164 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44166 return cycles;
44167 #undef FLD
44170 static int
44171 model_fr500_mabshs (SIM_CPU *current_cpu, void *sem_arg)
44173 #define FLD(f) abuf->fields.sfmt_mabshs.f
44174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44175 const IDESC * UNUSED idesc = abuf->idesc;
44176 int cycles = 0;
44178 int referenced = 0;
44179 int UNUSED insn_referenced = abuf->written;
44180 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44182 return cycles;
44183 #undef FLD
44186 static int
44187 model_fr500_maddhss (SIM_CPU *current_cpu, void *sem_arg)
44189 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44190 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44191 const IDESC * UNUSED idesc = abuf->idesc;
44192 int cycles = 0;
44194 int referenced = 0;
44195 int UNUSED insn_referenced = abuf->written;
44196 INT in_FRinti = -1;
44197 INT in_FRintj = -1;
44198 INT in_ACC40Si = -1;
44199 INT in_ACCGi = -1;
44200 INT out_FRintk = -1;
44201 INT out_ACC40Sk = -1;
44202 INT out_ACC40Uk = -1;
44203 INT out_ACCGk = -1;
44204 in_FRinti = FLD (in_FRinti);
44205 in_FRintj = FLD (in_FRintj);
44206 referenced |= 1 << 0;
44207 referenced |= 1 << 1;
44208 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44210 return cycles;
44211 #undef FLD
44214 static int
44215 model_fr500_maddhus (SIM_CPU *current_cpu, void *sem_arg)
44217 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44218 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44219 const IDESC * UNUSED idesc = abuf->idesc;
44220 int cycles = 0;
44222 int referenced = 0;
44223 int UNUSED insn_referenced = abuf->written;
44224 INT in_FRinti = -1;
44225 INT in_FRintj = -1;
44226 INT in_ACC40Si = -1;
44227 INT in_ACCGi = -1;
44228 INT out_FRintk = -1;
44229 INT out_ACC40Sk = -1;
44230 INT out_ACC40Uk = -1;
44231 INT out_ACCGk = -1;
44232 in_FRinti = FLD (in_FRinti);
44233 in_FRintj = FLD (in_FRintj);
44234 referenced |= 1 << 0;
44235 referenced |= 1 << 1;
44236 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44238 return cycles;
44239 #undef FLD
44242 static int
44243 model_fr500_msubhss (SIM_CPU *current_cpu, void *sem_arg)
44245 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44247 const IDESC * UNUSED idesc = abuf->idesc;
44248 int cycles = 0;
44250 int referenced = 0;
44251 int UNUSED insn_referenced = abuf->written;
44252 INT in_FRinti = -1;
44253 INT in_FRintj = -1;
44254 INT in_ACC40Si = -1;
44255 INT in_ACCGi = -1;
44256 INT out_FRintk = -1;
44257 INT out_ACC40Sk = -1;
44258 INT out_ACC40Uk = -1;
44259 INT out_ACCGk = -1;
44260 in_FRinti = FLD (in_FRinti);
44261 in_FRintj = FLD (in_FRintj);
44262 referenced |= 1 << 0;
44263 referenced |= 1 << 1;
44264 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44266 return cycles;
44267 #undef FLD
44270 static int
44271 model_fr500_msubhus (SIM_CPU *current_cpu, void *sem_arg)
44273 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44274 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44275 const IDESC * UNUSED idesc = abuf->idesc;
44276 int cycles = 0;
44278 int referenced = 0;
44279 int UNUSED insn_referenced = abuf->written;
44280 INT in_FRinti = -1;
44281 INT in_FRintj = -1;
44282 INT in_ACC40Si = -1;
44283 INT in_ACCGi = -1;
44284 INT out_FRintk = -1;
44285 INT out_ACC40Sk = -1;
44286 INT out_ACC40Uk = -1;
44287 INT out_ACCGk = -1;
44288 in_FRinti = FLD (in_FRinti);
44289 in_FRintj = FLD (in_FRintj);
44290 referenced |= 1 << 0;
44291 referenced |= 1 << 1;
44292 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44294 return cycles;
44295 #undef FLD
44298 static int
44299 model_fr500_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
44301 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44302 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44303 const IDESC * UNUSED idesc = abuf->idesc;
44304 int cycles = 0;
44306 int referenced = 0;
44307 int UNUSED insn_referenced = abuf->written;
44308 INT in_FRinti = -1;
44309 INT in_FRintj = -1;
44310 INT in_ACC40Si = -1;
44311 INT in_ACCGi = -1;
44312 INT out_FRintk = -1;
44313 INT out_ACC40Sk = -1;
44314 INT out_ACC40Uk = -1;
44315 INT out_ACCGk = -1;
44316 in_FRinti = FLD (in_FRinti);
44317 in_FRintj = FLD (in_FRintj);
44318 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44319 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44320 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44322 return cycles;
44323 #undef FLD
44326 static int
44327 model_fr500_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
44329 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44330 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44331 const IDESC * UNUSED idesc = abuf->idesc;
44332 int cycles = 0;
44334 int referenced = 0;
44335 int UNUSED insn_referenced = abuf->written;
44336 INT in_FRinti = -1;
44337 INT in_FRintj = -1;
44338 INT in_ACC40Si = -1;
44339 INT in_ACCGi = -1;
44340 INT out_FRintk = -1;
44341 INT out_ACC40Sk = -1;
44342 INT out_ACC40Uk = -1;
44343 INT out_ACCGk = -1;
44344 in_FRinti = FLD (in_FRinti);
44345 in_FRintj = FLD (in_FRintj);
44346 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44347 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44348 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44350 return cycles;
44351 #undef FLD
44354 static int
44355 model_fr500_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
44357 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44358 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44359 const IDESC * UNUSED idesc = abuf->idesc;
44360 int cycles = 0;
44362 int referenced = 0;
44363 int UNUSED insn_referenced = abuf->written;
44364 INT in_FRinti = -1;
44365 INT in_FRintj = -1;
44366 INT in_ACC40Si = -1;
44367 INT in_ACCGi = -1;
44368 INT out_FRintk = -1;
44369 INT out_ACC40Sk = -1;
44370 INT out_ACC40Uk = -1;
44371 INT out_ACCGk = -1;
44372 in_FRinti = FLD (in_FRinti);
44373 in_FRintj = FLD (in_FRintj);
44374 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44375 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44376 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44378 return cycles;
44379 #undef FLD
44382 static int
44383 model_fr500_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
44385 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44386 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44387 const IDESC * UNUSED idesc = abuf->idesc;
44388 int cycles = 0;
44390 int referenced = 0;
44391 int UNUSED insn_referenced = abuf->written;
44392 INT in_FRinti = -1;
44393 INT in_FRintj = -1;
44394 INT in_ACC40Si = -1;
44395 INT in_ACCGi = -1;
44396 INT out_FRintk = -1;
44397 INT out_ACC40Sk = -1;
44398 INT out_ACC40Uk = -1;
44399 INT out_ACCGk = -1;
44400 in_FRinti = FLD (in_FRinti);
44401 in_FRintj = FLD (in_FRintj);
44402 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44403 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44404 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
44406 return cycles;
44407 #undef FLD
44410 static int
44411 model_fr500_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
44413 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44414 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44415 const IDESC * UNUSED idesc = abuf->idesc;
44416 int cycles = 0;
44418 int referenced = 0;
44419 int UNUSED insn_referenced = abuf->written;
44420 INT in_FRinti = -1;
44421 INT in_FRintj = -1;
44422 INT out_FRintk = -1;
44423 in_FRinti = FLD (in_FRintieven);
44424 in_FRintj = FLD (in_FRintjeven);
44425 out_FRintk = FLD (out_FRintkeven);
44426 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44428 return cycles;
44429 #undef FLD
44432 static int
44433 model_fr500_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
44435 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44437 const IDESC * UNUSED idesc = abuf->idesc;
44438 int cycles = 0;
44440 int referenced = 0;
44441 int UNUSED insn_referenced = abuf->written;
44442 INT in_FRinti = -1;
44443 INT in_FRintj = -1;
44444 INT out_FRintk = -1;
44445 in_FRinti = FLD (in_FRintieven);
44446 in_FRintj = FLD (in_FRintjeven);
44447 out_FRintk = FLD (out_FRintkeven);
44448 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44450 return cycles;
44451 #undef FLD
44454 static int
44455 model_fr500_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
44457 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44458 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44459 const IDESC * UNUSED idesc = abuf->idesc;
44460 int cycles = 0;
44462 int referenced = 0;
44463 int UNUSED insn_referenced = abuf->written;
44464 INT in_FRinti = -1;
44465 INT in_FRintj = -1;
44466 INT out_FRintk = -1;
44467 in_FRinti = FLD (in_FRintieven);
44468 in_FRintj = FLD (in_FRintjeven);
44469 out_FRintk = FLD (out_FRintkeven);
44470 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44472 return cycles;
44473 #undef FLD
44476 static int
44477 model_fr500_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
44479 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44481 const IDESC * UNUSED idesc = abuf->idesc;
44482 int cycles = 0;
44484 int referenced = 0;
44485 int UNUSED insn_referenced = abuf->written;
44486 INT in_FRinti = -1;
44487 INT in_FRintj = -1;
44488 INT out_FRintk = -1;
44489 in_FRinti = FLD (in_FRintieven);
44490 in_FRintj = FLD (in_FRintjeven);
44491 out_FRintk = FLD (out_FRintkeven);
44492 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44494 return cycles;
44495 #undef FLD
44498 static int
44499 model_fr500_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
44501 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44502 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44503 const IDESC * UNUSED idesc = abuf->idesc;
44504 int cycles = 0;
44506 int referenced = 0;
44507 int UNUSED insn_referenced = abuf->written;
44508 INT in_FRinti = -1;
44509 INT in_FRintj = -1;
44510 INT out_FRintk = -1;
44511 in_FRinti = FLD (in_FRintieven);
44512 in_FRintj = FLD (in_FRintjeven);
44513 out_FRintk = FLD (out_FRintkeven);
44514 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44516 return cycles;
44517 #undef FLD
44520 static int
44521 model_fr500_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
44523 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44525 const IDESC * UNUSED idesc = abuf->idesc;
44526 int cycles = 0;
44528 int referenced = 0;
44529 int UNUSED insn_referenced = abuf->written;
44530 INT in_FRinti = -1;
44531 INT in_FRintj = -1;
44532 INT out_FRintk = -1;
44533 in_FRinti = FLD (in_FRintieven);
44534 in_FRintj = FLD (in_FRintjeven);
44535 out_FRintk = FLD (out_FRintkeven);
44536 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44538 return cycles;
44539 #undef FLD
44542 static int
44543 model_fr500_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
44545 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44547 const IDESC * UNUSED idesc = abuf->idesc;
44548 int cycles = 0;
44550 int referenced = 0;
44551 int UNUSED insn_referenced = abuf->written;
44552 INT in_FRinti = -1;
44553 INT in_FRintj = -1;
44554 INT out_FRintk = -1;
44555 in_FRinti = FLD (in_FRintieven);
44556 in_FRintj = FLD (in_FRintjeven);
44557 out_FRintk = FLD (out_FRintkeven);
44558 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44560 return cycles;
44561 #undef FLD
44564 static int
44565 model_fr500_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
44567 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44569 const IDESC * UNUSED idesc = abuf->idesc;
44570 int cycles = 0;
44572 int referenced = 0;
44573 int UNUSED insn_referenced = abuf->written;
44574 INT in_FRinti = -1;
44575 INT in_FRintj = -1;
44576 INT out_FRintk = -1;
44577 in_FRinti = FLD (in_FRintieven);
44578 in_FRintj = FLD (in_FRintjeven);
44579 out_FRintk = FLD (out_FRintkeven);
44580 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44582 return cycles;
44583 #undef FLD
44586 static int
44587 model_fr500_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
44589 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44590 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44591 const IDESC * UNUSED idesc = abuf->idesc;
44592 int cycles = 0;
44594 int referenced = 0;
44595 int UNUSED insn_referenced = abuf->written;
44596 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44598 return cycles;
44599 #undef FLD
44602 static int
44603 model_fr500_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
44605 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44606 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44607 const IDESC * UNUSED idesc = abuf->idesc;
44608 int cycles = 0;
44610 int referenced = 0;
44611 int UNUSED insn_referenced = abuf->written;
44612 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44614 return cycles;
44615 #undef FLD
44618 static int
44619 model_fr500_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
44621 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
44622 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44623 const IDESC * UNUSED idesc = abuf->idesc;
44624 int cycles = 0;
44626 int referenced = 0;
44627 int UNUSED insn_referenced = abuf->written;
44628 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44630 return cycles;
44631 #undef FLD
44634 static int
44635 model_fr500_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
44637 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
44638 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44639 const IDESC * UNUSED idesc = abuf->idesc;
44640 int cycles = 0;
44642 int referenced = 0;
44643 int UNUSED insn_referenced = abuf->written;
44644 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44646 return cycles;
44647 #undef FLD
44650 static int
44651 model_fr500_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
44653 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44654 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44655 const IDESC * UNUSED idesc = abuf->idesc;
44656 int cycles = 0;
44658 int referenced = 0;
44659 int UNUSED insn_referenced = abuf->written;
44660 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44662 return cycles;
44663 #undef FLD
44666 static int
44667 model_fr500_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
44669 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44670 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44671 const IDESC * UNUSED idesc = abuf->idesc;
44672 int cycles = 0;
44674 int referenced = 0;
44675 int UNUSED insn_referenced = abuf->written;
44676 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44678 return cycles;
44679 #undef FLD
44682 static int
44683 model_fr500_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
44685 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44686 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44687 const IDESC * UNUSED idesc = abuf->idesc;
44688 int cycles = 0;
44690 int referenced = 0;
44691 int UNUSED insn_referenced = abuf->written;
44692 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44694 return cycles;
44695 #undef FLD
44698 static int
44699 model_fr500_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
44701 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44702 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44703 const IDESC * UNUSED idesc = abuf->idesc;
44704 int cycles = 0;
44706 int referenced = 0;
44707 int UNUSED insn_referenced = abuf->written;
44708 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44710 return cycles;
44711 #undef FLD
44714 static int
44715 model_fr500_masaccs (SIM_CPU *current_cpu, void *sem_arg)
44717 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44718 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44719 const IDESC * UNUSED idesc = abuf->idesc;
44720 int cycles = 0;
44722 int referenced = 0;
44723 int UNUSED insn_referenced = abuf->written;
44724 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44726 return cycles;
44727 #undef FLD
44730 static int
44731 model_fr500_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
44733 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44734 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44735 const IDESC * UNUSED idesc = abuf->idesc;
44736 int cycles = 0;
44738 int referenced = 0;
44739 int UNUSED insn_referenced = abuf->written;
44740 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44742 return cycles;
44743 #undef FLD
44746 static int
44747 model_fr500_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
44749 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44750 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44751 const IDESC * UNUSED idesc = abuf->idesc;
44752 int cycles = 0;
44754 int referenced = 0;
44755 int UNUSED insn_referenced = abuf->written;
44756 INT in_FRinti = -1;
44757 INT in_FRintj = -1;
44758 INT out_ACC40Sk = -1;
44759 INT out_ACC40Uk = -1;
44760 in_FRinti = FLD (in_FRinti);
44761 in_FRintj = FLD (in_FRintj);
44762 out_ACC40Sk = FLD (out_ACC40Sk);
44763 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44764 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44765 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
44766 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44768 return cycles;
44769 #undef FLD
44772 static int
44773 model_fr500_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
44775 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44777 const IDESC * UNUSED idesc = abuf->idesc;
44778 int cycles = 0;
44780 int referenced = 0;
44781 int UNUSED insn_referenced = abuf->written;
44782 INT in_FRinti = -1;
44783 INT in_FRintj = -1;
44784 INT out_ACC40Sk = -1;
44785 INT out_ACC40Uk = -1;
44786 in_FRinti = FLD (in_FRinti);
44787 in_FRintj = FLD (in_FRintj);
44788 out_ACC40Sk = FLD (out_ACC40Sk);
44789 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44790 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44791 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
44792 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44794 return cycles;
44795 #undef FLD
44798 static int
44799 model_fr500_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
44801 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44802 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44803 const IDESC * UNUSED idesc = abuf->idesc;
44804 int cycles = 0;
44806 int referenced = 0;
44807 int UNUSED insn_referenced = abuf->written;
44808 INT in_FRinti = -1;
44809 INT in_FRintj = -1;
44810 INT out_ACC40Sk = -1;
44811 INT out_ACC40Uk = -1;
44812 in_FRinti = FLD (in_FRinti);
44813 in_FRintj = FLD (in_FRintj);
44814 out_ACC40Sk = FLD (out_ACC40Sk);
44815 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44816 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44817 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
44818 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44820 return cycles;
44821 #undef FLD
44824 static int
44825 model_fr500_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
44827 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44829 const IDESC * UNUSED idesc = abuf->idesc;
44830 int cycles = 0;
44832 int referenced = 0;
44833 int UNUSED insn_referenced = abuf->written;
44834 INT in_FRinti = -1;
44835 INT in_FRintj = -1;
44836 INT out_ACC40Sk = -1;
44837 INT out_ACC40Uk = -1;
44838 in_FRinti = FLD (in_FRinti);
44839 in_FRintj = FLD (in_FRintj);
44840 out_ACC40Sk = FLD (out_ACC40Sk);
44841 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44842 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44843 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
44844 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44846 return cycles;
44847 #undef FLD
44850 static int
44851 model_fr500_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
44853 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44854 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44855 const IDESC * UNUSED idesc = abuf->idesc;
44856 int cycles = 0;
44858 int referenced = 0;
44859 int UNUSED insn_referenced = abuf->written;
44860 INT in_FRinti = -1;
44861 INT in_FRintj = -1;
44862 INT out_ACC40Sk = -1;
44863 INT out_ACC40Uk = -1;
44864 in_FRinti = FLD (in_FRinti);
44865 in_FRintj = FLD (in_FRintj);
44866 out_ACC40Sk = FLD (out_ACC40Sk);
44867 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44868 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44869 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
44870 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44872 return cycles;
44873 #undef FLD
44876 static int
44877 model_fr500_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
44879 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44881 const IDESC * UNUSED idesc = abuf->idesc;
44882 int cycles = 0;
44884 int referenced = 0;
44885 int UNUSED insn_referenced = abuf->written;
44886 INT in_FRinti = -1;
44887 INT in_FRintj = -1;
44888 INT out_ACC40Sk = -1;
44889 INT out_ACC40Uk = -1;
44890 in_FRinti = FLD (in_FRinti);
44891 in_FRintj = FLD (in_FRintj);
44892 out_ACC40Sk = FLD (out_ACC40Sk);
44893 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44894 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44895 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
44896 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44898 return cycles;
44899 #undef FLD
44902 static int
44903 model_fr500_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
44905 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
44906 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44907 const IDESC * UNUSED idesc = abuf->idesc;
44908 int cycles = 0;
44910 int referenced = 0;
44911 int UNUSED insn_referenced = abuf->written;
44912 INT in_FRinti = -1;
44913 INT in_FRintj = -1;
44914 INT out_ACC40Sk = -1;
44915 INT out_ACC40Uk = -1;
44916 out_ACC40Sk = FLD (out_ACC40Sk);
44917 in_FRinti = FLD (in_FRintieven);
44918 in_FRintj = FLD (in_FRintjeven);
44919 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
44920 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44922 return cycles;
44923 #undef FLD
44926 static int
44927 model_fr500_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
44929 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
44930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44931 const IDESC * UNUSED idesc = abuf->idesc;
44932 int cycles = 0;
44934 int referenced = 0;
44935 int UNUSED insn_referenced = abuf->written;
44936 INT in_FRinti = -1;
44937 INT in_FRintj = -1;
44938 INT out_ACC40Sk = -1;
44939 INT out_ACC40Uk = -1;
44940 out_ACC40Sk = FLD (out_ACC40Sk);
44941 in_FRinti = FLD (in_FRintieven);
44942 in_FRintj = FLD (in_FRintjeven);
44943 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
44944 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44946 return cycles;
44947 #undef FLD
44950 static int
44951 model_fr500_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
44953 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
44954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44955 const IDESC * UNUSED idesc = abuf->idesc;
44956 int cycles = 0;
44958 int referenced = 0;
44959 int UNUSED insn_referenced = abuf->written;
44960 INT in_FRinti = -1;
44961 INT in_FRintj = -1;
44962 INT out_ACC40Sk = -1;
44963 INT out_ACC40Uk = -1;
44964 out_ACC40Sk = FLD (out_ACC40Sk);
44965 in_FRinti = FLD (in_FRintieven);
44966 in_FRintj = FLD (in_FRintjeven);
44967 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
44968 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44970 return cycles;
44971 #undef FLD
44974 static int
44975 model_fr500_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
44977 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
44978 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44979 const IDESC * UNUSED idesc = abuf->idesc;
44980 int cycles = 0;
44982 int referenced = 0;
44983 int UNUSED insn_referenced = abuf->written;
44984 INT in_FRinti = -1;
44985 INT in_FRintj = -1;
44986 INT out_ACC40Sk = -1;
44987 INT out_ACC40Uk = -1;
44988 out_ACC40Sk = FLD (out_ACC40Sk);
44989 in_FRinti = FLD (in_FRintieven);
44990 in_FRintj = FLD (in_FRintjeven);
44991 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
44992 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44994 return cycles;
44995 #undef FLD
44998 static int
44999 model_fr500_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
45001 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45002 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45003 const IDESC * UNUSED idesc = abuf->idesc;
45004 int cycles = 0;
45006 int referenced = 0;
45007 int UNUSED insn_referenced = abuf->written;
45008 INT in_FRinti = -1;
45009 INT in_FRintj = -1;
45010 INT out_ACC40Sk = -1;
45011 INT out_ACC40Uk = -1;
45012 out_ACC40Sk = FLD (out_ACC40Sk);
45013 in_FRinti = FLD (in_FRintieven);
45014 in_FRintj = FLD (in_FRintjeven);
45015 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
45016 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45018 return cycles;
45019 #undef FLD
45022 static int
45023 model_fr500_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
45025 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45026 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45027 const IDESC * UNUSED idesc = abuf->idesc;
45028 int cycles = 0;
45030 int referenced = 0;
45031 int UNUSED insn_referenced = abuf->written;
45032 INT in_FRinti = -1;
45033 INT in_FRintj = -1;
45034 INT out_ACC40Sk = -1;
45035 INT out_ACC40Uk = -1;
45036 out_ACC40Sk = FLD (out_ACC40Sk);
45037 in_FRinti = FLD (in_FRintieven);
45038 in_FRintj = FLD (in_FRintjeven);
45039 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
45040 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45042 return cycles;
45043 #undef FLD
45046 static int
45047 model_fr500_mmachs (SIM_CPU *current_cpu, void *sem_arg)
45049 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45051 const IDESC * UNUSED idesc = abuf->idesc;
45052 int cycles = 0;
45054 int referenced = 0;
45055 int UNUSED insn_referenced = abuf->written;
45056 INT in_FRinti = -1;
45057 INT in_FRintj = -1;
45058 INT out_ACC40Sk = -1;
45059 INT out_ACC40Uk = -1;
45060 in_FRinti = FLD (in_FRinti);
45061 in_FRintj = FLD (in_FRintj);
45062 out_ACC40Sk = FLD (out_ACC40Sk);
45063 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45064 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45065 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45066 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45068 return cycles;
45069 #undef FLD
45072 static int
45073 model_fr500_mmachu (SIM_CPU *current_cpu, void *sem_arg)
45075 #define FLD(f) abuf->fields.sfmt_cmmachu.f
45076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45077 const IDESC * UNUSED idesc = abuf->idesc;
45078 int cycles = 0;
45080 int referenced = 0;
45081 int UNUSED insn_referenced = abuf->written;
45082 INT in_FRinti = -1;
45083 INT in_FRintj = -1;
45084 INT out_ACC40Sk = -1;
45085 INT out_ACC40Uk = -1;
45086 in_FRinti = FLD (in_FRinti);
45087 in_FRintj = FLD (in_FRintj);
45088 out_ACC40Uk = FLD (out_ACC40Uk);
45089 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45090 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45091 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
45092 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45094 return cycles;
45095 #undef FLD
45098 static int
45099 model_fr500_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
45101 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45102 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45103 const IDESC * UNUSED idesc = abuf->idesc;
45104 int cycles = 0;
45106 int referenced = 0;
45107 int UNUSED insn_referenced = abuf->written;
45108 INT in_FRinti = -1;
45109 INT in_FRintj = -1;
45110 INT out_ACC40Sk = -1;
45111 INT out_ACC40Uk = -1;
45112 in_FRinti = FLD (in_FRinti);
45113 in_FRintj = FLD (in_FRintj);
45114 out_ACC40Sk = FLD (out_ACC40Sk);
45115 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45116 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45117 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45118 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45120 return cycles;
45121 #undef FLD
45124 static int
45125 model_fr500_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
45127 #define FLD(f) abuf->fields.sfmt_cmmachu.f
45128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45129 const IDESC * UNUSED idesc = abuf->idesc;
45130 int cycles = 0;
45132 int referenced = 0;
45133 int UNUSED insn_referenced = abuf->written;
45134 INT in_FRinti = -1;
45135 INT in_FRintj = -1;
45136 INT out_ACC40Sk = -1;
45137 INT out_ACC40Uk = -1;
45138 in_FRinti = FLD (in_FRinti);
45139 in_FRintj = FLD (in_FRintj);
45140 out_ACC40Uk = FLD (out_ACC40Uk);
45141 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45142 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45143 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
45144 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45146 return cycles;
45147 #undef FLD
45150 static int
45151 model_fr500_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
45153 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45154 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45155 const IDESC * UNUSED idesc = abuf->idesc;
45156 int cycles = 0;
45158 int referenced = 0;
45159 int UNUSED insn_referenced = abuf->written;
45160 INT in_FRinti = -1;
45161 INT in_FRintj = -1;
45162 INT out_ACC40Sk = -1;
45163 INT out_ACC40Uk = -1;
45164 in_FRinti = FLD (in_FRinti);
45165 in_FRintj = FLD (in_FRintj);
45166 out_ACC40Sk = FLD (out_ACC40Sk);
45167 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
45168 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
45169 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45170 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45172 return cycles;
45173 #undef FLD
45176 static int
45177 model_fr500_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
45179 #define FLD(f) abuf->fields.sfmt_cmmachu.f
45180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45181 const IDESC * UNUSED idesc = abuf->idesc;
45182 int cycles = 0;
45184 int referenced = 0;
45185 int UNUSED insn_referenced = abuf->written;
45186 INT in_FRinti = -1;
45187 INT in_FRintj = -1;
45188 INT out_ACC40Sk = -1;
45189 INT out_ACC40Uk = -1;
45190 in_FRinti = FLD (in_FRinti);
45191 in_FRintj = FLD (in_FRintj);
45192 out_ACC40Uk = FLD (out_ACC40Uk);
45193 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
45194 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
45195 if (insn_referenced & (1 << 13)) referenced |= 1 << 3;
45196 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45198 return cycles;
45199 #undef FLD
45202 static int
45203 model_fr500_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
45205 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45206 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45207 const IDESC * UNUSED idesc = abuf->idesc;
45208 int cycles = 0;
45210 int referenced = 0;
45211 int UNUSED insn_referenced = abuf->written;
45212 INT in_FRinti = -1;
45213 INT in_FRintj = -1;
45214 INT out_ACC40Sk = -1;
45215 INT out_ACC40Uk = -1;
45216 out_ACC40Sk = FLD (out_ACC40Sk);
45217 in_FRinti = FLD (in_FRintieven);
45218 in_FRintj = FLD (in_FRintjeven);
45219 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
45220 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45222 return cycles;
45223 #undef FLD
45226 static int
45227 model_fr500_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
45229 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
45230 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45231 const IDESC * UNUSED idesc = abuf->idesc;
45232 int cycles = 0;
45234 int referenced = 0;
45235 int UNUSED insn_referenced = abuf->written;
45236 INT in_FRinti = -1;
45237 INT in_FRintj = -1;
45238 INT out_ACC40Sk = -1;
45239 INT out_ACC40Uk = -1;
45240 out_ACC40Uk = FLD (out_ACC40Uk);
45241 in_FRinti = FLD (in_FRintieven);
45242 in_FRintj = FLD (in_FRintjeven);
45243 if (insn_referenced & (1 << 17)) referenced |= 1 << 3;
45244 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45246 return cycles;
45247 #undef FLD
45250 static int
45251 model_fr500_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
45253 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45254 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45255 const IDESC * UNUSED idesc = abuf->idesc;
45256 int cycles = 0;
45258 int referenced = 0;
45259 int UNUSED insn_referenced = abuf->written;
45260 INT in_FRinti = -1;
45261 INT in_FRintj = -1;
45262 INT out_ACC40Sk = -1;
45263 INT out_ACC40Uk = -1;
45264 out_ACC40Sk = FLD (out_ACC40Sk);
45265 in_FRinti = FLD (in_FRintieven);
45266 in_FRintj = FLD (in_FRintjeven);
45267 if (insn_referenced & (1 << 19)) referenced |= 1 << 2;
45268 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45270 return cycles;
45271 #undef FLD
45274 static int
45275 model_fr500_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
45277 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
45278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45279 const IDESC * UNUSED idesc = abuf->idesc;
45280 int cycles = 0;
45282 int referenced = 0;
45283 int UNUSED insn_referenced = abuf->written;
45284 INT in_FRinti = -1;
45285 INT in_FRintj = -1;
45286 INT out_ACC40Sk = -1;
45287 INT out_ACC40Uk = -1;
45288 out_ACC40Uk = FLD (out_ACC40Uk);
45289 in_FRinti = FLD (in_FRintieven);
45290 in_FRintj = FLD (in_FRintjeven);
45291 if (insn_referenced & (1 << 19)) referenced |= 1 << 3;
45292 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45294 return cycles;
45295 #undef FLD
45298 static int
45299 model_fr500_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
45301 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45302 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45303 const IDESC * UNUSED idesc = abuf->idesc;
45304 int cycles = 0;
45306 int referenced = 0;
45307 int UNUSED insn_referenced = abuf->written;
45308 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
45310 return cycles;
45311 #undef FLD
45314 static int
45315 model_fr500_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
45317 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45318 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45319 const IDESC * UNUSED idesc = abuf->idesc;
45320 int cycles = 0;
45322 int referenced = 0;
45323 int UNUSED insn_referenced = abuf->written;
45324 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
45326 return cycles;
45327 #undef FLD
45330 static int
45331 model_fr500_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
45333 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45334 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45335 const IDESC * UNUSED idesc = abuf->idesc;
45336 int cycles = 0;
45338 int referenced = 0;
45339 int UNUSED insn_referenced = abuf->written;
45340 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
45342 return cycles;
45343 #undef FLD
45346 static int
45347 model_fr500_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
45349 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45351 const IDESC * UNUSED idesc = abuf->idesc;
45352 int cycles = 0;
45354 int referenced = 0;
45355 int UNUSED insn_referenced = abuf->written;
45356 INT in_FRinti = -1;
45357 INT in_FRintj = -1;
45358 INT out_ACC40Sk = -1;
45359 INT out_ACC40Uk = -1;
45360 in_FRinti = FLD (in_FRinti);
45361 in_FRintj = FLD (in_FRintj);
45362 out_ACC40Sk = FLD (out_ACC40Sk);
45363 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45364 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
45365 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
45366 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45368 return cycles;
45369 #undef FLD
45372 static int
45373 model_fr500_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
45375 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45377 const IDESC * UNUSED idesc = abuf->idesc;
45378 int cycles = 0;
45380 int referenced = 0;
45381 int UNUSED insn_referenced = abuf->written;
45382 INT in_FRinti = -1;
45383 INT in_FRintj = -1;
45384 INT out_ACC40Sk = -1;
45385 INT out_ACC40Uk = -1;
45386 in_FRinti = FLD (in_FRinti);
45387 in_FRintj = FLD (in_FRintj);
45388 out_ACC40Sk = FLD (out_ACC40Sk);
45389 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45390 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
45391 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
45392 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45394 return cycles;
45395 #undef FLD
45398 static int
45399 model_fr500_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
45401 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45403 const IDESC * UNUSED idesc = abuf->idesc;
45404 int cycles = 0;
45406 int referenced = 0;
45407 int UNUSED insn_referenced = abuf->written;
45408 INT in_FRinti = -1;
45409 INT in_FRintj = -1;
45410 INT out_ACC40Sk = -1;
45411 INT out_ACC40Uk = -1;
45412 in_FRinti = FLD (in_FRinti);
45413 in_FRintj = FLD (in_FRintj);
45414 out_ACC40Sk = FLD (out_ACC40Sk);
45415 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45416 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
45417 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
45418 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45420 return cycles;
45421 #undef FLD
45424 static int
45425 model_fr500_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
45427 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45429 const IDESC * UNUSED idesc = abuf->idesc;
45430 int cycles = 0;
45432 int referenced = 0;
45433 int UNUSED insn_referenced = abuf->written;
45434 INT in_FRinti = -1;
45435 INT in_FRintj = -1;
45436 INT out_ACC40Sk = -1;
45437 INT out_ACC40Uk = -1;
45438 in_FRinti = FLD (in_FRinti);
45439 in_FRintj = FLD (in_FRintj);
45440 out_ACC40Sk = FLD (out_ACC40Sk);
45441 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45442 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
45443 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
45444 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45446 return cycles;
45447 #undef FLD
45450 static int
45451 model_fr500_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
45453 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45454 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45455 const IDESC * UNUSED idesc = abuf->idesc;
45456 int cycles = 0;
45458 int referenced = 0;
45459 int UNUSED insn_referenced = abuf->written;
45460 INT in_FRinti = -1;
45461 INT in_FRintj = -1;
45462 INT out_ACC40Sk = -1;
45463 INT out_ACC40Uk = -1;
45464 in_FRinti = FLD (in_FRinti);
45465 in_FRintj = FLD (in_FRintj);
45466 out_ACC40Sk = FLD (out_ACC40Sk);
45467 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45468 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45469 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45470 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45472 return cycles;
45473 #undef FLD
45476 static int
45477 model_fr500_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
45479 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45481 const IDESC * UNUSED idesc = abuf->idesc;
45482 int cycles = 0;
45484 int referenced = 0;
45485 int UNUSED insn_referenced = abuf->written;
45486 INT in_FRinti = -1;
45487 INT in_FRintj = -1;
45488 INT out_ACC40Sk = -1;
45489 INT out_ACC40Uk = -1;
45490 in_FRinti = FLD (in_FRinti);
45491 in_FRintj = FLD (in_FRintj);
45492 out_ACC40Sk = FLD (out_ACC40Sk);
45493 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45494 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45495 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45496 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45498 return cycles;
45499 #undef FLD
45502 static int
45503 model_fr500_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
45505 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45506 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45507 const IDESC * UNUSED idesc = abuf->idesc;
45508 int cycles = 0;
45510 int referenced = 0;
45511 int UNUSED insn_referenced = abuf->written;
45512 INT in_FRinti = -1;
45513 INT in_FRintj = -1;
45514 INT out_ACC40Sk = -1;
45515 INT out_ACC40Uk = -1;
45516 in_FRinti = FLD (in_FRinti);
45517 in_FRintj = FLD (in_FRintj);
45518 out_ACC40Sk = FLD (out_ACC40Sk);
45519 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45520 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45521 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45522 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45524 return cycles;
45525 #undef FLD
45528 static int
45529 model_fr500_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
45531 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45533 const IDESC * UNUSED idesc = abuf->idesc;
45534 int cycles = 0;
45536 int referenced = 0;
45537 int UNUSED insn_referenced = abuf->written;
45538 INT in_FRinti = -1;
45539 INT in_FRintj = -1;
45540 INT out_ACC40Sk = -1;
45541 INT out_ACC40Uk = -1;
45542 in_FRinti = FLD (in_FRinti);
45543 in_FRintj = FLD (in_FRintj);
45544 out_ACC40Sk = FLD (out_ACC40Sk);
45545 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45546 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45547 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45548 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45550 return cycles;
45551 #undef FLD
45554 static int
45555 model_fr500_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
45557 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45559 const IDESC * UNUSED idesc = abuf->idesc;
45560 int cycles = 0;
45562 int referenced = 0;
45563 int UNUSED insn_referenced = abuf->written;
45564 INT in_FRinti = -1;
45565 INT in_FRintj = -1;
45566 INT out_ACC40Sk = -1;
45567 out_ACC40Sk = FLD (out_ACC40Sk);
45568 in_FRinti = FLD (in_FRintieven);
45569 in_FRintj = FLD (in_FRintjeven);
45570 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45571 cycles += frvbf_model_fr500_u_media_quad_complex (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk);
45573 return cycles;
45574 #undef FLD
45577 static int
45578 model_fr500_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
45580 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45582 const IDESC * UNUSED idesc = abuf->idesc;
45583 int cycles = 0;
45585 int referenced = 0;
45586 int UNUSED insn_referenced = abuf->written;
45587 INT in_FRinti = -1;
45588 INT in_FRintj = -1;
45589 INT out_ACC40Sk = -1;
45590 out_ACC40Sk = FLD (out_ACC40Sk);
45591 in_FRinti = FLD (in_FRintieven);
45592 in_FRintj = FLD (in_FRintjeven);
45593 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45594 cycles += frvbf_model_fr500_u_media_quad_complex (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk);
45596 return cycles;
45597 #undef FLD
45600 static int
45601 model_fr500_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
45603 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45605 const IDESC * UNUSED idesc = abuf->idesc;
45606 int cycles = 0;
45608 int referenced = 0;
45609 int UNUSED insn_referenced = abuf->written;
45610 INT in_FRinti = -1;
45611 INT in_FRintj = -1;
45612 INT out_ACC40Sk = -1;
45613 out_ACC40Sk = FLD (out_ACC40Sk);
45614 in_FRinti = FLD (in_FRintieven);
45615 in_FRintj = FLD (in_FRintjeven);
45616 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45617 cycles += frvbf_model_fr500_u_media_quad_complex (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk);
45619 return cycles;
45620 #undef FLD
45623 static int
45624 model_fr500_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
45626 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45627 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45628 const IDESC * UNUSED idesc = abuf->idesc;
45629 int cycles = 0;
45631 int referenced = 0;
45632 int UNUSED insn_referenced = abuf->written;
45633 INT in_FRinti = -1;
45634 INT in_FRintj = -1;
45635 INT out_ACC40Sk = -1;
45636 out_ACC40Sk = FLD (out_ACC40Sk);
45637 in_FRinti = FLD (in_FRintieven);
45638 in_FRintj = FLD (in_FRintjeven);
45639 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45640 cycles += frvbf_model_fr500_u_media_quad_complex (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk);
45642 return cycles;
45643 #undef FLD
45646 static int
45647 model_fr500_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
45649 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
45650 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45651 const IDESC * UNUSED idesc = abuf->idesc;
45652 int cycles = 0;
45654 int referenced = 0;
45655 int UNUSED insn_referenced = abuf->written;
45656 INT in_FRinti = -1;
45657 INT in_FRintj = -1;
45658 INT in_ACC40Si = -1;
45659 INT in_ACCGi = -1;
45660 INT out_FRintk = -1;
45661 INT out_ACC40Sk = -1;
45662 INT out_ACC40Uk = -1;
45663 INT out_ACCGk = -1;
45664 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
45666 return cycles;
45667 #undef FLD
45670 static int
45671 model_fr500_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
45673 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
45674 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45675 const IDESC * UNUSED idesc = abuf->idesc;
45676 int cycles = 0;
45678 int referenced = 0;
45679 int UNUSED insn_referenced = abuf->written;
45680 INT in_FRinti = -1;
45681 INT in_FRintj = -1;
45682 INT in_ACC40Si = -1;
45683 INT in_ACCGi = -1;
45684 INT out_FRintk = -1;
45685 INT out_ACC40Sk = -1;
45686 INT out_ACC40Uk = -1;
45687 INT out_ACCGk = -1;
45688 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
45690 return cycles;
45691 #undef FLD
45694 static int
45695 model_fr500_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
45697 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
45698 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45699 const IDESC * UNUSED idesc = abuf->idesc;
45700 int cycles = 0;
45702 int referenced = 0;
45703 int UNUSED insn_referenced = abuf->written;
45704 INT in_FRinti = -1;
45705 INT out_FRintk = -1;
45706 out_FRintk = FLD (out_FRintkeven);
45707 cycles += frvbf_model_fr500_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
45709 return cycles;
45710 #undef FLD
45713 static int
45714 model_fr500_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
45716 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
45717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45718 const IDESC * UNUSED idesc = abuf->idesc;
45719 int cycles = 0;
45721 int referenced = 0;
45722 int UNUSED insn_referenced = abuf->written;
45723 INT in_FRinti = -1;
45724 INT out_FRintk = -1;
45725 out_FRintk = FLD (out_FRintkeven);
45726 cycles += frvbf_model_fr500_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
45728 return cycles;
45729 #undef FLD
45732 static int
45733 model_fr500_mpackh (SIM_CPU *current_cpu, void *sem_arg)
45735 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
45736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45737 const IDESC * UNUSED idesc = abuf->idesc;
45738 int cycles = 0;
45740 int referenced = 0;
45741 int UNUSED insn_referenced = abuf->written;
45742 INT in_FRinti = -1;
45743 INT in_FRintj = -1;
45744 INT in_ACC40Si = -1;
45745 INT in_ACCGi = -1;
45746 INT out_FRintk = -1;
45747 INT out_ACC40Sk = -1;
45748 INT out_ACC40Uk = -1;
45749 INT out_ACCGk = -1;
45750 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
45752 return cycles;
45753 #undef FLD
45756 static int
45757 model_fr500_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
45759 #define FLD(f) abuf->fields.sfmt_mdpackh.f
45760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45761 const IDESC * UNUSED idesc = abuf->idesc;
45762 int cycles = 0;
45764 int referenced = 0;
45765 int UNUSED insn_referenced = abuf->written;
45766 INT in_FRinti = -1;
45767 INT in_FRintj = -1;
45768 INT out_FRintk = -1;
45769 in_FRinti = FLD (in_FRintieven);
45770 in_FRintj = FLD (in_FRintjeven);
45771 out_FRintk = FLD (out_FRintkeven);
45772 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
45774 return cycles;
45775 #undef FLD
45778 static int
45779 model_fr500_munpackh (SIM_CPU *current_cpu, void *sem_arg)
45781 #define FLD(f) abuf->fields.sfmt_munpackh.f
45782 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45783 const IDESC * UNUSED idesc = abuf->idesc;
45784 int cycles = 0;
45786 int referenced = 0;
45787 int UNUSED insn_referenced = abuf->written;
45788 INT in_FRinti = -1;
45789 INT out_FRintk = -1;
45790 in_FRinti = FLD (in_FRinti);
45791 out_FRintk = FLD (out_FRintkeven);
45792 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45793 cycles += frvbf_model_fr500_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
45795 return cycles;
45796 #undef FLD
45799 static int
45800 model_fr500_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
45802 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
45803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45804 const IDESC * UNUSED idesc = abuf->idesc;
45805 int cycles = 0;
45807 int referenced = 0;
45808 int UNUSED insn_referenced = abuf->written;
45809 INT in_FRinti = -1;
45810 INT out_FRintk = -1;
45811 out_FRintk = FLD (out_FRintk);
45812 in_FRinti = FLD (in_FRintieven);
45813 if (insn_referenced & (1 << 9)) referenced |= 1 << 1;
45814 cycles += frvbf_model_fr500_u_media_dual_unpack (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
45816 return cycles;
45817 #undef FLD
45820 static int
45821 model_fr500_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
45823 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
45824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45825 const IDESC * UNUSED idesc = abuf->idesc;
45826 int cycles = 0;
45828 int referenced = 0;
45829 int UNUSED insn_referenced = abuf->written;
45830 INT in_FRintj = -1;
45831 INT out_FRintk = -1;
45832 in_FRintj = FLD (in_FRintj);
45833 out_FRintk = FLD (out_FRintkeven);
45834 referenced |= 1 << 0;
45835 cycles += frvbf_model_fr500_u_media_dual_btoh (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45837 return cycles;
45838 #undef FLD
45841 static int
45842 model_fr500_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
45844 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
45845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45846 const IDESC * UNUSED idesc = abuf->idesc;
45847 int cycles = 0;
45849 int referenced = 0;
45850 int UNUSED insn_referenced = abuf->written;
45851 INT in_FRintj = -1;
45852 INT out_FRintk = -1;
45853 in_FRintj = FLD (in_FRintj);
45854 out_FRintk = FLD (out_FRintkeven);
45855 referenced |= 1 << 0;
45856 cycles += frvbf_model_fr500_u_media_dual_btoh (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45858 return cycles;
45859 #undef FLD
45862 static int
45863 model_fr500_mhtob (SIM_CPU *current_cpu, void *sem_arg)
45865 #define FLD(f) abuf->fields.sfmt_cmhtob.f
45866 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45867 const IDESC * UNUSED idesc = abuf->idesc;
45868 int cycles = 0;
45870 int referenced = 0;
45871 int UNUSED insn_referenced = abuf->written;
45872 INT in_FRintj = -1;
45873 INT out_FRintk = -1;
45874 out_FRintk = FLD (out_FRintk);
45875 in_FRintj = FLD (in_FRintjeven);
45876 referenced |= 1 << 1;
45877 cycles += frvbf_model_fr500_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45879 return cycles;
45880 #undef FLD
45883 static int
45884 model_fr500_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
45886 #define FLD(f) abuf->fields.sfmt_cmhtob.f
45887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45888 const IDESC * UNUSED idesc = abuf->idesc;
45889 int cycles = 0;
45891 int referenced = 0;
45892 int UNUSED insn_referenced = abuf->written;
45893 INT in_FRintj = -1;
45894 INT out_FRintk = -1;
45895 out_FRintk = FLD (out_FRintk);
45896 in_FRintj = FLD (in_FRintjeven);
45897 referenced |= 1 << 1;
45898 cycles += frvbf_model_fr500_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45900 return cycles;
45901 #undef FLD
45904 static int
45905 model_fr500_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
45907 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
45908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45909 const IDESC * UNUSED idesc = abuf->idesc;
45910 int cycles = 0;
45912 int referenced = 0;
45913 int UNUSED insn_referenced = abuf->written;
45914 INT in_FRintj = -1;
45915 INT out_FRintk = -1;
45916 in_FRintj = FLD (in_FRintj);
45917 out_FRintk = FLD (out_FRintk);
45918 referenced |= 1 << 0;
45919 referenced |= 1 << 1;
45920 cycles += frvbf_model_fr500_u_media_dual_btohe (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45922 return cycles;
45923 #undef FLD
45926 static int
45927 model_fr500_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
45929 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
45930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45931 const IDESC * UNUSED idesc = abuf->idesc;
45932 int cycles = 0;
45934 int referenced = 0;
45935 int UNUSED insn_referenced = abuf->written;
45936 INT in_FRintj = -1;
45937 INT out_FRintk = -1;
45938 in_FRintj = FLD (in_FRintj);
45939 out_FRintk = FLD (out_FRintk);
45940 referenced |= 1 << 0;
45941 referenced |= 1 << 1;
45942 cycles += frvbf_model_fr500_u_media_dual_btohe (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45944 return cycles;
45945 #undef FLD
45948 static int
45949 model_fr500_mnop (SIM_CPU *current_cpu, void *sem_arg)
45951 #define FLD(f) abuf->fields.sfmt_empty.f
45952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45953 const IDESC * UNUSED idesc = abuf->idesc;
45954 int cycles = 0;
45956 int referenced = 0;
45957 int UNUSED insn_referenced = abuf->written;
45958 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
45960 return cycles;
45961 #undef FLD
45964 static int
45965 model_fr500_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
45967 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
45968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45969 const IDESC * UNUSED idesc = abuf->idesc;
45970 int cycles = 0;
45972 int referenced = 0;
45973 int UNUSED insn_referenced = abuf->written;
45974 INT in_FRinti = -1;
45975 INT in_FRintj = -1;
45976 INT in_ACC40Si = -1;
45977 INT in_ACCGi = -1;
45978 INT out_FRintk = -1;
45979 INT out_ACC40Sk = -1;
45980 INT out_ACC40Uk = -1;
45981 INT out_ACCGk = -1;
45982 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
45984 return cycles;
45985 #undef FLD
45988 static int
45989 model_fr500_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
45991 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
45992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45993 const IDESC * UNUSED idesc = abuf->idesc;
45994 int cycles = 0;
45996 int referenced = 0;
45997 int UNUSED insn_referenced = abuf->written;
45998 INT in_FRinti = -1;
45999 INT in_FRintj = -1;
46000 INT in_ACC40Si = -1;
46001 INT in_ACCGi = -1;
46002 INT out_FRintk = -1;
46003 INT out_ACC40Sk = -1;
46004 INT out_ACC40Uk = -1;
46005 INT out_ACCGk = -1;
46006 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
46008 return cycles;
46009 #undef FLD
46012 static int
46013 model_fr500_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
46015 #define FLD(f) abuf->fields.sfmt_mcuti.f
46016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46017 const IDESC * UNUSED idesc = abuf->idesc;
46018 int cycles = 0;
46020 int referenced = 0;
46021 int UNUSED insn_referenced = abuf->written;
46022 INT in_FRinti = -1;
46023 INT in_FRintj = -1;
46024 INT in_ACC40Si = -1;
46025 INT in_ACCGi = -1;
46026 INT out_FRintk = -1;
46027 INT out_ACC40Sk = -1;
46028 INT out_ACC40Uk = -1;
46029 INT out_ACCGk = -1;
46030 in_ACC40Si = FLD (in_ACC40Si);
46031 out_FRintk = FLD (out_FRintk);
46032 referenced |= 1 << 2;
46033 referenced |= 1 << 4;
46034 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
46036 return cycles;
46037 #undef FLD
46040 static int
46041 model_fr500_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
46043 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
46044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46045 const IDESC * UNUSED idesc = abuf->idesc;
46046 int cycles = 0;
46048 int referenced = 0;
46049 int UNUSED insn_referenced = abuf->written;
46050 INT in_FRinti = -1;
46051 INT in_FRintj = -1;
46052 INT in_ACC40Si = -1;
46053 INT in_ACCGi = -1;
46054 INT out_FRintk = -1;
46055 INT out_ACC40Sk = -1;
46056 INT out_ACC40Uk = -1;
46057 INT out_ACCGk = -1;
46058 in_ACCGi = FLD (in_ACCGi);
46059 out_FRintk = FLD (out_FRintk);
46060 referenced |= 1 << 3;
46061 referenced |= 1 << 4;
46062 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
46064 return cycles;
46065 #undef FLD
46068 static int
46069 model_fr500_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
46071 #define FLD(f) abuf->fields.sfmt_cmmachs.f
46072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46073 const IDESC * UNUSED idesc = abuf->idesc;
46074 int cycles = 0;
46076 int referenced = 0;
46077 int UNUSED insn_referenced = abuf->written;
46078 INT in_FRinti = -1;
46079 INT in_FRintj = -1;
46080 INT in_ACC40Si = -1;
46081 INT in_ACCGi = -1;
46082 INT out_FRintk = -1;
46083 INT out_ACC40Sk = -1;
46084 INT out_ACC40Uk = -1;
46085 INT out_ACCGk = -1;
46086 in_FRinti = FLD (in_FRinti);
46087 out_ACC40Sk = FLD (out_ACC40Sk);
46088 referenced |= 1 << 0;
46089 referenced |= 1 << 5;
46090 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
46092 return cycles;
46093 #undef FLD
46096 static int
46097 model_fr500_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
46099 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
46100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46101 const IDESC * UNUSED idesc = abuf->idesc;
46102 int cycles = 0;
46104 int referenced = 0;
46105 int UNUSED insn_referenced = abuf->written;
46106 INT in_FRinti = -1;
46107 INT in_FRintj = -1;
46108 INT in_ACC40Si = -1;
46109 INT in_ACCGi = -1;
46110 INT out_FRintk = -1;
46111 INT out_ACC40Sk = -1;
46112 INT out_ACC40Uk = -1;
46113 INT out_ACCGk = -1;
46114 in_FRinti = FLD (in_FRinti);
46115 out_ACCGk = FLD (out_ACCGk);
46116 referenced |= 1 << 0;
46117 referenced |= 1 << 7;
46118 cycles += frvbf_model_fr500_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, in_ACC40Si, in_ACCGi, out_FRintk, out_ACC40Sk, out_ACC40Uk, out_ACCGk);
46120 return cycles;
46121 #undef FLD
46124 static int
46125 model_fr500_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
46127 #define FLD(f) abuf->fields.sfmt_empty.f
46128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46129 const IDESC * UNUSED idesc = abuf->idesc;
46130 int cycles = 0;
46132 int referenced = 0;
46133 int UNUSED insn_referenced = abuf->written;
46134 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
46136 return cycles;
46137 #undef FLD
46140 static int
46141 model_fr500_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
46143 #define FLD(f) abuf->fields.sfmt_empty.f
46144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46145 const IDESC * UNUSED idesc = abuf->idesc;
46146 int cycles = 0;
46148 int referenced = 0;
46149 int UNUSED insn_referenced = abuf->written;
46150 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
46152 return cycles;
46153 #undef FLD
46156 static int
46157 model_fr500_fnop (SIM_CPU *current_cpu, void *sem_arg)
46159 #define FLD(f) abuf->fields.sfmt_empty.f
46160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46161 const IDESC * UNUSED idesc = abuf->idesc;
46162 int cycles = 0;
46164 int referenced = 0;
46165 int UNUSED insn_referenced = abuf->written;
46166 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
46168 return cycles;
46169 #undef FLD
46172 static int
46173 model_tomcat_add (SIM_CPU *current_cpu, void *sem_arg)
46175 #define FLD(f) abuf->fields.sfmt_addcc.f
46176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46177 const IDESC * UNUSED idesc = abuf->idesc;
46178 int cycles = 0;
46180 int referenced = 0;
46181 int UNUSED insn_referenced = abuf->written;
46182 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46184 return cycles;
46185 #undef FLD
46188 static int
46189 model_tomcat_sub (SIM_CPU *current_cpu, void *sem_arg)
46191 #define FLD(f) abuf->fields.sfmt_addcc.f
46192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46193 const IDESC * UNUSED idesc = abuf->idesc;
46194 int cycles = 0;
46196 int referenced = 0;
46197 int UNUSED insn_referenced = abuf->written;
46198 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46200 return cycles;
46201 #undef FLD
46204 static int
46205 model_tomcat_and (SIM_CPU *current_cpu, void *sem_arg)
46207 #define FLD(f) abuf->fields.sfmt_addcc.f
46208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46209 const IDESC * UNUSED idesc = abuf->idesc;
46210 int cycles = 0;
46212 int referenced = 0;
46213 int UNUSED insn_referenced = abuf->written;
46214 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46216 return cycles;
46217 #undef FLD
46220 static int
46221 model_tomcat_or (SIM_CPU *current_cpu, void *sem_arg)
46223 #define FLD(f) abuf->fields.sfmt_addcc.f
46224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46225 const IDESC * UNUSED idesc = abuf->idesc;
46226 int cycles = 0;
46228 int referenced = 0;
46229 int UNUSED insn_referenced = abuf->written;
46230 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46232 return cycles;
46233 #undef FLD
46236 static int
46237 model_tomcat_xor (SIM_CPU *current_cpu, void *sem_arg)
46239 #define FLD(f) abuf->fields.sfmt_addcc.f
46240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46241 const IDESC * UNUSED idesc = abuf->idesc;
46242 int cycles = 0;
46244 int referenced = 0;
46245 int UNUSED insn_referenced = abuf->written;
46246 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46248 return cycles;
46249 #undef FLD
46252 static int
46253 model_tomcat_not (SIM_CPU *current_cpu, void *sem_arg)
46255 #define FLD(f) abuf->fields.sfmt_scutss.f
46256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46257 const IDESC * UNUSED idesc = abuf->idesc;
46258 int cycles = 0;
46260 int referenced = 0;
46261 int UNUSED insn_referenced = abuf->written;
46262 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46264 return cycles;
46265 #undef FLD
46268 static int
46269 model_tomcat_sdiv (SIM_CPU *current_cpu, void *sem_arg)
46271 #define FLD(f) abuf->fields.sfmt_addcc.f
46272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46273 const IDESC * UNUSED idesc = abuf->idesc;
46274 int cycles = 0;
46276 int referenced = 0;
46277 int UNUSED insn_referenced = abuf->written;
46278 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46280 return cycles;
46281 #undef FLD
46284 static int
46285 model_tomcat_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
46287 #define FLD(f) abuf->fields.sfmt_addcc.f
46288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46289 const IDESC * UNUSED idesc = abuf->idesc;
46290 int cycles = 0;
46292 int referenced = 0;
46293 int UNUSED insn_referenced = abuf->written;
46294 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46296 return cycles;
46297 #undef FLD
46300 static int
46301 model_tomcat_udiv (SIM_CPU *current_cpu, void *sem_arg)
46303 #define FLD(f) abuf->fields.sfmt_addcc.f
46304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46305 const IDESC * UNUSED idesc = abuf->idesc;
46306 int cycles = 0;
46308 int referenced = 0;
46309 int UNUSED insn_referenced = abuf->written;
46310 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46312 return cycles;
46313 #undef FLD
46316 static int
46317 model_tomcat_nudiv (SIM_CPU *current_cpu, void *sem_arg)
46319 #define FLD(f) abuf->fields.sfmt_addcc.f
46320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46321 const IDESC * UNUSED idesc = abuf->idesc;
46322 int cycles = 0;
46324 int referenced = 0;
46325 int UNUSED insn_referenced = abuf->written;
46326 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46328 return cycles;
46329 #undef FLD
46332 static int
46333 model_tomcat_smul (SIM_CPU *current_cpu, void *sem_arg)
46335 #define FLD(f) abuf->fields.sfmt_smulcc.f
46336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46337 const IDESC * UNUSED idesc = abuf->idesc;
46338 int cycles = 0;
46340 int referenced = 0;
46341 int UNUSED insn_referenced = abuf->written;
46342 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46344 return cycles;
46345 #undef FLD
46348 static int
46349 model_tomcat_umul (SIM_CPU *current_cpu, void *sem_arg)
46351 #define FLD(f) abuf->fields.sfmt_smulcc.f
46352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46353 const IDESC * UNUSED idesc = abuf->idesc;
46354 int cycles = 0;
46356 int referenced = 0;
46357 int UNUSED insn_referenced = abuf->written;
46358 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46360 return cycles;
46361 #undef FLD
46364 static int
46365 model_tomcat_smu (SIM_CPU *current_cpu, void *sem_arg)
46367 #define FLD(f) abuf->fields.sfmt_smass.f
46368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46369 const IDESC * UNUSED idesc = abuf->idesc;
46370 int cycles = 0;
46372 int referenced = 0;
46373 int UNUSED insn_referenced = abuf->written;
46374 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46376 return cycles;
46377 #undef FLD
46380 static int
46381 model_tomcat_smass (SIM_CPU *current_cpu, void *sem_arg)
46383 #define FLD(f) abuf->fields.sfmt_smass.f
46384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46385 const IDESC * UNUSED idesc = abuf->idesc;
46386 int cycles = 0;
46388 int referenced = 0;
46389 int UNUSED insn_referenced = abuf->written;
46390 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46392 return cycles;
46393 #undef FLD
46396 static int
46397 model_tomcat_smsss (SIM_CPU *current_cpu, void *sem_arg)
46399 #define FLD(f) abuf->fields.sfmt_smass.f
46400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46401 const IDESC * UNUSED idesc = abuf->idesc;
46402 int cycles = 0;
46404 int referenced = 0;
46405 int UNUSED insn_referenced = abuf->written;
46406 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46408 return cycles;
46409 #undef FLD
46412 static int
46413 model_tomcat_sll (SIM_CPU *current_cpu, void *sem_arg)
46415 #define FLD(f) abuf->fields.sfmt_addcc.f
46416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46417 const IDESC * UNUSED idesc = abuf->idesc;
46418 int cycles = 0;
46420 int referenced = 0;
46421 int UNUSED insn_referenced = abuf->written;
46422 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46424 return cycles;
46425 #undef FLD
46428 static int
46429 model_tomcat_srl (SIM_CPU *current_cpu, void *sem_arg)
46431 #define FLD(f) abuf->fields.sfmt_addcc.f
46432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46433 const IDESC * UNUSED idesc = abuf->idesc;
46434 int cycles = 0;
46436 int referenced = 0;
46437 int UNUSED insn_referenced = abuf->written;
46438 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46440 return cycles;
46441 #undef FLD
46444 static int
46445 model_tomcat_sra (SIM_CPU *current_cpu, void *sem_arg)
46447 #define FLD(f) abuf->fields.sfmt_addcc.f
46448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46449 const IDESC * UNUSED idesc = abuf->idesc;
46450 int cycles = 0;
46452 int referenced = 0;
46453 int UNUSED insn_referenced = abuf->written;
46454 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46456 return cycles;
46457 #undef FLD
46460 static int
46461 model_tomcat_slass (SIM_CPU *current_cpu, void *sem_arg)
46463 #define FLD(f) abuf->fields.sfmt_addcc.f
46464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46465 const IDESC * UNUSED idesc = abuf->idesc;
46466 int cycles = 0;
46468 int referenced = 0;
46469 int UNUSED insn_referenced = abuf->written;
46470 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46472 return cycles;
46473 #undef FLD
46476 static int
46477 model_tomcat_scutss (SIM_CPU *current_cpu, void *sem_arg)
46479 #define FLD(f) abuf->fields.sfmt_scutss.f
46480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46481 const IDESC * UNUSED idesc = abuf->idesc;
46482 int cycles = 0;
46484 int referenced = 0;
46485 int UNUSED insn_referenced = abuf->written;
46486 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46488 return cycles;
46489 #undef FLD
46492 static int
46493 model_tomcat_scan (SIM_CPU *current_cpu, void *sem_arg)
46495 #define FLD(f) abuf->fields.sfmt_addcc.f
46496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46497 const IDESC * UNUSED idesc = abuf->idesc;
46498 int cycles = 0;
46500 int referenced = 0;
46501 int UNUSED insn_referenced = abuf->written;
46502 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46504 return cycles;
46505 #undef FLD
46508 static int
46509 model_tomcat_cadd (SIM_CPU *current_cpu, void *sem_arg)
46511 #define FLD(f) abuf->fields.sfmt_cswap.f
46512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46513 const IDESC * UNUSED idesc = abuf->idesc;
46514 int cycles = 0;
46516 int referenced = 0;
46517 int UNUSED insn_referenced = abuf->written;
46518 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46520 return cycles;
46521 #undef FLD
46524 static int
46525 model_tomcat_csub (SIM_CPU *current_cpu, void *sem_arg)
46527 #define FLD(f) abuf->fields.sfmt_cswap.f
46528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46529 const IDESC * UNUSED idesc = abuf->idesc;
46530 int cycles = 0;
46532 int referenced = 0;
46533 int UNUSED insn_referenced = abuf->written;
46534 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46536 return cycles;
46537 #undef FLD
46540 static int
46541 model_tomcat_cand (SIM_CPU *current_cpu, void *sem_arg)
46543 #define FLD(f) abuf->fields.sfmt_cswap.f
46544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46545 const IDESC * UNUSED idesc = abuf->idesc;
46546 int cycles = 0;
46548 int referenced = 0;
46549 int UNUSED insn_referenced = abuf->written;
46550 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46552 return cycles;
46553 #undef FLD
46556 static int
46557 model_tomcat_cor (SIM_CPU *current_cpu, void *sem_arg)
46559 #define FLD(f) abuf->fields.sfmt_cswap.f
46560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46561 const IDESC * UNUSED idesc = abuf->idesc;
46562 int cycles = 0;
46564 int referenced = 0;
46565 int UNUSED insn_referenced = abuf->written;
46566 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46568 return cycles;
46569 #undef FLD
46572 static int
46573 model_tomcat_cxor (SIM_CPU *current_cpu, void *sem_arg)
46575 #define FLD(f) abuf->fields.sfmt_cswap.f
46576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46577 const IDESC * UNUSED idesc = abuf->idesc;
46578 int cycles = 0;
46580 int referenced = 0;
46581 int UNUSED insn_referenced = abuf->written;
46582 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46584 return cycles;
46585 #undef FLD
46588 static int
46589 model_tomcat_cnot (SIM_CPU *current_cpu, void *sem_arg)
46591 #define FLD(f) abuf->fields.sfmt_cswap.f
46592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46593 const IDESC * UNUSED idesc = abuf->idesc;
46594 int cycles = 0;
46596 int referenced = 0;
46597 int UNUSED insn_referenced = abuf->written;
46598 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46600 return cycles;
46601 #undef FLD
46604 static int
46605 model_tomcat_csmul (SIM_CPU *current_cpu, void *sem_arg)
46607 #define FLD(f) abuf->fields.sfmt_clddu.f
46608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46609 const IDESC * UNUSED idesc = abuf->idesc;
46610 int cycles = 0;
46612 int referenced = 0;
46613 int UNUSED insn_referenced = abuf->written;
46614 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46616 return cycles;
46617 #undef FLD
46620 static int
46621 model_tomcat_csdiv (SIM_CPU *current_cpu, void *sem_arg)
46623 #define FLD(f) abuf->fields.sfmt_cswap.f
46624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46625 const IDESC * UNUSED idesc = abuf->idesc;
46626 int cycles = 0;
46628 int referenced = 0;
46629 int UNUSED insn_referenced = abuf->written;
46630 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46632 return cycles;
46633 #undef FLD
46636 static int
46637 model_tomcat_cudiv (SIM_CPU *current_cpu, void *sem_arg)
46639 #define FLD(f) abuf->fields.sfmt_cswap.f
46640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46641 const IDESC * UNUSED idesc = abuf->idesc;
46642 int cycles = 0;
46644 int referenced = 0;
46645 int UNUSED insn_referenced = abuf->written;
46646 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46648 return cycles;
46649 #undef FLD
46652 static int
46653 model_tomcat_csll (SIM_CPU *current_cpu, void *sem_arg)
46655 #define FLD(f) abuf->fields.sfmt_cswap.f
46656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46657 const IDESC * UNUSED idesc = abuf->idesc;
46658 int cycles = 0;
46660 int referenced = 0;
46661 int UNUSED insn_referenced = abuf->written;
46662 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46664 return cycles;
46665 #undef FLD
46668 static int
46669 model_tomcat_csrl (SIM_CPU *current_cpu, void *sem_arg)
46671 #define FLD(f) abuf->fields.sfmt_cswap.f
46672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46673 const IDESC * UNUSED idesc = abuf->idesc;
46674 int cycles = 0;
46676 int referenced = 0;
46677 int UNUSED insn_referenced = abuf->written;
46678 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46680 return cycles;
46681 #undef FLD
46684 static int
46685 model_tomcat_csra (SIM_CPU *current_cpu, void *sem_arg)
46687 #define FLD(f) abuf->fields.sfmt_cswap.f
46688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46689 const IDESC * UNUSED idesc = abuf->idesc;
46690 int cycles = 0;
46692 int referenced = 0;
46693 int UNUSED insn_referenced = abuf->written;
46694 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46696 return cycles;
46697 #undef FLD
46700 static int
46701 model_tomcat_cscan (SIM_CPU *current_cpu, void *sem_arg)
46703 #define FLD(f) abuf->fields.sfmt_cswap.f
46704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46705 const IDESC * UNUSED idesc = abuf->idesc;
46706 int cycles = 0;
46708 int referenced = 0;
46709 int UNUSED insn_referenced = abuf->written;
46710 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46712 return cycles;
46713 #undef FLD
46716 static int
46717 model_tomcat_addcc (SIM_CPU *current_cpu, void *sem_arg)
46719 #define FLD(f) abuf->fields.sfmt_addcc.f
46720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46721 const IDESC * UNUSED idesc = abuf->idesc;
46722 int cycles = 0;
46724 int referenced = 0;
46725 int UNUSED insn_referenced = abuf->written;
46726 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46728 return cycles;
46729 #undef FLD
46732 static int
46733 model_tomcat_subcc (SIM_CPU *current_cpu, void *sem_arg)
46735 #define FLD(f) abuf->fields.sfmt_addcc.f
46736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46737 const IDESC * UNUSED idesc = abuf->idesc;
46738 int cycles = 0;
46740 int referenced = 0;
46741 int UNUSED insn_referenced = abuf->written;
46742 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46744 return cycles;
46745 #undef FLD
46748 static int
46749 model_tomcat_andcc (SIM_CPU *current_cpu, void *sem_arg)
46751 #define FLD(f) abuf->fields.sfmt_addcc.f
46752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46753 const IDESC * UNUSED idesc = abuf->idesc;
46754 int cycles = 0;
46756 int referenced = 0;
46757 int UNUSED insn_referenced = abuf->written;
46758 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46760 return cycles;
46761 #undef FLD
46764 static int
46765 model_tomcat_orcc (SIM_CPU *current_cpu, void *sem_arg)
46767 #define FLD(f) abuf->fields.sfmt_addcc.f
46768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46769 const IDESC * UNUSED idesc = abuf->idesc;
46770 int cycles = 0;
46772 int referenced = 0;
46773 int UNUSED insn_referenced = abuf->written;
46774 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46776 return cycles;
46777 #undef FLD
46780 static int
46781 model_tomcat_xorcc (SIM_CPU *current_cpu, void *sem_arg)
46783 #define FLD(f) abuf->fields.sfmt_addcc.f
46784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46785 const IDESC * UNUSED idesc = abuf->idesc;
46786 int cycles = 0;
46788 int referenced = 0;
46789 int UNUSED insn_referenced = abuf->written;
46790 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46792 return cycles;
46793 #undef FLD
46796 static int
46797 model_tomcat_sllcc (SIM_CPU *current_cpu, void *sem_arg)
46799 #define FLD(f) abuf->fields.sfmt_addcc.f
46800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46801 const IDESC * UNUSED idesc = abuf->idesc;
46802 int cycles = 0;
46804 int referenced = 0;
46805 int UNUSED insn_referenced = abuf->written;
46806 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46808 return cycles;
46809 #undef FLD
46812 static int
46813 model_tomcat_srlcc (SIM_CPU *current_cpu, void *sem_arg)
46815 #define FLD(f) abuf->fields.sfmt_addcc.f
46816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46817 const IDESC * UNUSED idesc = abuf->idesc;
46818 int cycles = 0;
46820 int referenced = 0;
46821 int UNUSED insn_referenced = abuf->written;
46822 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46824 return cycles;
46825 #undef FLD
46828 static int
46829 model_tomcat_sracc (SIM_CPU *current_cpu, void *sem_arg)
46831 #define FLD(f) abuf->fields.sfmt_addcc.f
46832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46833 const IDESC * UNUSED idesc = abuf->idesc;
46834 int cycles = 0;
46836 int referenced = 0;
46837 int UNUSED insn_referenced = abuf->written;
46838 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46840 return cycles;
46841 #undef FLD
46844 static int
46845 model_tomcat_smulcc (SIM_CPU *current_cpu, void *sem_arg)
46847 #define FLD(f) abuf->fields.sfmt_smulcc.f
46848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46849 const IDESC * UNUSED idesc = abuf->idesc;
46850 int cycles = 0;
46852 int referenced = 0;
46853 int UNUSED insn_referenced = abuf->written;
46854 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46856 return cycles;
46857 #undef FLD
46860 static int
46861 model_tomcat_umulcc (SIM_CPU *current_cpu, void *sem_arg)
46863 #define FLD(f) abuf->fields.sfmt_smulcc.f
46864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46865 const IDESC * UNUSED idesc = abuf->idesc;
46866 int cycles = 0;
46868 int referenced = 0;
46869 int UNUSED insn_referenced = abuf->written;
46870 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46872 return cycles;
46873 #undef FLD
46876 static int
46877 model_tomcat_caddcc (SIM_CPU *current_cpu, void *sem_arg)
46879 #define FLD(f) abuf->fields.sfmt_caddcc.f
46880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46881 const IDESC * UNUSED idesc = abuf->idesc;
46882 int cycles = 0;
46884 int referenced = 0;
46885 int UNUSED insn_referenced = abuf->written;
46886 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46888 return cycles;
46889 #undef FLD
46892 static int
46893 model_tomcat_csubcc (SIM_CPU *current_cpu, void *sem_arg)
46895 #define FLD(f) abuf->fields.sfmt_caddcc.f
46896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46897 const IDESC * UNUSED idesc = abuf->idesc;
46898 int cycles = 0;
46900 int referenced = 0;
46901 int UNUSED insn_referenced = abuf->written;
46902 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46904 return cycles;
46905 #undef FLD
46908 static int
46909 model_tomcat_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
46911 #define FLD(f) abuf->fields.sfmt_csmulcc.f
46912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46913 const IDESC * UNUSED idesc = abuf->idesc;
46914 int cycles = 0;
46916 int referenced = 0;
46917 int UNUSED insn_referenced = abuf->written;
46918 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46920 return cycles;
46921 #undef FLD
46924 static int
46925 model_tomcat_candcc (SIM_CPU *current_cpu, void *sem_arg)
46927 #define FLD(f) abuf->fields.sfmt_caddcc.f
46928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46929 const IDESC * UNUSED idesc = abuf->idesc;
46930 int cycles = 0;
46932 int referenced = 0;
46933 int UNUSED insn_referenced = abuf->written;
46934 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46936 return cycles;
46937 #undef FLD
46940 static int
46941 model_tomcat_corcc (SIM_CPU *current_cpu, void *sem_arg)
46943 #define FLD(f) abuf->fields.sfmt_caddcc.f
46944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46945 const IDESC * UNUSED idesc = abuf->idesc;
46946 int cycles = 0;
46948 int referenced = 0;
46949 int UNUSED insn_referenced = abuf->written;
46950 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46952 return cycles;
46953 #undef FLD
46956 static int
46957 model_tomcat_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
46959 #define FLD(f) abuf->fields.sfmt_caddcc.f
46960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46961 const IDESC * UNUSED idesc = abuf->idesc;
46962 int cycles = 0;
46964 int referenced = 0;
46965 int UNUSED insn_referenced = abuf->written;
46966 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46968 return cycles;
46969 #undef FLD
46972 static int
46973 model_tomcat_csllcc (SIM_CPU *current_cpu, void *sem_arg)
46975 #define FLD(f) abuf->fields.sfmt_caddcc.f
46976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46977 const IDESC * UNUSED idesc = abuf->idesc;
46978 int cycles = 0;
46980 int referenced = 0;
46981 int UNUSED insn_referenced = abuf->written;
46982 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46984 return cycles;
46985 #undef FLD
46988 static int
46989 model_tomcat_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
46991 #define FLD(f) abuf->fields.sfmt_caddcc.f
46992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46993 const IDESC * UNUSED idesc = abuf->idesc;
46994 int cycles = 0;
46996 int referenced = 0;
46997 int UNUSED insn_referenced = abuf->written;
46998 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47000 return cycles;
47001 #undef FLD
47004 static int
47005 model_tomcat_csracc (SIM_CPU *current_cpu, void *sem_arg)
47007 #define FLD(f) abuf->fields.sfmt_caddcc.f
47008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47009 const IDESC * UNUSED idesc = abuf->idesc;
47010 int cycles = 0;
47012 int referenced = 0;
47013 int UNUSED insn_referenced = abuf->written;
47014 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47016 return cycles;
47017 #undef FLD
47020 static int
47021 model_tomcat_addx (SIM_CPU *current_cpu, void *sem_arg)
47023 #define FLD(f) abuf->fields.sfmt_addcc.f
47024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47025 const IDESC * UNUSED idesc = abuf->idesc;
47026 int cycles = 0;
47028 int referenced = 0;
47029 int UNUSED insn_referenced = abuf->written;
47030 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47032 return cycles;
47033 #undef FLD
47036 static int
47037 model_tomcat_subx (SIM_CPU *current_cpu, void *sem_arg)
47039 #define FLD(f) abuf->fields.sfmt_addcc.f
47040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47041 const IDESC * UNUSED idesc = abuf->idesc;
47042 int cycles = 0;
47044 int referenced = 0;
47045 int UNUSED insn_referenced = abuf->written;
47046 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47048 return cycles;
47049 #undef FLD
47052 static int
47053 model_tomcat_addxcc (SIM_CPU *current_cpu, void *sem_arg)
47055 #define FLD(f) abuf->fields.sfmt_addcc.f
47056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47057 const IDESC * UNUSED idesc = abuf->idesc;
47058 int cycles = 0;
47060 int referenced = 0;
47061 int UNUSED insn_referenced = abuf->written;
47062 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47064 return cycles;
47065 #undef FLD
47068 static int
47069 model_tomcat_subxcc (SIM_CPU *current_cpu, void *sem_arg)
47071 #define FLD(f) abuf->fields.sfmt_addcc.f
47072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47073 const IDESC * UNUSED idesc = abuf->idesc;
47074 int cycles = 0;
47076 int referenced = 0;
47077 int UNUSED insn_referenced = abuf->written;
47078 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47080 return cycles;
47081 #undef FLD
47084 static int
47085 model_tomcat_addss (SIM_CPU *current_cpu, void *sem_arg)
47087 #define FLD(f) abuf->fields.sfmt_addcc.f
47088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47089 const IDESC * UNUSED idesc = abuf->idesc;
47090 int cycles = 0;
47092 int referenced = 0;
47093 int UNUSED insn_referenced = abuf->written;
47094 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47096 return cycles;
47097 #undef FLD
47100 static int
47101 model_tomcat_subss (SIM_CPU *current_cpu, void *sem_arg)
47103 #define FLD(f) abuf->fields.sfmt_addcc.f
47104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47105 const IDESC * UNUSED idesc = abuf->idesc;
47106 int cycles = 0;
47108 int referenced = 0;
47109 int UNUSED insn_referenced = abuf->written;
47110 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47112 return cycles;
47113 #undef FLD
47116 static int
47117 model_tomcat_addi (SIM_CPU *current_cpu, void *sem_arg)
47119 #define FLD(f) abuf->fields.sfmt_swapi.f
47120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47121 const IDESC * UNUSED idesc = abuf->idesc;
47122 int cycles = 0;
47124 int referenced = 0;
47125 int UNUSED insn_referenced = abuf->written;
47126 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47128 return cycles;
47129 #undef FLD
47132 static int
47133 model_tomcat_subi (SIM_CPU *current_cpu, void *sem_arg)
47135 #define FLD(f) abuf->fields.sfmt_swapi.f
47136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47137 const IDESC * UNUSED idesc = abuf->idesc;
47138 int cycles = 0;
47140 int referenced = 0;
47141 int UNUSED insn_referenced = abuf->written;
47142 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47144 return cycles;
47145 #undef FLD
47148 static int
47149 model_tomcat_andi (SIM_CPU *current_cpu, void *sem_arg)
47151 #define FLD(f) abuf->fields.sfmt_swapi.f
47152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47153 const IDESC * UNUSED idesc = abuf->idesc;
47154 int cycles = 0;
47156 int referenced = 0;
47157 int UNUSED insn_referenced = abuf->written;
47158 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47160 return cycles;
47161 #undef FLD
47164 static int
47165 model_tomcat_ori (SIM_CPU *current_cpu, void *sem_arg)
47167 #define FLD(f) abuf->fields.sfmt_swapi.f
47168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47169 const IDESC * UNUSED idesc = abuf->idesc;
47170 int cycles = 0;
47172 int referenced = 0;
47173 int UNUSED insn_referenced = abuf->written;
47174 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47176 return cycles;
47177 #undef FLD
47180 static int
47181 model_tomcat_xori (SIM_CPU *current_cpu, void *sem_arg)
47183 #define FLD(f) abuf->fields.sfmt_swapi.f
47184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47185 const IDESC * UNUSED idesc = abuf->idesc;
47186 int cycles = 0;
47188 int referenced = 0;
47189 int UNUSED insn_referenced = abuf->written;
47190 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47192 return cycles;
47193 #undef FLD
47196 static int
47197 model_tomcat_sdivi (SIM_CPU *current_cpu, void *sem_arg)
47199 #define FLD(f) abuf->fields.sfmt_swapi.f
47200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47201 const IDESC * UNUSED idesc = abuf->idesc;
47202 int cycles = 0;
47204 int referenced = 0;
47205 int UNUSED insn_referenced = abuf->written;
47206 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47208 return cycles;
47209 #undef FLD
47212 static int
47213 model_tomcat_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
47215 #define FLD(f) abuf->fields.sfmt_swapi.f
47216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47217 const IDESC * UNUSED idesc = abuf->idesc;
47218 int cycles = 0;
47220 int referenced = 0;
47221 int UNUSED insn_referenced = abuf->written;
47222 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47224 return cycles;
47225 #undef FLD
47228 static int
47229 model_tomcat_udivi (SIM_CPU *current_cpu, void *sem_arg)
47231 #define FLD(f) abuf->fields.sfmt_swapi.f
47232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47233 const IDESC * UNUSED idesc = abuf->idesc;
47234 int cycles = 0;
47236 int referenced = 0;
47237 int UNUSED insn_referenced = abuf->written;
47238 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47240 return cycles;
47241 #undef FLD
47244 static int
47245 model_tomcat_nudivi (SIM_CPU *current_cpu, void *sem_arg)
47247 #define FLD(f) abuf->fields.sfmt_swapi.f
47248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47249 const IDESC * UNUSED idesc = abuf->idesc;
47250 int cycles = 0;
47252 int referenced = 0;
47253 int UNUSED insn_referenced = abuf->written;
47254 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47256 return cycles;
47257 #undef FLD
47260 static int
47261 model_tomcat_smuli (SIM_CPU *current_cpu, void *sem_arg)
47263 #define FLD(f) abuf->fields.sfmt_smuli.f
47264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47265 const IDESC * UNUSED idesc = abuf->idesc;
47266 int cycles = 0;
47268 int referenced = 0;
47269 int UNUSED insn_referenced = abuf->written;
47270 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47272 return cycles;
47273 #undef FLD
47276 static int
47277 model_tomcat_umuli (SIM_CPU *current_cpu, void *sem_arg)
47279 #define FLD(f) abuf->fields.sfmt_smuli.f
47280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47281 const IDESC * UNUSED idesc = abuf->idesc;
47282 int cycles = 0;
47284 int referenced = 0;
47285 int UNUSED insn_referenced = abuf->written;
47286 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47288 return cycles;
47289 #undef FLD
47292 static int
47293 model_tomcat_slli (SIM_CPU *current_cpu, void *sem_arg)
47295 #define FLD(f) abuf->fields.sfmt_swapi.f
47296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47297 const IDESC * UNUSED idesc = abuf->idesc;
47298 int cycles = 0;
47300 int referenced = 0;
47301 int UNUSED insn_referenced = abuf->written;
47302 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47304 return cycles;
47305 #undef FLD
47308 static int
47309 model_tomcat_srli (SIM_CPU *current_cpu, void *sem_arg)
47311 #define FLD(f) abuf->fields.sfmt_swapi.f
47312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47313 const IDESC * UNUSED idesc = abuf->idesc;
47314 int cycles = 0;
47316 int referenced = 0;
47317 int UNUSED insn_referenced = abuf->written;
47318 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47320 return cycles;
47321 #undef FLD
47324 static int
47325 model_tomcat_srai (SIM_CPU *current_cpu, void *sem_arg)
47327 #define FLD(f) abuf->fields.sfmt_swapi.f
47328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47329 const IDESC * UNUSED idesc = abuf->idesc;
47330 int cycles = 0;
47332 int referenced = 0;
47333 int UNUSED insn_referenced = abuf->written;
47334 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47336 return cycles;
47337 #undef FLD
47340 static int
47341 model_tomcat_scani (SIM_CPU *current_cpu, void *sem_arg)
47343 #define FLD(f) abuf->fields.sfmt_swapi.f
47344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47345 const IDESC * UNUSED idesc = abuf->idesc;
47346 int cycles = 0;
47348 int referenced = 0;
47349 int UNUSED insn_referenced = abuf->written;
47350 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47352 return cycles;
47353 #undef FLD
47356 static int
47357 model_tomcat_addicc (SIM_CPU *current_cpu, void *sem_arg)
47359 #define FLD(f) abuf->fields.sfmt_addicc.f
47360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47361 const IDESC * UNUSED idesc = abuf->idesc;
47362 int cycles = 0;
47364 int referenced = 0;
47365 int UNUSED insn_referenced = abuf->written;
47366 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47368 return cycles;
47369 #undef FLD
47372 static int
47373 model_tomcat_subicc (SIM_CPU *current_cpu, void *sem_arg)
47375 #define FLD(f) abuf->fields.sfmt_addicc.f
47376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47377 const IDESC * UNUSED idesc = abuf->idesc;
47378 int cycles = 0;
47380 int referenced = 0;
47381 int UNUSED insn_referenced = abuf->written;
47382 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47384 return cycles;
47385 #undef FLD
47388 static int
47389 model_tomcat_andicc (SIM_CPU *current_cpu, void *sem_arg)
47391 #define FLD(f) abuf->fields.sfmt_addicc.f
47392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47393 const IDESC * UNUSED idesc = abuf->idesc;
47394 int cycles = 0;
47396 int referenced = 0;
47397 int UNUSED insn_referenced = abuf->written;
47398 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47400 return cycles;
47401 #undef FLD
47404 static int
47405 model_tomcat_oricc (SIM_CPU *current_cpu, void *sem_arg)
47407 #define FLD(f) abuf->fields.sfmt_addicc.f
47408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47409 const IDESC * UNUSED idesc = abuf->idesc;
47410 int cycles = 0;
47412 int referenced = 0;
47413 int UNUSED insn_referenced = abuf->written;
47414 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47416 return cycles;
47417 #undef FLD
47420 static int
47421 model_tomcat_xoricc (SIM_CPU *current_cpu, void *sem_arg)
47423 #define FLD(f) abuf->fields.sfmt_addicc.f
47424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47425 const IDESC * UNUSED idesc = abuf->idesc;
47426 int cycles = 0;
47428 int referenced = 0;
47429 int UNUSED insn_referenced = abuf->written;
47430 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47432 return cycles;
47433 #undef FLD
47436 static int
47437 model_tomcat_smulicc (SIM_CPU *current_cpu, void *sem_arg)
47439 #define FLD(f) abuf->fields.sfmt_smulicc.f
47440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47441 const IDESC * UNUSED idesc = abuf->idesc;
47442 int cycles = 0;
47444 int referenced = 0;
47445 int UNUSED insn_referenced = abuf->written;
47446 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47448 return cycles;
47449 #undef FLD
47452 static int
47453 model_tomcat_umulicc (SIM_CPU *current_cpu, void *sem_arg)
47455 #define FLD(f) abuf->fields.sfmt_smulicc.f
47456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47457 const IDESC * UNUSED idesc = abuf->idesc;
47458 int cycles = 0;
47460 int referenced = 0;
47461 int UNUSED insn_referenced = abuf->written;
47462 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47464 return cycles;
47465 #undef FLD
47468 static int
47469 model_tomcat_sllicc (SIM_CPU *current_cpu, void *sem_arg)
47471 #define FLD(f) abuf->fields.sfmt_addicc.f
47472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47473 const IDESC * UNUSED idesc = abuf->idesc;
47474 int cycles = 0;
47476 int referenced = 0;
47477 int UNUSED insn_referenced = abuf->written;
47478 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47480 return cycles;
47481 #undef FLD
47484 static int
47485 model_tomcat_srlicc (SIM_CPU *current_cpu, void *sem_arg)
47487 #define FLD(f) abuf->fields.sfmt_addicc.f
47488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47489 const IDESC * UNUSED idesc = abuf->idesc;
47490 int cycles = 0;
47492 int referenced = 0;
47493 int UNUSED insn_referenced = abuf->written;
47494 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47496 return cycles;
47497 #undef FLD
47500 static int
47501 model_tomcat_sraicc (SIM_CPU *current_cpu, void *sem_arg)
47503 #define FLD(f) abuf->fields.sfmt_addicc.f
47504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47505 const IDESC * UNUSED idesc = abuf->idesc;
47506 int cycles = 0;
47508 int referenced = 0;
47509 int UNUSED insn_referenced = abuf->written;
47510 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47512 return cycles;
47513 #undef FLD
47516 static int
47517 model_tomcat_addxi (SIM_CPU *current_cpu, void *sem_arg)
47519 #define FLD(f) abuf->fields.sfmt_addicc.f
47520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47521 const IDESC * UNUSED idesc = abuf->idesc;
47522 int cycles = 0;
47524 int referenced = 0;
47525 int UNUSED insn_referenced = abuf->written;
47526 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47528 return cycles;
47529 #undef FLD
47532 static int
47533 model_tomcat_subxi (SIM_CPU *current_cpu, void *sem_arg)
47535 #define FLD(f) abuf->fields.sfmt_addicc.f
47536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47537 const IDESC * UNUSED idesc = abuf->idesc;
47538 int cycles = 0;
47540 int referenced = 0;
47541 int UNUSED insn_referenced = abuf->written;
47542 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47544 return cycles;
47545 #undef FLD
47548 static int
47549 model_tomcat_addxicc (SIM_CPU *current_cpu, void *sem_arg)
47551 #define FLD(f) abuf->fields.sfmt_addicc.f
47552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47553 const IDESC * UNUSED idesc = abuf->idesc;
47554 int cycles = 0;
47556 int referenced = 0;
47557 int UNUSED insn_referenced = abuf->written;
47558 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47560 return cycles;
47561 #undef FLD
47564 static int
47565 model_tomcat_subxicc (SIM_CPU *current_cpu, void *sem_arg)
47567 #define FLD(f) abuf->fields.sfmt_addicc.f
47568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47569 const IDESC * UNUSED idesc = abuf->idesc;
47570 int cycles = 0;
47572 int referenced = 0;
47573 int UNUSED insn_referenced = abuf->written;
47574 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47576 return cycles;
47577 #undef FLD
47580 static int
47581 model_tomcat_cmpb (SIM_CPU *current_cpu, void *sem_arg)
47583 #define FLD(f) abuf->fields.sfmt_smulcc.f
47584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47585 const IDESC * UNUSED idesc = abuf->idesc;
47586 int cycles = 0;
47588 int referenced = 0;
47589 int UNUSED insn_referenced = abuf->written;
47590 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47592 return cycles;
47593 #undef FLD
47596 static int
47597 model_tomcat_cmpba (SIM_CPU *current_cpu, void *sem_arg)
47599 #define FLD(f) abuf->fields.sfmt_smulcc.f
47600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47601 const IDESC * UNUSED idesc = abuf->idesc;
47602 int cycles = 0;
47604 int referenced = 0;
47605 int UNUSED insn_referenced = abuf->written;
47606 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47608 return cycles;
47609 #undef FLD
47612 static int
47613 model_tomcat_setlo (SIM_CPU *current_cpu, void *sem_arg)
47615 #define FLD(f) abuf->fields.sfmt_setlo.f
47616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47617 const IDESC * UNUSED idesc = abuf->idesc;
47618 int cycles = 0;
47620 int referenced = 0;
47621 int UNUSED insn_referenced = abuf->written;
47622 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47624 return cycles;
47625 #undef FLD
47628 static int
47629 model_tomcat_sethi (SIM_CPU *current_cpu, void *sem_arg)
47631 #define FLD(f) abuf->fields.sfmt_sethi.f
47632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47633 const IDESC * UNUSED idesc = abuf->idesc;
47634 int cycles = 0;
47636 int referenced = 0;
47637 int UNUSED insn_referenced = abuf->written;
47638 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47640 return cycles;
47641 #undef FLD
47644 static int
47645 model_tomcat_setlos (SIM_CPU *current_cpu, void *sem_arg)
47647 #define FLD(f) abuf->fields.sfmt_setlos.f
47648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47649 const IDESC * UNUSED idesc = abuf->idesc;
47650 int cycles = 0;
47652 int referenced = 0;
47653 int UNUSED insn_referenced = abuf->written;
47654 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47656 return cycles;
47657 #undef FLD
47660 static int
47661 model_tomcat_ldsb (SIM_CPU *current_cpu, void *sem_arg)
47663 #define FLD(f) abuf->fields.sfmt_addcc.f
47664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47665 const IDESC * UNUSED idesc = abuf->idesc;
47666 int cycles = 0;
47668 int referenced = 0;
47669 int UNUSED insn_referenced = abuf->written;
47670 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47672 return cycles;
47673 #undef FLD
47676 static int
47677 model_tomcat_ldub (SIM_CPU *current_cpu, void *sem_arg)
47679 #define FLD(f) abuf->fields.sfmt_addcc.f
47680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47681 const IDESC * UNUSED idesc = abuf->idesc;
47682 int cycles = 0;
47684 int referenced = 0;
47685 int UNUSED insn_referenced = abuf->written;
47686 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47688 return cycles;
47689 #undef FLD
47692 static int
47693 model_tomcat_ldsh (SIM_CPU *current_cpu, void *sem_arg)
47695 #define FLD(f) abuf->fields.sfmt_addcc.f
47696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47697 const IDESC * UNUSED idesc = abuf->idesc;
47698 int cycles = 0;
47700 int referenced = 0;
47701 int UNUSED insn_referenced = abuf->written;
47702 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47704 return cycles;
47705 #undef FLD
47708 static int
47709 model_tomcat_lduh (SIM_CPU *current_cpu, void *sem_arg)
47711 #define FLD(f) abuf->fields.sfmt_addcc.f
47712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47713 const IDESC * UNUSED idesc = abuf->idesc;
47714 int cycles = 0;
47716 int referenced = 0;
47717 int UNUSED insn_referenced = abuf->written;
47718 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47720 return cycles;
47721 #undef FLD
47724 static int
47725 model_tomcat_ld (SIM_CPU *current_cpu, void *sem_arg)
47727 #define FLD(f) abuf->fields.sfmt_addcc.f
47728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47729 const IDESC * UNUSED idesc = abuf->idesc;
47730 int cycles = 0;
47732 int referenced = 0;
47733 int UNUSED insn_referenced = abuf->written;
47734 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47736 return cycles;
47737 #undef FLD
47740 static int
47741 model_tomcat_ldbf (SIM_CPU *current_cpu, void *sem_arg)
47743 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47745 const IDESC * UNUSED idesc = abuf->idesc;
47746 int cycles = 0;
47748 int referenced = 0;
47749 int UNUSED insn_referenced = abuf->written;
47750 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47752 return cycles;
47753 #undef FLD
47756 static int
47757 model_tomcat_ldhf (SIM_CPU *current_cpu, void *sem_arg)
47759 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47761 const IDESC * UNUSED idesc = abuf->idesc;
47762 int cycles = 0;
47764 int referenced = 0;
47765 int UNUSED insn_referenced = abuf->written;
47766 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47768 return cycles;
47769 #undef FLD
47772 static int
47773 model_tomcat_ldf (SIM_CPU *current_cpu, void *sem_arg)
47775 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47777 const IDESC * UNUSED idesc = abuf->idesc;
47778 int cycles = 0;
47780 int referenced = 0;
47781 int UNUSED insn_referenced = abuf->written;
47782 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47784 return cycles;
47785 #undef FLD
47788 static int
47789 model_tomcat_ldc (SIM_CPU *current_cpu, void *sem_arg)
47791 #define FLD(f) abuf->fields.sfmt_ldcu.f
47792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47793 const IDESC * UNUSED idesc = abuf->idesc;
47794 int cycles = 0;
47796 int referenced = 0;
47797 int UNUSED insn_referenced = abuf->written;
47798 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47800 return cycles;
47801 #undef FLD
47804 static int
47805 model_tomcat_nldsb (SIM_CPU *current_cpu, void *sem_arg)
47807 #define FLD(f) abuf->fields.sfmt_addcc.f
47808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47809 const IDESC * UNUSED idesc = abuf->idesc;
47810 int cycles = 0;
47812 int referenced = 0;
47813 int UNUSED insn_referenced = abuf->written;
47814 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47816 return cycles;
47817 #undef FLD
47820 static int
47821 model_tomcat_nldub (SIM_CPU *current_cpu, void *sem_arg)
47823 #define FLD(f) abuf->fields.sfmt_addcc.f
47824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47825 const IDESC * UNUSED idesc = abuf->idesc;
47826 int cycles = 0;
47828 int referenced = 0;
47829 int UNUSED insn_referenced = abuf->written;
47830 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47832 return cycles;
47833 #undef FLD
47836 static int
47837 model_tomcat_nldsh (SIM_CPU *current_cpu, void *sem_arg)
47839 #define FLD(f) abuf->fields.sfmt_addcc.f
47840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47841 const IDESC * UNUSED idesc = abuf->idesc;
47842 int cycles = 0;
47844 int referenced = 0;
47845 int UNUSED insn_referenced = abuf->written;
47846 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47848 return cycles;
47849 #undef FLD
47852 static int
47853 model_tomcat_nlduh (SIM_CPU *current_cpu, void *sem_arg)
47855 #define FLD(f) abuf->fields.sfmt_addcc.f
47856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47857 const IDESC * UNUSED idesc = abuf->idesc;
47858 int cycles = 0;
47860 int referenced = 0;
47861 int UNUSED insn_referenced = abuf->written;
47862 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47864 return cycles;
47865 #undef FLD
47868 static int
47869 model_tomcat_nld (SIM_CPU *current_cpu, void *sem_arg)
47871 #define FLD(f) abuf->fields.sfmt_addcc.f
47872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47873 const IDESC * UNUSED idesc = abuf->idesc;
47874 int cycles = 0;
47876 int referenced = 0;
47877 int UNUSED insn_referenced = abuf->written;
47878 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47880 return cycles;
47881 #undef FLD
47884 static int
47885 model_tomcat_nldbf (SIM_CPU *current_cpu, void *sem_arg)
47887 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47889 const IDESC * UNUSED idesc = abuf->idesc;
47890 int cycles = 0;
47892 int referenced = 0;
47893 int UNUSED insn_referenced = abuf->written;
47894 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47896 return cycles;
47897 #undef FLD
47900 static int
47901 model_tomcat_nldhf (SIM_CPU *current_cpu, void *sem_arg)
47903 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47905 const IDESC * UNUSED idesc = abuf->idesc;
47906 int cycles = 0;
47908 int referenced = 0;
47909 int UNUSED insn_referenced = abuf->written;
47910 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47912 return cycles;
47913 #undef FLD
47916 static int
47917 model_tomcat_nldf (SIM_CPU *current_cpu, void *sem_arg)
47919 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47921 const IDESC * UNUSED idesc = abuf->idesc;
47922 int cycles = 0;
47924 int referenced = 0;
47925 int UNUSED insn_referenced = abuf->written;
47926 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47928 return cycles;
47929 #undef FLD
47932 static int
47933 model_tomcat_ldd (SIM_CPU *current_cpu, void *sem_arg)
47935 #define FLD(f) abuf->fields.sfmt_smulcc.f
47936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47937 const IDESC * UNUSED idesc = abuf->idesc;
47938 int cycles = 0;
47940 int referenced = 0;
47941 int UNUSED insn_referenced = abuf->written;
47942 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47944 return cycles;
47945 #undef FLD
47948 static int
47949 model_tomcat_lddf (SIM_CPU *current_cpu, void *sem_arg)
47951 #define FLD(f) abuf->fields.sfmt_clddfu.f
47952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47953 const IDESC * UNUSED idesc = abuf->idesc;
47954 int cycles = 0;
47956 int referenced = 0;
47957 int UNUSED insn_referenced = abuf->written;
47958 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47960 return cycles;
47961 #undef FLD
47964 static int
47965 model_tomcat_lddc (SIM_CPU *current_cpu, void *sem_arg)
47967 #define FLD(f) abuf->fields.sfmt_lddcu.f
47968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47969 const IDESC * UNUSED idesc = abuf->idesc;
47970 int cycles = 0;
47972 int referenced = 0;
47973 int UNUSED insn_referenced = abuf->written;
47974 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47976 return cycles;
47977 #undef FLD
47980 static int
47981 model_tomcat_nldd (SIM_CPU *current_cpu, void *sem_arg)
47983 #define FLD(f) abuf->fields.sfmt_smulcc.f
47984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47985 const IDESC * UNUSED idesc = abuf->idesc;
47986 int cycles = 0;
47988 int referenced = 0;
47989 int UNUSED insn_referenced = abuf->written;
47990 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47992 return cycles;
47993 #undef FLD
47996 static int
47997 model_tomcat_nlddf (SIM_CPU *current_cpu, void *sem_arg)
47999 #define FLD(f) abuf->fields.sfmt_clddfu.f
48000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48001 const IDESC * UNUSED idesc = abuf->idesc;
48002 int cycles = 0;
48004 int referenced = 0;
48005 int UNUSED insn_referenced = abuf->written;
48006 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48008 return cycles;
48009 #undef FLD
48012 static int
48013 model_tomcat_ldq (SIM_CPU *current_cpu, void *sem_arg)
48015 #define FLD(f) abuf->fields.sfmt_smulcc.f
48016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48017 const IDESC * UNUSED idesc = abuf->idesc;
48018 int cycles = 0;
48020 int referenced = 0;
48021 int UNUSED insn_referenced = abuf->written;
48022 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48024 return cycles;
48025 #undef FLD
48028 static int
48029 model_tomcat_ldqf (SIM_CPU *current_cpu, void *sem_arg)
48031 #define FLD(f) abuf->fields.sfmt_cstdfu.f
48032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48033 const IDESC * UNUSED idesc = abuf->idesc;
48034 int cycles = 0;
48036 int referenced = 0;
48037 int UNUSED insn_referenced = abuf->written;
48038 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48040 return cycles;
48041 #undef FLD
48044 static int
48045 model_tomcat_ldqc (SIM_CPU *current_cpu, void *sem_arg)
48047 #define FLD(f) abuf->fields.sfmt_stdcu.f
48048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48049 const IDESC * UNUSED idesc = abuf->idesc;
48050 int cycles = 0;
48052 int referenced = 0;
48053 int UNUSED insn_referenced = abuf->written;
48054 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48056 return cycles;
48057 #undef FLD
48060 static int
48061 model_tomcat_nldq (SIM_CPU *current_cpu, void *sem_arg)
48063 #define FLD(f) abuf->fields.sfmt_smulcc.f
48064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48065 const IDESC * UNUSED idesc = abuf->idesc;
48066 int cycles = 0;
48068 int referenced = 0;
48069 int UNUSED insn_referenced = abuf->written;
48070 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48072 return cycles;
48073 #undef FLD
48076 static int
48077 model_tomcat_nldqf (SIM_CPU *current_cpu, void *sem_arg)
48079 #define FLD(f) abuf->fields.sfmt_cstdfu.f
48080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48081 const IDESC * UNUSED idesc = abuf->idesc;
48082 int cycles = 0;
48084 int referenced = 0;
48085 int UNUSED insn_referenced = abuf->written;
48086 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48088 return cycles;
48089 #undef FLD
48092 static int
48093 model_tomcat_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
48095 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48097 const IDESC * UNUSED idesc = abuf->idesc;
48098 int cycles = 0;
48100 int referenced = 0;
48101 int UNUSED insn_referenced = abuf->written;
48102 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48104 return cycles;
48105 #undef FLD
48108 static int
48109 model_tomcat_ldubu (SIM_CPU *current_cpu, void *sem_arg)
48111 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48113 const IDESC * UNUSED idesc = abuf->idesc;
48114 int cycles = 0;
48116 int referenced = 0;
48117 int UNUSED insn_referenced = abuf->written;
48118 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48120 return cycles;
48121 #undef FLD
48124 static int
48125 model_tomcat_ldshu (SIM_CPU *current_cpu, void *sem_arg)
48127 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48129 const IDESC * UNUSED idesc = abuf->idesc;
48130 int cycles = 0;
48132 int referenced = 0;
48133 int UNUSED insn_referenced = abuf->written;
48134 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48136 return cycles;
48137 #undef FLD
48140 static int
48141 model_tomcat_lduhu (SIM_CPU *current_cpu, void *sem_arg)
48143 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48145 const IDESC * UNUSED idesc = abuf->idesc;
48146 int cycles = 0;
48148 int referenced = 0;
48149 int UNUSED insn_referenced = abuf->written;
48150 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48152 return cycles;
48153 #undef FLD
48156 static int
48157 model_tomcat_ldu (SIM_CPU *current_cpu, void *sem_arg)
48159 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48161 const IDESC * UNUSED idesc = abuf->idesc;
48162 int cycles = 0;
48164 int referenced = 0;
48165 int UNUSED insn_referenced = abuf->written;
48166 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48168 return cycles;
48169 #undef FLD
48172 static int
48173 model_tomcat_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
48175 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48177 const IDESC * UNUSED idesc = abuf->idesc;
48178 int cycles = 0;
48180 int referenced = 0;
48181 int UNUSED insn_referenced = abuf->written;
48182 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48184 return cycles;
48185 #undef FLD
48188 static int
48189 model_tomcat_nldubu (SIM_CPU *current_cpu, void *sem_arg)
48191 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48193 const IDESC * UNUSED idesc = abuf->idesc;
48194 int cycles = 0;
48196 int referenced = 0;
48197 int UNUSED insn_referenced = abuf->written;
48198 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48200 return cycles;
48201 #undef FLD
48204 static int
48205 model_tomcat_nldshu (SIM_CPU *current_cpu, void *sem_arg)
48207 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48209 const IDESC * UNUSED idesc = abuf->idesc;
48210 int cycles = 0;
48212 int referenced = 0;
48213 int UNUSED insn_referenced = abuf->written;
48214 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48216 return cycles;
48217 #undef FLD
48220 static int
48221 model_tomcat_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
48223 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48225 const IDESC * UNUSED idesc = abuf->idesc;
48226 int cycles = 0;
48228 int referenced = 0;
48229 int UNUSED insn_referenced = abuf->written;
48230 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48232 return cycles;
48233 #undef FLD
48236 static int
48237 model_tomcat_nldu (SIM_CPU *current_cpu, void *sem_arg)
48239 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48241 const IDESC * UNUSED idesc = abuf->idesc;
48242 int cycles = 0;
48244 int referenced = 0;
48245 int UNUSED insn_referenced = abuf->written;
48246 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48248 return cycles;
48249 #undef FLD
48252 static int
48253 model_tomcat_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
48255 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48257 const IDESC * UNUSED idesc = abuf->idesc;
48258 int cycles = 0;
48260 int referenced = 0;
48261 int UNUSED insn_referenced = abuf->written;
48262 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48264 return cycles;
48265 #undef FLD
48268 static int
48269 model_tomcat_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
48271 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48273 const IDESC * UNUSED idesc = abuf->idesc;
48274 int cycles = 0;
48276 int referenced = 0;
48277 int UNUSED insn_referenced = abuf->written;
48278 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48280 return cycles;
48281 #undef FLD
48284 static int
48285 model_tomcat_ldfu (SIM_CPU *current_cpu, void *sem_arg)
48287 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48289 const IDESC * UNUSED idesc = abuf->idesc;
48290 int cycles = 0;
48292 int referenced = 0;
48293 int UNUSED insn_referenced = abuf->written;
48294 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48296 return cycles;
48297 #undef FLD
48300 static int
48301 model_tomcat_ldcu (SIM_CPU *current_cpu, void *sem_arg)
48303 #define FLD(f) abuf->fields.sfmt_ldcu.f
48304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48305 const IDESC * UNUSED idesc = abuf->idesc;
48306 int cycles = 0;
48308 int referenced = 0;
48309 int UNUSED insn_referenced = abuf->written;
48310 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48312 return cycles;
48313 #undef FLD
48316 static int
48317 model_tomcat_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
48319 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48321 const IDESC * UNUSED idesc = abuf->idesc;
48322 int cycles = 0;
48324 int referenced = 0;
48325 int UNUSED insn_referenced = abuf->written;
48326 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48328 return cycles;
48329 #undef FLD
48332 static int
48333 model_tomcat_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
48335 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48337 const IDESC * UNUSED idesc = abuf->idesc;
48338 int cycles = 0;
48340 int referenced = 0;
48341 int UNUSED insn_referenced = abuf->written;
48342 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48344 return cycles;
48345 #undef FLD
48348 static int
48349 model_tomcat_nldfu (SIM_CPU *current_cpu, void *sem_arg)
48351 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48353 const IDESC * UNUSED idesc = abuf->idesc;
48354 int cycles = 0;
48356 int referenced = 0;
48357 int UNUSED insn_referenced = abuf->written;
48358 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48360 return cycles;
48361 #undef FLD
48364 static int
48365 model_tomcat_lddu (SIM_CPU *current_cpu, void *sem_arg)
48367 #define FLD(f) abuf->fields.sfmt_clddu.f
48368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48369 const IDESC * UNUSED idesc = abuf->idesc;
48370 int cycles = 0;
48372 int referenced = 0;
48373 int UNUSED insn_referenced = abuf->written;
48374 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48376 return cycles;
48377 #undef FLD
48380 static int
48381 model_tomcat_nlddu (SIM_CPU *current_cpu, void *sem_arg)
48383 #define FLD(f) abuf->fields.sfmt_clddu.f
48384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48385 const IDESC * UNUSED idesc = abuf->idesc;
48386 int cycles = 0;
48388 int referenced = 0;
48389 int UNUSED insn_referenced = abuf->written;
48390 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48392 return cycles;
48393 #undef FLD
48396 static int
48397 model_tomcat_lddfu (SIM_CPU *current_cpu, void *sem_arg)
48399 #define FLD(f) abuf->fields.sfmt_clddfu.f
48400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48401 const IDESC * UNUSED idesc = abuf->idesc;
48402 int cycles = 0;
48404 int referenced = 0;
48405 int UNUSED insn_referenced = abuf->written;
48406 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48408 return cycles;
48409 #undef FLD
48412 static int
48413 model_tomcat_lddcu (SIM_CPU *current_cpu, void *sem_arg)
48415 #define FLD(f) abuf->fields.sfmt_lddcu.f
48416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48417 const IDESC * UNUSED idesc = abuf->idesc;
48418 int cycles = 0;
48420 int referenced = 0;
48421 int UNUSED insn_referenced = abuf->written;
48422 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48424 return cycles;
48425 #undef FLD
48428 static int
48429 model_tomcat_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
48431 #define FLD(f) abuf->fields.sfmt_clddfu.f
48432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48433 const IDESC * UNUSED idesc = abuf->idesc;
48434 int cycles = 0;
48436 int referenced = 0;
48437 int UNUSED insn_referenced = abuf->written;
48438 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48440 return cycles;
48441 #undef FLD
48444 static int
48445 model_tomcat_ldqu (SIM_CPU *current_cpu, void *sem_arg)
48447 #define FLD(f) abuf->fields.sfmt_cstdu.f
48448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48449 const IDESC * UNUSED idesc = abuf->idesc;
48450 int cycles = 0;
48452 int referenced = 0;
48453 int UNUSED insn_referenced = abuf->written;
48454 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48456 return cycles;
48457 #undef FLD
48460 static int
48461 model_tomcat_nldqu (SIM_CPU *current_cpu, void *sem_arg)
48463 #define FLD(f) abuf->fields.sfmt_cstdu.f
48464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48465 const IDESC * UNUSED idesc = abuf->idesc;
48466 int cycles = 0;
48468 int referenced = 0;
48469 int UNUSED insn_referenced = abuf->written;
48470 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48472 return cycles;
48473 #undef FLD
48476 static int
48477 model_tomcat_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
48479 #define FLD(f) abuf->fields.sfmt_cstdfu.f
48480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48481 const IDESC * UNUSED idesc = abuf->idesc;
48482 int cycles = 0;
48484 int referenced = 0;
48485 int UNUSED insn_referenced = abuf->written;
48486 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48488 return cycles;
48489 #undef FLD
48492 static int
48493 model_tomcat_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
48495 #define FLD(f) abuf->fields.sfmt_stdcu.f
48496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48497 const IDESC * UNUSED idesc = abuf->idesc;
48498 int cycles = 0;
48500 int referenced = 0;
48501 int UNUSED insn_referenced = abuf->written;
48502 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48504 return cycles;
48505 #undef FLD
48508 static int
48509 model_tomcat_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
48511 #define FLD(f) abuf->fields.sfmt_cstdfu.f
48512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48513 const IDESC * UNUSED idesc = abuf->idesc;
48514 int cycles = 0;
48516 int referenced = 0;
48517 int UNUSED insn_referenced = abuf->written;
48518 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48520 return cycles;
48521 #undef FLD
48524 static int
48525 model_tomcat_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
48527 #define FLD(f) abuf->fields.sfmt_swapi.f
48528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48529 const IDESC * UNUSED idesc = abuf->idesc;
48530 int cycles = 0;
48532 int referenced = 0;
48533 int UNUSED insn_referenced = abuf->written;
48534 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48536 return cycles;
48537 #undef FLD
48540 static int
48541 model_tomcat_ldshi (SIM_CPU *current_cpu, void *sem_arg)
48543 #define FLD(f) abuf->fields.sfmt_swapi.f
48544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48545 const IDESC * UNUSED idesc = abuf->idesc;
48546 int cycles = 0;
48548 int referenced = 0;
48549 int UNUSED insn_referenced = abuf->written;
48550 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48552 return cycles;
48553 #undef FLD
48556 static int
48557 model_tomcat_ldi (SIM_CPU *current_cpu, void *sem_arg)
48559 #define FLD(f) abuf->fields.sfmt_swapi.f
48560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48561 const IDESC * UNUSED idesc = abuf->idesc;
48562 int cycles = 0;
48564 int referenced = 0;
48565 int UNUSED insn_referenced = abuf->written;
48566 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48568 return cycles;
48569 #undef FLD
48572 static int
48573 model_tomcat_ldubi (SIM_CPU *current_cpu, void *sem_arg)
48575 #define FLD(f) abuf->fields.sfmt_swapi.f
48576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48577 const IDESC * UNUSED idesc = abuf->idesc;
48578 int cycles = 0;
48580 int referenced = 0;
48581 int UNUSED insn_referenced = abuf->written;
48582 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48584 return cycles;
48585 #undef FLD
48588 static int
48589 model_tomcat_lduhi (SIM_CPU *current_cpu, void *sem_arg)
48591 #define FLD(f) abuf->fields.sfmt_swapi.f
48592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48593 const IDESC * UNUSED idesc = abuf->idesc;
48594 int cycles = 0;
48596 int referenced = 0;
48597 int UNUSED insn_referenced = abuf->written;
48598 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48600 return cycles;
48601 #undef FLD
48604 static int
48605 model_tomcat_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
48607 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48609 const IDESC * UNUSED idesc = abuf->idesc;
48610 int cycles = 0;
48612 int referenced = 0;
48613 int UNUSED insn_referenced = abuf->written;
48614 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48616 return cycles;
48617 #undef FLD
48620 static int
48621 model_tomcat_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
48623 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48625 const IDESC * UNUSED idesc = abuf->idesc;
48626 int cycles = 0;
48628 int referenced = 0;
48629 int UNUSED insn_referenced = abuf->written;
48630 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48632 return cycles;
48633 #undef FLD
48636 static int
48637 model_tomcat_ldfi (SIM_CPU *current_cpu, void *sem_arg)
48639 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48641 const IDESC * UNUSED idesc = abuf->idesc;
48642 int cycles = 0;
48644 int referenced = 0;
48645 int UNUSED insn_referenced = abuf->written;
48646 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48648 return cycles;
48649 #undef FLD
48652 static int
48653 model_tomcat_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
48655 #define FLD(f) abuf->fields.sfmt_swapi.f
48656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48657 const IDESC * UNUSED idesc = abuf->idesc;
48658 int cycles = 0;
48660 int referenced = 0;
48661 int UNUSED insn_referenced = abuf->written;
48662 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48664 return cycles;
48665 #undef FLD
48668 static int
48669 model_tomcat_nldubi (SIM_CPU *current_cpu, void *sem_arg)
48671 #define FLD(f) abuf->fields.sfmt_swapi.f
48672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48673 const IDESC * UNUSED idesc = abuf->idesc;
48674 int cycles = 0;
48676 int referenced = 0;
48677 int UNUSED insn_referenced = abuf->written;
48678 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48680 return cycles;
48681 #undef FLD
48684 static int
48685 model_tomcat_nldshi (SIM_CPU *current_cpu, void *sem_arg)
48687 #define FLD(f) abuf->fields.sfmt_swapi.f
48688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48689 const IDESC * UNUSED idesc = abuf->idesc;
48690 int cycles = 0;
48692 int referenced = 0;
48693 int UNUSED insn_referenced = abuf->written;
48694 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48696 return cycles;
48697 #undef FLD
48700 static int
48701 model_tomcat_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
48703 #define FLD(f) abuf->fields.sfmt_swapi.f
48704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48705 const IDESC * UNUSED idesc = abuf->idesc;
48706 int cycles = 0;
48708 int referenced = 0;
48709 int UNUSED insn_referenced = abuf->written;
48710 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48712 return cycles;
48713 #undef FLD
48716 static int
48717 model_tomcat_nldi (SIM_CPU *current_cpu, void *sem_arg)
48719 #define FLD(f) abuf->fields.sfmt_swapi.f
48720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48721 const IDESC * UNUSED idesc = abuf->idesc;
48722 int cycles = 0;
48724 int referenced = 0;
48725 int UNUSED insn_referenced = abuf->written;
48726 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48728 return cycles;
48729 #undef FLD
48732 static int
48733 model_tomcat_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
48735 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48737 const IDESC * UNUSED idesc = abuf->idesc;
48738 int cycles = 0;
48740 int referenced = 0;
48741 int UNUSED insn_referenced = abuf->written;
48742 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48744 return cycles;
48745 #undef FLD
48748 static int
48749 model_tomcat_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
48751 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48753 const IDESC * UNUSED idesc = abuf->idesc;
48754 int cycles = 0;
48756 int referenced = 0;
48757 int UNUSED insn_referenced = abuf->written;
48758 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48760 return cycles;
48761 #undef FLD
48764 static int
48765 model_tomcat_nldfi (SIM_CPU *current_cpu, void *sem_arg)
48767 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48769 const IDESC * UNUSED idesc = abuf->idesc;
48770 int cycles = 0;
48772 int referenced = 0;
48773 int UNUSED insn_referenced = abuf->written;
48774 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48776 return cycles;
48777 #undef FLD
48780 static int
48781 model_tomcat_lddi (SIM_CPU *current_cpu, void *sem_arg)
48783 #define FLD(f) abuf->fields.sfmt_smuli.f
48784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48785 const IDESC * UNUSED idesc = abuf->idesc;
48786 int cycles = 0;
48788 int referenced = 0;
48789 int UNUSED insn_referenced = abuf->written;
48790 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48792 return cycles;
48793 #undef FLD
48796 static int
48797 model_tomcat_lddfi (SIM_CPU *current_cpu, void *sem_arg)
48799 #define FLD(f) abuf->fields.sfmt_lddfi.f
48800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48801 const IDESC * UNUSED idesc = abuf->idesc;
48802 int cycles = 0;
48804 int referenced = 0;
48805 int UNUSED insn_referenced = abuf->written;
48806 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48808 return cycles;
48809 #undef FLD
48812 static int
48813 model_tomcat_nlddi (SIM_CPU *current_cpu, void *sem_arg)
48815 #define FLD(f) abuf->fields.sfmt_smuli.f
48816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48817 const IDESC * UNUSED idesc = abuf->idesc;
48818 int cycles = 0;
48820 int referenced = 0;
48821 int UNUSED insn_referenced = abuf->written;
48822 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48824 return cycles;
48825 #undef FLD
48828 static int
48829 model_tomcat_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
48831 #define FLD(f) abuf->fields.sfmt_lddfi.f
48832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48833 const IDESC * UNUSED idesc = abuf->idesc;
48834 int cycles = 0;
48836 int referenced = 0;
48837 int UNUSED insn_referenced = abuf->written;
48838 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48840 return cycles;
48841 #undef FLD
48844 static int
48845 model_tomcat_ldqi (SIM_CPU *current_cpu, void *sem_arg)
48847 #define FLD(f) abuf->fields.sfmt_stdi.f
48848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48849 const IDESC * UNUSED idesc = abuf->idesc;
48850 int cycles = 0;
48852 int referenced = 0;
48853 int UNUSED insn_referenced = abuf->written;
48854 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48856 return cycles;
48857 #undef FLD
48860 static int
48861 model_tomcat_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
48863 #define FLD(f) abuf->fields.sfmt_stdfi.f
48864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48865 const IDESC * UNUSED idesc = abuf->idesc;
48866 int cycles = 0;
48868 int referenced = 0;
48869 int UNUSED insn_referenced = abuf->written;
48870 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48872 return cycles;
48873 #undef FLD
48876 static int
48877 model_tomcat_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
48879 #define FLD(f) abuf->fields.sfmt_stdfi.f
48880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48881 const IDESC * UNUSED idesc = abuf->idesc;
48882 int cycles = 0;
48884 int referenced = 0;
48885 int UNUSED insn_referenced = abuf->written;
48886 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48888 return cycles;
48889 #undef FLD
48892 static int
48893 model_tomcat_stb (SIM_CPU *current_cpu, void *sem_arg)
48895 #define FLD(f) abuf->fields.sfmt_cswap.f
48896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48897 const IDESC * UNUSED idesc = abuf->idesc;
48898 int cycles = 0;
48900 int referenced = 0;
48901 int UNUSED insn_referenced = abuf->written;
48902 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48904 return cycles;
48905 #undef FLD
48908 static int
48909 model_tomcat_sth (SIM_CPU *current_cpu, void *sem_arg)
48911 #define FLD(f) abuf->fields.sfmt_cswap.f
48912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48913 const IDESC * UNUSED idesc = abuf->idesc;
48914 int cycles = 0;
48916 int referenced = 0;
48917 int UNUSED insn_referenced = abuf->written;
48918 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48920 return cycles;
48921 #undef FLD
48924 static int
48925 model_tomcat_st (SIM_CPU *current_cpu, void *sem_arg)
48927 #define FLD(f) abuf->fields.sfmt_cswap.f
48928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48929 const IDESC * UNUSED idesc = abuf->idesc;
48930 int cycles = 0;
48932 int referenced = 0;
48933 int UNUSED insn_referenced = abuf->written;
48934 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48936 return cycles;
48937 #undef FLD
48940 static int
48941 model_tomcat_stbf (SIM_CPU *current_cpu, void *sem_arg)
48943 #define FLD(f) abuf->fields.sfmt_cstbfu.f
48944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48945 const IDESC * UNUSED idesc = abuf->idesc;
48946 int cycles = 0;
48948 int referenced = 0;
48949 int UNUSED insn_referenced = abuf->written;
48950 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48952 return cycles;
48953 #undef FLD
48956 static int
48957 model_tomcat_sthf (SIM_CPU *current_cpu, void *sem_arg)
48959 #define FLD(f) abuf->fields.sfmt_cstbfu.f
48960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48961 const IDESC * UNUSED idesc = abuf->idesc;
48962 int cycles = 0;
48964 int referenced = 0;
48965 int UNUSED insn_referenced = abuf->written;
48966 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48968 return cycles;
48969 #undef FLD
48972 static int
48973 model_tomcat_stf (SIM_CPU *current_cpu, void *sem_arg)
48975 #define FLD(f) abuf->fields.sfmt_cstbfu.f
48976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48977 const IDESC * UNUSED idesc = abuf->idesc;
48978 int cycles = 0;
48980 int referenced = 0;
48981 int UNUSED insn_referenced = abuf->written;
48982 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48984 return cycles;
48985 #undef FLD
48988 static int
48989 model_tomcat_stc (SIM_CPU *current_cpu, void *sem_arg)
48991 #define FLD(f) abuf->fields.sfmt_stcu.f
48992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48993 const IDESC * UNUSED idesc = abuf->idesc;
48994 int cycles = 0;
48996 int referenced = 0;
48997 int UNUSED insn_referenced = abuf->written;
48998 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49000 return cycles;
49001 #undef FLD
49004 static int
49005 model_tomcat_std (SIM_CPU *current_cpu, void *sem_arg)
49007 #define FLD(f) abuf->fields.sfmt_cstdu.f
49008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49009 const IDESC * UNUSED idesc = abuf->idesc;
49010 int cycles = 0;
49012 int referenced = 0;
49013 int UNUSED insn_referenced = abuf->written;
49014 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49016 return cycles;
49017 #undef FLD
49020 static int
49021 model_tomcat_stdf (SIM_CPU *current_cpu, void *sem_arg)
49023 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49025 const IDESC * UNUSED idesc = abuf->idesc;
49026 int cycles = 0;
49028 int referenced = 0;
49029 int UNUSED insn_referenced = abuf->written;
49030 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49032 return cycles;
49033 #undef FLD
49036 static int
49037 model_tomcat_stdc (SIM_CPU *current_cpu, void *sem_arg)
49039 #define FLD(f) abuf->fields.sfmt_stdcu.f
49040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49041 const IDESC * UNUSED idesc = abuf->idesc;
49042 int cycles = 0;
49044 int referenced = 0;
49045 int UNUSED insn_referenced = abuf->written;
49046 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49048 return cycles;
49049 #undef FLD
49052 static int
49053 model_tomcat_stq (SIM_CPU *current_cpu, void *sem_arg)
49055 #define FLD(f) abuf->fields.sfmt_smulcc.f
49056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49057 const IDESC * UNUSED idesc = abuf->idesc;
49058 int cycles = 0;
49060 int referenced = 0;
49061 int UNUSED insn_referenced = abuf->written;
49062 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49064 return cycles;
49065 #undef FLD
49068 static int
49069 model_tomcat_stqf (SIM_CPU *current_cpu, void *sem_arg)
49071 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49073 const IDESC * UNUSED idesc = abuf->idesc;
49074 int cycles = 0;
49076 int referenced = 0;
49077 int UNUSED insn_referenced = abuf->written;
49078 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49080 return cycles;
49081 #undef FLD
49084 static int
49085 model_tomcat_stqc (SIM_CPU *current_cpu, void *sem_arg)
49087 #define FLD(f) abuf->fields.sfmt_stdcu.f
49088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49089 const IDESC * UNUSED idesc = abuf->idesc;
49090 int cycles = 0;
49092 int referenced = 0;
49093 int UNUSED insn_referenced = abuf->written;
49094 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49096 return cycles;
49097 #undef FLD
49100 static int
49101 model_tomcat_stbu (SIM_CPU *current_cpu, void *sem_arg)
49103 #define FLD(f) abuf->fields.sfmt_cstbu.f
49104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49105 const IDESC * UNUSED idesc = abuf->idesc;
49106 int cycles = 0;
49108 int referenced = 0;
49109 int UNUSED insn_referenced = abuf->written;
49110 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49112 return cycles;
49113 #undef FLD
49116 static int
49117 model_tomcat_sthu (SIM_CPU *current_cpu, void *sem_arg)
49119 #define FLD(f) abuf->fields.sfmt_cstbu.f
49120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49121 const IDESC * UNUSED idesc = abuf->idesc;
49122 int cycles = 0;
49124 int referenced = 0;
49125 int UNUSED insn_referenced = abuf->written;
49126 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49128 return cycles;
49129 #undef FLD
49132 static int
49133 model_tomcat_stu (SIM_CPU *current_cpu, void *sem_arg)
49135 #define FLD(f) abuf->fields.sfmt_cstbu.f
49136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49137 const IDESC * UNUSED idesc = abuf->idesc;
49138 int cycles = 0;
49140 int referenced = 0;
49141 int UNUSED insn_referenced = abuf->written;
49142 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49144 return cycles;
49145 #undef FLD
49148 static int
49149 model_tomcat_stbfu (SIM_CPU *current_cpu, void *sem_arg)
49151 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49153 const IDESC * UNUSED idesc = abuf->idesc;
49154 int cycles = 0;
49156 int referenced = 0;
49157 int UNUSED insn_referenced = abuf->written;
49158 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49160 return cycles;
49161 #undef FLD
49164 static int
49165 model_tomcat_sthfu (SIM_CPU *current_cpu, void *sem_arg)
49167 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49169 const IDESC * UNUSED idesc = abuf->idesc;
49170 int cycles = 0;
49172 int referenced = 0;
49173 int UNUSED insn_referenced = abuf->written;
49174 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49176 return cycles;
49177 #undef FLD
49180 static int
49181 model_tomcat_stfu (SIM_CPU *current_cpu, void *sem_arg)
49183 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49185 const IDESC * UNUSED idesc = abuf->idesc;
49186 int cycles = 0;
49188 int referenced = 0;
49189 int UNUSED insn_referenced = abuf->written;
49190 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49192 return cycles;
49193 #undef FLD
49196 static int
49197 model_tomcat_stcu (SIM_CPU *current_cpu, void *sem_arg)
49199 #define FLD(f) abuf->fields.sfmt_stcu.f
49200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49201 const IDESC * UNUSED idesc = abuf->idesc;
49202 int cycles = 0;
49204 int referenced = 0;
49205 int UNUSED insn_referenced = abuf->written;
49206 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49208 return cycles;
49209 #undef FLD
49212 static int
49213 model_tomcat_stdu (SIM_CPU *current_cpu, void *sem_arg)
49215 #define FLD(f) abuf->fields.sfmt_cstdu.f
49216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49217 const IDESC * UNUSED idesc = abuf->idesc;
49218 int cycles = 0;
49220 int referenced = 0;
49221 int UNUSED insn_referenced = abuf->written;
49222 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49224 return cycles;
49225 #undef FLD
49228 static int
49229 model_tomcat_stdfu (SIM_CPU *current_cpu, void *sem_arg)
49231 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49233 const IDESC * UNUSED idesc = abuf->idesc;
49234 int cycles = 0;
49236 int referenced = 0;
49237 int UNUSED insn_referenced = abuf->written;
49238 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49240 return cycles;
49241 #undef FLD
49244 static int
49245 model_tomcat_stdcu (SIM_CPU *current_cpu, void *sem_arg)
49247 #define FLD(f) abuf->fields.sfmt_stdcu.f
49248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49249 const IDESC * UNUSED idesc = abuf->idesc;
49250 int cycles = 0;
49252 int referenced = 0;
49253 int UNUSED insn_referenced = abuf->written;
49254 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49256 return cycles;
49257 #undef FLD
49260 static int
49261 model_tomcat_stqu (SIM_CPU *current_cpu, void *sem_arg)
49263 #define FLD(f) abuf->fields.sfmt_cstdu.f
49264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49265 const IDESC * UNUSED idesc = abuf->idesc;
49266 int cycles = 0;
49268 int referenced = 0;
49269 int UNUSED insn_referenced = abuf->written;
49270 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49272 return cycles;
49273 #undef FLD
49276 static int
49277 model_tomcat_stqfu (SIM_CPU *current_cpu, void *sem_arg)
49279 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49281 const IDESC * UNUSED idesc = abuf->idesc;
49282 int cycles = 0;
49284 int referenced = 0;
49285 int UNUSED insn_referenced = abuf->written;
49286 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49288 return cycles;
49289 #undef FLD
49292 static int
49293 model_tomcat_stqcu (SIM_CPU *current_cpu, void *sem_arg)
49295 #define FLD(f) abuf->fields.sfmt_stdcu.f
49296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49297 const IDESC * UNUSED idesc = abuf->idesc;
49298 int cycles = 0;
49300 int referenced = 0;
49301 int UNUSED insn_referenced = abuf->written;
49302 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49304 return cycles;
49305 #undef FLD
49308 static int
49309 model_tomcat_cldsb (SIM_CPU *current_cpu, void *sem_arg)
49311 #define FLD(f) abuf->fields.sfmt_cswap.f
49312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49313 const IDESC * UNUSED idesc = abuf->idesc;
49314 int cycles = 0;
49316 int referenced = 0;
49317 int UNUSED insn_referenced = abuf->written;
49318 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49320 return cycles;
49321 #undef FLD
49324 static int
49325 model_tomcat_cldub (SIM_CPU *current_cpu, void *sem_arg)
49327 #define FLD(f) abuf->fields.sfmt_cswap.f
49328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49329 const IDESC * UNUSED idesc = abuf->idesc;
49330 int cycles = 0;
49332 int referenced = 0;
49333 int UNUSED insn_referenced = abuf->written;
49334 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49336 return cycles;
49337 #undef FLD
49340 static int
49341 model_tomcat_cldsh (SIM_CPU *current_cpu, void *sem_arg)
49343 #define FLD(f) abuf->fields.sfmt_cswap.f
49344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49345 const IDESC * UNUSED idesc = abuf->idesc;
49346 int cycles = 0;
49348 int referenced = 0;
49349 int UNUSED insn_referenced = abuf->written;
49350 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49352 return cycles;
49353 #undef FLD
49356 static int
49357 model_tomcat_clduh (SIM_CPU *current_cpu, void *sem_arg)
49359 #define FLD(f) abuf->fields.sfmt_cswap.f
49360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49361 const IDESC * UNUSED idesc = abuf->idesc;
49362 int cycles = 0;
49364 int referenced = 0;
49365 int UNUSED insn_referenced = abuf->written;
49366 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49368 return cycles;
49369 #undef FLD
49372 static int
49373 model_tomcat_cld (SIM_CPU *current_cpu, void *sem_arg)
49375 #define FLD(f) abuf->fields.sfmt_cswap.f
49376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49377 const IDESC * UNUSED idesc = abuf->idesc;
49378 int cycles = 0;
49380 int referenced = 0;
49381 int UNUSED insn_referenced = abuf->written;
49382 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49384 return cycles;
49385 #undef FLD
49388 static int
49389 model_tomcat_cldbf (SIM_CPU *current_cpu, void *sem_arg)
49391 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49393 const IDESC * UNUSED idesc = abuf->idesc;
49394 int cycles = 0;
49396 int referenced = 0;
49397 int UNUSED insn_referenced = abuf->written;
49398 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49400 return cycles;
49401 #undef FLD
49404 static int
49405 model_tomcat_cldhf (SIM_CPU *current_cpu, void *sem_arg)
49407 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49409 const IDESC * UNUSED idesc = abuf->idesc;
49410 int cycles = 0;
49412 int referenced = 0;
49413 int UNUSED insn_referenced = abuf->written;
49414 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49416 return cycles;
49417 #undef FLD
49420 static int
49421 model_tomcat_cldf (SIM_CPU *current_cpu, void *sem_arg)
49423 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49425 const IDESC * UNUSED idesc = abuf->idesc;
49426 int cycles = 0;
49428 int referenced = 0;
49429 int UNUSED insn_referenced = abuf->written;
49430 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49432 return cycles;
49433 #undef FLD
49436 static int
49437 model_tomcat_cldd (SIM_CPU *current_cpu, void *sem_arg)
49439 #define FLD(f) abuf->fields.sfmt_clddu.f
49440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49441 const IDESC * UNUSED idesc = abuf->idesc;
49442 int cycles = 0;
49444 int referenced = 0;
49445 int UNUSED insn_referenced = abuf->written;
49446 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49448 return cycles;
49449 #undef FLD
49452 static int
49453 model_tomcat_clddf (SIM_CPU *current_cpu, void *sem_arg)
49455 #define FLD(f) abuf->fields.sfmt_clddfu.f
49456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49457 const IDESC * UNUSED idesc = abuf->idesc;
49458 int cycles = 0;
49460 int referenced = 0;
49461 int UNUSED insn_referenced = abuf->written;
49462 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49464 return cycles;
49465 #undef FLD
49468 static int
49469 model_tomcat_cldq (SIM_CPU *current_cpu, void *sem_arg)
49471 #define FLD(f) abuf->fields.sfmt_cswap.f
49472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49473 const IDESC * UNUSED idesc = abuf->idesc;
49474 int cycles = 0;
49476 int referenced = 0;
49477 int UNUSED insn_referenced = abuf->written;
49478 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49480 return cycles;
49481 #undef FLD
49484 static int
49485 model_tomcat_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
49487 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49489 const IDESC * UNUSED idesc = abuf->idesc;
49490 int cycles = 0;
49492 int referenced = 0;
49493 int UNUSED insn_referenced = abuf->written;
49494 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49496 return cycles;
49497 #undef FLD
49500 static int
49501 model_tomcat_cldubu (SIM_CPU *current_cpu, void *sem_arg)
49503 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49505 const IDESC * UNUSED idesc = abuf->idesc;
49506 int cycles = 0;
49508 int referenced = 0;
49509 int UNUSED insn_referenced = abuf->written;
49510 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49512 return cycles;
49513 #undef FLD
49516 static int
49517 model_tomcat_cldshu (SIM_CPU *current_cpu, void *sem_arg)
49519 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49521 const IDESC * UNUSED idesc = abuf->idesc;
49522 int cycles = 0;
49524 int referenced = 0;
49525 int UNUSED insn_referenced = abuf->written;
49526 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49528 return cycles;
49529 #undef FLD
49532 static int
49533 model_tomcat_clduhu (SIM_CPU *current_cpu, void *sem_arg)
49535 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49537 const IDESC * UNUSED idesc = abuf->idesc;
49538 int cycles = 0;
49540 int referenced = 0;
49541 int UNUSED insn_referenced = abuf->written;
49542 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49544 return cycles;
49545 #undef FLD
49548 static int
49549 model_tomcat_cldu (SIM_CPU *current_cpu, void *sem_arg)
49551 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49553 const IDESC * UNUSED idesc = abuf->idesc;
49554 int cycles = 0;
49556 int referenced = 0;
49557 int UNUSED insn_referenced = abuf->written;
49558 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49560 return cycles;
49561 #undef FLD
49564 static int
49565 model_tomcat_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
49567 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49569 const IDESC * UNUSED idesc = abuf->idesc;
49570 int cycles = 0;
49572 int referenced = 0;
49573 int UNUSED insn_referenced = abuf->written;
49574 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49576 return cycles;
49577 #undef FLD
49580 static int
49581 model_tomcat_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
49583 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49585 const IDESC * UNUSED idesc = abuf->idesc;
49586 int cycles = 0;
49588 int referenced = 0;
49589 int UNUSED insn_referenced = abuf->written;
49590 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49592 return cycles;
49593 #undef FLD
49596 static int
49597 model_tomcat_cldfu (SIM_CPU *current_cpu, void *sem_arg)
49599 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49601 const IDESC * UNUSED idesc = abuf->idesc;
49602 int cycles = 0;
49604 int referenced = 0;
49605 int UNUSED insn_referenced = abuf->written;
49606 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49608 return cycles;
49609 #undef FLD
49612 static int
49613 model_tomcat_clddu (SIM_CPU *current_cpu, void *sem_arg)
49615 #define FLD(f) abuf->fields.sfmt_clddu.f
49616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49617 const IDESC * UNUSED idesc = abuf->idesc;
49618 int cycles = 0;
49620 int referenced = 0;
49621 int UNUSED insn_referenced = abuf->written;
49622 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49624 return cycles;
49625 #undef FLD
49628 static int
49629 model_tomcat_clddfu (SIM_CPU *current_cpu, void *sem_arg)
49631 #define FLD(f) abuf->fields.sfmt_clddfu.f
49632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49633 const IDESC * UNUSED idesc = abuf->idesc;
49634 int cycles = 0;
49636 int referenced = 0;
49637 int UNUSED insn_referenced = abuf->written;
49638 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49640 return cycles;
49641 #undef FLD
49644 static int
49645 model_tomcat_cldqu (SIM_CPU *current_cpu, void *sem_arg)
49647 #define FLD(f) abuf->fields.sfmt_cstdu.f
49648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49649 const IDESC * UNUSED idesc = abuf->idesc;
49650 int cycles = 0;
49652 int referenced = 0;
49653 int UNUSED insn_referenced = abuf->written;
49654 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49656 return cycles;
49657 #undef FLD
49660 static int
49661 model_tomcat_cstb (SIM_CPU *current_cpu, void *sem_arg)
49663 #define FLD(f) abuf->fields.sfmt_cswap.f
49664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49665 const IDESC * UNUSED idesc = abuf->idesc;
49666 int cycles = 0;
49668 int referenced = 0;
49669 int UNUSED insn_referenced = abuf->written;
49670 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49672 return cycles;
49673 #undef FLD
49676 static int
49677 model_tomcat_csth (SIM_CPU *current_cpu, void *sem_arg)
49679 #define FLD(f) abuf->fields.sfmt_cswap.f
49680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49681 const IDESC * UNUSED idesc = abuf->idesc;
49682 int cycles = 0;
49684 int referenced = 0;
49685 int UNUSED insn_referenced = abuf->written;
49686 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49688 return cycles;
49689 #undef FLD
49692 static int
49693 model_tomcat_cst (SIM_CPU *current_cpu, void *sem_arg)
49695 #define FLD(f) abuf->fields.sfmt_cswap.f
49696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49697 const IDESC * UNUSED idesc = abuf->idesc;
49698 int cycles = 0;
49700 int referenced = 0;
49701 int UNUSED insn_referenced = abuf->written;
49702 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49704 return cycles;
49705 #undef FLD
49708 static int
49709 model_tomcat_cstbf (SIM_CPU *current_cpu, void *sem_arg)
49711 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49713 const IDESC * UNUSED idesc = abuf->idesc;
49714 int cycles = 0;
49716 int referenced = 0;
49717 int UNUSED insn_referenced = abuf->written;
49718 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49720 return cycles;
49721 #undef FLD
49724 static int
49725 model_tomcat_csthf (SIM_CPU *current_cpu, void *sem_arg)
49727 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49729 const IDESC * UNUSED idesc = abuf->idesc;
49730 int cycles = 0;
49732 int referenced = 0;
49733 int UNUSED insn_referenced = abuf->written;
49734 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49736 return cycles;
49737 #undef FLD
49740 static int
49741 model_tomcat_cstf (SIM_CPU *current_cpu, void *sem_arg)
49743 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49745 const IDESC * UNUSED idesc = abuf->idesc;
49746 int cycles = 0;
49748 int referenced = 0;
49749 int UNUSED insn_referenced = abuf->written;
49750 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49752 return cycles;
49753 #undef FLD
49756 static int
49757 model_tomcat_cstd (SIM_CPU *current_cpu, void *sem_arg)
49759 #define FLD(f) abuf->fields.sfmt_cstdu.f
49760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49761 const IDESC * UNUSED idesc = abuf->idesc;
49762 int cycles = 0;
49764 int referenced = 0;
49765 int UNUSED insn_referenced = abuf->written;
49766 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49768 return cycles;
49769 #undef FLD
49772 static int
49773 model_tomcat_cstdf (SIM_CPU *current_cpu, void *sem_arg)
49775 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49777 const IDESC * UNUSED idesc = abuf->idesc;
49778 int cycles = 0;
49780 int referenced = 0;
49781 int UNUSED insn_referenced = abuf->written;
49782 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49784 return cycles;
49785 #undef FLD
49788 static int
49789 model_tomcat_cstq (SIM_CPU *current_cpu, void *sem_arg)
49791 #define FLD(f) abuf->fields.sfmt_cswap.f
49792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49793 const IDESC * UNUSED idesc = abuf->idesc;
49794 int cycles = 0;
49796 int referenced = 0;
49797 int UNUSED insn_referenced = abuf->written;
49798 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49800 return cycles;
49801 #undef FLD
49804 static int
49805 model_tomcat_cstbu (SIM_CPU *current_cpu, void *sem_arg)
49807 #define FLD(f) abuf->fields.sfmt_cstbu.f
49808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49809 const IDESC * UNUSED idesc = abuf->idesc;
49810 int cycles = 0;
49812 int referenced = 0;
49813 int UNUSED insn_referenced = abuf->written;
49814 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49816 return cycles;
49817 #undef FLD
49820 static int
49821 model_tomcat_csthu (SIM_CPU *current_cpu, void *sem_arg)
49823 #define FLD(f) abuf->fields.sfmt_cstbu.f
49824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49825 const IDESC * UNUSED idesc = abuf->idesc;
49826 int cycles = 0;
49828 int referenced = 0;
49829 int UNUSED insn_referenced = abuf->written;
49830 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49832 return cycles;
49833 #undef FLD
49836 static int
49837 model_tomcat_cstu (SIM_CPU *current_cpu, void *sem_arg)
49839 #define FLD(f) abuf->fields.sfmt_cstbu.f
49840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49841 const IDESC * UNUSED idesc = abuf->idesc;
49842 int cycles = 0;
49844 int referenced = 0;
49845 int UNUSED insn_referenced = abuf->written;
49846 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49848 return cycles;
49849 #undef FLD
49852 static int
49853 model_tomcat_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
49855 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49857 const IDESC * UNUSED idesc = abuf->idesc;
49858 int cycles = 0;
49860 int referenced = 0;
49861 int UNUSED insn_referenced = abuf->written;
49862 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49864 return cycles;
49865 #undef FLD
49868 static int
49869 model_tomcat_csthfu (SIM_CPU *current_cpu, void *sem_arg)
49871 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49873 const IDESC * UNUSED idesc = abuf->idesc;
49874 int cycles = 0;
49876 int referenced = 0;
49877 int UNUSED insn_referenced = abuf->written;
49878 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49880 return cycles;
49881 #undef FLD
49884 static int
49885 model_tomcat_cstfu (SIM_CPU *current_cpu, void *sem_arg)
49887 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49889 const IDESC * UNUSED idesc = abuf->idesc;
49890 int cycles = 0;
49892 int referenced = 0;
49893 int UNUSED insn_referenced = abuf->written;
49894 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49896 return cycles;
49897 #undef FLD
49900 static int
49901 model_tomcat_cstdu (SIM_CPU *current_cpu, void *sem_arg)
49903 #define FLD(f) abuf->fields.sfmt_cstdu.f
49904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49905 const IDESC * UNUSED idesc = abuf->idesc;
49906 int cycles = 0;
49908 int referenced = 0;
49909 int UNUSED insn_referenced = abuf->written;
49910 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49912 return cycles;
49913 #undef FLD
49916 static int
49917 model_tomcat_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
49919 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49921 const IDESC * UNUSED idesc = abuf->idesc;
49922 int cycles = 0;
49924 int referenced = 0;
49925 int UNUSED insn_referenced = abuf->written;
49926 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49928 return cycles;
49929 #undef FLD
49932 static int
49933 model_tomcat_stbi (SIM_CPU *current_cpu, void *sem_arg)
49935 #define FLD(f) abuf->fields.sfmt_swapi.f
49936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49937 const IDESC * UNUSED idesc = abuf->idesc;
49938 int cycles = 0;
49940 int referenced = 0;
49941 int UNUSED insn_referenced = abuf->written;
49942 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49944 return cycles;
49945 #undef FLD
49948 static int
49949 model_tomcat_sthi (SIM_CPU *current_cpu, void *sem_arg)
49951 #define FLD(f) abuf->fields.sfmt_swapi.f
49952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49953 const IDESC * UNUSED idesc = abuf->idesc;
49954 int cycles = 0;
49956 int referenced = 0;
49957 int UNUSED insn_referenced = abuf->written;
49958 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49960 return cycles;
49961 #undef FLD
49964 static int
49965 model_tomcat_sti (SIM_CPU *current_cpu, void *sem_arg)
49967 #define FLD(f) abuf->fields.sfmt_swapi.f
49968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49969 const IDESC * UNUSED idesc = abuf->idesc;
49970 int cycles = 0;
49972 int referenced = 0;
49973 int UNUSED insn_referenced = abuf->written;
49974 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49976 return cycles;
49977 #undef FLD
49980 static int
49981 model_tomcat_stbfi (SIM_CPU *current_cpu, void *sem_arg)
49983 #define FLD(f) abuf->fields.sfmt_stbfi.f
49984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49985 const IDESC * UNUSED idesc = abuf->idesc;
49986 int cycles = 0;
49988 int referenced = 0;
49989 int UNUSED insn_referenced = abuf->written;
49990 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49992 return cycles;
49993 #undef FLD
49996 static int
49997 model_tomcat_sthfi (SIM_CPU *current_cpu, void *sem_arg)
49999 #define FLD(f) abuf->fields.sfmt_stbfi.f
50000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50001 const IDESC * UNUSED idesc = abuf->idesc;
50002 int cycles = 0;
50004 int referenced = 0;
50005 int UNUSED insn_referenced = abuf->written;
50006 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50008 return cycles;
50009 #undef FLD
50012 static int
50013 model_tomcat_stfi (SIM_CPU *current_cpu, void *sem_arg)
50015 #define FLD(f) abuf->fields.sfmt_stbfi.f
50016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50017 const IDESC * UNUSED idesc = abuf->idesc;
50018 int cycles = 0;
50020 int referenced = 0;
50021 int UNUSED insn_referenced = abuf->written;
50022 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50024 return cycles;
50025 #undef FLD
50028 static int
50029 model_tomcat_stdi (SIM_CPU *current_cpu, void *sem_arg)
50031 #define FLD(f) abuf->fields.sfmt_stdi.f
50032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50033 const IDESC * UNUSED idesc = abuf->idesc;
50034 int cycles = 0;
50036 int referenced = 0;
50037 int UNUSED insn_referenced = abuf->written;
50038 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50040 return cycles;
50041 #undef FLD
50044 static int
50045 model_tomcat_stdfi (SIM_CPU *current_cpu, void *sem_arg)
50047 #define FLD(f) abuf->fields.sfmt_stdfi.f
50048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50049 const IDESC * UNUSED idesc = abuf->idesc;
50050 int cycles = 0;
50052 int referenced = 0;
50053 int UNUSED insn_referenced = abuf->written;
50054 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50056 return cycles;
50057 #undef FLD
50060 static int
50061 model_tomcat_stqi (SIM_CPU *current_cpu, void *sem_arg)
50063 #define FLD(f) abuf->fields.sfmt_stdi.f
50064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50065 const IDESC * UNUSED idesc = abuf->idesc;
50066 int cycles = 0;
50068 int referenced = 0;
50069 int UNUSED insn_referenced = abuf->written;
50070 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50072 return cycles;
50073 #undef FLD
50076 static int
50077 model_tomcat_stqfi (SIM_CPU *current_cpu, void *sem_arg)
50079 #define FLD(f) abuf->fields.sfmt_stdfi.f
50080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50081 const IDESC * UNUSED idesc = abuf->idesc;
50082 int cycles = 0;
50084 int referenced = 0;
50085 int UNUSED insn_referenced = abuf->written;
50086 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50088 return cycles;
50089 #undef FLD
50092 static int
50093 model_tomcat_swap (SIM_CPU *current_cpu, void *sem_arg)
50095 #define FLD(f) abuf->fields.sfmt_cswap.f
50096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50097 const IDESC * UNUSED idesc = abuf->idesc;
50098 int cycles = 0;
50100 int referenced = 0;
50101 int UNUSED insn_referenced = abuf->written;
50102 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50104 return cycles;
50105 #undef FLD
50108 static int
50109 model_tomcat_swapi (SIM_CPU *current_cpu, void *sem_arg)
50111 #define FLD(f) abuf->fields.sfmt_swapi.f
50112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50113 const IDESC * UNUSED idesc = abuf->idesc;
50114 int cycles = 0;
50116 int referenced = 0;
50117 int UNUSED insn_referenced = abuf->written;
50118 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50120 return cycles;
50121 #undef FLD
50124 static int
50125 model_tomcat_cswap (SIM_CPU *current_cpu, void *sem_arg)
50127 #define FLD(f) abuf->fields.sfmt_cswap.f
50128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50129 const IDESC * UNUSED idesc = abuf->idesc;
50130 int cycles = 0;
50132 int referenced = 0;
50133 int UNUSED insn_referenced = abuf->written;
50134 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50136 return cycles;
50137 #undef FLD
50140 static int
50141 model_tomcat_movgf (SIM_CPU *current_cpu, void *sem_arg)
50143 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
50144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50145 const IDESC * UNUSED idesc = abuf->idesc;
50146 int cycles = 0;
50148 int referenced = 0;
50149 int UNUSED insn_referenced = abuf->written;
50150 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50152 return cycles;
50153 #undef FLD
50156 static int
50157 model_tomcat_movfg (SIM_CPU *current_cpu, void *sem_arg)
50159 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
50160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50161 const IDESC * UNUSED idesc = abuf->idesc;
50162 int cycles = 0;
50164 int referenced = 0;
50165 int UNUSED insn_referenced = abuf->written;
50166 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50168 return cycles;
50169 #undef FLD
50172 static int
50173 model_tomcat_movgfd (SIM_CPU *current_cpu, void *sem_arg)
50175 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
50176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50177 const IDESC * UNUSED idesc = abuf->idesc;
50178 int cycles = 0;
50180 int referenced = 0;
50181 int UNUSED insn_referenced = abuf->written;
50182 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50184 return cycles;
50185 #undef FLD
50188 static int
50189 model_tomcat_movfgd (SIM_CPU *current_cpu, void *sem_arg)
50191 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
50192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50193 const IDESC * UNUSED idesc = abuf->idesc;
50194 int cycles = 0;
50196 int referenced = 0;
50197 int UNUSED insn_referenced = abuf->written;
50198 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50200 return cycles;
50201 #undef FLD
50204 static int
50205 model_tomcat_movgfq (SIM_CPU *current_cpu, void *sem_arg)
50207 #define FLD(f) abuf->fields.sfmt_movgfq.f
50208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50209 const IDESC * UNUSED idesc = abuf->idesc;
50210 int cycles = 0;
50212 int referenced = 0;
50213 int UNUSED insn_referenced = abuf->written;
50214 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50216 return cycles;
50217 #undef FLD
50220 static int
50221 model_tomcat_movfgq (SIM_CPU *current_cpu, void *sem_arg)
50223 #define FLD(f) abuf->fields.sfmt_movfgq.f
50224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50225 const IDESC * UNUSED idesc = abuf->idesc;
50226 int cycles = 0;
50228 int referenced = 0;
50229 int UNUSED insn_referenced = abuf->written;
50230 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50232 return cycles;
50233 #undef FLD
50236 static int
50237 model_tomcat_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
50239 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
50240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50241 const IDESC * UNUSED idesc = abuf->idesc;
50242 int cycles = 0;
50244 int referenced = 0;
50245 int UNUSED insn_referenced = abuf->written;
50246 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50248 return cycles;
50249 #undef FLD
50252 static int
50253 model_tomcat_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
50255 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
50256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50257 const IDESC * UNUSED idesc = abuf->idesc;
50258 int cycles = 0;
50260 int referenced = 0;
50261 int UNUSED insn_referenced = abuf->written;
50262 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50264 return cycles;
50265 #undef FLD
50268 static int
50269 model_tomcat_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
50271 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
50272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50273 const IDESC * UNUSED idesc = abuf->idesc;
50274 int cycles = 0;
50276 int referenced = 0;
50277 int UNUSED insn_referenced = abuf->written;
50278 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50280 return cycles;
50281 #undef FLD
50284 static int
50285 model_tomcat_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
50287 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
50288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50289 const IDESC * UNUSED idesc = abuf->idesc;
50290 int cycles = 0;
50292 int referenced = 0;
50293 int UNUSED insn_referenced = abuf->written;
50294 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50296 return cycles;
50297 #undef FLD
50300 static int
50301 model_tomcat_movgs (SIM_CPU *current_cpu, void *sem_arg)
50303 #define FLD(f) abuf->fields.sfmt_movgs.f
50304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50305 const IDESC * UNUSED idesc = abuf->idesc;
50306 int cycles = 0;
50308 int referenced = 0;
50309 int UNUSED insn_referenced = abuf->written;
50310 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50312 return cycles;
50313 #undef FLD
50316 static int
50317 model_tomcat_movsg (SIM_CPU *current_cpu, void *sem_arg)
50319 #define FLD(f) abuf->fields.sfmt_movsg.f
50320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50321 const IDESC * UNUSED idesc = abuf->idesc;
50322 int cycles = 0;
50324 int referenced = 0;
50325 int UNUSED insn_referenced = abuf->written;
50326 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50328 return cycles;
50329 #undef FLD
50332 static int
50333 model_tomcat_bra (SIM_CPU *current_cpu, void *sem_arg)
50335 #define FLD(f) abuf->fields.sfmt_fbne.f
50336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50337 const IDESC * UNUSED idesc = abuf->idesc;
50338 int cycles = 0;
50340 int referenced = 0;
50341 int UNUSED insn_referenced = abuf->written;
50342 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50344 return cycles;
50345 #undef FLD
50348 static int
50349 model_tomcat_bno (SIM_CPU *current_cpu, void *sem_arg)
50351 #define FLD(f) abuf->fields.sfmt_fbne.f
50352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50353 const IDESC * UNUSED idesc = abuf->idesc;
50354 int cycles = 0;
50356 int referenced = 0;
50357 int UNUSED insn_referenced = abuf->written;
50358 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50360 return cycles;
50361 #undef FLD
50364 static int
50365 model_tomcat_beq (SIM_CPU *current_cpu, void *sem_arg)
50367 #define FLD(f) abuf->fields.sfmt_beq.f
50368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50369 const IDESC * UNUSED idesc = abuf->idesc;
50370 int cycles = 0;
50372 int referenced = 0;
50373 int UNUSED insn_referenced = abuf->written;
50374 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50376 return cycles;
50377 #undef FLD
50380 static int
50381 model_tomcat_bne (SIM_CPU *current_cpu, void *sem_arg)
50383 #define FLD(f) abuf->fields.sfmt_beq.f
50384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50385 const IDESC * UNUSED idesc = abuf->idesc;
50386 int cycles = 0;
50388 int referenced = 0;
50389 int UNUSED insn_referenced = abuf->written;
50390 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50392 return cycles;
50393 #undef FLD
50396 static int
50397 model_tomcat_ble (SIM_CPU *current_cpu, void *sem_arg)
50399 #define FLD(f) abuf->fields.sfmt_beq.f
50400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50401 const IDESC * UNUSED idesc = abuf->idesc;
50402 int cycles = 0;
50404 int referenced = 0;
50405 int UNUSED insn_referenced = abuf->written;
50406 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50408 return cycles;
50409 #undef FLD
50412 static int
50413 model_tomcat_bgt (SIM_CPU *current_cpu, void *sem_arg)
50415 #define FLD(f) abuf->fields.sfmt_beq.f
50416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50417 const IDESC * UNUSED idesc = abuf->idesc;
50418 int cycles = 0;
50420 int referenced = 0;
50421 int UNUSED insn_referenced = abuf->written;
50422 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50424 return cycles;
50425 #undef FLD
50428 static int
50429 model_tomcat_blt (SIM_CPU *current_cpu, void *sem_arg)
50431 #define FLD(f) abuf->fields.sfmt_beq.f
50432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50433 const IDESC * UNUSED idesc = abuf->idesc;
50434 int cycles = 0;
50436 int referenced = 0;
50437 int UNUSED insn_referenced = abuf->written;
50438 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50440 return cycles;
50441 #undef FLD
50444 static int
50445 model_tomcat_bge (SIM_CPU *current_cpu, void *sem_arg)
50447 #define FLD(f) abuf->fields.sfmt_beq.f
50448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50449 const IDESC * UNUSED idesc = abuf->idesc;
50450 int cycles = 0;
50452 int referenced = 0;
50453 int UNUSED insn_referenced = abuf->written;
50454 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50456 return cycles;
50457 #undef FLD
50460 static int
50461 model_tomcat_bls (SIM_CPU *current_cpu, void *sem_arg)
50463 #define FLD(f) abuf->fields.sfmt_beq.f
50464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50465 const IDESC * UNUSED idesc = abuf->idesc;
50466 int cycles = 0;
50468 int referenced = 0;
50469 int UNUSED insn_referenced = abuf->written;
50470 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50472 return cycles;
50473 #undef FLD
50476 static int
50477 model_tomcat_bhi (SIM_CPU *current_cpu, void *sem_arg)
50479 #define FLD(f) abuf->fields.sfmt_beq.f
50480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50481 const IDESC * UNUSED idesc = abuf->idesc;
50482 int cycles = 0;
50484 int referenced = 0;
50485 int UNUSED insn_referenced = abuf->written;
50486 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50488 return cycles;
50489 #undef FLD
50492 static int
50493 model_tomcat_bc (SIM_CPU *current_cpu, void *sem_arg)
50495 #define FLD(f) abuf->fields.sfmt_beq.f
50496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50497 const IDESC * UNUSED idesc = abuf->idesc;
50498 int cycles = 0;
50500 int referenced = 0;
50501 int UNUSED insn_referenced = abuf->written;
50502 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50504 return cycles;
50505 #undef FLD
50508 static int
50509 model_tomcat_bnc (SIM_CPU *current_cpu, void *sem_arg)
50511 #define FLD(f) abuf->fields.sfmt_beq.f
50512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50513 const IDESC * UNUSED idesc = abuf->idesc;
50514 int cycles = 0;
50516 int referenced = 0;
50517 int UNUSED insn_referenced = abuf->written;
50518 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50520 return cycles;
50521 #undef FLD
50524 static int
50525 model_tomcat_bn (SIM_CPU *current_cpu, void *sem_arg)
50527 #define FLD(f) abuf->fields.sfmt_beq.f
50528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50529 const IDESC * UNUSED idesc = abuf->idesc;
50530 int cycles = 0;
50532 int referenced = 0;
50533 int UNUSED insn_referenced = abuf->written;
50534 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50536 return cycles;
50537 #undef FLD
50540 static int
50541 model_tomcat_bp (SIM_CPU *current_cpu, void *sem_arg)
50543 #define FLD(f) abuf->fields.sfmt_beq.f
50544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50545 const IDESC * UNUSED idesc = abuf->idesc;
50546 int cycles = 0;
50548 int referenced = 0;
50549 int UNUSED insn_referenced = abuf->written;
50550 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50552 return cycles;
50553 #undef FLD
50556 static int
50557 model_tomcat_bv (SIM_CPU *current_cpu, void *sem_arg)
50559 #define FLD(f) abuf->fields.sfmt_beq.f
50560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50561 const IDESC * UNUSED idesc = abuf->idesc;
50562 int cycles = 0;
50564 int referenced = 0;
50565 int UNUSED insn_referenced = abuf->written;
50566 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50568 return cycles;
50569 #undef FLD
50572 static int
50573 model_tomcat_bnv (SIM_CPU *current_cpu, void *sem_arg)
50575 #define FLD(f) abuf->fields.sfmt_beq.f
50576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50577 const IDESC * UNUSED idesc = abuf->idesc;
50578 int cycles = 0;
50580 int referenced = 0;
50581 int UNUSED insn_referenced = abuf->written;
50582 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50584 return cycles;
50585 #undef FLD
50588 static int
50589 model_tomcat_fbra (SIM_CPU *current_cpu, void *sem_arg)
50591 #define FLD(f) abuf->fields.sfmt_fbne.f
50592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50593 const IDESC * UNUSED idesc = abuf->idesc;
50594 int cycles = 0;
50596 int referenced = 0;
50597 int UNUSED insn_referenced = abuf->written;
50598 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50600 return cycles;
50601 #undef FLD
50604 static int
50605 model_tomcat_fbno (SIM_CPU *current_cpu, void *sem_arg)
50607 #define FLD(f) abuf->fields.sfmt_fbne.f
50608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50609 const IDESC * UNUSED idesc = abuf->idesc;
50610 int cycles = 0;
50612 int referenced = 0;
50613 int UNUSED insn_referenced = abuf->written;
50614 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50616 return cycles;
50617 #undef FLD
50620 static int
50621 model_tomcat_fbne (SIM_CPU *current_cpu, void *sem_arg)
50623 #define FLD(f) abuf->fields.sfmt_fbne.f
50624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50625 const IDESC * UNUSED idesc = abuf->idesc;
50626 int cycles = 0;
50628 int referenced = 0;
50629 int UNUSED insn_referenced = abuf->written;
50630 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50632 return cycles;
50633 #undef FLD
50636 static int
50637 model_tomcat_fbeq (SIM_CPU *current_cpu, void *sem_arg)
50639 #define FLD(f) abuf->fields.sfmt_fbne.f
50640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50641 const IDESC * UNUSED idesc = abuf->idesc;
50642 int cycles = 0;
50644 int referenced = 0;
50645 int UNUSED insn_referenced = abuf->written;
50646 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50648 return cycles;
50649 #undef FLD
50652 static int
50653 model_tomcat_fblg (SIM_CPU *current_cpu, void *sem_arg)
50655 #define FLD(f) abuf->fields.sfmt_fbne.f
50656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50657 const IDESC * UNUSED idesc = abuf->idesc;
50658 int cycles = 0;
50660 int referenced = 0;
50661 int UNUSED insn_referenced = abuf->written;
50662 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50664 return cycles;
50665 #undef FLD
50668 static int
50669 model_tomcat_fbue (SIM_CPU *current_cpu, void *sem_arg)
50671 #define FLD(f) abuf->fields.sfmt_fbne.f
50672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50673 const IDESC * UNUSED idesc = abuf->idesc;
50674 int cycles = 0;
50676 int referenced = 0;
50677 int UNUSED insn_referenced = abuf->written;
50678 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50680 return cycles;
50681 #undef FLD
50684 static int
50685 model_tomcat_fbul (SIM_CPU *current_cpu, void *sem_arg)
50687 #define FLD(f) abuf->fields.sfmt_fbne.f
50688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50689 const IDESC * UNUSED idesc = abuf->idesc;
50690 int cycles = 0;
50692 int referenced = 0;
50693 int UNUSED insn_referenced = abuf->written;
50694 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50696 return cycles;
50697 #undef FLD
50700 static int
50701 model_tomcat_fbge (SIM_CPU *current_cpu, void *sem_arg)
50703 #define FLD(f) abuf->fields.sfmt_fbne.f
50704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50705 const IDESC * UNUSED idesc = abuf->idesc;
50706 int cycles = 0;
50708 int referenced = 0;
50709 int UNUSED insn_referenced = abuf->written;
50710 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50712 return cycles;
50713 #undef FLD
50716 static int
50717 model_tomcat_fblt (SIM_CPU *current_cpu, void *sem_arg)
50719 #define FLD(f) abuf->fields.sfmt_fbne.f
50720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50721 const IDESC * UNUSED idesc = abuf->idesc;
50722 int cycles = 0;
50724 int referenced = 0;
50725 int UNUSED insn_referenced = abuf->written;
50726 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50728 return cycles;
50729 #undef FLD
50732 static int
50733 model_tomcat_fbuge (SIM_CPU *current_cpu, void *sem_arg)
50735 #define FLD(f) abuf->fields.sfmt_fbne.f
50736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50737 const IDESC * UNUSED idesc = abuf->idesc;
50738 int cycles = 0;
50740 int referenced = 0;
50741 int UNUSED insn_referenced = abuf->written;
50742 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50744 return cycles;
50745 #undef FLD
50748 static int
50749 model_tomcat_fbug (SIM_CPU *current_cpu, void *sem_arg)
50751 #define FLD(f) abuf->fields.sfmt_fbne.f
50752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50753 const IDESC * UNUSED idesc = abuf->idesc;
50754 int cycles = 0;
50756 int referenced = 0;
50757 int UNUSED insn_referenced = abuf->written;
50758 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50760 return cycles;
50761 #undef FLD
50764 static int
50765 model_tomcat_fble (SIM_CPU *current_cpu, void *sem_arg)
50767 #define FLD(f) abuf->fields.sfmt_fbne.f
50768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50769 const IDESC * UNUSED idesc = abuf->idesc;
50770 int cycles = 0;
50772 int referenced = 0;
50773 int UNUSED insn_referenced = abuf->written;
50774 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50776 return cycles;
50777 #undef FLD
50780 static int
50781 model_tomcat_fbgt (SIM_CPU *current_cpu, void *sem_arg)
50783 #define FLD(f) abuf->fields.sfmt_fbne.f
50784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50785 const IDESC * UNUSED idesc = abuf->idesc;
50786 int cycles = 0;
50788 int referenced = 0;
50789 int UNUSED insn_referenced = abuf->written;
50790 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50792 return cycles;
50793 #undef FLD
50796 static int
50797 model_tomcat_fbule (SIM_CPU *current_cpu, void *sem_arg)
50799 #define FLD(f) abuf->fields.sfmt_fbne.f
50800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50801 const IDESC * UNUSED idesc = abuf->idesc;
50802 int cycles = 0;
50804 int referenced = 0;
50805 int UNUSED insn_referenced = abuf->written;
50806 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50808 return cycles;
50809 #undef FLD
50812 static int
50813 model_tomcat_fbu (SIM_CPU *current_cpu, void *sem_arg)
50815 #define FLD(f) abuf->fields.sfmt_fbne.f
50816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50817 const IDESC * UNUSED idesc = abuf->idesc;
50818 int cycles = 0;
50820 int referenced = 0;
50821 int UNUSED insn_referenced = abuf->written;
50822 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50824 return cycles;
50825 #undef FLD
50828 static int
50829 model_tomcat_fbo (SIM_CPU *current_cpu, void *sem_arg)
50831 #define FLD(f) abuf->fields.sfmt_fbne.f
50832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50833 const IDESC * UNUSED idesc = abuf->idesc;
50834 int cycles = 0;
50836 int referenced = 0;
50837 int UNUSED insn_referenced = abuf->written;
50838 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50840 return cycles;
50841 #undef FLD
50844 static int
50845 model_tomcat_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
50847 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
50848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50849 const IDESC * UNUSED idesc = abuf->idesc;
50850 int cycles = 0;
50852 int referenced = 0;
50853 int UNUSED insn_referenced = abuf->written;
50854 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50856 return cycles;
50857 #undef FLD
50860 static int
50861 model_tomcat_bralr (SIM_CPU *current_cpu, void *sem_arg)
50863 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
50864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50865 const IDESC * UNUSED idesc = abuf->idesc;
50866 int cycles = 0;
50868 int referenced = 0;
50869 int UNUSED insn_referenced = abuf->written;
50870 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50872 return cycles;
50873 #undef FLD
50876 static int
50877 model_tomcat_bnolr (SIM_CPU *current_cpu, void *sem_arg)
50879 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
50880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50881 const IDESC * UNUSED idesc = abuf->idesc;
50882 int cycles = 0;
50884 int referenced = 0;
50885 int UNUSED insn_referenced = abuf->written;
50886 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50888 return cycles;
50889 #undef FLD
50892 static int
50893 model_tomcat_beqlr (SIM_CPU *current_cpu, void *sem_arg)
50895 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50897 const IDESC * UNUSED idesc = abuf->idesc;
50898 int cycles = 0;
50900 int referenced = 0;
50901 int UNUSED insn_referenced = abuf->written;
50902 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50904 return cycles;
50905 #undef FLD
50908 static int
50909 model_tomcat_bnelr (SIM_CPU *current_cpu, void *sem_arg)
50911 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50913 const IDESC * UNUSED idesc = abuf->idesc;
50914 int cycles = 0;
50916 int referenced = 0;
50917 int UNUSED insn_referenced = abuf->written;
50918 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50920 return cycles;
50921 #undef FLD
50924 static int
50925 model_tomcat_blelr (SIM_CPU *current_cpu, void *sem_arg)
50927 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50929 const IDESC * UNUSED idesc = abuf->idesc;
50930 int cycles = 0;
50932 int referenced = 0;
50933 int UNUSED insn_referenced = abuf->written;
50934 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50936 return cycles;
50937 #undef FLD
50940 static int
50941 model_tomcat_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
50943 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50945 const IDESC * UNUSED idesc = abuf->idesc;
50946 int cycles = 0;
50948 int referenced = 0;
50949 int UNUSED insn_referenced = abuf->written;
50950 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50952 return cycles;
50953 #undef FLD
50956 static int
50957 model_tomcat_bltlr (SIM_CPU *current_cpu, void *sem_arg)
50959 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50961 const IDESC * UNUSED idesc = abuf->idesc;
50962 int cycles = 0;
50964 int referenced = 0;
50965 int UNUSED insn_referenced = abuf->written;
50966 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50968 return cycles;
50969 #undef FLD
50972 static int
50973 model_tomcat_bgelr (SIM_CPU *current_cpu, void *sem_arg)
50975 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50977 const IDESC * UNUSED idesc = abuf->idesc;
50978 int cycles = 0;
50980 int referenced = 0;
50981 int UNUSED insn_referenced = abuf->written;
50982 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50984 return cycles;
50985 #undef FLD
50988 static int
50989 model_tomcat_blslr (SIM_CPU *current_cpu, void *sem_arg)
50991 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50993 const IDESC * UNUSED idesc = abuf->idesc;
50994 int cycles = 0;
50996 int referenced = 0;
50997 int UNUSED insn_referenced = abuf->written;
50998 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51000 return cycles;
51001 #undef FLD
51004 static int
51005 model_tomcat_bhilr (SIM_CPU *current_cpu, void *sem_arg)
51007 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51009 const IDESC * UNUSED idesc = abuf->idesc;
51010 int cycles = 0;
51012 int referenced = 0;
51013 int UNUSED insn_referenced = abuf->written;
51014 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51016 return cycles;
51017 #undef FLD
51020 static int
51021 model_tomcat_bclr (SIM_CPU *current_cpu, void *sem_arg)
51023 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51025 const IDESC * UNUSED idesc = abuf->idesc;
51026 int cycles = 0;
51028 int referenced = 0;
51029 int UNUSED insn_referenced = abuf->written;
51030 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51032 return cycles;
51033 #undef FLD
51036 static int
51037 model_tomcat_bnclr (SIM_CPU *current_cpu, void *sem_arg)
51039 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51041 const IDESC * UNUSED idesc = abuf->idesc;
51042 int cycles = 0;
51044 int referenced = 0;
51045 int UNUSED insn_referenced = abuf->written;
51046 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51048 return cycles;
51049 #undef FLD
51052 static int
51053 model_tomcat_bnlr (SIM_CPU *current_cpu, void *sem_arg)
51055 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51057 const IDESC * UNUSED idesc = abuf->idesc;
51058 int cycles = 0;
51060 int referenced = 0;
51061 int UNUSED insn_referenced = abuf->written;
51062 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51064 return cycles;
51065 #undef FLD
51068 static int
51069 model_tomcat_bplr (SIM_CPU *current_cpu, void *sem_arg)
51071 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51073 const IDESC * UNUSED idesc = abuf->idesc;
51074 int cycles = 0;
51076 int referenced = 0;
51077 int UNUSED insn_referenced = abuf->written;
51078 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51080 return cycles;
51081 #undef FLD
51084 static int
51085 model_tomcat_bvlr (SIM_CPU *current_cpu, void *sem_arg)
51087 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51089 const IDESC * UNUSED idesc = abuf->idesc;
51090 int cycles = 0;
51092 int referenced = 0;
51093 int UNUSED insn_referenced = abuf->written;
51094 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51096 return cycles;
51097 #undef FLD
51100 static int
51101 model_tomcat_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
51103 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51105 const IDESC * UNUSED idesc = abuf->idesc;
51106 int cycles = 0;
51108 int referenced = 0;
51109 int UNUSED insn_referenced = abuf->written;
51110 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51112 return cycles;
51113 #undef FLD
51116 static int
51117 model_tomcat_fbralr (SIM_CPU *current_cpu, void *sem_arg)
51119 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51121 const IDESC * UNUSED idesc = abuf->idesc;
51122 int cycles = 0;
51124 int referenced = 0;
51125 int UNUSED insn_referenced = abuf->written;
51126 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51128 return cycles;
51129 #undef FLD
51132 static int
51133 model_tomcat_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
51135 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51137 const IDESC * UNUSED idesc = abuf->idesc;
51138 int cycles = 0;
51140 int referenced = 0;
51141 int UNUSED insn_referenced = abuf->written;
51142 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51144 return cycles;
51145 #undef FLD
51148 static int
51149 model_tomcat_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
51151 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51153 const IDESC * UNUSED idesc = abuf->idesc;
51154 int cycles = 0;
51156 int referenced = 0;
51157 int UNUSED insn_referenced = abuf->written;
51158 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51160 return cycles;
51161 #undef FLD
51164 static int
51165 model_tomcat_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
51167 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51169 const IDESC * UNUSED idesc = abuf->idesc;
51170 int cycles = 0;
51172 int referenced = 0;
51173 int UNUSED insn_referenced = abuf->written;
51174 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51176 return cycles;
51177 #undef FLD
51180 static int
51181 model_tomcat_fblglr (SIM_CPU *current_cpu, void *sem_arg)
51183 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51185 const IDESC * UNUSED idesc = abuf->idesc;
51186 int cycles = 0;
51188 int referenced = 0;
51189 int UNUSED insn_referenced = abuf->written;
51190 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51192 return cycles;
51193 #undef FLD
51196 static int
51197 model_tomcat_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
51199 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51201 const IDESC * UNUSED idesc = abuf->idesc;
51202 int cycles = 0;
51204 int referenced = 0;
51205 int UNUSED insn_referenced = abuf->written;
51206 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51208 return cycles;
51209 #undef FLD
51212 static int
51213 model_tomcat_fbullr (SIM_CPU *current_cpu, void *sem_arg)
51215 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51217 const IDESC * UNUSED idesc = abuf->idesc;
51218 int cycles = 0;
51220 int referenced = 0;
51221 int UNUSED insn_referenced = abuf->written;
51222 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51224 return cycles;
51225 #undef FLD
51228 static int
51229 model_tomcat_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
51231 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51233 const IDESC * UNUSED idesc = abuf->idesc;
51234 int cycles = 0;
51236 int referenced = 0;
51237 int UNUSED insn_referenced = abuf->written;
51238 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51240 return cycles;
51241 #undef FLD
51244 static int
51245 model_tomcat_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
51247 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51249 const IDESC * UNUSED idesc = abuf->idesc;
51250 int cycles = 0;
51252 int referenced = 0;
51253 int UNUSED insn_referenced = abuf->written;
51254 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51256 return cycles;
51257 #undef FLD
51260 static int
51261 model_tomcat_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
51263 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51265 const IDESC * UNUSED idesc = abuf->idesc;
51266 int cycles = 0;
51268 int referenced = 0;
51269 int UNUSED insn_referenced = abuf->written;
51270 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51272 return cycles;
51273 #undef FLD
51276 static int
51277 model_tomcat_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
51279 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51281 const IDESC * UNUSED idesc = abuf->idesc;
51282 int cycles = 0;
51284 int referenced = 0;
51285 int UNUSED insn_referenced = abuf->written;
51286 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51288 return cycles;
51289 #undef FLD
51292 static int
51293 model_tomcat_fblelr (SIM_CPU *current_cpu, void *sem_arg)
51295 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51297 const IDESC * UNUSED idesc = abuf->idesc;
51298 int cycles = 0;
51300 int referenced = 0;
51301 int UNUSED insn_referenced = abuf->written;
51302 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51304 return cycles;
51305 #undef FLD
51308 static int
51309 model_tomcat_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
51311 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51313 const IDESC * UNUSED idesc = abuf->idesc;
51314 int cycles = 0;
51316 int referenced = 0;
51317 int UNUSED insn_referenced = abuf->written;
51318 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51320 return cycles;
51321 #undef FLD
51324 static int
51325 model_tomcat_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
51327 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51329 const IDESC * UNUSED idesc = abuf->idesc;
51330 int cycles = 0;
51332 int referenced = 0;
51333 int UNUSED insn_referenced = abuf->written;
51334 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51336 return cycles;
51337 #undef FLD
51340 static int
51341 model_tomcat_fbulr (SIM_CPU *current_cpu, void *sem_arg)
51343 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51345 const IDESC * UNUSED idesc = abuf->idesc;
51346 int cycles = 0;
51348 int referenced = 0;
51349 int UNUSED insn_referenced = abuf->written;
51350 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51352 return cycles;
51353 #undef FLD
51356 static int
51357 model_tomcat_fbolr (SIM_CPU *current_cpu, void *sem_arg)
51359 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51361 const IDESC * UNUSED idesc = abuf->idesc;
51362 int cycles = 0;
51364 int referenced = 0;
51365 int UNUSED insn_referenced = abuf->written;
51366 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51368 return cycles;
51369 #undef FLD
51372 static int
51373 model_tomcat_bcralr (SIM_CPU *current_cpu, void *sem_arg)
51375 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51377 const IDESC * UNUSED idesc = abuf->idesc;
51378 int cycles = 0;
51380 int referenced = 0;
51381 int UNUSED insn_referenced = abuf->written;
51382 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51384 return cycles;
51385 #undef FLD
51388 static int
51389 model_tomcat_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
51391 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51393 const IDESC * UNUSED idesc = abuf->idesc;
51394 int cycles = 0;
51396 int referenced = 0;
51397 int UNUSED insn_referenced = abuf->written;
51398 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51400 return cycles;
51401 #undef FLD
51404 static int
51405 model_tomcat_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
51407 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51409 const IDESC * UNUSED idesc = abuf->idesc;
51410 int cycles = 0;
51412 int referenced = 0;
51413 int UNUSED insn_referenced = abuf->written;
51414 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51416 return cycles;
51417 #undef FLD
51420 static int
51421 model_tomcat_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
51423 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51425 const IDESC * UNUSED idesc = abuf->idesc;
51426 int cycles = 0;
51428 int referenced = 0;
51429 int UNUSED insn_referenced = abuf->written;
51430 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51432 return cycles;
51433 #undef FLD
51436 static int
51437 model_tomcat_bclelr (SIM_CPU *current_cpu, void *sem_arg)
51439 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51441 const IDESC * UNUSED idesc = abuf->idesc;
51442 int cycles = 0;
51444 int referenced = 0;
51445 int UNUSED insn_referenced = abuf->written;
51446 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51448 return cycles;
51449 #undef FLD
51452 static int
51453 model_tomcat_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
51455 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51457 const IDESC * UNUSED idesc = abuf->idesc;
51458 int cycles = 0;
51460 int referenced = 0;
51461 int UNUSED insn_referenced = abuf->written;
51462 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51464 return cycles;
51465 #undef FLD
51468 static int
51469 model_tomcat_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
51471 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51473 const IDESC * UNUSED idesc = abuf->idesc;
51474 int cycles = 0;
51476 int referenced = 0;
51477 int UNUSED insn_referenced = abuf->written;
51478 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51480 return cycles;
51481 #undef FLD
51484 static int
51485 model_tomcat_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
51487 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51489 const IDESC * UNUSED idesc = abuf->idesc;
51490 int cycles = 0;
51492 int referenced = 0;
51493 int UNUSED insn_referenced = abuf->written;
51494 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51496 return cycles;
51497 #undef FLD
51500 static int
51501 model_tomcat_bclslr (SIM_CPU *current_cpu, void *sem_arg)
51503 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51505 const IDESC * UNUSED idesc = abuf->idesc;
51506 int cycles = 0;
51508 int referenced = 0;
51509 int UNUSED insn_referenced = abuf->written;
51510 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51512 return cycles;
51513 #undef FLD
51516 static int
51517 model_tomcat_bchilr (SIM_CPU *current_cpu, void *sem_arg)
51519 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51521 const IDESC * UNUSED idesc = abuf->idesc;
51522 int cycles = 0;
51524 int referenced = 0;
51525 int UNUSED insn_referenced = abuf->written;
51526 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51528 return cycles;
51529 #undef FLD
51532 static int
51533 model_tomcat_bcclr (SIM_CPU *current_cpu, void *sem_arg)
51535 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51537 const IDESC * UNUSED idesc = abuf->idesc;
51538 int cycles = 0;
51540 int referenced = 0;
51541 int UNUSED insn_referenced = abuf->written;
51542 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51544 return cycles;
51545 #undef FLD
51548 static int
51549 model_tomcat_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
51551 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51553 const IDESC * UNUSED idesc = abuf->idesc;
51554 int cycles = 0;
51556 int referenced = 0;
51557 int UNUSED insn_referenced = abuf->written;
51558 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51560 return cycles;
51561 #undef FLD
51564 static int
51565 model_tomcat_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
51567 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51569 const IDESC * UNUSED idesc = abuf->idesc;
51570 int cycles = 0;
51572 int referenced = 0;
51573 int UNUSED insn_referenced = abuf->written;
51574 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51576 return cycles;
51577 #undef FLD
51580 static int
51581 model_tomcat_bcplr (SIM_CPU *current_cpu, void *sem_arg)
51583 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51585 const IDESC * UNUSED idesc = abuf->idesc;
51586 int cycles = 0;
51588 int referenced = 0;
51589 int UNUSED insn_referenced = abuf->written;
51590 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51592 return cycles;
51593 #undef FLD
51596 static int
51597 model_tomcat_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
51599 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51601 const IDESC * UNUSED idesc = abuf->idesc;
51602 int cycles = 0;
51604 int referenced = 0;
51605 int UNUSED insn_referenced = abuf->written;
51606 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51608 return cycles;
51609 #undef FLD
51612 static int
51613 model_tomcat_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
51615 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51617 const IDESC * UNUSED idesc = abuf->idesc;
51618 int cycles = 0;
51620 int referenced = 0;
51621 int UNUSED insn_referenced = abuf->written;
51622 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51624 return cycles;
51625 #undef FLD
51628 static int
51629 model_tomcat_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
51631 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51633 const IDESC * UNUSED idesc = abuf->idesc;
51634 int cycles = 0;
51636 int referenced = 0;
51637 int UNUSED insn_referenced = abuf->written;
51638 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51640 return cycles;
51641 #undef FLD
51644 static int
51645 model_tomcat_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
51647 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51649 const IDESC * UNUSED idesc = abuf->idesc;
51650 int cycles = 0;
51652 int referenced = 0;
51653 int UNUSED insn_referenced = abuf->written;
51654 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51656 return cycles;
51657 #undef FLD
51660 static int
51661 model_tomcat_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
51663 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51665 const IDESC * UNUSED idesc = abuf->idesc;
51666 int cycles = 0;
51668 int referenced = 0;
51669 int UNUSED insn_referenced = abuf->written;
51670 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51672 return cycles;
51673 #undef FLD
51676 static int
51677 model_tomcat_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
51679 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51681 const IDESC * UNUSED idesc = abuf->idesc;
51682 int cycles = 0;
51684 int referenced = 0;
51685 int UNUSED insn_referenced = abuf->written;
51686 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51688 return cycles;
51689 #undef FLD
51692 static int
51693 model_tomcat_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
51695 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51697 const IDESC * UNUSED idesc = abuf->idesc;
51698 int cycles = 0;
51700 int referenced = 0;
51701 int UNUSED insn_referenced = abuf->written;
51702 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51704 return cycles;
51705 #undef FLD
51708 static int
51709 model_tomcat_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
51711 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51713 const IDESC * UNUSED idesc = abuf->idesc;
51714 int cycles = 0;
51716 int referenced = 0;
51717 int UNUSED insn_referenced = abuf->written;
51718 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51720 return cycles;
51721 #undef FLD
51724 static int
51725 model_tomcat_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
51727 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51729 const IDESC * UNUSED idesc = abuf->idesc;
51730 int cycles = 0;
51732 int referenced = 0;
51733 int UNUSED insn_referenced = abuf->written;
51734 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51736 return cycles;
51737 #undef FLD
51740 static int
51741 model_tomcat_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
51743 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51745 const IDESC * UNUSED idesc = abuf->idesc;
51746 int cycles = 0;
51748 int referenced = 0;
51749 int UNUSED insn_referenced = abuf->written;
51750 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51752 return cycles;
51753 #undef FLD
51756 static int
51757 model_tomcat_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
51759 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51761 const IDESC * UNUSED idesc = abuf->idesc;
51762 int cycles = 0;
51764 int referenced = 0;
51765 int UNUSED insn_referenced = abuf->written;
51766 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51768 return cycles;
51769 #undef FLD
51772 static int
51773 model_tomcat_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
51775 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51777 const IDESC * UNUSED idesc = abuf->idesc;
51778 int cycles = 0;
51780 int referenced = 0;
51781 int UNUSED insn_referenced = abuf->written;
51782 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51784 return cycles;
51785 #undef FLD
51788 static int
51789 model_tomcat_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
51791 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51793 const IDESC * UNUSED idesc = abuf->idesc;
51794 int cycles = 0;
51796 int referenced = 0;
51797 int UNUSED insn_referenced = abuf->written;
51798 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51800 return cycles;
51801 #undef FLD
51804 static int
51805 model_tomcat_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
51807 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51809 const IDESC * UNUSED idesc = abuf->idesc;
51810 int cycles = 0;
51812 int referenced = 0;
51813 int UNUSED insn_referenced = abuf->written;
51814 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51816 return cycles;
51817 #undef FLD
51820 static int
51821 model_tomcat_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
51823 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51825 const IDESC * UNUSED idesc = abuf->idesc;
51826 int cycles = 0;
51828 int referenced = 0;
51829 int UNUSED insn_referenced = abuf->written;
51830 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51832 return cycles;
51833 #undef FLD
51836 static int
51837 model_tomcat_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
51839 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51841 const IDESC * UNUSED idesc = abuf->idesc;
51842 int cycles = 0;
51844 int referenced = 0;
51845 int UNUSED insn_referenced = abuf->written;
51846 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51848 return cycles;
51849 #undef FLD
51852 static int
51853 model_tomcat_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
51855 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51857 const IDESC * UNUSED idesc = abuf->idesc;
51858 int cycles = 0;
51860 int referenced = 0;
51861 int UNUSED insn_referenced = abuf->written;
51862 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51864 return cycles;
51865 #undef FLD
51868 static int
51869 model_tomcat_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
51871 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51873 const IDESC * UNUSED idesc = abuf->idesc;
51874 int cycles = 0;
51876 int referenced = 0;
51877 int UNUSED insn_referenced = abuf->written;
51878 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51880 return cycles;
51881 #undef FLD
51884 static int
51885 model_tomcat_jmpl (SIM_CPU *current_cpu, void *sem_arg)
51887 #define FLD(f) abuf->fields.sfmt_cjmpl.f
51888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51889 const IDESC * UNUSED idesc = abuf->idesc;
51890 int cycles = 0;
51892 int referenced = 0;
51893 int UNUSED insn_referenced = abuf->written;
51894 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51896 return cycles;
51897 #undef FLD
51900 static int
51901 model_tomcat_calll (SIM_CPU *current_cpu, void *sem_arg)
51903 #define FLD(f) abuf->fields.sfmt_cjmpl.f
51904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51905 const IDESC * UNUSED idesc = abuf->idesc;
51906 int cycles = 0;
51908 int referenced = 0;
51909 int UNUSED insn_referenced = abuf->written;
51910 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51912 return cycles;
51913 #undef FLD
51916 static int
51917 model_tomcat_jmpil (SIM_CPU *current_cpu, void *sem_arg)
51919 #define FLD(f) abuf->fields.sfmt_jmpil.f
51920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51921 const IDESC * UNUSED idesc = abuf->idesc;
51922 int cycles = 0;
51924 int referenced = 0;
51925 int UNUSED insn_referenced = abuf->written;
51926 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51928 return cycles;
51929 #undef FLD
51932 static int
51933 model_tomcat_callil (SIM_CPU *current_cpu, void *sem_arg)
51935 #define FLD(f) abuf->fields.sfmt_jmpil.f
51936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51937 const IDESC * UNUSED idesc = abuf->idesc;
51938 int cycles = 0;
51940 int referenced = 0;
51941 int UNUSED insn_referenced = abuf->written;
51942 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51944 return cycles;
51945 #undef FLD
51948 static int
51949 model_tomcat_call (SIM_CPU *current_cpu, void *sem_arg)
51951 #define FLD(f) abuf->fields.sfmt_call.f
51952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51953 const IDESC * UNUSED idesc = abuf->idesc;
51954 int cycles = 0;
51956 int referenced = 0;
51957 int UNUSED insn_referenced = abuf->written;
51958 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51960 return cycles;
51961 #undef FLD
51964 static int
51965 model_tomcat_rett (SIM_CPU *current_cpu, void *sem_arg)
51967 #define FLD(f) abuf->fields.sfmt_rett.f
51968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51969 const IDESC * UNUSED idesc = abuf->idesc;
51970 int cycles = 0;
51972 int referenced = 0;
51973 int UNUSED insn_referenced = abuf->written;
51974 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51976 return cycles;
51977 #undef FLD
51980 static int
51981 model_tomcat_rei (SIM_CPU *current_cpu, void *sem_arg)
51983 #define FLD(f) abuf->fields.sfmt_empty.f
51984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51985 const IDESC * UNUSED idesc = abuf->idesc;
51986 int cycles = 0;
51988 int referenced = 0;
51989 int UNUSED insn_referenced = abuf->written;
51990 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51992 return cycles;
51993 #undef FLD
51996 static int
51997 model_tomcat_tra (SIM_CPU *current_cpu, void *sem_arg)
51999 #define FLD(f) abuf->fields.sfmt_ftne.f
52000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52001 const IDESC * UNUSED idesc = abuf->idesc;
52002 int cycles = 0;
52004 int referenced = 0;
52005 int UNUSED insn_referenced = abuf->written;
52006 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52008 return cycles;
52009 #undef FLD
52012 static int
52013 model_tomcat_tno (SIM_CPU *current_cpu, void *sem_arg)
52015 #define FLD(f) abuf->fields.sfmt_empty.f
52016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52017 const IDESC * UNUSED idesc = abuf->idesc;
52018 int cycles = 0;
52020 int referenced = 0;
52021 int UNUSED insn_referenced = abuf->written;
52022 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52024 return cycles;
52025 #undef FLD
52028 static int
52029 model_tomcat_teq (SIM_CPU *current_cpu, void *sem_arg)
52031 #define FLD(f) abuf->fields.sfmt_teq.f
52032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52033 const IDESC * UNUSED idesc = abuf->idesc;
52034 int cycles = 0;
52036 int referenced = 0;
52037 int UNUSED insn_referenced = abuf->written;
52038 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52040 return cycles;
52041 #undef FLD
52044 static int
52045 model_tomcat_tne (SIM_CPU *current_cpu, void *sem_arg)
52047 #define FLD(f) abuf->fields.sfmt_teq.f
52048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52049 const IDESC * UNUSED idesc = abuf->idesc;
52050 int cycles = 0;
52052 int referenced = 0;
52053 int UNUSED insn_referenced = abuf->written;
52054 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52056 return cycles;
52057 #undef FLD
52060 static int
52061 model_tomcat_tle (SIM_CPU *current_cpu, void *sem_arg)
52063 #define FLD(f) abuf->fields.sfmt_teq.f
52064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52065 const IDESC * UNUSED idesc = abuf->idesc;
52066 int cycles = 0;
52068 int referenced = 0;
52069 int UNUSED insn_referenced = abuf->written;
52070 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52072 return cycles;
52073 #undef FLD
52076 static int
52077 model_tomcat_tgt (SIM_CPU *current_cpu, void *sem_arg)
52079 #define FLD(f) abuf->fields.sfmt_teq.f
52080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52081 const IDESC * UNUSED idesc = abuf->idesc;
52082 int cycles = 0;
52084 int referenced = 0;
52085 int UNUSED insn_referenced = abuf->written;
52086 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52088 return cycles;
52089 #undef FLD
52092 static int
52093 model_tomcat_tlt (SIM_CPU *current_cpu, void *sem_arg)
52095 #define FLD(f) abuf->fields.sfmt_teq.f
52096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52097 const IDESC * UNUSED idesc = abuf->idesc;
52098 int cycles = 0;
52100 int referenced = 0;
52101 int UNUSED insn_referenced = abuf->written;
52102 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52104 return cycles;
52105 #undef FLD
52108 static int
52109 model_tomcat_tge (SIM_CPU *current_cpu, void *sem_arg)
52111 #define FLD(f) abuf->fields.sfmt_teq.f
52112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52113 const IDESC * UNUSED idesc = abuf->idesc;
52114 int cycles = 0;
52116 int referenced = 0;
52117 int UNUSED insn_referenced = abuf->written;
52118 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52120 return cycles;
52121 #undef FLD
52124 static int
52125 model_tomcat_tls (SIM_CPU *current_cpu, void *sem_arg)
52127 #define FLD(f) abuf->fields.sfmt_teq.f
52128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52129 const IDESC * UNUSED idesc = abuf->idesc;
52130 int cycles = 0;
52132 int referenced = 0;
52133 int UNUSED insn_referenced = abuf->written;
52134 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52136 return cycles;
52137 #undef FLD
52140 static int
52141 model_tomcat_thi (SIM_CPU *current_cpu, void *sem_arg)
52143 #define FLD(f) abuf->fields.sfmt_teq.f
52144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52145 const IDESC * UNUSED idesc = abuf->idesc;
52146 int cycles = 0;
52148 int referenced = 0;
52149 int UNUSED insn_referenced = abuf->written;
52150 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52152 return cycles;
52153 #undef FLD
52156 static int
52157 model_tomcat_tc (SIM_CPU *current_cpu, void *sem_arg)
52159 #define FLD(f) abuf->fields.sfmt_teq.f
52160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52161 const IDESC * UNUSED idesc = abuf->idesc;
52162 int cycles = 0;
52164 int referenced = 0;
52165 int UNUSED insn_referenced = abuf->written;
52166 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52168 return cycles;
52169 #undef FLD
52172 static int
52173 model_tomcat_tnc (SIM_CPU *current_cpu, void *sem_arg)
52175 #define FLD(f) abuf->fields.sfmt_teq.f
52176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52177 const IDESC * UNUSED idesc = abuf->idesc;
52178 int cycles = 0;
52180 int referenced = 0;
52181 int UNUSED insn_referenced = abuf->written;
52182 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52184 return cycles;
52185 #undef FLD
52188 static int
52189 model_tomcat_tn (SIM_CPU *current_cpu, void *sem_arg)
52191 #define FLD(f) abuf->fields.sfmt_teq.f
52192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52193 const IDESC * UNUSED idesc = abuf->idesc;
52194 int cycles = 0;
52196 int referenced = 0;
52197 int UNUSED insn_referenced = abuf->written;
52198 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52200 return cycles;
52201 #undef FLD
52204 static int
52205 model_tomcat_tp (SIM_CPU *current_cpu, void *sem_arg)
52207 #define FLD(f) abuf->fields.sfmt_teq.f
52208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52209 const IDESC * UNUSED idesc = abuf->idesc;
52210 int cycles = 0;
52212 int referenced = 0;
52213 int UNUSED insn_referenced = abuf->written;
52214 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52216 return cycles;
52217 #undef FLD
52220 static int
52221 model_tomcat_tv (SIM_CPU *current_cpu, void *sem_arg)
52223 #define FLD(f) abuf->fields.sfmt_teq.f
52224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52225 const IDESC * UNUSED idesc = abuf->idesc;
52226 int cycles = 0;
52228 int referenced = 0;
52229 int UNUSED insn_referenced = abuf->written;
52230 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52232 return cycles;
52233 #undef FLD
52236 static int
52237 model_tomcat_tnv (SIM_CPU *current_cpu, void *sem_arg)
52239 #define FLD(f) abuf->fields.sfmt_teq.f
52240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52241 const IDESC * UNUSED idesc = abuf->idesc;
52242 int cycles = 0;
52244 int referenced = 0;
52245 int UNUSED insn_referenced = abuf->written;
52246 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52248 return cycles;
52249 #undef FLD
52252 static int
52253 model_tomcat_ftra (SIM_CPU *current_cpu, void *sem_arg)
52255 #define FLD(f) abuf->fields.sfmt_ftne.f
52256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52257 const IDESC * UNUSED idesc = abuf->idesc;
52258 int cycles = 0;
52260 int referenced = 0;
52261 int UNUSED insn_referenced = abuf->written;
52262 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52264 return cycles;
52265 #undef FLD
52268 static int
52269 model_tomcat_ftno (SIM_CPU *current_cpu, void *sem_arg)
52271 #define FLD(f) abuf->fields.sfmt_empty.f
52272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52273 const IDESC * UNUSED idesc = abuf->idesc;
52274 int cycles = 0;
52276 int referenced = 0;
52277 int UNUSED insn_referenced = abuf->written;
52278 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52280 return cycles;
52281 #undef FLD
52284 static int
52285 model_tomcat_ftne (SIM_CPU *current_cpu, void *sem_arg)
52287 #define FLD(f) abuf->fields.sfmt_ftne.f
52288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52289 const IDESC * UNUSED idesc = abuf->idesc;
52290 int cycles = 0;
52292 int referenced = 0;
52293 int UNUSED insn_referenced = abuf->written;
52294 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52296 return cycles;
52297 #undef FLD
52300 static int
52301 model_tomcat_fteq (SIM_CPU *current_cpu, void *sem_arg)
52303 #define FLD(f) abuf->fields.sfmt_ftne.f
52304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52305 const IDESC * UNUSED idesc = abuf->idesc;
52306 int cycles = 0;
52308 int referenced = 0;
52309 int UNUSED insn_referenced = abuf->written;
52310 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52312 return cycles;
52313 #undef FLD
52316 static int
52317 model_tomcat_ftlg (SIM_CPU *current_cpu, void *sem_arg)
52319 #define FLD(f) abuf->fields.sfmt_ftne.f
52320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52321 const IDESC * UNUSED idesc = abuf->idesc;
52322 int cycles = 0;
52324 int referenced = 0;
52325 int UNUSED insn_referenced = abuf->written;
52326 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52328 return cycles;
52329 #undef FLD
52332 static int
52333 model_tomcat_ftue (SIM_CPU *current_cpu, void *sem_arg)
52335 #define FLD(f) abuf->fields.sfmt_ftne.f
52336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52337 const IDESC * UNUSED idesc = abuf->idesc;
52338 int cycles = 0;
52340 int referenced = 0;
52341 int UNUSED insn_referenced = abuf->written;
52342 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52344 return cycles;
52345 #undef FLD
52348 static int
52349 model_tomcat_ftul (SIM_CPU *current_cpu, void *sem_arg)
52351 #define FLD(f) abuf->fields.sfmt_ftne.f
52352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52353 const IDESC * UNUSED idesc = abuf->idesc;
52354 int cycles = 0;
52356 int referenced = 0;
52357 int UNUSED insn_referenced = abuf->written;
52358 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52360 return cycles;
52361 #undef FLD
52364 static int
52365 model_tomcat_ftge (SIM_CPU *current_cpu, void *sem_arg)
52367 #define FLD(f) abuf->fields.sfmt_ftne.f
52368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52369 const IDESC * UNUSED idesc = abuf->idesc;
52370 int cycles = 0;
52372 int referenced = 0;
52373 int UNUSED insn_referenced = abuf->written;
52374 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52376 return cycles;
52377 #undef FLD
52380 static int
52381 model_tomcat_ftlt (SIM_CPU *current_cpu, void *sem_arg)
52383 #define FLD(f) abuf->fields.sfmt_ftne.f
52384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52385 const IDESC * UNUSED idesc = abuf->idesc;
52386 int cycles = 0;
52388 int referenced = 0;
52389 int UNUSED insn_referenced = abuf->written;
52390 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52392 return cycles;
52393 #undef FLD
52396 static int
52397 model_tomcat_ftuge (SIM_CPU *current_cpu, void *sem_arg)
52399 #define FLD(f) abuf->fields.sfmt_ftne.f
52400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52401 const IDESC * UNUSED idesc = abuf->idesc;
52402 int cycles = 0;
52404 int referenced = 0;
52405 int UNUSED insn_referenced = abuf->written;
52406 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52408 return cycles;
52409 #undef FLD
52412 static int
52413 model_tomcat_ftug (SIM_CPU *current_cpu, void *sem_arg)
52415 #define FLD(f) abuf->fields.sfmt_ftne.f
52416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52417 const IDESC * UNUSED idesc = abuf->idesc;
52418 int cycles = 0;
52420 int referenced = 0;
52421 int UNUSED insn_referenced = abuf->written;
52422 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52424 return cycles;
52425 #undef FLD
52428 static int
52429 model_tomcat_ftle (SIM_CPU *current_cpu, void *sem_arg)
52431 #define FLD(f) abuf->fields.sfmt_ftne.f
52432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52433 const IDESC * UNUSED idesc = abuf->idesc;
52434 int cycles = 0;
52436 int referenced = 0;
52437 int UNUSED insn_referenced = abuf->written;
52438 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52440 return cycles;
52441 #undef FLD
52444 static int
52445 model_tomcat_ftgt (SIM_CPU *current_cpu, void *sem_arg)
52447 #define FLD(f) abuf->fields.sfmt_ftne.f
52448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52449 const IDESC * UNUSED idesc = abuf->idesc;
52450 int cycles = 0;
52452 int referenced = 0;
52453 int UNUSED insn_referenced = abuf->written;
52454 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52456 return cycles;
52457 #undef FLD
52460 static int
52461 model_tomcat_ftule (SIM_CPU *current_cpu, void *sem_arg)
52463 #define FLD(f) abuf->fields.sfmt_ftne.f
52464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52465 const IDESC * UNUSED idesc = abuf->idesc;
52466 int cycles = 0;
52468 int referenced = 0;
52469 int UNUSED insn_referenced = abuf->written;
52470 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52472 return cycles;
52473 #undef FLD
52476 static int
52477 model_tomcat_ftu (SIM_CPU *current_cpu, void *sem_arg)
52479 #define FLD(f) abuf->fields.sfmt_ftne.f
52480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52481 const IDESC * UNUSED idesc = abuf->idesc;
52482 int cycles = 0;
52484 int referenced = 0;
52485 int UNUSED insn_referenced = abuf->written;
52486 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52488 return cycles;
52489 #undef FLD
52492 static int
52493 model_tomcat_fto (SIM_CPU *current_cpu, void *sem_arg)
52495 #define FLD(f) abuf->fields.sfmt_ftne.f
52496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52497 const IDESC * UNUSED idesc = abuf->idesc;
52498 int cycles = 0;
52500 int referenced = 0;
52501 int UNUSED insn_referenced = abuf->written;
52502 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52504 return cycles;
52505 #undef FLD
52508 static int
52509 model_tomcat_tira (SIM_CPU *current_cpu, void *sem_arg)
52511 #define FLD(f) abuf->fields.sfmt_ftine.f
52512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52513 const IDESC * UNUSED idesc = abuf->idesc;
52514 int cycles = 0;
52516 int referenced = 0;
52517 int UNUSED insn_referenced = abuf->written;
52518 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52520 return cycles;
52521 #undef FLD
52524 static int
52525 model_tomcat_tino (SIM_CPU *current_cpu, void *sem_arg)
52527 #define FLD(f) abuf->fields.sfmt_empty.f
52528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52529 const IDESC * UNUSED idesc = abuf->idesc;
52530 int cycles = 0;
52532 int referenced = 0;
52533 int UNUSED insn_referenced = abuf->written;
52534 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52536 return cycles;
52537 #undef FLD
52540 static int
52541 model_tomcat_tieq (SIM_CPU *current_cpu, void *sem_arg)
52543 #define FLD(f) abuf->fields.sfmt_tieq.f
52544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52545 const IDESC * UNUSED idesc = abuf->idesc;
52546 int cycles = 0;
52548 int referenced = 0;
52549 int UNUSED insn_referenced = abuf->written;
52550 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52552 return cycles;
52553 #undef FLD
52556 static int
52557 model_tomcat_tine (SIM_CPU *current_cpu, void *sem_arg)
52559 #define FLD(f) abuf->fields.sfmt_tieq.f
52560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52561 const IDESC * UNUSED idesc = abuf->idesc;
52562 int cycles = 0;
52564 int referenced = 0;
52565 int UNUSED insn_referenced = abuf->written;
52566 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52568 return cycles;
52569 #undef FLD
52572 static int
52573 model_tomcat_tile (SIM_CPU *current_cpu, void *sem_arg)
52575 #define FLD(f) abuf->fields.sfmt_tieq.f
52576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52577 const IDESC * UNUSED idesc = abuf->idesc;
52578 int cycles = 0;
52580 int referenced = 0;
52581 int UNUSED insn_referenced = abuf->written;
52582 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52584 return cycles;
52585 #undef FLD
52588 static int
52589 model_tomcat_tigt (SIM_CPU *current_cpu, void *sem_arg)
52591 #define FLD(f) abuf->fields.sfmt_tieq.f
52592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52593 const IDESC * UNUSED idesc = abuf->idesc;
52594 int cycles = 0;
52596 int referenced = 0;
52597 int UNUSED insn_referenced = abuf->written;
52598 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52600 return cycles;
52601 #undef FLD
52604 static int
52605 model_tomcat_tilt (SIM_CPU *current_cpu, void *sem_arg)
52607 #define FLD(f) abuf->fields.sfmt_tieq.f
52608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52609 const IDESC * UNUSED idesc = abuf->idesc;
52610 int cycles = 0;
52612 int referenced = 0;
52613 int UNUSED insn_referenced = abuf->written;
52614 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52616 return cycles;
52617 #undef FLD
52620 static int
52621 model_tomcat_tige (SIM_CPU *current_cpu, void *sem_arg)
52623 #define FLD(f) abuf->fields.sfmt_tieq.f
52624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52625 const IDESC * UNUSED idesc = abuf->idesc;
52626 int cycles = 0;
52628 int referenced = 0;
52629 int UNUSED insn_referenced = abuf->written;
52630 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52632 return cycles;
52633 #undef FLD
52636 static int
52637 model_tomcat_tils (SIM_CPU *current_cpu, void *sem_arg)
52639 #define FLD(f) abuf->fields.sfmt_tieq.f
52640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52641 const IDESC * UNUSED idesc = abuf->idesc;
52642 int cycles = 0;
52644 int referenced = 0;
52645 int UNUSED insn_referenced = abuf->written;
52646 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52648 return cycles;
52649 #undef FLD
52652 static int
52653 model_tomcat_tihi (SIM_CPU *current_cpu, void *sem_arg)
52655 #define FLD(f) abuf->fields.sfmt_tieq.f
52656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52657 const IDESC * UNUSED idesc = abuf->idesc;
52658 int cycles = 0;
52660 int referenced = 0;
52661 int UNUSED insn_referenced = abuf->written;
52662 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52664 return cycles;
52665 #undef FLD
52668 static int
52669 model_tomcat_tic (SIM_CPU *current_cpu, void *sem_arg)
52671 #define FLD(f) abuf->fields.sfmt_tieq.f
52672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52673 const IDESC * UNUSED idesc = abuf->idesc;
52674 int cycles = 0;
52676 int referenced = 0;
52677 int UNUSED insn_referenced = abuf->written;
52678 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52680 return cycles;
52681 #undef FLD
52684 static int
52685 model_tomcat_tinc (SIM_CPU *current_cpu, void *sem_arg)
52687 #define FLD(f) abuf->fields.sfmt_tieq.f
52688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52689 const IDESC * UNUSED idesc = abuf->idesc;
52690 int cycles = 0;
52692 int referenced = 0;
52693 int UNUSED insn_referenced = abuf->written;
52694 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52696 return cycles;
52697 #undef FLD
52700 static int
52701 model_tomcat_tin (SIM_CPU *current_cpu, void *sem_arg)
52703 #define FLD(f) abuf->fields.sfmt_tieq.f
52704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52705 const IDESC * UNUSED idesc = abuf->idesc;
52706 int cycles = 0;
52708 int referenced = 0;
52709 int UNUSED insn_referenced = abuf->written;
52710 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52712 return cycles;
52713 #undef FLD
52716 static int
52717 model_tomcat_tip (SIM_CPU *current_cpu, void *sem_arg)
52719 #define FLD(f) abuf->fields.sfmt_tieq.f
52720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52721 const IDESC * UNUSED idesc = abuf->idesc;
52722 int cycles = 0;
52724 int referenced = 0;
52725 int UNUSED insn_referenced = abuf->written;
52726 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52728 return cycles;
52729 #undef FLD
52732 static int
52733 model_tomcat_tiv (SIM_CPU *current_cpu, void *sem_arg)
52735 #define FLD(f) abuf->fields.sfmt_tieq.f
52736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52737 const IDESC * UNUSED idesc = abuf->idesc;
52738 int cycles = 0;
52740 int referenced = 0;
52741 int UNUSED insn_referenced = abuf->written;
52742 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52744 return cycles;
52745 #undef FLD
52748 static int
52749 model_tomcat_tinv (SIM_CPU *current_cpu, void *sem_arg)
52751 #define FLD(f) abuf->fields.sfmt_tieq.f
52752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52753 const IDESC * UNUSED idesc = abuf->idesc;
52754 int cycles = 0;
52756 int referenced = 0;
52757 int UNUSED insn_referenced = abuf->written;
52758 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52760 return cycles;
52761 #undef FLD
52764 static int
52765 model_tomcat_ftira (SIM_CPU *current_cpu, void *sem_arg)
52767 #define FLD(f) abuf->fields.sfmt_ftine.f
52768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52769 const IDESC * UNUSED idesc = abuf->idesc;
52770 int cycles = 0;
52772 int referenced = 0;
52773 int UNUSED insn_referenced = abuf->written;
52774 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52776 return cycles;
52777 #undef FLD
52780 static int
52781 model_tomcat_ftino (SIM_CPU *current_cpu, void *sem_arg)
52783 #define FLD(f) abuf->fields.sfmt_empty.f
52784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52785 const IDESC * UNUSED idesc = abuf->idesc;
52786 int cycles = 0;
52788 int referenced = 0;
52789 int UNUSED insn_referenced = abuf->written;
52790 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52792 return cycles;
52793 #undef FLD
52796 static int
52797 model_tomcat_ftine (SIM_CPU *current_cpu, void *sem_arg)
52799 #define FLD(f) abuf->fields.sfmt_ftine.f
52800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52801 const IDESC * UNUSED idesc = abuf->idesc;
52802 int cycles = 0;
52804 int referenced = 0;
52805 int UNUSED insn_referenced = abuf->written;
52806 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52808 return cycles;
52809 #undef FLD
52812 static int
52813 model_tomcat_ftieq (SIM_CPU *current_cpu, void *sem_arg)
52815 #define FLD(f) abuf->fields.sfmt_ftine.f
52816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52817 const IDESC * UNUSED idesc = abuf->idesc;
52818 int cycles = 0;
52820 int referenced = 0;
52821 int UNUSED insn_referenced = abuf->written;
52822 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52824 return cycles;
52825 #undef FLD
52828 static int
52829 model_tomcat_ftilg (SIM_CPU *current_cpu, void *sem_arg)
52831 #define FLD(f) abuf->fields.sfmt_ftine.f
52832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52833 const IDESC * UNUSED idesc = abuf->idesc;
52834 int cycles = 0;
52836 int referenced = 0;
52837 int UNUSED insn_referenced = abuf->written;
52838 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52840 return cycles;
52841 #undef FLD
52844 static int
52845 model_tomcat_ftiue (SIM_CPU *current_cpu, void *sem_arg)
52847 #define FLD(f) abuf->fields.sfmt_ftine.f
52848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52849 const IDESC * UNUSED idesc = abuf->idesc;
52850 int cycles = 0;
52852 int referenced = 0;
52853 int UNUSED insn_referenced = abuf->written;
52854 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52856 return cycles;
52857 #undef FLD
52860 static int
52861 model_tomcat_ftiul (SIM_CPU *current_cpu, void *sem_arg)
52863 #define FLD(f) abuf->fields.sfmt_ftine.f
52864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52865 const IDESC * UNUSED idesc = abuf->idesc;
52866 int cycles = 0;
52868 int referenced = 0;
52869 int UNUSED insn_referenced = abuf->written;
52870 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52872 return cycles;
52873 #undef FLD
52876 static int
52877 model_tomcat_ftige (SIM_CPU *current_cpu, void *sem_arg)
52879 #define FLD(f) abuf->fields.sfmt_ftine.f
52880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52881 const IDESC * UNUSED idesc = abuf->idesc;
52882 int cycles = 0;
52884 int referenced = 0;
52885 int UNUSED insn_referenced = abuf->written;
52886 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52888 return cycles;
52889 #undef FLD
52892 static int
52893 model_tomcat_ftilt (SIM_CPU *current_cpu, void *sem_arg)
52895 #define FLD(f) abuf->fields.sfmt_ftine.f
52896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52897 const IDESC * UNUSED idesc = abuf->idesc;
52898 int cycles = 0;
52900 int referenced = 0;
52901 int UNUSED insn_referenced = abuf->written;
52902 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52904 return cycles;
52905 #undef FLD
52908 static int
52909 model_tomcat_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
52911 #define FLD(f) abuf->fields.sfmt_ftine.f
52912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52913 const IDESC * UNUSED idesc = abuf->idesc;
52914 int cycles = 0;
52916 int referenced = 0;
52917 int UNUSED insn_referenced = abuf->written;
52918 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52920 return cycles;
52921 #undef FLD
52924 static int
52925 model_tomcat_ftiug (SIM_CPU *current_cpu, void *sem_arg)
52927 #define FLD(f) abuf->fields.sfmt_ftine.f
52928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52929 const IDESC * UNUSED idesc = abuf->idesc;
52930 int cycles = 0;
52932 int referenced = 0;
52933 int UNUSED insn_referenced = abuf->written;
52934 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52936 return cycles;
52937 #undef FLD
52940 static int
52941 model_tomcat_ftile (SIM_CPU *current_cpu, void *sem_arg)
52943 #define FLD(f) abuf->fields.sfmt_ftine.f
52944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52945 const IDESC * UNUSED idesc = abuf->idesc;
52946 int cycles = 0;
52948 int referenced = 0;
52949 int UNUSED insn_referenced = abuf->written;
52950 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52952 return cycles;
52953 #undef FLD
52956 static int
52957 model_tomcat_ftigt (SIM_CPU *current_cpu, void *sem_arg)
52959 #define FLD(f) abuf->fields.sfmt_ftine.f
52960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52961 const IDESC * UNUSED idesc = abuf->idesc;
52962 int cycles = 0;
52964 int referenced = 0;
52965 int UNUSED insn_referenced = abuf->written;
52966 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52968 return cycles;
52969 #undef FLD
52972 static int
52973 model_tomcat_ftiule (SIM_CPU *current_cpu, void *sem_arg)
52975 #define FLD(f) abuf->fields.sfmt_ftine.f
52976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52977 const IDESC * UNUSED idesc = abuf->idesc;
52978 int cycles = 0;
52980 int referenced = 0;
52981 int UNUSED insn_referenced = abuf->written;
52982 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52984 return cycles;
52985 #undef FLD
52988 static int
52989 model_tomcat_ftiu (SIM_CPU *current_cpu, void *sem_arg)
52991 #define FLD(f) abuf->fields.sfmt_ftine.f
52992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52993 const IDESC * UNUSED idesc = abuf->idesc;
52994 int cycles = 0;
52996 int referenced = 0;
52997 int UNUSED insn_referenced = abuf->written;
52998 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53000 return cycles;
53001 #undef FLD
53004 static int
53005 model_tomcat_ftio (SIM_CPU *current_cpu, void *sem_arg)
53007 #define FLD(f) abuf->fields.sfmt_ftine.f
53008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53009 const IDESC * UNUSED idesc = abuf->idesc;
53010 int cycles = 0;
53012 int referenced = 0;
53013 int UNUSED insn_referenced = abuf->written;
53014 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53016 return cycles;
53017 #undef FLD
53020 static int
53021 model_tomcat_break (SIM_CPU *current_cpu, void *sem_arg)
53023 #define FLD(f) abuf->fields.sfmt_break.f
53024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53025 const IDESC * UNUSED idesc = abuf->idesc;
53026 int cycles = 0;
53028 int referenced = 0;
53029 int UNUSED insn_referenced = abuf->written;
53030 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53032 return cycles;
53033 #undef FLD
53036 static int
53037 model_tomcat_mtrap (SIM_CPU *current_cpu, void *sem_arg)
53039 #define FLD(f) abuf->fields.sfmt_empty.f
53040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53041 const IDESC * UNUSED idesc = abuf->idesc;
53042 int cycles = 0;
53044 int referenced = 0;
53045 int UNUSED insn_referenced = abuf->written;
53046 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53048 return cycles;
53049 #undef FLD
53052 static int
53053 model_tomcat_andcr (SIM_CPU *current_cpu, void *sem_arg)
53055 #define FLD(f) abuf->fields.sfmt_andcr.f
53056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53057 const IDESC * UNUSED idesc = abuf->idesc;
53058 int cycles = 0;
53060 int referenced = 0;
53061 int UNUSED insn_referenced = abuf->written;
53062 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53064 return cycles;
53065 #undef FLD
53068 static int
53069 model_tomcat_orcr (SIM_CPU *current_cpu, void *sem_arg)
53071 #define FLD(f) abuf->fields.sfmt_andcr.f
53072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53073 const IDESC * UNUSED idesc = abuf->idesc;
53074 int cycles = 0;
53076 int referenced = 0;
53077 int UNUSED insn_referenced = abuf->written;
53078 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53080 return cycles;
53081 #undef FLD
53084 static int
53085 model_tomcat_xorcr (SIM_CPU *current_cpu, void *sem_arg)
53087 #define FLD(f) abuf->fields.sfmt_andcr.f
53088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53089 const IDESC * UNUSED idesc = abuf->idesc;
53090 int cycles = 0;
53092 int referenced = 0;
53093 int UNUSED insn_referenced = abuf->written;
53094 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53096 return cycles;
53097 #undef FLD
53100 static int
53101 model_tomcat_nandcr (SIM_CPU *current_cpu, void *sem_arg)
53103 #define FLD(f) abuf->fields.sfmt_andcr.f
53104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53105 const IDESC * UNUSED idesc = abuf->idesc;
53106 int cycles = 0;
53108 int referenced = 0;
53109 int UNUSED insn_referenced = abuf->written;
53110 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53112 return cycles;
53113 #undef FLD
53116 static int
53117 model_tomcat_norcr (SIM_CPU *current_cpu, void *sem_arg)
53119 #define FLD(f) abuf->fields.sfmt_andcr.f
53120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53121 const IDESC * UNUSED idesc = abuf->idesc;
53122 int cycles = 0;
53124 int referenced = 0;
53125 int UNUSED insn_referenced = abuf->written;
53126 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53128 return cycles;
53129 #undef FLD
53132 static int
53133 model_tomcat_andncr (SIM_CPU *current_cpu, void *sem_arg)
53135 #define FLD(f) abuf->fields.sfmt_andcr.f
53136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53137 const IDESC * UNUSED idesc = abuf->idesc;
53138 int cycles = 0;
53140 int referenced = 0;
53141 int UNUSED insn_referenced = abuf->written;
53142 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53144 return cycles;
53145 #undef FLD
53148 static int
53149 model_tomcat_orncr (SIM_CPU *current_cpu, void *sem_arg)
53151 #define FLD(f) abuf->fields.sfmt_andcr.f
53152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53153 const IDESC * UNUSED idesc = abuf->idesc;
53154 int cycles = 0;
53156 int referenced = 0;
53157 int UNUSED insn_referenced = abuf->written;
53158 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53160 return cycles;
53161 #undef FLD
53164 static int
53165 model_tomcat_nandncr (SIM_CPU *current_cpu, void *sem_arg)
53167 #define FLD(f) abuf->fields.sfmt_andcr.f
53168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53169 const IDESC * UNUSED idesc = abuf->idesc;
53170 int cycles = 0;
53172 int referenced = 0;
53173 int UNUSED insn_referenced = abuf->written;
53174 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53176 return cycles;
53177 #undef FLD
53180 static int
53181 model_tomcat_norncr (SIM_CPU *current_cpu, void *sem_arg)
53183 #define FLD(f) abuf->fields.sfmt_andcr.f
53184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53185 const IDESC * UNUSED idesc = abuf->idesc;
53186 int cycles = 0;
53188 int referenced = 0;
53189 int UNUSED insn_referenced = abuf->written;
53190 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53192 return cycles;
53193 #undef FLD
53196 static int
53197 model_tomcat_notcr (SIM_CPU *current_cpu, void *sem_arg)
53199 #define FLD(f) abuf->fields.sfmt_andcr.f
53200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53201 const IDESC * UNUSED idesc = abuf->idesc;
53202 int cycles = 0;
53204 int referenced = 0;
53205 int UNUSED insn_referenced = abuf->written;
53206 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53208 return cycles;
53209 #undef FLD
53212 static int
53213 model_tomcat_ckra (SIM_CPU *current_cpu, void *sem_arg)
53215 #define FLD(f) abuf->fields.sfmt_cckeq.f
53216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53217 const IDESC * UNUSED idesc = abuf->idesc;
53218 int cycles = 0;
53220 int referenced = 0;
53221 int UNUSED insn_referenced = abuf->written;
53222 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53224 return cycles;
53225 #undef FLD
53228 static int
53229 model_tomcat_ckno (SIM_CPU *current_cpu, void *sem_arg)
53231 #define FLD(f) abuf->fields.sfmt_cckeq.f
53232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53233 const IDESC * UNUSED idesc = abuf->idesc;
53234 int cycles = 0;
53236 int referenced = 0;
53237 int UNUSED insn_referenced = abuf->written;
53238 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53240 return cycles;
53241 #undef FLD
53244 static int
53245 model_tomcat_ckeq (SIM_CPU *current_cpu, void *sem_arg)
53247 #define FLD(f) abuf->fields.sfmt_cckeq.f
53248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53249 const IDESC * UNUSED idesc = abuf->idesc;
53250 int cycles = 0;
53252 int referenced = 0;
53253 int UNUSED insn_referenced = abuf->written;
53254 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53256 return cycles;
53257 #undef FLD
53260 static int
53261 model_tomcat_ckne (SIM_CPU *current_cpu, void *sem_arg)
53263 #define FLD(f) abuf->fields.sfmt_cckeq.f
53264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53265 const IDESC * UNUSED idesc = abuf->idesc;
53266 int cycles = 0;
53268 int referenced = 0;
53269 int UNUSED insn_referenced = abuf->written;
53270 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53272 return cycles;
53273 #undef FLD
53276 static int
53277 model_tomcat_ckle (SIM_CPU *current_cpu, void *sem_arg)
53279 #define FLD(f) abuf->fields.sfmt_cckeq.f
53280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53281 const IDESC * UNUSED idesc = abuf->idesc;
53282 int cycles = 0;
53284 int referenced = 0;
53285 int UNUSED insn_referenced = abuf->written;
53286 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53288 return cycles;
53289 #undef FLD
53292 static int
53293 model_tomcat_ckgt (SIM_CPU *current_cpu, void *sem_arg)
53295 #define FLD(f) abuf->fields.sfmt_cckeq.f
53296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53297 const IDESC * UNUSED idesc = abuf->idesc;
53298 int cycles = 0;
53300 int referenced = 0;
53301 int UNUSED insn_referenced = abuf->written;
53302 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53304 return cycles;
53305 #undef FLD
53308 static int
53309 model_tomcat_cklt (SIM_CPU *current_cpu, void *sem_arg)
53311 #define FLD(f) abuf->fields.sfmt_cckeq.f
53312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53313 const IDESC * UNUSED idesc = abuf->idesc;
53314 int cycles = 0;
53316 int referenced = 0;
53317 int UNUSED insn_referenced = abuf->written;
53318 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53320 return cycles;
53321 #undef FLD
53324 static int
53325 model_tomcat_ckge (SIM_CPU *current_cpu, void *sem_arg)
53327 #define FLD(f) abuf->fields.sfmt_cckeq.f
53328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53329 const IDESC * UNUSED idesc = abuf->idesc;
53330 int cycles = 0;
53332 int referenced = 0;
53333 int UNUSED insn_referenced = abuf->written;
53334 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53336 return cycles;
53337 #undef FLD
53340 static int
53341 model_tomcat_ckls (SIM_CPU *current_cpu, void *sem_arg)
53343 #define FLD(f) abuf->fields.sfmt_cckeq.f
53344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53345 const IDESC * UNUSED idesc = abuf->idesc;
53346 int cycles = 0;
53348 int referenced = 0;
53349 int UNUSED insn_referenced = abuf->written;
53350 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53352 return cycles;
53353 #undef FLD
53356 static int
53357 model_tomcat_ckhi (SIM_CPU *current_cpu, void *sem_arg)
53359 #define FLD(f) abuf->fields.sfmt_cckeq.f
53360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53361 const IDESC * UNUSED idesc = abuf->idesc;
53362 int cycles = 0;
53364 int referenced = 0;
53365 int UNUSED insn_referenced = abuf->written;
53366 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53368 return cycles;
53369 #undef FLD
53372 static int
53373 model_tomcat_ckc (SIM_CPU *current_cpu, void *sem_arg)
53375 #define FLD(f) abuf->fields.sfmt_cckeq.f
53376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53377 const IDESC * UNUSED idesc = abuf->idesc;
53378 int cycles = 0;
53380 int referenced = 0;
53381 int UNUSED insn_referenced = abuf->written;
53382 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53384 return cycles;
53385 #undef FLD
53388 static int
53389 model_tomcat_cknc (SIM_CPU *current_cpu, void *sem_arg)
53391 #define FLD(f) abuf->fields.sfmt_cckeq.f
53392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53393 const IDESC * UNUSED idesc = abuf->idesc;
53394 int cycles = 0;
53396 int referenced = 0;
53397 int UNUSED insn_referenced = abuf->written;
53398 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53400 return cycles;
53401 #undef FLD
53404 static int
53405 model_tomcat_ckn (SIM_CPU *current_cpu, void *sem_arg)
53407 #define FLD(f) abuf->fields.sfmt_cckeq.f
53408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53409 const IDESC * UNUSED idesc = abuf->idesc;
53410 int cycles = 0;
53412 int referenced = 0;
53413 int UNUSED insn_referenced = abuf->written;
53414 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53416 return cycles;
53417 #undef FLD
53420 static int
53421 model_tomcat_ckp (SIM_CPU *current_cpu, void *sem_arg)
53423 #define FLD(f) abuf->fields.sfmt_cckeq.f
53424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53425 const IDESC * UNUSED idesc = abuf->idesc;
53426 int cycles = 0;
53428 int referenced = 0;
53429 int UNUSED insn_referenced = abuf->written;
53430 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53432 return cycles;
53433 #undef FLD
53436 static int
53437 model_tomcat_ckv (SIM_CPU *current_cpu, void *sem_arg)
53439 #define FLD(f) abuf->fields.sfmt_cckeq.f
53440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53441 const IDESC * UNUSED idesc = abuf->idesc;
53442 int cycles = 0;
53444 int referenced = 0;
53445 int UNUSED insn_referenced = abuf->written;
53446 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53448 return cycles;
53449 #undef FLD
53452 static int
53453 model_tomcat_cknv (SIM_CPU *current_cpu, void *sem_arg)
53455 #define FLD(f) abuf->fields.sfmt_cckeq.f
53456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53457 const IDESC * UNUSED idesc = abuf->idesc;
53458 int cycles = 0;
53460 int referenced = 0;
53461 int UNUSED insn_referenced = abuf->written;
53462 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53464 return cycles;
53465 #undef FLD
53468 static int
53469 model_tomcat_fckra (SIM_CPU *current_cpu, void *sem_arg)
53471 #define FLD(f) abuf->fields.sfmt_cfckne.f
53472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53473 const IDESC * UNUSED idesc = abuf->idesc;
53474 int cycles = 0;
53476 int referenced = 0;
53477 int UNUSED insn_referenced = abuf->written;
53478 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53480 return cycles;
53481 #undef FLD
53484 static int
53485 model_tomcat_fckno (SIM_CPU *current_cpu, void *sem_arg)
53487 #define FLD(f) abuf->fields.sfmt_cfckne.f
53488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53489 const IDESC * UNUSED idesc = abuf->idesc;
53490 int cycles = 0;
53492 int referenced = 0;
53493 int UNUSED insn_referenced = abuf->written;
53494 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53496 return cycles;
53497 #undef FLD
53500 static int
53501 model_tomcat_fckne (SIM_CPU *current_cpu, void *sem_arg)
53503 #define FLD(f) abuf->fields.sfmt_cfckne.f
53504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53505 const IDESC * UNUSED idesc = abuf->idesc;
53506 int cycles = 0;
53508 int referenced = 0;
53509 int UNUSED insn_referenced = abuf->written;
53510 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53512 return cycles;
53513 #undef FLD
53516 static int
53517 model_tomcat_fckeq (SIM_CPU *current_cpu, void *sem_arg)
53519 #define FLD(f) abuf->fields.sfmt_cfckne.f
53520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53521 const IDESC * UNUSED idesc = abuf->idesc;
53522 int cycles = 0;
53524 int referenced = 0;
53525 int UNUSED insn_referenced = abuf->written;
53526 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53528 return cycles;
53529 #undef FLD
53532 static int
53533 model_tomcat_fcklg (SIM_CPU *current_cpu, void *sem_arg)
53535 #define FLD(f) abuf->fields.sfmt_cfckne.f
53536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53537 const IDESC * UNUSED idesc = abuf->idesc;
53538 int cycles = 0;
53540 int referenced = 0;
53541 int UNUSED insn_referenced = abuf->written;
53542 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53544 return cycles;
53545 #undef FLD
53548 static int
53549 model_tomcat_fckue (SIM_CPU *current_cpu, void *sem_arg)
53551 #define FLD(f) abuf->fields.sfmt_cfckne.f
53552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53553 const IDESC * UNUSED idesc = abuf->idesc;
53554 int cycles = 0;
53556 int referenced = 0;
53557 int UNUSED insn_referenced = abuf->written;
53558 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53560 return cycles;
53561 #undef FLD
53564 static int
53565 model_tomcat_fckul (SIM_CPU *current_cpu, void *sem_arg)
53567 #define FLD(f) abuf->fields.sfmt_cfckne.f
53568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53569 const IDESC * UNUSED idesc = abuf->idesc;
53570 int cycles = 0;
53572 int referenced = 0;
53573 int UNUSED insn_referenced = abuf->written;
53574 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53576 return cycles;
53577 #undef FLD
53580 static int
53581 model_tomcat_fckge (SIM_CPU *current_cpu, void *sem_arg)
53583 #define FLD(f) abuf->fields.sfmt_cfckne.f
53584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53585 const IDESC * UNUSED idesc = abuf->idesc;
53586 int cycles = 0;
53588 int referenced = 0;
53589 int UNUSED insn_referenced = abuf->written;
53590 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53592 return cycles;
53593 #undef FLD
53596 static int
53597 model_tomcat_fcklt (SIM_CPU *current_cpu, void *sem_arg)
53599 #define FLD(f) abuf->fields.sfmt_cfckne.f
53600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53601 const IDESC * UNUSED idesc = abuf->idesc;
53602 int cycles = 0;
53604 int referenced = 0;
53605 int UNUSED insn_referenced = abuf->written;
53606 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53608 return cycles;
53609 #undef FLD
53612 static int
53613 model_tomcat_fckuge (SIM_CPU *current_cpu, void *sem_arg)
53615 #define FLD(f) abuf->fields.sfmt_cfckne.f
53616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53617 const IDESC * UNUSED idesc = abuf->idesc;
53618 int cycles = 0;
53620 int referenced = 0;
53621 int UNUSED insn_referenced = abuf->written;
53622 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53624 return cycles;
53625 #undef FLD
53628 static int
53629 model_tomcat_fckug (SIM_CPU *current_cpu, void *sem_arg)
53631 #define FLD(f) abuf->fields.sfmt_cfckne.f
53632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53633 const IDESC * UNUSED idesc = abuf->idesc;
53634 int cycles = 0;
53636 int referenced = 0;
53637 int UNUSED insn_referenced = abuf->written;
53638 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53640 return cycles;
53641 #undef FLD
53644 static int
53645 model_tomcat_fckle (SIM_CPU *current_cpu, void *sem_arg)
53647 #define FLD(f) abuf->fields.sfmt_cfckne.f
53648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53649 const IDESC * UNUSED idesc = abuf->idesc;
53650 int cycles = 0;
53652 int referenced = 0;
53653 int UNUSED insn_referenced = abuf->written;
53654 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53656 return cycles;
53657 #undef FLD
53660 static int
53661 model_tomcat_fckgt (SIM_CPU *current_cpu, void *sem_arg)
53663 #define FLD(f) abuf->fields.sfmt_cfckne.f
53664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53665 const IDESC * UNUSED idesc = abuf->idesc;
53666 int cycles = 0;
53668 int referenced = 0;
53669 int UNUSED insn_referenced = abuf->written;
53670 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53672 return cycles;
53673 #undef FLD
53676 static int
53677 model_tomcat_fckule (SIM_CPU *current_cpu, void *sem_arg)
53679 #define FLD(f) abuf->fields.sfmt_cfckne.f
53680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53681 const IDESC * UNUSED idesc = abuf->idesc;
53682 int cycles = 0;
53684 int referenced = 0;
53685 int UNUSED insn_referenced = abuf->written;
53686 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53688 return cycles;
53689 #undef FLD
53692 static int
53693 model_tomcat_fcku (SIM_CPU *current_cpu, void *sem_arg)
53695 #define FLD(f) abuf->fields.sfmt_cfckne.f
53696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53697 const IDESC * UNUSED idesc = abuf->idesc;
53698 int cycles = 0;
53700 int referenced = 0;
53701 int UNUSED insn_referenced = abuf->written;
53702 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53704 return cycles;
53705 #undef FLD
53708 static int
53709 model_tomcat_fcko (SIM_CPU *current_cpu, void *sem_arg)
53711 #define FLD(f) abuf->fields.sfmt_cfckne.f
53712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53713 const IDESC * UNUSED idesc = abuf->idesc;
53714 int cycles = 0;
53716 int referenced = 0;
53717 int UNUSED insn_referenced = abuf->written;
53718 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53720 return cycles;
53721 #undef FLD
53724 static int
53725 model_tomcat_cckra (SIM_CPU *current_cpu, void *sem_arg)
53727 #define FLD(f) abuf->fields.sfmt_cckeq.f
53728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53729 const IDESC * UNUSED idesc = abuf->idesc;
53730 int cycles = 0;
53732 int referenced = 0;
53733 int UNUSED insn_referenced = abuf->written;
53734 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53736 return cycles;
53737 #undef FLD
53740 static int
53741 model_tomcat_cckno (SIM_CPU *current_cpu, void *sem_arg)
53743 #define FLD(f) abuf->fields.sfmt_cckeq.f
53744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53745 const IDESC * UNUSED idesc = abuf->idesc;
53746 int cycles = 0;
53748 int referenced = 0;
53749 int UNUSED insn_referenced = abuf->written;
53750 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53752 return cycles;
53753 #undef FLD
53756 static int
53757 model_tomcat_cckeq (SIM_CPU *current_cpu, void *sem_arg)
53759 #define FLD(f) abuf->fields.sfmt_cckeq.f
53760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53761 const IDESC * UNUSED idesc = abuf->idesc;
53762 int cycles = 0;
53764 int referenced = 0;
53765 int UNUSED insn_referenced = abuf->written;
53766 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53768 return cycles;
53769 #undef FLD
53772 static int
53773 model_tomcat_cckne (SIM_CPU *current_cpu, void *sem_arg)
53775 #define FLD(f) abuf->fields.sfmt_cckeq.f
53776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53777 const IDESC * UNUSED idesc = abuf->idesc;
53778 int cycles = 0;
53780 int referenced = 0;
53781 int UNUSED insn_referenced = abuf->written;
53782 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53784 return cycles;
53785 #undef FLD
53788 static int
53789 model_tomcat_cckle (SIM_CPU *current_cpu, void *sem_arg)
53791 #define FLD(f) abuf->fields.sfmt_cckeq.f
53792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53793 const IDESC * UNUSED idesc = abuf->idesc;
53794 int cycles = 0;
53796 int referenced = 0;
53797 int UNUSED insn_referenced = abuf->written;
53798 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53800 return cycles;
53801 #undef FLD
53804 static int
53805 model_tomcat_cckgt (SIM_CPU *current_cpu, void *sem_arg)
53807 #define FLD(f) abuf->fields.sfmt_cckeq.f
53808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53809 const IDESC * UNUSED idesc = abuf->idesc;
53810 int cycles = 0;
53812 int referenced = 0;
53813 int UNUSED insn_referenced = abuf->written;
53814 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53816 return cycles;
53817 #undef FLD
53820 static int
53821 model_tomcat_ccklt (SIM_CPU *current_cpu, void *sem_arg)
53823 #define FLD(f) abuf->fields.sfmt_cckeq.f
53824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53825 const IDESC * UNUSED idesc = abuf->idesc;
53826 int cycles = 0;
53828 int referenced = 0;
53829 int UNUSED insn_referenced = abuf->written;
53830 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53832 return cycles;
53833 #undef FLD
53836 static int
53837 model_tomcat_cckge (SIM_CPU *current_cpu, void *sem_arg)
53839 #define FLD(f) abuf->fields.sfmt_cckeq.f
53840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53841 const IDESC * UNUSED idesc = abuf->idesc;
53842 int cycles = 0;
53844 int referenced = 0;
53845 int UNUSED insn_referenced = abuf->written;
53846 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53848 return cycles;
53849 #undef FLD
53852 static int
53853 model_tomcat_cckls (SIM_CPU *current_cpu, void *sem_arg)
53855 #define FLD(f) abuf->fields.sfmt_cckeq.f
53856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53857 const IDESC * UNUSED idesc = abuf->idesc;
53858 int cycles = 0;
53860 int referenced = 0;
53861 int UNUSED insn_referenced = abuf->written;
53862 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53864 return cycles;
53865 #undef FLD
53868 static int
53869 model_tomcat_cckhi (SIM_CPU *current_cpu, void *sem_arg)
53871 #define FLD(f) abuf->fields.sfmt_cckeq.f
53872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53873 const IDESC * UNUSED idesc = abuf->idesc;
53874 int cycles = 0;
53876 int referenced = 0;
53877 int UNUSED insn_referenced = abuf->written;
53878 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53880 return cycles;
53881 #undef FLD
53884 static int
53885 model_tomcat_cckc (SIM_CPU *current_cpu, void *sem_arg)
53887 #define FLD(f) abuf->fields.sfmt_cckeq.f
53888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53889 const IDESC * UNUSED idesc = abuf->idesc;
53890 int cycles = 0;
53892 int referenced = 0;
53893 int UNUSED insn_referenced = abuf->written;
53894 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53896 return cycles;
53897 #undef FLD
53900 static int
53901 model_tomcat_ccknc (SIM_CPU *current_cpu, void *sem_arg)
53903 #define FLD(f) abuf->fields.sfmt_cckeq.f
53904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53905 const IDESC * UNUSED idesc = abuf->idesc;
53906 int cycles = 0;
53908 int referenced = 0;
53909 int UNUSED insn_referenced = abuf->written;
53910 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53912 return cycles;
53913 #undef FLD
53916 static int
53917 model_tomcat_cckn (SIM_CPU *current_cpu, void *sem_arg)
53919 #define FLD(f) abuf->fields.sfmt_cckeq.f
53920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53921 const IDESC * UNUSED idesc = abuf->idesc;
53922 int cycles = 0;
53924 int referenced = 0;
53925 int UNUSED insn_referenced = abuf->written;
53926 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53928 return cycles;
53929 #undef FLD
53932 static int
53933 model_tomcat_cckp (SIM_CPU *current_cpu, void *sem_arg)
53935 #define FLD(f) abuf->fields.sfmt_cckeq.f
53936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53937 const IDESC * UNUSED idesc = abuf->idesc;
53938 int cycles = 0;
53940 int referenced = 0;
53941 int UNUSED insn_referenced = abuf->written;
53942 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53944 return cycles;
53945 #undef FLD
53948 static int
53949 model_tomcat_cckv (SIM_CPU *current_cpu, void *sem_arg)
53951 #define FLD(f) abuf->fields.sfmt_cckeq.f
53952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53953 const IDESC * UNUSED idesc = abuf->idesc;
53954 int cycles = 0;
53956 int referenced = 0;
53957 int UNUSED insn_referenced = abuf->written;
53958 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53960 return cycles;
53961 #undef FLD
53964 static int
53965 model_tomcat_ccknv (SIM_CPU *current_cpu, void *sem_arg)
53967 #define FLD(f) abuf->fields.sfmt_cckeq.f
53968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53969 const IDESC * UNUSED idesc = abuf->idesc;
53970 int cycles = 0;
53972 int referenced = 0;
53973 int UNUSED insn_referenced = abuf->written;
53974 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53976 return cycles;
53977 #undef FLD
53980 static int
53981 model_tomcat_cfckra (SIM_CPU *current_cpu, void *sem_arg)
53983 #define FLD(f) abuf->fields.sfmt_cfckne.f
53984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53985 const IDESC * UNUSED idesc = abuf->idesc;
53986 int cycles = 0;
53988 int referenced = 0;
53989 int UNUSED insn_referenced = abuf->written;
53990 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53992 return cycles;
53993 #undef FLD
53996 static int
53997 model_tomcat_cfckno (SIM_CPU *current_cpu, void *sem_arg)
53999 #define FLD(f) abuf->fields.sfmt_cfckne.f
54000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54001 const IDESC * UNUSED idesc = abuf->idesc;
54002 int cycles = 0;
54004 int referenced = 0;
54005 int UNUSED insn_referenced = abuf->written;
54006 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54008 return cycles;
54009 #undef FLD
54012 static int
54013 model_tomcat_cfckne (SIM_CPU *current_cpu, void *sem_arg)
54015 #define FLD(f) abuf->fields.sfmt_cfckne.f
54016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54017 const IDESC * UNUSED idesc = abuf->idesc;
54018 int cycles = 0;
54020 int referenced = 0;
54021 int UNUSED insn_referenced = abuf->written;
54022 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54024 return cycles;
54025 #undef FLD
54028 static int
54029 model_tomcat_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
54031 #define FLD(f) abuf->fields.sfmt_cfckne.f
54032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54033 const IDESC * UNUSED idesc = abuf->idesc;
54034 int cycles = 0;
54036 int referenced = 0;
54037 int UNUSED insn_referenced = abuf->written;
54038 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54040 return cycles;
54041 #undef FLD
54044 static int
54045 model_tomcat_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
54047 #define FLD(f) abuf->fields.sfmt_cfckne.f
54048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54049 const IDESC * UNUSED idesc = abuf->idesc;
54050 int cycles = 0;
54052 int referenced = 0;
54053 int UNUSED insn_referenced = abuf->written;
54054 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54056 return cycles;
54057 #undef FLD
54060 static int
54061 model_tomcat_cfckue (SIM_CPU *current_cpu, void *sem_arg)
54063 #define FLD(f) abuf->fields.sfmt_cfckne.f
54064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54065 const IDESC * UNUSED idesc = abuf->idesc;
54066 int cycles = 0;
54068 int referenced = 0;
54069 int UNUSED insn_referenced = abuf->written;
54070 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54072 return cycles;
54073 #undef FLD
54076 static int
54077 model_tomcat_cfckul (SIM_CPU *current_cpu, void *sem_arg)
54079 #define FLD(f) abuf->fields.sfmt_cfckne.f
54080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54081 const IDESC * UNUSED idesc = abuf->idesc;
54082 int cycles = 0;
54084 int referenced = 0;
54085 int UNUSED insn_referenced = abuf->written;
54086 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54088 return cycles;
54089 #undef FLD
54092 static int
54093 model_tomcat_cfckge (SIM_CPU *current_cpu, void *sem_arg)
54095 #define FLD(f) abuf->fields.sfmt_cfckne.f
54096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54097 const IDESC * UNUSED idesc = abuf->idesc;
54098 int cycles = 0;
54100 int referenced = 0;
54101 int UNUSED insn_referenced = abuf->written;
54102 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54104 return cycles;
54105 #undef FLD
54108 static int
54109 model_tomcat_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
54111 #define FLD(f) abuf->fields.sfmt_cfckne.f
54112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54113 const IDESC * UNUSED idesc = abuf->idesc;
54114 int cycles = 0;
54116 int referenced = 0;
54117 int UNUSED insn_referenced = abuf->written;
54118 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54120 return cycles;
54121 #undef FLD
54124 static int
54125 model_tomcat_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
54127 #define FLD(f) abuf->fields.sfmt_cfckne.f
54128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54129 const IDESC * UNUSED idesc = abuf->idesc;
54130 int cycles = 0;
54132 int referenced = 0;
54133 int UNUSED insn_referenced = abuf->written;
54134 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54136 return cycles;
54137 #undef FLD
54140 static int
54141 model_tomcat_cfckug (SIM_CPU *current_cpu, void *sem_arg)
54143 #define FLD(f) abuf->fields.sfmt_cfckne.f
54144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54145 const IDESC * UNUSED idesc = abuf->idesc;
54146 int cycles = 0;
54148 int referenced = 0;
54149 int UNUSED insn_referenced = abuf->written;
54150 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54152 return cycles;
54153 #undef FLD
54156 static int
54157 model_tomcat_cfckle (SIM_CPU *current_cpu, void *sem_arg)
54159 #define FLD(f) abuf->fields.sfmt_cfckne.f
54160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54161 const IDESC * UNUSED idesc = abuf->idesc;
54162 int cycles = 0;
54164 int referenced = 0;
54165 int UNUSED insn_referenced = abuf->written;
54166 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54168 return cycles;
54169 #undef FLD
54172 static int
54173 model_tomcat_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
54175 #define FLD(f) abuf->fields.sfmt_cfckne.f
54176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54177 const IDESC * UNUSED idesc = abuf->idesc;
54178 int cycles = 0;
54180 int referenced = 0;
54181 int UNUSED insn_referenced = abuf->written;
54182 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54184 return cycles;
54185 #undef FLD
54188 static int
54189 model_tomcat_cfckule (SIM_CPU *current_cpu, void *sem_arg)
54191 #define FLD(f) abuf->fields.sfmt_cfckne.f
54192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54193 const IDESC * UNUSED idesc = abuf->idesc;
54194 int cycles = 0;
54196 int referenced = 0;
54197 int UNUSED insn_referenced = abuf->written;
54198 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54200 return cycles;
54201 #undef FLD
54204 static int
54205 model_tomcat_cfcku (SIM_CPU *current_cpu, void *sem_arg)
54207 #define FLD(f) abuf->fields.sfmt_cfckne.f
54208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54209 const IDESC * UNUSED idesc = abuf->idesc;
54210 int cycles = 0;
54212 int referenced = 0;
54213 int UNUSED insn_referenced = abuf->written;
54214 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54216 return cycles;
54217 #undef FLD
54220 static int
54221 model_tomcat_cfcko (SIM_CPU *current_cpu, void *sem_arg)
54223 #define FLD(f) abuf->fields.sfmt_cfckne.f
54224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54225 const IDESC * UNUSED idesc = abuf->idesc;
54226 int cycles = 0;
54228 int referenced = 0;
54229 int UNUSED insn_referenced = abuf->written;
54230 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54232 return cycles;
54233 #undef FLD
54236 static int
54237 model_tomcat_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
54239 #define FLD(f) abuf->fields.sfmt_cjmpl.f
54240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54241 const IDESC * UNUSED idesc = abuf->idesc;
54242 int cycles = 0;
54244 int referenced = 0;
54245 int UNUSED insn_referenced = abuf->written;
54246 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54248 return cycles;
54249 #undef FLD
54252 static int
54253 model_tomcat_ccalll (SIM_CPU *current_cpu, void *sem_arg)
54255 #define FLD(f) abuf->fields.sfmt_cjmpl.f
54256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54257 const IDESC * UNUSED idesc = abuf->idesc;
54258 int cycles = 0;
54260 int referenced = 0;
54261 int UNUSED insn_referenced = abuf->written;
54262 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54264 return cycles;
54265 #undef FLD
54268 static int
54269 model_tomcat_ici (SIM_CPU *current_cpu, void *sem_arg)
54271 #define FLD(f) abuf->fields.sfmt_icpl.f
54272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54273 const IDESC * UNUSED idesc = abuf->idesc;
54274 int cycles = 0;
54276 int referenced = 0;
54277 int UNUSED insn_referenced = abuf->written;
54278 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54280 return cycles;
54281 #undef FLD
54284 static int
54285 model_tomcat_dci (SIM_CPU *current_cpu, void *sem_arg)
54287 #define FLD(f) abuf->fields.sfmt_icpl.f
54288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54289 const IDESC * UNUSED idesc = abuf->idesc;
54290 int cycles = 0;
54292 int referenced = 0;
54293 int UNUSED insn_referenced = abuf->written;
54294 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54296 return cycles;
54297 #undef FLD
54300 static int
54301 model_tomcat_icei (SIM_CPU *current_cpu, void *sem_arg)
54303 #define FLD(f) abuf->fields.sfmt_icei.f
54304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54305 const IDESC * UNUSED idesc = abuf->idesc;
54306 int cycles = 0;
54308 int referenced = 0;
54309 int UNUSED insn_referenced = abuf->written;
54310 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54312 return cycles;
54313 #undef FLD
54316 static int
54317 model_tomcat_dcei (SIM_CPU *current_cpu, void *sem_arg)
54319 #define FLD(f) abuf->fields.sfmt_icei.f
54320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54321 const IDESC * UNUSED idesc = abuf->idesc;
54322 int cycles = 0;
54324 int referenced = 0;
54325 int UNUSED insn_referenced = abuf->written;
54326 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54328 return cycles;
54329 #undef FLD
54332 static int
54333 model_tomcat_dcf (SIM_CPU *current_cpu, void *sem_arg)
54335 #define FLD(f) abuf->fields.sfmt_icpl.f
54336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54337 const IDESC * UNUSED idesc = abuf->idesc;
54338 int cycles = 0;
54340 int referenced = 0;
54341 int UNUSED insn_referenced = abuf->written;
54342 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54344 return cycles;
54345 #undef FLD
54348 static int
54349 model_tomcat_dcef (SIM_CPU *current_cpu, void *sem_arg)
54351 #define FLD(f) abuf->fields.sfmt_icei.f
54352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54353 const IDESC * UNUSED idesc = abuf->idesc;
54354 int cycles = 0;
54356 int referenced = 0;
54357 int UNUSED insn_referenced = abuf->written;
54358 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54360 return cycles;
54361 #undef FLD
54364 static int
54365 model_tomcat_witlb (SIM_CPU *current_cpu, void *sem_arg)
54367 #define FLD(f) abuf->fields.sfmt_empty.f
54368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54369 const IDESC * UNUSED idesc = abuf->idesc;
54370 int cycles = 0;
54372 int referenced = 0;
54373 int UNUSED insn_referenced = abuf->written;
54374 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54376 return cycles;
54377 #undef FLD
54380 static int
54381 model_tomcat_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
54383 #define FLD(f) abuf->fields.sfmt_empty.f
54384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54385 const IDESC * UNUSED idesc = abuf->idesc;
54386 int cycles = 0;
54388 int referenced = 0;
54389 int UNUSED insn_referenced = abuf->written;
54390 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54392 return cycles;
54393 #undef FLD
54396 static int
54397 model_tomcat_itlbi (SIM_CPU *current_cpu, void *sem_arg)
54399 #define FLD(f) abuf->fields.sfmt_empty.f
54400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54401 const IDESC * UNUSED idesc = abuf->idesc;
54402 int cycles = 0;
54404 int referenced = 0;
54405 int UNUSED insn_referenced = abuf->written;
54406 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54408 return cycles;
54409 #undef FLD
54412 static int
54413 model_tomcat_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
54415 #define FLD(f) abuf->fields.sfmt_empty.f
54416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54417 const IDESC * UNUSED idesc = abuf->idesc;
54418 int cycles = 0;
54420 int referenced = 0;
54421 int UNUSED insn_referenced = abuf->written;
54422 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54424 return cycles;
54425 #undef FLD
54428 static int
54429 model_tomcat_icpl (SIM_CPU *current_cpu, void *sem_arg)
54431 #define FLD(f) abuf->fields.sfmt_icpl.f
54432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54433 const IDESC * UNUSED idesc = abuf->idesc;
54434 int cycles = 0;
54436 int referenced = 0;
54437 int UNUSED insn_referenced = abuf->written;
54438 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54440 return cycles;
54441 #undef FLD
54444 static int
54445 model_tomcat_dcpl (SIM_CPU *current_cpu, void *sem_arg)
54447 #define FLD(f) abuf->fields.sfmt_icpl.f
54448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54449 const IDESC * UNUSED idesc = abuf->idesc;
54450 int cycles = 0;
54452 int referenced = 0;
54453 int UNUSED insn_referenced = abuf->written;
54454 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54456 return cycles;
54457 #undef FLD
54460 static int
54461 model_tomcat_icul (SIM_CPU *current_cpu, void *sem_arg)
54463 #define FLD(f) abuf->fields.sfmt_jmpil.f
54464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54465 const IDESC * UNUSED idesc = abuf->idesc;
54466 int cycles = 0;
54468 int referenced = 0;
54469 int UNUSED insn_referenced = abuf->written;
54470 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54472 return cycles;
54473 #undef FLD
54476 static int
54477 model_tomcat_dcul (SIM_CPU *current_cpu, void *sem_arg)
54479 #define FLD(f) abuf->fields.sfmt_jmpil.f
54480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54481 const IDESC * UNUSED idesc = abuf->idesc;
54482 int cycles = 0;
54484 int referenced = 0;
54485 int UNUSED insn_referenced = abuf->written;
54486 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54488 return cycles;
54489 #undef FLD
54492 static int
54493 model_tomcat_bar (SIM_CPU *current_cpu, void *sem_arg)
54495 #define FLD(f) abuf->fields.sfmt_empty.f
54496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54497 const IDESC * UNUSED idesc = abuf->idesc;
54498 int cycles = 0;
54500 int referenced = 0;
54501 int UNUSED insn_referenced = abuf->written;
54502 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54504 return cycles;
54505 #undef FLD
54508 static int
54509 model_tomcat_membar (SIM_CPU *current_cpu, void *sem_arg)
54511 #define FLD(f) abuf->fields.sfmt_empty.f
54512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54513 const IDESC * UNUSED idesc = abuf->idesc;
54514 int cycles = 0;
54516 int referenced = 0;
54517 int UNUSED insn_referenced = abuf->written;
54518 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54520 return cycles;
54521 #undef FLD
54524 static int
54525 model_tomcat_lrai (SIM_CPU *current_cpu, void *sem_arg)
54527 #define FLD(f) abuf->fields.sfmt_empty.f
54528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54529 const IDESC * UNUSED idesc = abuf->idesc;
54530 int cycles = 0;
54532 int referenced = 0;
54533 int UNUSED insn_referenced = abuf->written;
54534 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54536 return cycles;
54537 #undef FLD
54540 static int
54541 model_tomcat_lrad (SIM_CPU *current_cpu, void *sem_arg)
54543 #define FLD(f) abuf->fields.sfmt_empty.f
54544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54545 const IDESC * UNUSED idesc = abuf->idesc;
54546 int cycles = 0;
54548 int referenced = 0;
54549 int UNUSED insn_referenced = abuf->written;
54550 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54552 return cycles;
54553 #undef FLD
54556 static int
54557 model_tomcat_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
54559 #define FLD(f) abuf->fields.sfmt_empty.f
54560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54561 const IDESC * UNUSED idesc = abuf->idesc;
54562 int cycles = 0;
54564 int referenced = 0;
54565 int UNUSED insn_referenced = abuf->written;
54566 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54568 return cycles;
54569 #undef FLD
54572 static int
54573 model_tomcat_cop1 (SIM_CPU *current_cpu, void *sem_arg)
54575 #define FLD(f) abuf->fields.sfmt_empty.f
54576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54577 const IDESC * UNUSED idesc = abuf->idesc;
54578 int cycles = 0;
54580 int referenced = 0;
54581 int UNUSED insn_referenced = abuf->written;
54582 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54584 return cycles;
54585 #undef FLD
54588 static int
54589 model_tomcat_cop2 (SIM_CPU *current_cpu, void *sem_arg)
54591 #define FLD(f) abuf->fields.sfmt_empty.f
54592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54593 const IDESC * UNUSED idesc = abuf->idesc;
54594 int cycles = 0;
54596 int referenced = 0;
54597 int UNUSED insn_referenced = abuf->written;
54598 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54600 return cycles;
54601 #undef FLD
54604 static int
54605 model_tomcat_clrgr (SIM_CPU *current_cpu, void *sem_arg)
54607 #define FLD(f) abuf->fields.sfmt_swapi.f
54608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54609 const IDESC * UNUSED idesc = abuf->idesc;
54610 int cycles = 0;
54612 int referenced = 0;
54613 int UNUSED insn_referenced = abuf->written;
54614 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54616 return cycles;
54617 #undef FLD
54620 static int
54621 model_tomcat_clrfr (SIM_CPU *current_cpu, void *sem_arg)
54623 #define FLD(f) abuf->fields.sfmt_cfmadds.f
54624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54625 const IDESC * UNUSED idesc = abuf->idesc;
54626 int cycles = 0;
54628 int referenced = 0;
54629 int UNUSED insn_referenced = abuf->written;
54630 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54632 return cycles;
54633 #undef FLD
54636 static int
54637 model_tomcat_clrga (SIM_CPU *current_cpu, void *sem_arg)
54639 #define FLD(f) abuf->fields.sfmt_empty.f
54640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54641 const IDESC * UNUSED idesc = abuf->idesc;
54642 int cycles = 0;
54644 int referenced = 0;
54645 int UNUSED insn_referenced = abuf->written;
54646 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54648 return cycles;
54649 #undef FLD
54652 static int
54653 model_tomcat_clrfa (SIM_CPU *current_cpu, void *sem_arg)
54655 #define FLD(f) abuf->fields.sfmt_empty.f
54656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54657 const IDESC * UNUSED idesc = abuf->idesc;
54658 int cycles = 0;
54660 int referenced = 0;
54661 int UNUSED insn_referenced = abuf->written;
54662 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54664 return cycles;
54665 #undef FLD
54668 static int
54669 model_tomcat_commitgr (SIM_CPU *current_cpu, void *sem_arg)
54671 #define FLD(f) abuf->fields.sfmt_setlos.f
54672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54673 const IDESC * UNUSED idesc = abuf->idesc;
54674 int cycles = 0;
54676 int referenced = 0;
54677 int UNUSED insn_referenced = abuf->written;
54678 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54680 return cycles;
54681 #undef FLD
54684 static int
54685 model_tomcat_commitfr (SIM_CPU *current_cpu, void *sem_arg)
54687 #define FLD(f) abuf->fields.sfmt_mhsethis.f
54688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54689 const IDESC * UNUSED idesc = abuf->idesc;
54690 int cycles = 0;
54692 int referenced = 0;
54693 int UNUSED insn_referenced = abuf->written;
54694 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54696 return cycles;
54697 #undef FLD
54700 static int
54701 model_tomcat_commitga (SIM_CPU *current_cpu, void *sem_arg)
54703 #define FLD(f) abuf->fields.sfmt_empty.f
54704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54705 const IDESC * UNUSED idesc = abuf->idesc;
54706 int cycles = 0;
54708 int referenced = 0;
54709 int UNUSED insn_referenced = abuf->written;
54710 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54712 return cycles;
54713 #undef FLD
54716 static int
54717 model_tomcat_commitfa (SIM_CPU *current_cpu, void *sem_arg)
54719 #define FLD(f) abuf->fields.sfmt_empty.f
54720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54721 const IDESC * UNUSED idesc = abuf->idesc;
54722 int cycles = 0;
54724 int referenced = 0;
54725 int UNUSED insn_referenced = abuf->written;
54726 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54728 return cycles;
54729 #undef FLD
54732 static int
54733 model_tomcat_fitos (SIM_CPU *current_cpu, void *sem_arg)
54735 #define FLD(f) abuf->fields.sfmt_fditos.f
54736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54737 const IDESC * UNUSED idesc = abuf->idesc;
54738 int cycles = 0;
54740 int referenced = 0;
54741 int UNUSED insn_referenced = abuf->written;
54742 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54744 return cycles;
54745 #undef FLD
54748 static int
54749 model_tomcat_fstoi (SIM_CPU *current_cpu, void *sem_arg)
54751 #define FLD(f) abuf->fields.sfmt_fdstoi.f
54752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54753 const IDESC * UNUSED idesc = abuf->idesc;
54754 int cycles = 0;
54756 int referenced = 0;
54757 int UNUSED insn_referenced = abuf->written;
54758 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54760 return cycles;
54761 #undef FLD
54764 static int
54765 model_tomcat_fitod (SIM_CPU *current_cpu, void *sem_arg)
54767 #define FLD(f) abuf->fields.sfmt_fitod.f
54768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54769 const IDESC * UNUSED idesc = abuf->idesc;
54770 int cycles = 0;
54772 int referenced = 0;
54773 int UNUSED insn_referenced = abuf->written;
54774 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54776 return cycles;
54777 #undef FLD
54780 static int
54781 model_tomcat_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
54783 #define FLD(f) abuf->fields.sfmt_fdtoi.f
54784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54785 const IDESC * UNUSED idesc = abuf->idesc;
54786 int cycles = 0;
54788 int referenced = 0;
54789 int UNUSED insn_referenced = abuf->written;
54790 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54792 return cycles;
54793 #undef FLD
54796 static int
54797 model_tomcat_fditos (SIM_CPU *current_cpu, void *sem_arg)
54799 #define FLD(f) abuf->fields.sfmt_fditos.f
54800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54801 const IDESC * UNUSED idesc = abuf->idesc;
54802 int cycles = 0;
54804 int referenced = 0;
54805 int UNUSED insn_referenced = abuf->written;
54806 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54808 return cycles;
54809 #undef FLD
54812 static int
54813 model_tomcat_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
54815 #define FLD(f) abuf->fields.sfmt_fdstoi.f
54816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54817 const IDESC * UNUSED idesc = abuf->idesc;
54818 int cycles = 0;
54820 int referenced = 0;
54821 int UNUSED insn_referenced = abuf->written;
54822 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54824 return cycles;
54825 #undef FLD
54828 static int
54829 model_tomcat_nfditos (SIM_CPU *current_cpu, void *sem_arg)
54831 #define FLD(f) abuf->fields.sfmt_fditos.f
54832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54833 const IDESC * UNUSED idesc = abuf->idesc;
54834 int cycles = 0;
54836 int referenced = 0;
54837 int UNUSED insn_referenced = abuf->written;
54838 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54840 return cycles;
54841 #undef FLD
54844 static int
54845 model_tomcat_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
54847 #define FLD(f) abuf->fields.sfmt_fdstoi.f
54848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54849 const IDESC * UNUSED idesc = abuf->idesc;
54850 int cycles = 0;
54852 int referenced = 0;
54853 int UNUSED insn_referenced = abuf->written;
54854 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54856 return cycles;
54857 #undef FLD
54860 static int
54861 model_tomcat_cfitos (SIM_CPU *current_cpu, void *sem_arg)
54863 #define FLD(f) abuf->fields.sfmt_cfitos.f
54864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54865 const IDESC * UNUSED idesc = abuf->idesc;
54866 int cycles = 0;
54868 int referenced = 0;
54869 int UNUSED insn_referenced = abuf->written;
54870 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54872 return cycles;
54873 #undef FLD
54876 static int
54877 model_tomcat_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
54879 #define FLD(f) abuf->fields.sfmt_cfstoi.f
54880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54881 const IDESC * UNUSED idesc = abuf->idesc;
54882 int cycles = 0;
54884 int referenced = 0;
54885 int UNUSED insn_referenced = abuf->written;
54886 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54888 return cycles;
54889 #undef FLD
54892 static int
54893 model_tomcat_nfitos (SIM_CPU *current_cpu, void *sem_arg)
54895 #define FLD(f) abuf->fields.sfmt_fditos.f
54896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54897 const IDESC * UNUSED idesc = abuf->idesc;
54898 int cycles = 0;
54900 int referenced = 0;
54901 int UNUSED insn_referenced = abuf->written;
54902 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54904 return cycles;
54905 #undef FLD
54908 static int
54909 model_tomcat_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
54911 #define FLD(f) abuf->fields.sfmt_fdstoi.f
54912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54913 const IDESC * UNUSED idesc = abuf->idesc;
54914 int cycles = 0;
54916 int referenced = 0;
54917 int UNUSED insn_referenced = abuf->written;
54918 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54920 return cycles;
54921 #undef FLD
54924 static int
54925 model_tomcat_fmovs (SIM_CPU *current_cpu, void *sem_arg)
54927 #define FLD(f) abuf->fields.sfmt_cfmadds.f
54928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54929 const IDESC * UNUSED idesc = abuf->idesc;
54930 int cycles = 0;
54932 int referenced = 0;
54933 int UNUSED insn_referenced = abuf->written;
54934 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54936 return cycles;
54937 #undef FLD
54940 static int
54941 model_tomcat_fmovd (SIM_CPU *current_cpu, void *sem_arg)
54943 #define FLD(f) abuf->fields.sfmt_fmaddd.f
54944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54945 const IDESC * UNUSED idesc = abuf->idesc;
54946 int cycles = 0;
54948 int referenced = 0;
54949 int UNUSED insn_referenced = abuf->written;
54950 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54952 return cycles;
54953 #undef FLD
54956 static int
54957 model_tomcat_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
54959 #define FLD(f) abuf->fields.sfmt_fdmadds.f
54960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54961 const IDESC * UNUSED idesc = abuf->idesc;
54962 int cycles = 0;
54964 int referenced = 0;
54965 int UNUSED insn_referenced = abuf->written;
54966 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54968 return cycles;
54969 #undef FLD
54972 static int
54973 model_tomcat_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
54975 #define FLD(f) abuf->fields.sfmt_cfmadds.f
54976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54977 const IDESC * UNUSED idesc = abuf->idesc;
54978 int cycles = 0;
54980 int referenced = 0;
54981 int UNUSED insn_referenced = abuf->written;
54982 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54984 return cycles;
54985 #undef FLD
54988 static int
54989 model_tomcat_fnegs (SIM_CPU *current_cpu, void *sem_arg)
54991 #define FLD(f) abuf->fields.sfmt_cfmadds.f
54992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54993 const IDESC * UNUSED idesc = abuf->idesc;
54994 int cycles = 0;
54996 int referenced = 0;
54997 int UNUSED insn_referenced = abuf->written;
54998 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55000 return cycles;
55001 #undef FLD
55004 static int
55005 model_tomcat_fnegd (SIM_CPU *current_cpu, void *sem_arg)
55007 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55009 const IDESC * UNUSED idesc = abuf->idesc;
55010 int cycles = 0;
55012 int referenced = 0;
55013 int UNUSED insn_referenced = abuf->written;
55014 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55016 return cycles;
55017 #undef FLD
55020 static int
55021 model_tomcat_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
55023 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55025 const IDESC * UNUSED idesc = abuf->idesc;
55026 int cycles = 0;
55028 int referenced = 0;
55029 int UNUSED insn_referenced = abuf->written;
55030 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55032 return cycles;
55033 #undef FLD
55036 static int
55037 model_tomcat_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
55039 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55041 const IDESC * UNUSED idesc = abuf->idesc;
55042 int cycles = 0;
55044 int referenced = 0;
55045 int UNUSED insn_referenced = abuf->written;
55046 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55048 return cycles;
55049 #undef FLD
55052 static int
55053 model_tomcat_fabss (SIM_CPU *current_cpu, void *sem_arg)
55055 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55057 const IDESC * UNUSED idesc = abuf->idesc;
55058 int cycles = 0;
55060 int referenced = 0;
55061 int UNUSED insn_referenced = abuf->written;
55062 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55064 return cycles;
55065 #undef FLD
55068 static int
55069 model_tomcat_fabsd (SIM_CPU *current_cpu, void *sem_arg)
55071 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55073 const IDESC * UNUSED idesc = abuf->idesc;
55074 int cycles = 0;
55076 int referenced = 0;
55077 int UNUSED insn_referenced = abuf->written;
55078 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55080 return cycles;
55081 #undef FLD
55084 static int
55085 model_tomcat_fdabss (SIM_CPU *current_cpu, void *sem_arg)
55087 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55089 const IDESC * UNUSED idesc = abuf->idesc;
55090 int cycles = 0;
55092 int referenced = 0;
55093 int UNUSED insn_referenced = abuf->written;
55094 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55096 return cycles;
55097 #undef FLD
55100 static int
55101 model_tomcat_cfabss (SIM_CPU *current_cpu, void *sem_arg)
55103 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55105 const IDESC * UNUSED idesc = abuf->idesc;
55106 int cycles = 0;
55108 int referenced = 0;
55109 int UNUSED insn_referenced = abuf->written;
55110 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55112 return cycles;
55113 #undef FLD
55116 static int
55117 model_tomcat_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
55119 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55121 const IDESC * UNUSED idesc = abuf->idesc;
55122 int cycles = 0;
55124 int referenced = 0;
55125 int UNUSED insn_referenced = abuf->written;
55126 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55128 return cycles;
55129 #undef FLD
55132 static int
55133 model_tomcat_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
55135 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55137 const IDESC * UNUSED idesc = abuf->idesc;
55138 int cycles = 0;
55140 int referenced = 0;
55141 int UNUSED insn_referenced = abuf->written;
55142 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55144 return cycles;
55145 #undef FLD
55148 static int
55149 model_tomcat_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
55151 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55153 const IDESC * UNUSED idesc = abuf->idesc;
55154 int cycles = 0;
55156 int referenced = 0;
55157 int UNUSED insn_referenced = abuf->written;
55158 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55160 return cycles;
55161 #undef FLD
55164 static int
55165 model_tomcat_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
55167 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55169 const IDESC * UNUSED idesc = abuf->idesc;
55170 int cycles = 0;
55172 int referenced = 0;
55173 int UNUSED insn_referenced = abuf->written;
55174 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55176 return cycles;
55177 #undef FLD
55180 static int
55181 model_tomcat_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
55183 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55185 const IDESC * UNUSED idesc = abuf->idesc;
55186 int cycles = 0;
55188 int referenced = 0;
55189 int UNUSED insn_referenced = abuf->written;
55190 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55192 return cycles;
55193 #undef FLD
55196 static int
55197 model_tomcat_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
55199 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55201 const IDESC * UNUSED idesc = abuf->idesc;
55202 int cycles = 0;
55204 int referenced = 0;
55205 int UNUSED insn_referenced = abuf->written;
55206 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55208 return cycles;
55209 #undef FLD
55212 static int
55213 model_tomcat_fadds (SIM_CPU *current_cpu, void *sem_arg)
55215 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55217 const IDESC * UNUSED idesc = abuf->idesc;
55218 int cycles = 0;
55220 int referenced = 0;
55221 int UNUSED insn_referenced = abuf->written;
55222 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55224 return cycles;
55225 #undef FLD
55228 static int
55229 model_tomcat_fsubs (SIM_CPU *current_cpu, void *sem_arg)
55231 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55233 const IDESC * UNUSED idesc = abuf->idesc;
55234 int cycles = 0;
55236 int referenced = 0;
55237 int UNUSED insn_referenced = abuf->written;
55238 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55240 return cycles;
55241 #undef FLD
55244 static int
55245 model_tomcat_fmuls (SIM_CPU *current_cpu, void *sem_arg)
55247 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55249 const IDESC * UNUSED idesc = abuf->idesc;
55250 int cycles = 0;
55252 int referenced = 0;
55253 int UNUSED insn_referenced = abuf->written;
55254 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55256 return cycles;
55257 #undef FLD
55260 static int
55261 model_tomcat_fdivs (SIM_CPU *current_cpu, void *sem_arg)
55263 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55265 const IDESC * UNUSED idesc = abuf->idesc;
55266 int cycles = 0;
55268 int referenced = 0;
55269 int UNUSED insn_referenced = abuf->written;
55270 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55272 return cycles;
55273 #undef FLD
55276 static int
55277 model_tomcat_faddd (SIM_CPU *current_cpu, void *sem_arg)
55279 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55281 const IDESC * UNUSED idesc = abuf->idesc;
55282 int cycles = 0;
55284 int referenced = 0;
55285 int UNUSED insn_referenced = abuf->written;
55286 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55288 return cycles;
55289 #undef FLD
55292 static int
55293 model_tomcat_fsubd (SIM_CPU *current_cpu, void *sem_arg)
55295 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55297 const IDESC * UNUSED idesc = abuf->idesc;
55298 int cycles = 0;
55300 int referenced = 0;
55301 int UNUSED insn_referenced = abuf->written;
55302 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55304 return cycles;
55305 #undef FLD
55308 static int
55309 model_tomcat_fmuld (SIM_CPU *current_cpu, void *sem_arg)
55311 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55313 const IDESC * UNUSED idesc = abuf->idesc;
55314 int cycles = 0;
55316 int referenced = 0;
55317 int UNUSED insn_referenced = abuf->written;
55318 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55320 return cycles;
55321 #undef FLD
55324 static int
55325 model_tomcat_fdivd (SIM_CPU *current_cpu, void *sem_arg)
55327 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55329 const IDESC * UNUSED idesc = abuf->idesc;
55330 int cycles = 0;
55332 int referenced = 0;
55333 int UNUSED insn_referenced = abuf->written;
55334 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55336 return cycles;
55337 #undef FLD
55340 static int
55341 model_tomcat_cfadds (SIM_CPU *current_cpu, void *sem_arg)
55343 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55345 const IDESC * UNUSED idesc = abuf->idesc;
55346 int cycles = 0;
55348 int referenced = 0;
55349 int UNUSED insn_referenced = abuf->written;
55350 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55352 return cycles;
55353 #undef FLD
55356 static int
55357 model_tomcat_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
55359 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55361 const IDESC * UNUSED idesc = abuf->idesc;
55362 int cycles = 0;
55364 int referenced = 0;
55365 int UNUSED insn_referenced = abuf->written;
55366 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55368 return cycles;
55369 #undef FLD
55372 static int
55373 model_tomcat_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
55375 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55377 const IDESC * UNUSED idesc = abuf->idesc;
55378 int cycles = 0;
55380 int referenced = 0;
55381 int UNUSED insn_referenced = abuf->written;
55382 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55384 return cycles;
55385 #undef FLD
55388 static int
55389 model_tomcat_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
55391 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55393 const IDESC * UNUSED idesc = abuf->idesc;
55394 int cycles = 0;
55396 int referenced = 0;
55397 int UNUSED insn_referenced = abuf->written;
55398 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55400 return cycles;
55401 #undef FLD
55404 static int
55405 model_tomcat_nfadds (SIM_CPU *current_cpu, void *sem_arg)
55407 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55409 const IDESC * UNUSED idesc = abuf->idesc;
55410 int cycles = 0;
55412 int referenced = 0;
55413 int UNUSED insn_referenced = abuf->written;
55414 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55416 return cycles;
55417 #undef FLD
55420 static int
55421 model_tomcat_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
55423 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55425 const IDESC * UNUSED idesc = abuf->idesc;
55426 int cycles = 0;
55428 int referenced = 0;
55429 int UNUSED insn_referenced = abuf->written;
55430 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55432 return cycles;
55433 #undef FLD
55436 static int
55437 model_tomcat_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
55439 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55441 const IDESC * UNUSED idesc = abuf->idesc;
55442 int cycles = 0;
55444 int referenced = 0;
55445 int UNUSED insn_referenced = abuf->written;
55446 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55448 return cycles;
55449 #undef FLD
55452 static int
55453 model_tomcat_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
55455 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55457 const IDESC * UNUSED idesc = abuf->idesc;
55458 int cycles = 0;
55460 int referenced = 0;
55461 int UNUSED insn_referenced = abuf->written;
55462 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55464 return cycles;
55465 #undef FLD
55468 static int
55469 model_tomcat_fcmps (SIM_CPU *current_cpu, void *sem_arg)
55471 #define FLD(f) abuf->fields.sfmt_cfcmps.f
55472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55473 const IDESC * UNUSED idesc = abuf->idesc;
55474 int cycles = 0;
55476 int referenced = 0;
55477 int UNUSED insn_referenced = abuf->written;
55478 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55480 return cycles;
55481 #undef FLD
55484 static int
55485 model_tomcat_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
55487 #define FLD(f) abuf->fields.sfmt_fcmpd.f
55488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55489 const IDESC * UNUSED idesc = abuf->idesc;
55490 int cycles = 0;
55492 int referenced = 0;
55493 int UNUSED insn_referenced = abuf->written;
55494 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55496 return cycles;
55497 #undef FLD
55500 static int
55501 model_tomcat_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
55503 #define FLD(f) abuf->fields.sfmt_cfcmps.f
55504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55505 const IDESC * UNUSED idesc = abuf->idesc;
55506 int cycles = 0;
55508 int referenced = 0;
55509 int UNUSED insn_referenced = abuf->written;
55510 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55512 return cycles;
55513 #undef FLD
55516 static int
55517 model_tomcat_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
55519 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
55520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55521 const IDESC * UNUSED idesc = abuf->idesc;
55522 int cycles = 0;
55524 int referenced = 0;
55525 int UNUSED insn_referenced = abuf->written;
55526 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55528 return cycles;
55529 #undef FLD
55532 static int
55533 model_tomcat_fmadds (SIM_CPU *current_cpu, void *sem_arg)
55535 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55537 const IDESC * UNUSED idesc = abuf->idesc;
55538 int cycles = 0;
55540 int referenced = 0;
55541 int UNUSED insn_referenced = abuf->written;
55542 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55544 return cycles;
55545 #undef FLD
55548 static int
55549 model_tomcat_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
55551 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55553 const IDESC * UNUSED idesc = abuf->idesc;
55554 int cycles = 0;
55556 int referenced = 0;
55557 int UNUSED insn_referenced = abuf->written;
55558 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55560 return cycles;
55561 #undef FLD
55564 static int
55565 model_tomcat_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
55567 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55569 const IDESC * UNUSED idesc = abuf->idesc;
55570 int cycles = 0;
55572 int referenced = 0;
55573 int UNUSED insn_referenced = abuf->written;
55574 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55576 return cycles;
55577 #undef FLD
55580 static int
55581 model_tomcat_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
55583 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55585 const IDESC * UNUSED idesc = abuf->idesc;
55586 int cycles = 0;
55588 int referenced = 0;
55589 int UNUSED insn_referenced = abuf->written;
55590 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55592 return cycles;
55593 #undef FLD
55596 static int
55597 model_tomcat_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
55599 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55601 const IDESC * UNUSED idesc = abuf->idesc;
55602 int cycles = 0;
55604 int referenced = 0;
55605 int UNUSED insn_referenced = abuf->written;
55606 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55608 return cycles;
55609 #undef FLD
55612 static int
55613 model_tomcat_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
55615 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55617 const IDESC * UNUSED idesc = abuf->idesc;
55618 int cycles = 0;
55620 int referenced = 0;
55621 int UNUSED insn_referenced = abuf->written;
55622 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55624 return cycles;
55625 #undef FLD
55628 static int
55629 model_tomcat_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
55631 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55633 const IDESC * UNUSED idesc = abuf->idesc;
55634 int cycles = 0;
55636 int referenced = 0;
55637 int UNUSED insn_referenced = abuf->written;
55638 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55640 return cycles;
55641 #undef FLD
55644 static int
55645 model_tomcat_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
55647 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55649 const IDESC * UNUSED idesc = abuf->idesc;
55650 int cycles = 0;
55652 int referenced = 0;
55653 int UNUSED insn_referenced = abuf->written;
55654 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55656 return cycles;
55657 #undef FLD
55660 static int
55661 model_tomcat_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
55663 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55665 const IDESC * UNUSED idesc = abuf->idesc;
55666 int cycles = 0;
55668 int referenced = 0;
55669 int UNUSED insn_referenced = abuf->written;
55670 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55672 return cycles;
55673 #undef FLD
55676 static int
55677 model_tomcat_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
55679 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55681 const IDESC * UNUSED idesc = abuf->idesc;
55682 int cycles = 0;
55684 int referenced = 0;
55685 int UNUSED insn_referenced = abuf->written;
55686 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55688 return cycles;
55689 #undef FLD
55692 static int
55693 model_tomcat_fmas (SIM_CPU *current_cpu, void *sem_arg)
55695 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55697 const IDESC * UNUSED idesc = abuf->idesc;
55698 int cycles = 0;
55700 int referenced = 0;
55701 int UNUSED insn_referenced = abuf->written;
55702 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55704 return cycles;
55705 #undef FLD
55708 static int
55709 model_tomcat_fmss (SIM_CPU *current_cpu, void *sem_arg)
55711 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55713 const IDESC * UNUSED idesc = abuf->idesc;
55714 int cycles = 0;
55716 int referenced = 0;
55717 int UNUSED insn_referenced = abuf->written;
55718 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55720 return cycles;
55721 #undef FLD
55724 static int
55725 model_tomcat_fdmas (SIM_CPU *current_cpu, void *sem_arg)
55727 #define FLD(f) abuf->fields.sfmt_fdmas.f
55728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55729 const IDESC * UNUSED idesc = abuf->idesc;
55730 int cycles = 0;
55732 int referenced = 0;
55733 int UNUSED insn_referenced = abuf->written;
55734 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55736 return cycles;
55737 #undef FLD
55740 static int
55741 model_tomcat_fdmss (SIM_CPU *current_cpu, void *sem_arg)
55743 #define FLD(f) abuf->fields.sfmt_fdmas.f
55744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55745 const IDESC * UNUSED idesc = abuf->idesc;
55746 int cycles = 0;
55748 int referenced = 0;
55749 int UNUSED insn_referenced = abuf->written;
55750 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55752 return cycles;
55753 #undef FLD
55756 static int
55757 model_tomcat_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
55759 #define FLD(f) abuf->fields.sfmt_fdmas.f
55760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55761 const IDESC * UNUSED idesc = abuf->idesc;
55762 int cycles = 0;
55764 int referenced = 0;
55765 int UNUSED insn_referenced = abuf->written;
55766 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55768 return cycles;
55769 #undef FLD
55772 static int
55773 model_tomcat_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
55775 #define FLD(f) abuf->fields.sfmt_fdmas.f
55776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55777 const IDESC * UNUSED idesc = abuf->idesc;
55778 int cycles = 0;
55780 int referenced = 0;
55781 int UNUSED insn_referenced = abuf->written;
55782 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55784 return cycles;
55785 #undef FLD
55788 static int
55789 model_tomcat_cfmas (SIM_CPU *current_cpu, void *sem_arg)
55791 #define FLD(f) abuf->fields.sfmt_cfmas.f
55792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55793 const IDESC * UNUSED idesc = abuf->idesc;
55794 int cycles = 0;
55796 int referenced = 0;
55797 int UNUSED insn_referenced = abuf->written;
55798 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55800 return cycles;
55801 #undef FLD
55804 static int
55805 model_tomcat_cfmss (SIM_CPU *current_cpu, void *sem_arg)
55807 #define FLD(f) abuf->fields.sfmt_cfmas.f
55808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55809 const IDESC * UNUSED idesc = abuf->idesc;
55810 int cycles = 0;
55812 int referenced = 0;
55813 int UNUSED insn_referenced = abuf->written;
55814 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55816 return cycles;
55817 #undef FLD
55820 static int
55821 model_tomcat_fmad (SIM_CPU *current_cpu, void *sem_arg)
55823 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55825 const IDESC * UNUSED idesc = abuf->idesc;
55826 int cycles = 0;
55828 int referenced = 0;
55829 int UNUSED insn_referenced = abuf->written;
55830 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55832 return cycles;
55833 #undef FLD
55836 static int
55837 model_tomcat_fmsd (SIM_CPU *current_cpu, void *sem_arg)
55839 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55841 const IDESC * UNUSED idesc = abuf->idesc;
55842 int cycles = 0;
55844 int referenced = 0;
55845 int UNUSED insn_referenced = abuf->written;
55846 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55848 return cycles;
55849 #undef FLD
55852 static int
55853 model_tomcat_nfmas (SIM_CPU *current_cpu, void *sem_arg)
55855 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55857 const IDESC * UNUSED idesc = abuf->idesc;
55858 int cycles = 0;
55860 int referenced = 0;
55861 int UNUSED insn_referenced = abuf->written;
55862 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55864 return cycles;
55865 #undef FLD
55868 static int
55869 model_tomcat_nfmss (SIM_CPU *current_cpu, void *sem_arg)
55871 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55873 const IDESC * UNUSED idesc = abuf->idesc;
55874 int cycles = 0;
55876 int referenced = 0;
55877 int UNUSED insn_referenced = abuf->written;
55878 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55880 return cycles;
55881 #undef FLD
55884 static int
55885 model_tomcat_fdadds (SIM_CPU *current_cpu, void *sem_arg)
55887 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55889 const IDESC * UNUSED idesc = abuf->idesc;
55890 int cycles = 0;
55892 int referenced = 0;
55893 int UNUSED insn_referenced = abuf->written;
55894 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55896 return cycles;
55897 #undef FLD
55900 static int
55901 model_tomcat_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
55903 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55905 const IDESC * UNUSED idesc = abuf->idesc;
55906 int cycles = 0;
55908 int referenced = 0;
55909 int UNUSED insn_referenced = abuf->written;
55910 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55912 return cycles;
55913 #undef FLD
55916 static int
55917 model_tomcat_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
55919 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55921 const IDESC * UNUSED idesc = abuf->idesc;
55922 int cycles = 0;
55924 int referenced = 0;
55925 int UNUSED insn_referenced = abuf->written;
55926 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55928 return cycles;
55929 #undef FLD
55932 static int
55933 model_tomcat_fddivs (SIM_CPU *current_cpu, void *sem_arg)
55935 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55937 const IDESC * UNUSED idesc = abuf->idesc;
55938 int cycles = 0;
55940 int referenced = 0;
55941 int UNUSED insn_referenced = abuf->written;
55942 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55944 return cycles;
55945 #undef FLD
55948 static int
55949 model_tomcat_fdsads (SIM_CPU *current_cpu, void *sem_arg)
55951 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55953 const IDESC * UNUSED idesc = abuf->idesc;
55954 int cycles = 0;
55956 int referenced = 0;
55957 int UNUSED insn_referenced = abuf->written;
55958 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55960 return cycles;
55961 #undef FLD
55964 static int
55965 model_tomcat_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
55967 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55969 const IDESC * UNUSED idesc = abuf->idesc;
55970 int cycles = 0;
55972 int referenced = 0;
55973 int UNUSED insn_referenced = abuf->written;
55974 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55976 return cycles;
55977 #undef FLD
55980 static int
55981 model_tomcat_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
55983 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55985 const IDESC * UNUSED idesc = abuf->idesc;
55986 int cycles = 0;
55988 int referenced = 0;
55989 int UNUSED insn_referenced = abuf->written;
55990 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55992 return cycles;
55993 #undef FLD
55996 static int
55997 model_tomcat_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
55999 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56001 const IDESC * UNUSED idesc = abuf->idesc;
56002 int cycles = 0;
56004 int referenced = 0;
56005 int UNUSED insn_referenced = abuf->written;
56006 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56008 return cycles;
56009 #undef FLD
56012 static int
56013 model_tomcat_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
56015 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56017 const IDESC * UNUSED idesc = abuf->idesc;
56018 int cycles = 0;
56020 int referenced = 0;
56021 int UNUSED insn_referenced = abuf->written;
56022 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56024 return cycles;
56025 #undef FLD
56028 static int
56029 model_tomcat_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
56031 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56033 const IDESC * UNUSED idesc = abuf->idesc;
56034 int cycles = 0;
56036 int referenced = 0;
56037 int UNUSED insn_referenced = abuf->written;
56038 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56040 return cycles;
56041 #undef FLD
56044 static int
56045 model_tomcat_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
56047 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56049 const IDESC * UNUSED idesc = abuf->idesc;
56050 int cycles = 0;
56052 int referenced = 0;
56053 int UNUSED insn_referenced = abuf->written;
56054 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56056 return cycles;
56057 #undef FLD
56060 static int
56061 model_tomcat_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
56063 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56065 const IDESC * UNUSED idesc = abuf->idesc;
56066 int cycles = 0;
56068 int referenced = 0;
56069 int UNUSED insn_referenced = abuf->written;
56070 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56072 return cycles;
56073 #undef FLD
56076 static int
56077 model_tomcat_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
56079 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
56080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56081 const IDESC * UNUSED idesc = abuf->idesc;
56082 int cycles = 0;
56084 int referenced = 0;
56085 int UNUSED insn_referenced = abuf->written;
56086 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56088 return cycles;
56089 #undef FLD
56092 static int
56093 model_tomcat_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
56095 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
56096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56097 const IDESC * UNUSED idesc = abuf->idesc;
56098 int cycles = 0;
56100 int referenced = 0;
56101 int UNUSED insn_referenced = abuf->written;
56102 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56104 return cycles;
56105 #undef FLD
56108 static int
56109 model_tomcat_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
56111 #define FLD(f) abuf->fields.sfmt_mhsethis.f
56112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56113 const IDESC * UNUSED idesc = abuf->idesc;
56114 int cycles = 0;
56116 int referenced = 0;
56117 int UNUSED insn_referenced = abuf->written;
56118 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56120 return cycles;
56121 #undef FLD
56124 static int
56125 model_tomcat_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
56127 #define FLD(f) abuf->fields.sfmt_mhdsets.f
56128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56129 const IDESC * UNUSED idesc = abuf->idesc;
56130 int cycles = 0;
56132 int referenced = 0;
56133 int UNUSED insn_referenced = abuf->written;
56134 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56136 return cycles;
56137 #undef FLD
56140 static int
56141 model_tomcat_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
56143 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
56144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56145 const IDESC * UNUSED idesc = abuf->idesc;
56146 int cycles = 0;
56148 int referenced = 0;
56149 int UNUSED insn_referenced = abuf->written;
56150 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56152 return cycles;
56153 #undef FLD
56156 static int
56157 model_tomcat_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
56159 #define FLD(f) abuf->fields.sfmt_mhsethih.f
56160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56161 const IDESC * UNUSED idesc = abuf->idesc;
56162 int cycles = 0;
56164 int referenced = 0;
56165 int UNUSED insn_referenced = abuf->written;
56166 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56168 return cycles;
56169 #undef FLD
56172 static int
56173 model_tomcat_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
56175 #define FLD(f) abuf->fields.sfmt_mhdseth.f
56176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56177 const IDESC * UNUSED idesc = abuf->idesc;
56178 int cycles = 0;
56180 int referenced = 0;
56181 int UNUSED insn_referenced = abuf->written;
56182 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56184 return cycles;
56185 #undef FLD
56188 static int
56189 model_tomcat_mand (SIM_CPU *current_cpu, void *sem_arg)
56191 #define FLD(f) abuf->fields.sfmt_mwcut.f
56192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56193 const IDESC * UNUSED idesc = abuf->idesc;
56194 int cycles = 0;
56196 int referenced = 0;
56197 int UNUSED insn_referenced = abuf->written;
56198 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56200 return cycles;
56201 #undef FLD
56204 static int
56205 model_tomcat_mor (SIM_CPU *current_cpu, void *sem_arg)
56207 #define FLD(f) abuf->fields.sfmt_mwcut.f
56208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56209 const IDESC * UNUSED idesc = abuf->idesc;
56210 int cycles = 0;
56212 int referenced = 0;
56213 int UNUSED insn_referenced = abuf->written;
56214 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56216 return cycles;
56217 #undef FLD
56220 static int
56221 model_tomcat_mxor (SIM_CPU *current_cpu, void *sem_arg)
56223 #define FLD(f) abuf->fields.sfmt_mwcut.f
56224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56225 const IDESC * UNUSED idesc = abuf->idesc;
56226 int cycles = 0;
56228 int referenced = 0;
56229 int UNUSED insn_referenced = abuf->written;
56230 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56232 return cycles;
56233 #undef FLD
56236 static int
56237 model_tomcat_cmand (SIM_CPU *current_cpu, void *sem_arg)
56239 #define FLD(f) abuf->fields.sfmt_cmand.f
56240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56241 const IDESC * UNUSED idesc = abuf->idesc;
56242 int cycles = 0;
56244 int referenced = 0;
56245 int UNUSED insn_referenced = abuf->written;
56246 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56248 return cycles;
56249 #undef FLD
56252 static int
56253 model_tomcat_cmor (SIM_CPU *current_cpu, void *sem_arg)
56255 #define FLD(f) abuf->fields.sfmt_cmand.f
56256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56257 const IDESC * UNUSED idesc = abuf->idesc;
56258 int cycles = 0;
56260 int referenced = 0;
56261 int UNUSED insn_referenced = abuf->written;
56262 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56264 return cycles;
56265 #undef FLD
56268 static int
56269 model_tomcat_cmxor (SIM_CPU *current_cpu, void *sem_arg)
56271 #define FLD(f) abuf->fields.sfmt_cmand.f
56272 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56273 const IDESC * UNUSED idesc = abuf->idesc;
56274 int cycles = 0;
56276 int referenced = 0;
56277 int UNUSED insn_referenced = abuf->written;
56278 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56280 return cycles;
56281 #undef FLD
56284 static int
56285 model_tomcat_mnot (SIM_CPU *current_cpu, void *sem_arg)
56287 #define FLD(f) abuf->fields.sfmt_mcut.f
56288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56289 const IDESC * UNUSED idesc = abuf->idesc;
56290 int cycles = 0;
56292 int referenced = 0;
56293 int UNUSED insn_referenced = abuf->written;
56294 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56296 return cycles;
56297 #undef FLD
56300 static int
56301 model_tomcat_cmnot (SIM_CPU *current_cpu, void *sem_arg)
56303 #define FLD(f) abuf->fields.sfmt_cmand.f
56304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56305 const IDESC * UNUSED idesc = abuf->idesc;
56306 int cycles = 0;
56308 int referenced = 0;
56309 int UNUSED insn_referenced = abuf->written;
56310 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56312 return cycles;
56313 #undef FLD
56316 static int
56317 model_tomcat_mrotli (SIM_CPU *current_cpu, void *sem_arg)
56319 #define FLD(f) abuf->fields.sfmt_mwcuti.f
56320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56321 const IDESC * UNUSED idesc = abuf->idesc;
56322 int cycles = 0;
56324 int referenced = 0;
56325 int UNUSED insn_referenced = abuf->written;
56326 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56328 return cycles;
56329 #undef FLD
56332 static int
56333 model_tomcat_mrotri (SIM_CPU *current_cpu, void *sem_arg)
56335 #define FLD(f) abuf->fields.sfmt_mwcuti.f
56336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56337 const IDESC * UNUSED idesc = abuf->idesc;
56338 int cycles = 0;
56340 int referenced = 0;
56341 int UNUSED insn_referenced = abuf->written;
56342 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56344 return cycles;
56345 #undef FLD
56348 static int
56349 model_tomcat_mwcut (SIM_CPU *current_cpu, void *sem_arg)
56351 #define FLD(f) abuf->fields.sfmt_mwcut.f
56352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56353 const IDESC * UNUSED idesc = abuf->idesc;
56354 int cycles = 0;
56356 int referenced = 0;
56357 int UNUSED insn_referenced = abuf->written;
56358 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56360 return cycles;
56361 #undef FLD
56364 static int
56365 model_tomcat_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
56367 #define FLD(f) abuf->fields.sfmt_mwcuti.f
56368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56369 const IDESC * UNUSED idesc = abuf->idesc;
56370 int cycles = 0;
56372 int referenced = 0;
56373 int UNUSED insn_referenced = abuf->written;
56374 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56376 return cycles;
56377 #undef FLD
56380 static int
56381 model_tomcat_mcut (SIM_CPU *current_cpu, void *sem_arg)
56383 #define FLD(f) abuf->fields.sfmt_mcut.f
56384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56385 const IDESC * UNUSED idesc = abuf->idesc;
56386 int cycles = 0;
56388 int referenced = 0;
56389 int UNUSED insn_referenced = abuf->written;
56390 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56392 return cycles;
56393 #undef FLD
56396 static int
56397 model_tomcat_mcuti (SIM_CPU *current_cpu, void *sem_arg)
56399 #define FLD(f) abuf->fields.sfmt_mcuti.f
56400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56401 const IDESC * UNUSED idesc = abuf->idesc;
56402 int cycles = 0;
56404 int referenced = 0;
56405 int UNUSED insn_referenced = abuf->written;
56406 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56408 return cycles;
56409 #undef FLD
56412 static int
56413 model_tomcat_mcutss (SIM_CPU *current_cpu, void *sem_arg)
56415 #define FLD(f) abuf->fields.sfmt_mcut.f
56416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56417 const IDESC * UNUSED idesc = abuf->idesc;
56418 int cycles = 0;
56420 int referenced = 0;
56421 int UNUSED insn_referenced = abuf->written;
56422 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56424 return cycles;
56425 #undef FLD
56428 static int
56429 model_tomcat_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
56431 #define FLD(f) abuf->fields.sfmt_mcuti.f
56432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56433 const IDESC * UNUSED idesc = abuf->idesc;
56434 int cycles = 0;
56436 int referenced = 0;
56437 int UNUSED insn_referenced = abuf->written;
56438 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56440 return cycles;
56441 #undef FLD
56444 static int
56445 model_tomcat_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
56447 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
56448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56449 const IDESC * UNUSED idesc = abuf->idesc;
56450 int cycles = 0;
56452 int referenced = 0;
56453 int UNUSED insn_referenced = abuf->written;
56454 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56456 return cycles;
56457 #undef FLD
56460 static int
56461 model_tomcat_maveh (SIM_CPU *current_cpu, void *sem_arg)
56463 #define FLD(f) abuf->fields.sfmt_mwcut.f
56464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56465 const IDESC * UNUSED idesc = abuf->idesc;
56466 int cycles = 0;
56468 int referenced = 0;
56469 int UNUSED insn_referenced = abuf->written;
56470 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56472 return cycles;
56473 #undef FLD
56476 static int
56477 model_tomcat_msllhi (SIM_CPU *current_cpu, void *sem_arg)
56479 #define FLD(f) abuf->fields.sfmt_msllhi.f
56480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56481 const IDESC * UNUSED idesc = abuf->idesc;
56482 int cycles = 0;
56484 int referenced = 0;
56485 int UNUSED insn_referenced = abuf->written;
56486 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56488 return cycles;
56489 #undef FLD
56492 static int
56493 model_tomcat_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
56495 #define FLD(f) abuf->fields.sfmt_msllhi.f
56496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56497 const IDESC * UNUSED idesc = abuf->idesc;
56498 int cycles = 0;
56500 int referenced = 0;
56501 int UNUSED insn_referenced = abuf->written;
56502 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56504 return cycles;
56505 #undef FLD
56508 static int
56509 model_tomcat_msrahi (SIM_CPU *current_cpu, void *sem_arg)
56511 #define FLD(f) abuf->fields.sfmt_msllhi.f
56512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56513 const IDESC * UNUSED idesc = abuf->idesc;
56514 int cycles = 0;
56516 int referenced = 0;
56517 int UNUSED insn_referenced = abuf->written;
56518 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56520 return cycles;
56521 #undef FLD
56524 static int
56525 model_tomcat_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
56527 #define FLD(f) abuf->fields.sfmt_mdrotli.f
56528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56529 const IDESC * UNUSED idesc = abuf->idesc;
56530 int cycles = 0;
56532 int referenced = 0;
56533 int UNUSED insn_referenced = abuf->written;
56534 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56536 return cycles;
56537 #undef FLD
56540 static int
56541 model_tomcat_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
56543 #define FLD(f) abuf->fields.sfmt_mcplhi.f
56544 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56545 const IDESC * UNUSED idesc = abuf->idesc;
56546 int cycles = 0;
56548 int referenced = 0;
56549 int UNUSED insn_referenced = abuf->written;
56550 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56552 return cycles;
56553 #undef FLD
56556 static int
56557 model_tomcat_mcpli (SIM_CPU *current_cpu, void *sem_arg)
56559 #define FLD(f) abuf->fields.sfmt_mwcuti.f
56560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56561 const IDESC * UNUSED idesc = abuf->idesc;
56562 int cycles = 0;
56564 int referenced = 0;
56565 int UNUSED insn_referenced = abuf->written;
56566 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56568 return cycles;
56569 #undef FLD
56572 static int
56573 model_tomcat_msaths (SIM_CPU *current_cpu, void *sem_arg)
56575 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56577 const IDESC * UNUSED idesc = abuf->idesc;
56578 int cycles = 0;
56580 int referenced = 0;
56581 int UNUSED insn_referenced = abuf->written;
56582 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56584 return cycles;
56585 #undef FLD
56588 static int
56589 model_tomcat_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
56591 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56593 const IDESC * UNUSED idesc = abuf->idesc;
56594 int cycles = 0;
56596 int referenced = 0;
56597 int UNUSED insn_referenced = abuf->written;
56598 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56600 return cycles;
56601 #undef FLD
56604 static int
56605 model_tomcat_msathu (SIM_CPU *current_cpu, void *sem_arg)
56607 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56609 const IDESC * UNUSED idesc = abuf->idesc;
56610 int cycles = 0;
56612 int referenced = 0;
56613 int UNUSED insn_referenced = abuf->written;
56614 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56616 return cycles;
56617 #undef FLD
56620 static int
56621 model_tomcat_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
56623 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
56624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56625 const IDESC * UNUSED idesc = abuf->idesc;
56626 int cycles = 0;
56628 int referenced = 0;
56629 int UNUSED insn_referenced = abuf->written;
56630 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56632 return cycles;
56633 #undef FLD
56636 static int
56637 model_tomcat_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
56639 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
56640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56641 const IDESC * UNUSED idesc = abuf->idesc;
56642 int cycles = 0;
56644 int referenced = 0;
56645 int UNUSED insn_referenced = abuf->written;
56646 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56648 return cycles;
56649 #undef FLD
56652 static int
56653 model_tomcat_mabshs (SIM_CPU *current_cpu, void *sem_arg)
56655 #define FLD(f) abuf->fields.sfmt_mabshs.f
56656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56657 const IDESC * UNUSED idesc = abuf->idesc;
56658 int cycles = 0;
56660 int referenced = 0;
56661 int UNUSED insn_referenced = abuf->written;
56662 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56664 return cycles;
56665 #undef FLD
56668 static int
56669 model_tomcat_maddhss (SIM_CPU *current_cpu, void *sem_arg)
56671 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56673 const IDESC * UNUSED idesc = abuf->idesc;
56674 int cycles = 0;
56676 int referenced = 0;
56677 int UNUSED insn_referenced = abuf->written;
56678 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56680 return cycles;
56681 #undef FLD
56684 static int
56685 model_tomcat_maddhus (SIM_CPU *current_cpu, void *sem_arg)
56687 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56689 const IDESC * UNUSED idesc = abuf->idesc;
56690 int cycles = 0;
56692 int referenced = 0;
56693 int UNUSED insn_referenced = abuf->written;
56694 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56696 return cycles;
56697 #undef FLD
56700 static int
56701 model_tomcat_msubhss (SIM_CPU *current_cpu, void *sem_arg)
56703 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56705 const IDESC * UNUSED idesc = abuf->idesc;
56706 int cycles = 0;
56708 int referenced = 0;
56709 int UNUSED insn_referenced = abuf->written;
56710 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56712 return cycles;
56713 #undef FLD
56716 static int
56717 model_tomcat_msubhus (SIM_CPU *current_cpu, void *sem_arg)
56719 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56721 const IDESC * UNUSED idesc = abuf->idesc;
56722 int cycles = 0;
56724 int referenced = 0;
56725 int UNUSED insn_referenced = abuf->written;
56726 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56728 return cycles;
56729 #undef FLD
56732 static int
56733 model_tomcat_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
56735 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56737 const IDESC * UNUSED idesc = abuf->idesc;
56738 int cycles = 0;
56740 int referenced = 0;
56741 int UNUSED insn_referenced = abuf->written;
56742 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56744 return cycles;
56745 #undef FLD
56748 static int
56749 model_tomcat_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
56751 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56753 const IDESC * UNUSED idesc = abuf->idesc;
56754 int cycles = 0;
56756 int referenced = 0;
56757 int UNUSED insn_referenced = abuf->written;
56758 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56760 return cycles;
56761 #undef FLD
56764 static int
56765 model_tomcat_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
56767 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56769 const IDESC * UNUSED idesc = abuf->idesc;
56770 int cycles = 0;
56772 int referenced = 0;
56773 int UNUSED insn_referenced = abuf->written;
56774 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56776 return cycles;
56777 #undef FLD
56780 static int
56781 model_tomcat_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
56783 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56785 const IDESC * UNUSED idesc = abuf->idesc;
56786 int cycles = 0;
56788 int referenced = 0;
56789 int UNUSED insn_referenced = abuf->written;
56790 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56792 return cycles;
56793 #undef FLD
56796 static int
56797 model_tomcat_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
56799 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56801 const IDESC * UNUSED idesc = abuf->idesc;
56802 int cycles = 0;
56804 int referenced = 0;
56805 int UNUSED insn_referenced = abuf->written;
56806 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56808 return cycles;
56809 #undef FLD
56812 static int
56813 model_tomcat_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
56815 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56817 const IDESC * UNUSED idesc = abuf->idesc;
56818 int cycles = 0;
56820 int referenced = 0;
56821 int UNUSED insn_referenced = abuf->written;
56822 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56824 return cycles;
56825 #undef FLD
56828 static int
56829 model_tomcat_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
56831 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56833 const IDESC * UNUSED idesc = abuf->idesc;
56834 int cycles = 0;
56836 int referenced = 0;
56837 int UNUSED insn_referenced = abuf->written;
56838 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56840 return cycles;
56841 #undef FLD
56844 static int
56845 model_tomcat_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
56847 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56849 const IDESC * UNUSED idesc = abuf->idesc;
56850 int cycles = 0;
56852 int referenced = 0;
56853 int UNUSED insn_referenced = abuf->written;
56854 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56856 return cycles;
56857 #undef FLD
56860 static int
56861 model_tomcat_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
56863 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56865 const IDESC * UNUSED idesc = abuf->idesc;
56866 int cycles = 0;
56868 int referenced = 0;
56869 int UNUSED insn_referenced = abuf->written;
56870 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56872 return cycles;
56873 #undef FLD
56876 static int
56877 model_tomcat_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
56879 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56881 const IDESC * UNUSED idesc = abuf->idesc;
56882 int cycles = 0;
56884 int referenced = 0;
56885 int UNUSED insn_referenced = abuf->written;
56886 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56888 return cycles;
56889 #undef FLD
56892 static int
56893 model_tomcat_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
56895 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56897 const IDESC * UNUSED idesc = abuf->idesc;
56898 int cycles = 0;
56900 int referenced = 0;
56901 int UNUSED insn_referenced = abuf->written;
56902 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56904 return cycles;
56905 #undef FLD
56908 static int
56909 model_tomcat_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
56911 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56913 const IDESC * UNUSED idesc = abuf->idesc;
56914 int cycles = 0;
56916 int referenced = 0;
56917 int UNUSED insn_referenced = abuf->written;
56918 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56920 return cycles;
56921 #undef FLD
56924 static int
56925 model_tomcat_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
56927 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56929 const IDESC * UNUSED idesc = abuf->idesc;
56930 int cycles = 0;
56932 int referenced = 0;
56933 int UNUSED insn_referenced = abuf->written;
56934 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56936 return cycles;
56937 #undef FLD
56940 static int
56941 model_tomcat_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
56943 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56945 const IDESC * UNUSED idesc = abuf->idesc;
56946 int cycles = 0;
56948 int referenced = 0;
56949 int UNUSED insn_referenced = abuf->written;
56950 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56952 return cycles;
56953 #undef FLD
56956 static int
56957 model_tomcat_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
56959 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
56960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56961 const IDESC * UNUSED idesc = abuf->idesc;
56962 int cycles = 0;
56964 int referenced = 0;
56965 int UNUSED insn_referenced = abuf->written;
56966 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56968 return cycles;
56969 #undef FLD
56972 static int
56973 model_tomcat_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
56975 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
56976 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56977 const IDESC * UNUSED idesc = abuf->idesc;
56978 int cycles = 0;
56980 int referenced = 0;
56981 int UNUSED insn_referenced = abuf->written;
56982 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56984 return cycles;
56985 #undef FLD
56988 static int
56989 model_tomcat_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
56991 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
56992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56993 const IDESC * UNUSED idesc = abuf->idesc;
56994 int cycles = 0;
56996 int referenced = 0;
56997 int UNUSED insn_referenced = abuf->written;
56998 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57000 return cycles;
57001 #undef FLD
57004 static int
57005 model_tomcat_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
57007 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57009 const IDESC * UNUSED idesc = abuf->idesc;
57010 int cycles = 0;
57012 int referenced = 0;
57013 int UNUSED insn_referenced = abuf->written;
57014 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57016 return cycles;
57017 #undef FLD
57020 static int
57021 model_tomcat_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
57023 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57025 const IDESC * UNUSED idesc = abuf->idesc;
57026 int cycles = 0;
57028 int referenced = 0;
57029 int UNUSED insn_referenced = abuf->written;
57030 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57032 return cycles;
57033 #undef FLD
57036 static int
57037 model_tomcat_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
57039 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57041 const IDESC * UNUSED idesc = abuf->idesc;
57042 int cycles = 0;
57044 int referenced = 0;
57045 int UNUSED insn_referenced = abuf->written;
57046 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57048 return cycles;
57049 #undef FLD
57052 static int
57053 model_tomcat_masaccs (SIM_CPU *current_cpu, void *sem_arg)
57055 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57057 const IDESC * UNUSED idesc = abuf->idesc;
57058 int cycles = 0;
57060 int referenced = 0;
57061 int UNUSED insn_referenced = abuf->written;
57062 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57064 return cycles;
57065 #undef FLD
57068 static int
57069 model_tomcat_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
57071 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57073 const IDESC * UNUSED idesc = abuf->idesc;
57074 int cycles = 0;
57076 int referenced = 0;
57077 int UNUSED insn_referenced = abuf->written;
57078 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57080 return cycles;
57081 #undef FLD
57084 static int
57085 model_tomcat_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
57087 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57089 const IDESC * UNUSED idesc = abuf->idesc;
57090 int cycles = 0;
57092 int referenced = 0;
57093 int UNUSED insn_referenced = abuf->written;
57094 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57096 return cycles;
57097 #undef FLD
57100 static int
57101 model_tomcat_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
57103 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57105 const IDESC * UNUSED idesc = abuf->idesc;
57106 int cycles = 0;
57108 int referenced = 0;
57109 int UNUSED insn_referenced = abuf->written;
57110 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57112 return cycles;
57113 #undef FLD
57116 static int
57117 model_tomcat_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
57119 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57121 const IDESC * UNUSED idesc = abuf->idesc;
57122 int cycles = 0;
57124 int referenced = 0;
57125 int UNUSED insn_referenced = abuf->written;
57126 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57128 return cycles;
57129 #undef FLD
57132 static int
57133 model_tomcat_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
57135 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57137 const IDESC * UNUSED idesc = abuf->idesc;
57138 int cycles = 0;
57140 int referenced = 0;
57141 int UNUSED insn_referenced = abuf->written;
57142 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57144 return cycles;
57145 #undef FLD
57148 static int
57149 model_tomcat_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
57151 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57153 const IDESC * UNUSED idesc = abuf->idesc;
57154 int cycles = 0;
57156 int referenced = 0;
57157 int UNUSED insn_referenced = abuf->written;
57158 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57160 return cycles;
57161 #undef FLD
57164 static int
57165 model_tomcat_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
57167 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57169 const IDESC * UNUSED idesc = abuf->idesc;
57170 int cycles = 0;
57172 int referenced = 0;
57173 int UNUSED insn_referenced = abuf->written;
57174 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57176 return cycles;
57177 #undef FLD
57180 static int
57181 model_tomcat_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
57183 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57185 const IDESC * UNUSED idesc = abuf->idesc;
57186 int cycles = 0;
57188 int referenced = 0;
57189 int UNUSED insn_referenced = abuf->written;
57190 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57192 return cycles;
57193 #undef FLD
57196 static int
57197 model_tomcat_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
57199 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57201 const IDESC * UNUSED idesc = abuf->idesc;
57202 int cycles = 0;
57204 int referenced = 0;
57205 int UNUSED insn_referenced = abuf->written;
57206 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57208 return cycles;
57209 #undef FLD
57212 static int
57213 model_tomcat_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
57215 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57217 const IDESC * UNUSED idesc = abuf->idesc;
57218 int cycles = 0;
57220 int referenced = 0;
57221 int UNUSED insn_referenced = abuf->written;
57222 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57224 return cycles;
57225 #undef FLD
57228 static int
57229 model_tomcat_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
57231 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57233 const IDESC * UNUSED idesc = abuf->idesc;
57234 int cycles = 0;
57236 int referenced = 0;
57237 int UNUSED insn_referenced = abuf->written;
57238 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57240 return cycles;
57241 #undef FLD
57244 static int
57245 model_tomcat_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
57247 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57249 const IDESC * UNUSED idesc = abuf->idesc;
57250 int cycles = 0;
57252 int referenced = 0;
57253 int UNUSED insn_referenced = abuf->written;
57254 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57256 return cycles;
57257 #undef FLD
57260 static int
57261 model_tomcat_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
57263 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57265 const IDESC * UNUSED idesc = abuf->idesc;
57266 int cycles = 0;
57268 int referenced = 0;
57269 int UNUSED insn_referenced = abuf->written;
57270 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57272 return cycles;
57273 #undef FLD
57276 static int
57277 model_tomcat_mmachs (SIM_CPU *current_cpu, void *sem_arg)
57279 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57281 const IDESC * UNUSED idesc = abuf->idesc;
57282 int cycles = 0;
57284 int referenced = 0;
57285 int UNUSED insn_referenced = abuf->written;
57286 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57288 return cycles;
57289 #undef FLD
57292 static int
57293 model_tomcat_mmachu (SIM_CPU *current_cpu, void *sem_arg)
57295 #define FLD(f) abuf->fields.sfmt_cmmachu.f
57296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57297 const IDESC * UNUSED idesc = abuf->idesc;
57298 int cycles = 0;
57300 int referenced = 0;
57301 int UNUSED insn_referenced = abuf->written;
57302 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57304 return cycles;
57305 #undef FLD
57308 static int
57309 model_tomcat_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
57311 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57313 const IDESC * UNUSED idesc = abuf->idesc;
57314 int cycles = 0;
57316 int referenced = 0;
57317 int UNUSED insn_referenced = abuf->written;
57318 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57320 return cycles;
57321 #undef FLD
57324 static int
57325 model_tomcat_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
57327 #define FLD(f) abuf->fields.sfmt_cmmachu.f
57328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57329 const IDESC * UNUSED idesc = abuf->idesc;
57330 int cycles = 0;
57332 int referenced = 0;
57333 int UNUSED insn_referenced = abuf->written;
57334 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57336 return cycles;
57337 #undef FLD
57340 static int
57341 model_tomcat_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
57343 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57345 const IDESC * UNUSED idesc = abuf->idesc;
57346 int cycles = 0;
57348 int referenced = 0;
57349 int UNUSED insn_referenced = abuf->written;
57350 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57352 return cycles;
57353 #undef FLD
57356 static int
57357 model_tomcat_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
57359 #define FLD(f) abuf->fields.sfmt_cmmachu.f
57360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57361 const IDESC * UNUSED idesc = abuf->idesc;
57362 int cycles = 0;
57364 int referenced = 0;
57365 int UNUSED insn_referenced = abuf->written;
57366 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57368 return cycles;
57369 #undef FLD
57372 static int
57373 model_tomcat_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
57375 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57377 const IDESC * UNUSED idesc = abuf->idesc;
57378 int cycles = 0;
57380 int referenced = 0;
57381 int UNUSED insn_referenced = abuf->written;
57382 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57384 return cycles;
57385 #undef FLD
57388 static int
57389 model_tomcat_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
57391 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
57392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57393 const IDESC * UNUSED idesc = abuf->idesc;
57394 int cycles = 0;
57396 int referenced = 0;
57397 int UNUSED insn_referenced = abuf->written;
57398 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57400 return cycles;
57401 #undef FLD
57404 static int
57405 model_tomcat_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
57407 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57409 const IDESC * UNUSED idesc = abuf->idesc;
57410 int cycles = 0;
57412 int referenced = 0;
57413 int UNUSED insn_referenced = abuf->written;
57414 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57416 return cycles;
57417 #undef FLD
57420 static int
57421 model_tomcat_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
57423 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
57424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57425 const IDESC * UNUSED idesc = abuf->idesc;
57426 int cycles = 0;
57428 int referenced = 0;
57429 int UNUSED insn_referenced = abuf->written;
57430 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57432 return cycles;
57433 #undef FLD
57436 static int
57437 model_tomcat_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
57439 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57441 const IDESC * UNUSED idesc = abuf->idesc;
57442 int cycles = 0;
57444 int referenced = 0;
57445 int UNUSED insn_referenced = abuf->written;
57446 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57448 return cycles;
57449 #undef FLD
57452 static int
57453 model_tomcat_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
57455 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57457 const IDESC * UNUSED idesc = abuf->idesc;
57458 int cycles = 0;
57460 int referenced = 0;
57461 int UNUSED insn_referenced = abuf->written;
57462 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57464 return cycles;
57465 #undef FLD
57468 static int
57469 model_tomcat_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
57471 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57473 const IDESC * UNUSED idesc = abuf->idesc;
57474 int cycles = 0;
57476 int referenced = 0;
57477 int UNUSED insn_referenced = abuf->written;
57478 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57480 return cycles;
57481 #undef FLD
57484 static int
57485 model_tomcat_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
57487 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57489 const IDESC * UNUSED idesc = abuf->idesc;
57490 int cycles = 0;
57492 int referenced = 0;
57493 int UNUSED insn_referenced = abuf->written;
57494 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57496 return cycles;
57497 #undef FLD
57500 static int
57501 model_tomcat_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
57503 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57505 const IDESC * UNUSED idesc = abuf->idesc;
57506 int cycles = 0;
57508 int referenced = 0;
57509 int UNUSED insn_referenced = abuf->written;
57510 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57512 return cycles;
57513 #undef FLD
57516 static int
57517 model_tomcat_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
57519 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57521 const IDESC * UNUSED idesc = abuf->idesc;
57522 int cycles = 0;
57524 int referenced = 0;
57525 int UNUSED insn_referenced = abuf->written;
57526 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57528 return cycles;
57529 #undef FLD
57532 static int
57533 model_tomcat_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
57535 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57537 const IDESC * UNUSED idesc = abuf->idesc;
57538 int cycles = 0;
57540 int referenced = 0;
57541 int UNUSED insn_referenced = abuf->written;
57542 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57544 return cycles;
57545 #undef FLD
57548 static int
57549 model_tomcat_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
57551 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57553 const IDESC * UNUSED idesc = abuf->idesc;
57554 int cycles = 0;
57556 int referenced = 0;
57557 int UNUSED insn_referenced = abuf->written;
57558 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57560 return cycles;
57561 #undef FLD
57564 static int
57565 model_tomcat_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
57567 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57569 const IDESC * UNUSED idesc = abuf->idesc;
57570 int cycles = 0;
57572 int referenced = 0;
57573 int UNUSED insn_referenced = abuf->written;
57574 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57576 return cycles;
57577 #undef FLD
57580 static int
57581 model_tomcat_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
57583 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57585 const IDESC * UNUSED idesc = abuf->idesc;
57586 int cycles = 0;
57588 int referenced = 0;
57589 int UNUSED insn_referenced = abuf->written;
57590 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57592 return cycles;
57593 #undef FLD
57596 static int
57597 model_tomcat_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
57599 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57601 const IDESC * UNUSED idesc = abuf->idesc;
57602 int cycles = 0;
57604 int referenced = 0;
57605 int UNUSED insn_referenced = abuf->written;
57606 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57608 return cycles;
57609 #undef FLD
57612 static int
57613 model_tomcat_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
57615 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57617 const IDESC * UNUSED idesc = abuf->idesc;
57618 int cycles = 0;
57620 int referenced = 0;
57621 int UNUSED insn_referenced = abuf->written;
57622 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57624 return cycles;
57625 #undef FLD
57628 static int
57629 model_tomcat_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
57631 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57633 const IDESC * UNUSED idesc = abuf->idesc;
57634 int cycles = 0;
57636 int referenced = 0;
57637 int UNUSED insn_referenced = abuf->written;
57638 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57640 return cycles;
57641 #undef FLD
57644 static int
57645 model_tomcat_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
57647 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57649 const IDESC * UNUSED idesc = abuf->idesc;
57650 int cycles = 0;
57652 int referenced = 0;
57653 int UNUSED insn_referenced = abuf->written;
57654 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57656 return cycles;
57657 #undef FLD
57660 static int
57661 model_tomcat_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
57663 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57665 const IDESC * UNUSED idesc = abuf->idesc;
57666 int cycles = 0;
57668 int referenced = 0;
57669 int UNUSED insn_referenced = abuf->written;
57670 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57672 return cycles;
57673 #undef FLD
57676 static int
57677 model_tomcat_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
57679 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
57680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57681 const IDESC * UNUSED idesc = abuf->idesc;
57682 int cycles = 0;
57684 int referenced = 0;
57685 int UNUSED insn_referenced = abuf->written;
57686 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57688 return cycles;
57689 #undef FLD
57692 static int
57693 model_tomcat_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
57695 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
57696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57697 const IDESC * UNUSED idesc = abuf->idesc;
57698 int cycles = 0;
57700 int referenced = 0;
57701 int UNUSED insn_referenced = abuf->written;
57702 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57704 return cycles;
57705 #undef FLD
57708 static int
57709 model_tomcat_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
57711 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
57712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57713 const IDESC * UNUSED idesc = abuf->idesc;
57714 int cycles = 0;
57716 int referenced = 0;
57717 int UNUSED insn_referenced = abuf->written;
57718 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57720 return cycles;
57721 #undef FLD
57724 static int
57725 model_tomcat_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
57727 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
57728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57729 const IDESC * UNUSED idesc = abuf->idesc;
57730 int cycles = 0;
57732 int referenced = 0;
57733 int UNUSED insn_referenced = abuf->written;
57734 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57736 return cycles;
57737 #undef FLD
57740 static int
57741 model_tomcat_mpackh (SIM_CPU *current_cpu, void *sem_arg)
57743 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
57744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57745 const IDESC * UNUSED idesc = abuf->idesc;
57746 int cycles = 0;
57748 int referenced = 0;
57749 int UNUSED insn_referenced = abuf->written;
57750 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57752 return cycles;
57753 #undef FLD
57756 static int
57757 model_tomcat_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
57759 #define FLD(f) abuf->fields.sfmt_mdpackh.f
57760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57761 const IDESC * UNUSED idesc = abuf->idesc;
57762 int cycles = 0;
57764 int referenced = 0;
57765 int UNUSED insn_referenced = abuf->written;
57766 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57768 return cycles;
57769 #undef FLD
57772 static int
57773 model_tomcat_munpackh (SIM_CPU *current_cpu, void *sem_arg)
57775 #define FLD(f) abuf->fields.sfmt_munpackh.f
57776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57777 const IDESC * UNUSED idesc = abuf->idesc;
57778 int cycles = 0;
57780 int referenced = 0;
57781 int UNUSED insn_referenced = abuf->written;
57782 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57784 return cycles;
57785 #undef FLD
57788 static int
57789 model_tomcat_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
57791 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
57792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57793 const IDESC * UNUSED idesc = abuf->idesc;
57794 int cycles = 0;
57796 int referenced = 0;
57797 int UNUSED insn_referenced = abuf->written;
57798 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57800 return cycles;
57801 #undef FLD
57804 static int
57805 model_tomcat_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
57807 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
57808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57809 const IDESC * UNUSED idesc = abuf->idesc;
57810 int cycles = 0;
57812 int referenced = 0;
57813 int UNUSED insn_referenced = abuf->written;
57814 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57816 return cycles;
57817 #undef FLD
57820 static int
57821 model_tomcat_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
57823 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
57824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57825 const IDESC * UNUSED idesc = abuf->idesc;
57826 int cycles = 0;
57828 int referenced = 0;
57829 int UNUSED insn_referenced = abuf->written;
57830 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57832 return cycles;
57833 #undef FLD
57836 static int
57837 model_tomcat_mhtob (SIM_CPU *current_cpu, void *sem_arg)
57839 #define FLD(f) abuf->fields.sfmt_cmhtob.f
57840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57841 const IDESC * UNUSED idesc = abuf->idesc;
57842 int cycles = 0;
57844 int referenced = 0;
57845 int UNUSED insn_referenced = abuf->written;
57846 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57848 return cycles;
57849 #undef FLD
57852 static int
57853 model_tomcat_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
57855 #define FLD(f) abuf->fields.sfmt_cmhtob.f
57856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57857 const IDESC * UNUSED idesc = abuf->idesc;
57858 int cycles = 0;
57860 int referenced = 0;
57861 int UNUSED insn_referenced = abuf->written;
57862 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57864 return cycles;
57865 #undef FLD
57868 static int
57869 model_tomcat_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
57871 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
57872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57873 const IDESC * UNUSED idesc = abuf->idesc;
57874 int cycles = 0;
57876 int referenced = 0;
57877 int UNUSED insn_referenced = abuf->written;
57878 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57880 return cycles;
57881 #undef FLD
57884 static int
57885 model_tomcat_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
57887 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
57888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57889 const IDESC * UNUSED idesc = abuf->idesc;
57890 int cycles = 0;
57892 int referenced = 0;
57893 int UNUSED insn_referenced = abuf->written;
57894 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57896 return cycles;
57897 #undef FLD
57900 static int
57901 model_tomcat_mnop (SIM_CPU *current_cpu, void *sem_arg)
57903 #define FLD(f) abuf->fields.sfmt_empty.f
57904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57905 const IDESC * UNUSED idesc = abuf->idesc;
57906 int cycles = 0;
57908 int referenced = 0;
57909 int UNUSED insn_referenced = abuf->written;
57910 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57912 return cycles;
57913 #undef FLD
57916 static int
57917 model_tomcat_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
57919 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57921 const IDESC * UNUSED idesc = abuf->idesc;
57922 int cycles = 0;
57924 int referenced = 0;
57925 int UNUSED insn_referenced = abuf->written;
57926 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57928 return cycles;
57929 #undef FLD
57932 static int
57933 model_tomcat_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
57935 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57937 const IDESC * UNUSED idesc = abuf->idesc;
57938 int cycles = 0;
57940 int referenced = 0;
57941 int UNUSED insn_referenced = abuf->written;
57942 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57944 return cycles;
57945 #undef FLD
57948 static int
57949 model_tomcat_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
57951 #define FLD(f) abuf->fields.sfmt_mcuti.f
57952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57953 const IDESC * UNUSED idesc = abuf->idesc;
57954 int cycles = 0;
57956 int referenced = 0;
57957 int UNUSED insn_referenced = abuf->written;
57958 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57960 return cycles;
57961 #undef FLD
57964 static int
57965 model_tomcat_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
57967 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
57968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57969 const IDESC * UNUSED idesc = abuf->idesc;
57970 int cycles = 0;
57972 int referenced = 0;
57973 int UNUSED insn_referenced = abuf->written;
57974 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57976 return cycles;
57977 #undef FLD
57980 static int
57981 model_tomcat_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
57983 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57985 const IDESC * UNUSED idesc = abuf->idesc;
57986 int cycles = 0;
57988 int referenced = 0;
57989 int UNUSED insn_referenced = abuf->written;
57990 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57992 return cycles;
57993 #undef FLD
57996 static int
57997 model_tomcat_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
57999 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
58000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58001 const IDESC * UNUSED idesc = abuf->idesc;
58002 int cycles = 0;
58004 int referenced = 0;
58005 int UNUSED insn_referenced = abuf->written;
58006 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
58008 return cycles;
58009 #undef FLD
58012 static int
58013 model_tomcat_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
58015 #define FLD(f) abuf->fields.sfmt_empty.f
58016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58017 const IDESC * UNUSED idesc = abuf->idesc;
58018 int cycles = 0;
58020 int referenced = 0;
58021 int UNUSED insn_referenced = abuf->written;
58022 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
58024 return cycles;
58025 #undef FLD
58028 static int
58029 model_tomcat_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
58031 #define FLD(f) abuf->fields.sfmt_empty.f
58032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58033 const IDESC * UNUSED idesc = abuf->idesc;
58034 int cycles = 0;
58036 int referenced = 0;
58037 int UNUSED insn_referenced = abuf->written;
58038 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
58040 return cycles;
58041 #undef FLD
58044 static int
58045 model_tomcat_fnop (SIM_CPU *current_cpu, void *sem_arg)
58047 #define FLD(f) abuf->fields.sfmt_empty.f
58048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58049 const IDESC * UNUSED idesc = abuf->idesc;
58050 int cycles = 0;
58052 int referenced = 0;
58053 int UNUSED insn_referenced = abuf->written;
58054 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
58056 return cycles;
58057 #undef FLD
58060 static int
58061 model_fr400_add (SIM_CPU *current_cpu, void *sem_arg)
58063 #define FLD(f) abuf->fields.sfmt_addcc.f
58064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58065 const IDESC * UNUSED idesc = abuf->idesc;
58066 int cycles = 0;
58068 int referenced = 0;
58069 int UNUSED insn_referenced = abuf->written;
58070 INT in_GRi = -1;
58071 INT in_GRj = -1;
58072 INT out_GRk = -1;
58073 INT out_ICCi_1 = -1;
58074 in_GRi = FLD (in_GRi);
58075 in_GRj = FLD (in_GRj);
58076 out_GRk = FLD (out_GRk);
58077 referenced |= 1 << 0;
58078 referenced |= 1 << 1;
58079 referenced |= 1 << 2;
58080 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58082 return cycles;
58083 #undef FLD
58086 static int
58087 model_fr400_sub (SIM_CPU *current_cpu, void *sem_arg)
58089 #define FLD(f) abuf->fields.sfmt_addcc.f
58090 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58091 const IDESC * UNUSED idesc = abuf->idesc;
58092 int cycles = 0;
58094 int referenced = 0;
58095 int UNUSED insn_referenced = abuf->written;
58096 INT in_GRi = -1;
58097 INT in_GRj = -1;
58098 INT out_GRk = -1;
58099 INT out_ICCi_1 = -1;
58100 in_GRi = FLD (in_GRi);
58101 in_GRj = FLD (in_GRj);
58102 out_GRk = FLD (out_GRk);
58103 referenced |= 1 << 0;
58104 referenced |= 1 << 1;
58105 referenced |= 1 << 2;
58106 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58108 return cycles;
58109 #undef FLD
58112 static int
58113 model_fr400_and (SIM_CPU *current_cpu, void *sem_arg)
58115 #define FLD(f) abuf->fields.sfmt_addcc.f
58116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58117 const IDESC * UNUSED idesc = abuf->idesc;
58118 int cycles = 0;
58120 int referenced = 0;
58121 int UNUSED insn_referenced = abuf->written;
58122 INT in_GRi = -1;
58123 INT in_GRj = -1;
58124 INT out_GRk = -1;
58125 INT out_ICCi_1 = -1;
58126 in_GRi = FLD (in_GRi);
58127 in_GRj = FLD (in_GRj);
58128 out_GRk = FLD (out_GRk);
58129 referenced |= 1 << 0;
58130 referenced |= 1 << 1;
58131 referenced |= 1 << 2;
58132 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58134 return cycles;
58135 #undef FLD
58138 static int
58139 model_fr400_or (SIM_CPU *current_cpu, void *sem_arg)
58141 #define FLD(f) abuf->fields.sfmt_addcc.f
58142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58143 const IDESC * UNUSED idesc = abuf->idesc;
58144 int cycles = 0;
58146 int referenced = 0;
58147 int UNUSED insn_referenced = abuf->written;
58148 INT in_GRi = -1;
58149 INT in_GRj = -1;
58150 INT out_GRk = -1;
58151 INT out_ICCi_1 = -1;
58152 in_GRi = FLD (in_GRi);
58153 in_GRj = FLD (in_GRj);
58154 out_GRk = FLD (out_GRk);
58155 referenced |= 1 << 0;
58156 referenced |= 1 << 1;
58157 referenced |= 1 << 2;
58158 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58160 return cycles;
58161 #undef FLD
58164 static int
58165 model_fr400_xor (SIM_CPU *current_cpu, void *sem_arg)
58167 #define FLD(f) abuf->fields.sfmt_addcc.f
58168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58169 const IDESC * UNUSED idesc = abuf->idesc;
58170 int cycles = 0;
58172 int referenced = 0;
58173 int UNUSED insn_referenced = abuf->written;
58174 INT in_GRi = -1;
58175 INT in_GRj = -1;
58176 INT out_GRk = -1;
58177 INT out_ICCi_1 = -1;
58178 in_GRi = FLD (in_GRi);
58179 in_GRj = FLD (in_GRj);
58180 out_GRk = FLD (out_GRk);
58181 referenced |= 1 << 0;
58182 referenced |= 1 << 1;
58183 referenced |= 1 << 2;
58184 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58186 return cycles;
58187 #undef FLD
58190 static int
58191 model_fr400_not (SIM_CPU *current_cpu, void *sem_arg)
58193 #define FLD(f) abuf->fields.sfmt_scutss.f
58194 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58195 const IDESC * UNUSED idesc = abuf->idesc;
58196 int cycles = 0;
58198 int referenced = 0;
58199 int UNUSED insn_referenced = abuf->written;
58200 INT in_GRi = -1;
58201 INT in_GRj = -1;
58202 INT out_GRk = -1;
58203 INT out_ICCi_1 = -1;
58204 in_GRj = FLD (in_GRj);
58205 out_GRk = FLD (out_GRk);
58206 referenced |= 1 << 1;
58207 referenced |= 1 << 2;
58208 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58210 return cycles;
58211 #undef FLD
58214 static int
58215 model_fr400_sdiv (SIM_CPU *current_cpu, void *sem_arg)
58217 #define FLD(f) abuf->fields.sfmt_addcc.f
58218 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58219 const IDESC * UNUSED idesc = abuf->idesc;
58220 int cycles = 0;
58222 int referenced = 0;
58223 int UNUSED insn_referenced = abuf->written;
58224 INT in_GRi = -1;
58225 INT in_GRj = -1;
58226 INT out_GRk = -1;
58227 INT out_ICCi_1 = -1;
58228 in_GRi = FLD (in_GRi);
58229 in_GRj = FLD (in_GRj);
58230 out_GRk = FLD (out_GRk);
58231 referenced |= 1 << 0;
58232 referenced |= 1 << 1;
58233 referenced |= 1 << 2;
58234 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58236 return cycles;
58237 #undef FLD
58240 static int
58241 model_fr400_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
58243 #define FLD(f) abuf->fields.sfmt_addcc.f
58244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58245 const IDESC * UNUSED idesc = abuf->idesc;
58246 int cycles = 0;
58248 int referenced = 0;
58249 int UNUSED insn_referenced = abuf->written;
58250 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
58252 return cycles;
58253 #undef FLD
58256 static int
58257 model_fr400_udiv (SIM_CPU *current_cpu, void *sem_arg)
58259 #define FLD(f) abuf->fields.sfmt_addcc.f
58260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58261 const IDESC * UNUSED idesc = abuf->idesc;
58262 int cycles = 0;
58264 int referenced = 0;
58265 int UNUSED insn_referenced = abuf->written;
58266 INT in_GRi = -1;
58267 INT in_GRj = -1;
58268 INT out_GRk = -1;
58269 INT out_ICCi_1 = -1;
58270 in_GRi = FLD (in_GRi);
58271 in_GRj = FLD (in_GRj);
58272 out_GRk = FLD (out_GRk);
58273 referenced |= 1 << 0;
58274 referenced |= 1 << 1;
58275 referenced |= 1 << 2;
58276 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58278 return cycles;
58279 #undef FLD
58282 static int
58283 model_fr400_nudiv (SIM_CPU *current_cpu, void *sem_arg)
58285 #define FLD(f) abuf->fields.sfmt_addcc.f
58286 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58287 const IDESC * UNUSED idesc = abuf->idesc;
58288 int cycles = 0;
58290 int referenced = 0;
58291 int UNUSED insn_referenced = abuf->written;
58292 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
58294 return cycles;
58295 #undef FLD
58298 static int
58299 model_fr400_smul (SIM_CPU *current_cpu, void *sem_arg)
58301 #define FLD(f) abuf->fields.sfmt_smulcc.f
58302 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58303 const IDESC * UNUSED idesc = abuf->idesc;
58304 int cycles = 0;
58306 int referenced = 0;
58307 int UNUSED insn_referenced = abuf->written;
58308 INT in_GRi = -1;
58309 INT in_GRj = -1;
58310 INT out_GRdoublek = -1;
58311 INT out_ICCi_1 = -1;
58312 in_GRi = FLD (in_GRi);
58313 in_GRj = FLD (in_GRj);
58314 out_GRdoublek = FLD (out_GRdoublek);
58315 referenced |= 1 << 0;
58316 referenced |= 1 << 1;
58317 referenced |= 1 << 2;
58318 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
58320 return cycles;
58321 #undef FLD
58324 static int
58325 model_fr400_umul (SIM_CPU *current_cpu, void *sem_arg)
58327 #define FLD(f) abuf->fields.sfmt_smulcc.f
58328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58329 const IDESC * UNUSED idesc = abuf->idesc;
58330 int cycles = 0;
58332 int referenced = 0;
58333 int UNUSED insn_referenced = abuf->written;
58334 INT in_GRi = -1;
58335 INT in_GRj = -1;
58336 INT out_GRdoublek = -1;
58337 INT out_ICCi_1 = -1;
58338 in_GRi = FLD (in_GRi);
58339 in_GRj = FLD (in_GRj);
58340 out_GRdoublek = FLD (out_GRdoublek);
58341 referenced |= 1 << 0;
58342 referenced |= 1 << 1;
58343 referenced |= 1 << 2;
58344 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
58346 return cycles;
58347 #undef FLD
58350 static int
58351 model_fr400_smu (SIM_CPU *current_cpu, void *sem_arg)
58353 #define FLD(f) abuf->fields.sfmt_smass.f
58354 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58355 const IDESC * UNUSED idesc = abuf->idesc;
58356 int cycles = 0;
58358 int referenced = 0;
58359 int UNUSED insn_referenced = abuf->written;
58360 INT in_GRi = -1;
58361 INT in_GRj = -1;
58362 INT out_GRk = -1;
58363 INT out_ICCi_1 = -1;
58364 in_GRi = FLD (in_GRi);
58365 in_GRj = FLD (in_GRj);
58366 referenced |= 1 << 0;
58367 referenced |= 1 << 1;
58368 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58370 return cycles;
58371 #undef FLD
58374 static int
58375 model_fr400_smass (SIM_CPU *current_cpu, void *sem_arg)
58377 #define FLD(f) abuf->fields.sfmt_smass.f
58378 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58379 const IDESC * UNUSED idesc = abuf->idesc;
58380 int cycles = 0;
58382 int referenced = 0;
58383 int UNUSED insn_referenced = abuf->written;
58384 INT in_GRi = -1;
58385 INT in_GRj = -1;
58386 INT out_GRk = -1;
58387 INT out_ICCi_1 = -1;
58388 in_GRi = FLD (in_GRi);
58389 in_GRj = FLD (in_GRj);
58390 referenced |= 1 << 0;
58391 referenced |= 1 << 1;
58392 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58394 return cycles;
58395 #undef FLD
58398 static int
58399 model_fr400_smsss (SIM_CPU *current_cpu, void *sem_arg)
58401 #define FLD(f) abuf->fields.sfmt_smass.f
58402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58403 const IDESC * UNUSED idesc = abuf->idesc;
58404 int cycles = 0;
58406 int referenced = 0;
58407 int UNUSED insn_referenced = abuf->written;
58408 INT in_GRi = -1;
58409 INT in_GRj = -1;
58410 INT out_GRk = -1;
58411 INT out_ICCi_1 = -1;
58412 in_GRi = FLD (in_GRi);
58413 in_GRj = FLD (in_GRj);
58414 referenced |= 1 << 0;
58415 referenced |= 1 << 1;
58416 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58418 return cycles;
58419 #undef FLD
58422 static int
58423 model_fr400_sll (SIM_CPU *current_cpu, void *sem_arg)
58425 #define FLD(f) abuf->fields.sfmt_addcc.f
58426 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58427 const IDESC * UNUSED idesc = abuf->idesc;
58428 int cycles = 0;
58430 int referenced = 0;
58431 int UNUSED insn_referenced = abuf->written;
58432 INT in_GRi = -1;
58433 INT in_GRj = -1;
58434 INT out_GRk = -1;
58435 INT out_ICCi_1 = -1;
58436 in_GRi = FLD (in_GRi);
58437 in_GRj = FLD (in_GRj);
58438 out_GRk = FLD (out_GRk);
58439 referenced |= 1 << 0;
58440 referenced |= 1 << 1;
58441 referenced |= 1 << 2;
58442 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58444 return cycles;
58445 #undef FLD
58448 static int
58449 model_fr400_srl (SIM_CPU *current_cpu, void *sem_arg)
58451 #define FLD(f) abuf->fields.sfmt_addcc.f
58452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58453 const IDESC * UNUSED idesc = abuf->idesc;
58454 int cycles = 0;
58456 int referenced = 0;
58457 int UNUSED insn_referenced = abuf->written;
58458 INT in_GRi = -1;
58459 INT in_GRj = -1;
58460 INT out_GRk = -1;
58461 INT out_ICCi_1 = -1;
58462 in_GRi = FLD (in_GRi);
58463 in_GRj = FLD (in_GRj);
58464 out_GRk = FLD (out_GRk);
58465 referenced |= 1 << 0;
58466 referenced |= 1 << 1;
58467 referenced |= 1 << 2;
58468 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58470 return cycles;
58471 #undef FLD
58474 static int
58475 model_fr400_sra (SIM_CPU *current_cpu, void *sem_arg)
58477 #define FLD(f) abuf->fields.sfmt_addcc.f
58478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58479 const IDESC * UNUSED idesc = abuf->idesc;
58480 int cycles = 0;
58482 int referenced = 0;
58483 int UNUSED insn_referenced = abuf->written;
58484 INT in_GRi = -1;
58485 INT in_GRj = -1;
58486 INT out_GRk = -1;
58487 INT out_ICCi_1 = -1;
58488 in_GRi = FLD (in_GRi);
58489 in_GRj = FLD (in_GRj);
58490 out_GRk = FLD (out_GRk);
58491 referenced |= 1 << 0;
58492 referenced |= 1 << 1;
58493 referenced |= 1 << 2;
58494 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58496 return cycles;
58497 #undef FLD
58500 static int
58501 model_fr400_slass (SIM_CPU *current_cpu, void *sem_arg)
58503 #define FLD(f) abuf->fields.sfmt_addcc.f
58504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58505 const IDESC * UNUSED idesc = abuf->idesc;
58506 int cycles = 0;
58508 int referenced = 0;
58509 int UNUSED insn_referenced = abuf->written;
58510 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
58512 return cycles;
58513 #undef FLD
58516 static int
58517 model_fr400_scutss (SIM_CPU *current_cpu, void *sem_arg)
58519 #define FLD(f) abuf->fields.sfmt_scutss.f
58520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58521 const IDESC * UNUSED idesc = abuf->idesc;
58522 int cycles = 0;
58524 int referenced = 0;
58525 int UNUSED insn_referenced = abuf->written;
58526 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
58528 return cycles;
58529 #undef FLD
58532 static int
58533 model_fr400_scan (SIM_CPU *current_cpu, void *sem_arg)
58535 #define FLD(f) abuf->fields.sfmt_addcc.f
58536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58537 const IDESC * UNUSED idesc = abuf->idesc;
58538 int cycles = 0;
58540 int referenced = 0;
58541 int UNUSED insn_referenced = abuf->written;
58542 INT in_GRi = -1;
58543 INT in_GRj = -1;
58544 INT out_GRk = -1;
58545 INT out_ICCi_1 = -1;
58546 in_GRi = FLD (in_GRi);
58547 in_GRj = FLD (in_GRj);
58548 out_GRk = FLD (out_GRk);
58549 referenced |= 1 << 0;
58550 referenced |= 1 << 1;
58551 referenced |= 1 << 2;
58552 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58554 return cycles;
58555 #undef FLD
58558 static int
58559 model_fr400_cadd (SIM_CPU *current_cpu, void *sem_arg)
58561 #define FLD(f) abuf->fields.sfmt_cswap.f
58562 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58563 const IDESC * UNUSED idesc = abuf->idesc;
58564 int cycles = 0;
58566 int referenced = 0;
58567 int UNUSED insn_referenced = abuf->written;
58568 INT in_GRi = -1;
58569 INT in_GRj = -1;
58570 INT out_GRk = -1;
58571 INT out_ICCi_1 = -1;
58572 in_GRi = FLD (in_GRi);
58573 in_GRj = FLD (in_GRj);
58574 out_GRk = FLD (out_GRk);
58575 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58576 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58577 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58578 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58580 return cycles;
58581 #undef FLD
58584 static int
58585 model_fr400_csub (SIM_CPU *current_cpu, void *sem_arg)
58587 #define FLD(f) abuf->fields.sfmt_cswap.f
58588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58589 const IDESC * UNUSED idesc = abuf->idesc;
58590 int cycles = 0;
58592 int referenced = 0;
58593 int UNUSED insn_referenced = abuf->written;
58594 INT in_GRi = -1;
58595 INT in_GRj = -1;
58596 INT out_GRk = -1;
58597 INT out_ICCi_1 = -1;
58598 in_GRi = FLD (in_GRi);
58599 in_GRj = FLD (in_GRj);
58600 out_GRk = FLD (out_GRk);
58601 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58602 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58603 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58604 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58606 return cycles;
58607 #undef FLD
58610 static int
58611 model_fr400_cand (SIM_CPU *current_cpu, void *sem_arg)
58613 #define FLD(f) abuf->fields.sfmt_cswap.f
58614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58615 const IDESC * UNUSED idesc = abuf->idesc;
58616 int cycles = 0;
58618 int referenced = 0;
58619 int UNUSED insn_referenced = abuf->written;
58620 INT in_GRi = -1;
58621 INT in_GRj = -1;
58622 INT out_GRk = -1;
58623 INT out_ICCi_1 = -1;
58624 in_GRi = FLD (in_GRi);
58625 in_GRj = FLD (in_GRj);
58626 out_GRk = FLD (out_GRk);
58627 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58628 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58629 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58630 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58632 return cycles;
58633 #undef FLD
58636 static int
58637 model_fr400_cor (SIM_CPU *current_cpu, void *sem_arg)
58639 #define FLD(f) abuf->fields.sfmt_cswap.f
58640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58641 const IDESC * UNUSED idesc = abuf->idesc;
58642 int cycles = 0;
58644 int referenced = 0;
58645 int UNUSED insn_referenced = abuf->written;
58646 INT in_GRi = -1;
58647 INT in_GRj = -1;
58648 INT out_GRk = -1;
58649 INT out_ICCi_1 = -1;
58650 in_GRi = FLD (in_GRi);
58651 in_GRj = FLD (in_GRj);
58652 out_GRk = FLD (out_GRk);
58653 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58654 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58655 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58656 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58658 return cycles;
58659 #undef FLD
58662 static int
58663 model_fr400_cxor (SIM_CPU *current_cpu, void *sem_arg)
58665 #define FLD(f) abuf->fields.sfmt_cswap.f
58666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58667 const IDESC * UNUSED idesc = abuf->idesc;
58668 int cycles = 0;
58670 int referenced = 0;
58671 int UNUSED insn_referenced = abuf->written;
58672 INT in_GRi = -1;
58673 INT in_GRj = -1;
58674 INT out_GRk = -1;
58675 INT out_ICCi_1 = -1;
58676 in_GRi = FLD (in_GRi);
58677 in_GRj = FLD (in_GRj);
58678 out_GRk = FLD (out_GRk);
58679 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58680 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58681 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58682 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58684 return cycles;
58685 #undef FLD
58688 static int
58689 model_fr400_cnot (SIM_CPU *current_cpu, void *sem_arg)
58691 #define FLD(f) abuf->fields.sfmt_cswap.f
58692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58693 const IDESC * UNUSED idesc = abuf->idesc;
58694 int cycles = 0;
58696 int referenced = 0;
58697 int UNUSED insn_referenced = abuf->written;
58698 INT in_GRi = -1;
58699 INT in_GRj = -1;
58700 INT out_GRk = -1;
58701 INT out_ICCi_1 = -1;
58702 in_GRj = FLD (in_GRj);
58703 out_GRk = FLD (out_GRk);
58704 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
58705 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
58706 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58708 return cycles;
58709 #undef FLD
58712 static int
58713 model_fr400_csmul (SIM_CPU *current_cpu, void *sem_arg)
58715 #define FLD(f) abuf->fields.sfmt_clddu.f
58716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58717 const IDESC * UNUSED idesc = abuf->idesc;
58718 int cycles = 0;
58720 int referenced = 0;
58721 int UNUSED insn_referenced = abuf->written;
58722 INT in_GRi = -1;
58723 INT in_GRj = -1;
58724 INT out_GRdoublek = -1;
58725 INT out_ICCi_1 = -1;
58726 in_GRi = FLD (in_GRi);
58727 in_GRj = FLD (in_GRj);
58728 out_GRdoublek = FLD (out_GRdoublek);
58729 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58730 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58731 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58732 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
58734 return cycles;
58735 #undef FLD
58738 static int
58739 model_fr400_csdiv (SIM_CPU *current_cpu, void *sem_arg)
58741 #define FLD(f) abuf->fields.sfmt_cswap.f
58742 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58743 const IDESC * UNUSED idesc = abuf->idesc;
58744 int cycles = 0;
58746 int referenced = 0;
58747 int UNUSED insn_referenced = abuf->written;
58748 INT in_GRi = -1;
58749 INT in_GRj = -1;
58750 INT out_GRk = -1;
58751 INT out_ICCi_1 = -1;
58752 in_GRi = FLD (in_GRi);
58753 in_GRj = FLD (in_GRj);
58754 out_GRk = FLD (out_GRk);
58755 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58756 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58757 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
58758 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58760 return cycles;
58761 #undef FLD
58764 static int
58765 model_fr400_cudiv (SIM_CPU *current_cpu, void *sem_arg)
58767 #define FLD(f) abuf->fields.sfmt_cswap.f
58768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58769 const IDESC * UNUSED idesc = abuf->idesc;
58770 int cycles = 0;
58772 int referenced = 0;
58773 int UNUSED insn_referenced = abuf->written;
58774 INT in_GRi = -1;
58775 INT in_GRj = -1;
58776 INT out_GRk = -1;
58777 INT out_ICCi_1 = -1;
58778 in_GRi = FLD (in_GRi);
58779 in_GRj = FLD (in_GRj);
58780 out_GRk = FLD (out_GRk);
58781 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58782 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58783 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
58784 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58786 return cycles;
58787 #undef FLD
58790 static int
58791 model_fr400_csll (SIM_CPU *current_cpu, void *sem_arg)
58793 #define FLD(f) abuf->fields.sfmt_cswap.f
58794 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58795 const IDESC * UNUSED idesc = abuf->idesc;
58796 int cycles = 0;
58798 int referenced = 0;
58799 int UNUSED insn_referenced = abuf->written;
58800 INT in_GRi = -1;
58801 INT in_GRj = -1;
58802 INT out_GRk = -1;
58803 INT out_ICCi_1 = -1;
58804 in_GRi = FLD (in_GRi);
58805 in_GRj = FLD (in_GRj);
58806 out_GRk = FLD (out_GRk);
58807 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58808 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58809 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58810 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58812 return cycles;
58813 #undef FLD
58816 static int
58817 model_fr400_csrl (SIM_CPU *current_cpu, void *sem_arg)
58819 #define FLD(f) abuf->fields.sfmt_cswap.f
58820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58821 const IDESC * UNUSED idesc = abuf->idesc;
58822 int cycles = 0;
58824 int referenced = 0;
58825 int UNUSED insn_referenced = abuf->written;
58826 INT in_GRi = -1;
58827 INT in_GRj = -1;
58828 INT out_GRk = -1;
58829 INT out_ICCi_1 = -1;
58830 in_GRi = FLD (in_GRi);
58831 in_GRj = FLD (in_GRj);
58832 out_GRk = FLD (out_GRk);
58833 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58834 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58835 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58836 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58838 return cycles;
58839 #undef FLD
58842 static int
58843 model_fr400_csra (SIM_CPU *current_cpu, void *sem_arg)
58845 #define FLD(f) abuf->fields.sfmt_cswap.f
58846 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58847 const IDESC * UNUSED idesc = abuf->idesc;
58848 int cycles = 0;
58850 int referenced = 0;
58851 int UNUSED insn_referenced = abuf->written;
58852 INT in_GRi = -1;
58853 INT in_GRj = -1;
58854 INT out_GRk = -1;
58855 INT out_ICCi_1 = -1;
58856 in_GRi = FLD (in_GRi);
58857 in_GRj = FLD (in_GRj);
58858 out_GRk = FLD (out_GRk);
58859 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58860 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58861 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58862 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58864 return cycles;
58865 #undef FLD
58868 static int
58869 model_fr400_cscan (SIM_CPU *current_cpu, void *sem_arg)
58871 #define FLD(f) abuf->fields.sfmt_cswap.f
58872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58873 const IDESC * UNUSED idesc = abuf->idesc;
58874 int cycles = 0;
58876 int referenced = 0;
58877 int UNUSED insn_referenced = abuf->written;
58878 INT in_GRi = -1;
58879 INT in_GRj = -1;
58880 INT out_GRk = -1;
58881 INT out_ICCi_1 = -1;
58882 in_GRi = FLD (in_GRi);
58883 in_GRj = FLD (in_GRj);
58884 out_GRk = FLD (out_GRk);
58885 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58886 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58887 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58888 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58890 return cycles;
58891 #undef FLD
58894 static int
58895 model_fr400_addcc (SIM_CPU *current_cpu, void *sem_arg)
58897 #define FLD(f) abuf->fields.sfmt_addcc.f
58898 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58899 const IDESC * UNUSED idesc = abuf->idesc;
58900 int cycles = 0;
58902 int referenced = 0;
58903 int UNUSED insn_referenced = abuf->written;
58904 INT in_GRi = -1;
58905 INT in_GRj = -1;
58906 INT out_GRk = -1;
58907 INT out_ICCi_1 = -1;
58908 in_GRi = FLD (in_GRi);
58909 in_GRj = FLD (in_GRj);
58910 out_GRk = FLD (out_GRk);
58911 out_ICCi_1 = FLD (out_ICCi_1);
58912 referenced |= 1 << 0;
58913 referenced |= 1 << 1;
58914 referenced |= 1 << 2;
58915 referenced |= 1 << 3;
58916 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58918 return cycles;
58919 #undef FLD
58922 static int
58923 model_fr400_subcc (SIM_CPU *current_cpu, void *sem_arg)
58925 #define FLD(f) abuf->fields.sfmt_addcc.f
58926 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58927 const IDESC * UNUSED idesc = abuf->idesc;
58928 int cycles = 0;
58930 int referenced = 0;
58931 int UNUSED insn_referenced = abuf->written;
58932 INT in_GRi = -1;
58933 INT in_GRj = -1;
58934 INT out_GRk = -1;
58935 INT out_ICCi_1 = -1;
58936 in_GRi = FLD (in_GRi);
58937 in_GRj = FLD (in_GRj);
58938 out_GRk = FLD (out_GRk);
58939 out_ICCi_1 = FLD (out_ICCi_1);
58940 referenced |= 1 << 0;
58941 referenced |= 1 << 1;
58942 referenced |= 1 << 2;
58943 referenced |= 1 << 3;
58944 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58946 return cycles;
58947 #undef FLD
58950 static int
58951 model_fr400_andcc (SIM_CPU *current_cpu, void *sem_arg)
58953 #define FLD(f) abuf->fields.sfmt_addcc.f
58954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58955 const IDESC * UNUSED idesc = abuf->idesc;
58956 int cycles = 0;
58958 int referenced = 0;
58959 int UNUSED insn_referenced = abuf->written;
58960 INT in_GRi = -1;
58961 INT in_GRj = -1;
58962 INT out_GRk = -1;
58963 INT out_ICCi_1 = -1;
58964 in_GRi = FLD (in_GRi);
58965 in_GRj = FLD (in_GRj);
58966 out_GRk = FLD (out_GRk);
58967 out_ICCi_1 = FLD (out_ICCi_1);
58968 referenced |= 1 << 0;
58969 referenced |= 1 << 1;
58970 referenced |= 1 << 2;
58971 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
58972 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58974 return cycles;
58975 #undef FLD
58978 static int
58979 model_fr400_orcc (SIM_CPU *current_cpu, void *sem_arg)
58981 #define FLD(f) abuf->fields.sfmt_addcc.f
58982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58983 const IDESC * UNUSED idesc = abuf->idesc;
58984 int cycles = 0;
58986 int referenced = 0;
58987 int UNUSED insn_referenced = abuf->written;
58988 INT in_GRi = -1;
58989 INT in_GRj = -1;
58990 INT out_GRk = -1;
58991 INT out_ICCi_1 = -1;
58992 in_GRi = FLD (in_GRi);
58993 in_GRj = FLD (in_GRj);
58994 out_GRk = FLD (out_GRk);
58995 out_ICCi_1 = FLD (out_ICCi_1);
58996 referenced |= 1 << 0;
58997 referenced |= 1 << 1;
58998 referenced |= 1 << 2;
58999 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
59000 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59002 return cycles;
59003 #undef FLD
59006 static int
59007 model_fr400_xorcc (SIM_CPU *current_cpu, void *sem_arg)
59009 #define FLD(f) abuf->fields.sfmt_addcc.f
59010 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59011 const IDESC * UNUSED idesc = abuf->idesc;
59012 int cycles = 0;
59014 int referenced = 0;
59015 int UNUSED insn_referenced = abuf->written;
59016 INT in_GRi = -1;
59017 INT in_GRj = -1;
59018 INT out_GRk = -1;
59019 INT out_ICCi_1 = -1;
59020 in_GRi = FLD (in_GRi);
59021 in_GRj = FLD (in_GRj);
59022 out_GRk = FLD (out_GRk);
59023 out_ICCi_1 = FLD (out_ICCi_1);
59024 referenced |= 1 << 0;
59025 referenced |= 1 << 1;
59026 referenced |= 1 << 2;
59027 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
59028 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59030 return cycles;
59031 #undef FLD
59034 static int
59035 model_fr400_sllcc (SIM_CPU *current_cpu, void *sem_arg)
59037 #define FLD(f) abuf->fields.sfmt_addcc.f
59038 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59039 const IDESC * UNUSED idesc = abuf->idesc;
59040 int cycles = 0;
59042 int referenced = 0;
59043 int UNUSED insn_referenced = abuf->written;
59044 INT in_GRi = -1;
59045 INT in_GRj = -1;
59046 INT out_GRk = -1;
59047 INT out_ICCi_1 = -1;
59048 in_GRi = FLD (in_GRi);
59049 in_GRj = FLD (in_GRj);
59050 out_GRk = FLD (out_GRk);
59051 out_ICCi_1 = FLD (out_ICCi_1);
59052 referenced |= 1 << 0;
59053 referenced |= 1 << 1;
59054 referenced |= 1 << 2;
59055 referenced |= 1 << 3;
59056 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59058 return cycles;
59059 #undef FLD
59062 static int
59063 model_fr400_srlcc (SIM_CPU *current_cpu, void *sem_arg)
59065 #define FLD(f) abuf->fields.sfmt_addcc.f
59066 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59067 const IDESC * UNUSED idesc = abuf->idesc;
59068 int cycles = 0;
59070 int referenced = 0;
59071 int UNUSED insn_referenced = abuf->written;
59072 INT in_GRi = -1;
59073 INT in_GRj = -1;
59074 INT out_GRk = -1;
59075 INT out_ICCi_1 = -1;
59076 in_GRi = FLD (in_GRi);
59077 in_GRj = FLD (in_GRj);
59078 out_GRk = FLD (out_GRk);
59079 out_ICCi_1 = FLD (out_ICCi_1);
59080 referenced |= 1 << 0;
59081 referenced |= 1 << 1;
59082 referenced |= 1 << 2;
59083 referenced |= 1 << 3;
59084 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59086 return cycles;
59087 #undef FLD
59090 static int
59091 model_fr400_sracc (SIM_CPU *current_cpu, void *sem_arg)
59093 #define FLD(f) abuf->fields.sfmt_addcc.f
59094 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59095 const IDESC * UNUSED idesc = abuf->idesc;
59096 int cycles = 0;
59098 int referenced = 0;
59099 int UNUSED insn_referenced = abuf->written;
59100 INT in_GRi = -1;
59101 INT in_GRj = -1;
59102 INT out_GRk = -1;
59103 INT out_ICCi_1 = -1;
59104 in_GRi = FLD (in_GRi);
59105 in_GRj = FLD (in_GRj);
59106 out_GRk = FLD (out_GRk);
59107 out_ICCi_1 = FLD (out_ICCi_1);
59108 referenced |= 1 << 0;
59109 referenced |= 1 << 1;
59110 referenced |= 1 << 2;
59111 referenced |= 1 << 3;
59112 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59114 return cycles;
59115 #undef FLD
59118 static int
59119 model_fr400_smulcc (SIM_CPU *current_cpu, void *sem_arg)
59121 #define FLD(f) abuf->fields.sfmt_smulcc.f
59122 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59123 const IDESC * UNUSED idesc = abuf->idesc;
59124 int cycles = 0;
59126 int referenced = 0;
59127 int UNUSED insn_referenced = abuf->written;
59128 INT in_GRi = -1;
59129 INT in_GRj = -1;
59130 INT out_GRdoublek = -1;
59131 INT out_ICCi_1 = -1;
59132 in_GRi = FLD (in_GRi);
59133 in_GRj = FLD (in_GRj);
59134 out_GRdoublek = FLD (out_GRdoublek);
59135 out_ICCi_1 = FLD (out_ICCi_1);
59136 referenced |= 1 << 0;
59137 referenced |= 1 << 1;
59138 referenced |= 1 << 2;
59139 referenced |= 1 << 3;
59140 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59142 return cycles;
59143 #undef FLD
59146 static int
59147 model_fr400_umulcc (SIM_CPU *current_cpu, void *sem_arg)
59149 #define FLD(f) abuf->fields.sfmt_smulcc.f
59150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59151 const IDESC * UNUSED idesc = abuf->idesc;
59152 int cycles = 0;
59154 int referenced = 0;
59155 int UNUSED insn_referenced = abuf->written;
59156 INT in_GRi = -1;
59157 INT in_GRj = -1;
59158 INT out_GRdoublek = -1;
59159 INT out_ICCi_1 = -1;
59160 in_GRi = FLD (in_GRi);
59161 in_GRj = FLD (in_GRj);
59162 out_GRdoublek = FLD (out_GRdoublek);
59163 out_ICCi_1 = FLD (out_ICCi_1);
59164 referenced |= 1 << 0;
59165 referenced |= 1 << 1;
59166 referenced |= 1 << 2;
59167 referenced |= 1 << 3;
59168 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59170 return cycles;
59171 #undef FLD
59174 static int
59175 model_fr400_caddcc (SIM_CPU *current_cpu, void *sem_arg)
59177 #define FLD(f) abuf->fields.sfmt_caddcc.f
59178 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59179 const IDESC * UNUSED idesc = abuf->idesc;
59180 int cycles = 0;
59182 int referenced = 0;
59183 int UNUSED insn_referenced = abuf->written;
59184 INT in_GRi = -1;
59185 INT in_GRj = -1;
59186 INT out_GRk = -1;
59187 INT out_ICCi_1 = -1;
59188 in_GRi = FLD (in_GRi);
59189 in_GRj = FLD (in_GRj);
59190 out_GRk = FLD (out_GRk);
59191 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59192 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59193 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59194 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59196 return cycles;
59197 #undef FLD
59200 static int
59201 model_fr400_csubcc (SIM_CPU *current_cpu, void *sem_arg)
59203 #define FLD(f) abuf->fields.sfmt_caddcc.f
59204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59205 const IDESC * UNUSED idesc = abuf->idesc;
59206 int cycles = 0;
59208 int referenced = 0;
59209 int UNUSED insn_referenced = abuf->written;
59210 INT in_GRi = -1;
59211 INT in_GRj = -1;
59212 INT out_GRk = -1;
59213 INT out_ICCi_1 = -1;
59214 in_GRi = FLD (in_GRi);
59215 in_GRj = FLD (in_GRj);
59216 out_GRk = FLD (out_GRk);
59217 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59218 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59219 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59220 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59222 return cycles;
59223 #undef FLD
59226 static int
59227 model_fr400_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
59229 #define FLD(f) abuf->fields.sfmt_csmulcc.f
59230 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59231 const IDESC * UNUSED idesc = abuf->idesc;
59232 int cycles = 0;
59234 int referenced = 0;
59235 int UNUSED insn_referenced = abuf->written;
59236 INT in_GRi = -1;
59237 INT in_GRj = -1;
59238 INT out_GRdoublek = -1;
59239 INT out_ICCi_1 = -1;
59240 in_GRi = FLD (in_GRi);
59241 in_GRj = FLD (in_GRj);
59242 out_GRdoublek = FLD (out_GRdoublek);
59243 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59244 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59245 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59246 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59248 return cycles;
59249 #undef FLD
59252 static int
59253 model_fr400_candcc (SIM_CPU *current_cpu, void *sem_arg)
59255 #define FLD(f) abuf->fields.sfmt_caddcc.f
59256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59257 const IDESC * UNUSED idesc = abuf->idesc;
59258 int cycles = 0;
59260 int referenced = 0;
59261 int UNUSED insn_referenced = abuf->written;
59262 INT in_GRi = -1;
59263 INT in_GRj = -1;
59264 INT out_GRk = -1;
59265 INT out_ICCi_1 = -1;
59266 in_GRi = FLD (in_GRi);
59267 in_GRj = FLD (in_GRj);
59268 out_GRk = FLD (out_GRk);
59269 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59270 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59271 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59272 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59274 return cycles;
59275 #undef FLD
59278 static int
59279 model_fr400_corcc (SIM_CPU *current_cpu, void *sem_arg)
59281 #define FLD(f) abuf->fields.sfmt_caddcc.f
59282 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59283 const IDESC * UNUSED idesc = abuf->idesc;
59284 int cycles = 0;
59286 int referenced = 0;
59287 int UNUSED insn_referenced = abuf->written;
59288 INT in_GRi = -1;
59289 INT in_GRj = -1;
59290 INT out_GRk = -1;
59291 INT out_ICCi_1 = -1;
59292 in_GRi = FLD (in_GRi);
59293 in_GRj = FLD (in_GRj);
59294 out_GRk = FLD (out_GRk);
59295 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59296 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59297 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59298 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59300 return cycles;
59301 #undef FLD
59304 static int
59305 model_fr400_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
59307 #define FLD(f) abuf->fields.sfmt_caddcc.f
59308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59309 const IDESC * UNUSED idesc = abuf->idesc;
59310 int cycles = 0;
59312 int referenced = 0;
59313 int UNUSED insn_referenced = abuf->written;
59314 INT in_GRi = -1;
59315 INT in_GRj = -1;
59316 INT out_GRk = -1;
59317 INT out_ICCi_1 = -1;
59318 in_GRi = FLD (in_GRi);
59319 in_GRj = FLD (in_GRj);
59320 out_GRk = FLD (out_GRk);
59321 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59322 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59323 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59324 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59326 return cycles;
59327 #undef FLD
59330 static int
59331 model_fr400_csllcc (SIM_CPU *current_cpu, void *sem_arg)
59333 #define FLD(f) abuf->fields.sfmt_caddcc.f
59334 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59335 const IDESC * UNUSED idesc = abuf->idesc;
59336 int cycles = 0;
59338 int referenced = 0;
59339 int UNUSED insn_referenced = abuf->written;
59340 INT in_GRi = -1;
59341 INT in_GRj = -1;
59342 INT out_GRk = -1;
59343 INT out_ICCi_1 = -1;
59344 in_GRi = FLD (in_GRi);
59345 in_GRj = FLD (in_GRj);
59346 out_GRk = FLD (out_GRk);
59347 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59348 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59349 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59350 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59352 return cycles;
59353 #undef FLD
59356 static int
59357 model_fr400_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
59359 #define FLD(f) abuf->fields.sfmt_caddcc.f
59360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59361 const IDESC * UNUSED idesc = abuf->idesc;
59362 int cycles = 0;
59364 int referenced = 0;
59365 int UNUSED insn_referenced = abuf->written;
59366 INT in_GRi = -1;
59367 INT in_GRj = -1;
59368 INT out_GRk = -1;
59369 INT out_ICCi_1 = -1;
59370 in_GRi = FLD (in_GRi);
59371 in_GRj = FLD (in_GRj);
59372 out_GRk = FLD (out_GRk);
59373 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59374 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59375 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59376 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59378 return cycles;
59379 #undef FLD
59382 static int
59383 model_fr400_csracc (SIM_CPU *current_cpu, void *sem_arg)
59385 #define FLD(f) abuf->fields.sfmt_caddcc.f
59386 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59387 const IDESC * UNUSED idesc = abuf->idesc;
59388 int cycles = 0;
59390 int referenced = 0;
59391 int UNUSED insn_referenced = abuf->written;
59392 INT in_GRi = -1;
59393 INT in_GRj = -1;
59394 INT out_GRk = -1;
59395 INT out_ICCi_1 = -1;
59396 in_GRi = FLD (in_GRi);
59397 in_GRj = FLD (in_GRj);
59398 out_GRk = FLD (out_GRk);
59399 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59400 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59401 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59402 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59404 return cycles;
59405 #undef FLD
59408 static int
59409 model_fr400_addx (SIM_CPU *current_cpu, void *sem_arg)
59411 #define FLD(f) abuf->fields.sfmt_addcc.f
59412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59413 const IDESC * UNUSED idesc = abuf->idesc;
59414 int cycles = 0;
59416 int referenced = 0;
59417 int UNUSED insn_referenced = abuf->written;
59418 INT in_GRi = -1;
59419 INT in_GRj = -1;
59420 INT out_GRk = -1;
59421 INT out_ICCi_1 = -1;
59422 in_GRi = FLD (in_GRi);
59423 in_GRj = FLD (in_GRj);
59424 out_GRk = FLD (out_GRk);
59425 referenced |= 1 << 0;
59426 referenced |= 1 << 1;
59427 referenced |= 1 << 2;
59428 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59430 return cycles;
59431 #undef FLD
59434 static int
59435 model_fr400_subx (SIM_CPU *current_cpu, void *sem_arg)
59437 #define FLD(f) abuf->fields.sfmt_addcc.f
59438 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59439 const IDESC * UNUSED idesc = abuf->idesc;
59440 int cycles = 0;
59442 int referenced = 0;
59443 int UNUSED insn_referenced = abuf->written;
59444 INT in_GRi = -1;
59445 INT in_GRj = -1;
59446 INT out_GRk = -1;
59447 INT out_ICCi_1 = -1;
59448 in_GRi = FLD (in_GRi);
59449 in_GRj = FLD (in_GRj);
59450 out_GRk = FLD (out_GRk);
59451 referenced |= 1 << 0;
59452 referenced |= 1 << 1;
59453 referenced |= 1 << 2;
59454 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59456 return cycles;
59457 #undef FLD
59460 static int
59461 model_fr400_addxcc (SIM_CPU *current_cpu, void *sem_arg)
59463 #define FLD(f) abuf->fields.sfmt_addcc.f
59464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59465 const IDESC * UNUSED idesc = abuf->idesc;
59466 int cycles = 0;
59468 int referenced = 0;
59469 int UNUSED insn_referenced = abuf->written;
59470 INT in_GRi = -1;
59471 INT in_GRj = -1;
59472 INT out_GRk = -1;
59473 INT out_ICCi_1 = -1;
59474 in_GRi = FLD (in_GRi);
59475 in_GRj = FLD (in_GRj);
59476 out_GRk = FLD (out_GRk);
59477 out_ICCi_1 = FLD (out_ICCi_1);
59478 referenced |= 1 << 0;
59479 referenced |= 1 << 1;
59480 referenced |= 1 << 2;
59481 referenced |= 1 << 3;
59482 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59484 return cycles;
59485 #undef FLD
59488 static int
59489 model_fr400_subxcc (SIM_CPU *current_cpu, void *sem_arg)
59491 #define FLD(f) abuf->fields.sfmt_addcc.f
59492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59493 const IDESC * UNUSED idesc = abuf->idesc;
59494 int cycles = 0;
59496 int referenced = 0;
59497 int UNUSED insn_referenced = abuf->written;
59498 INT in_GRi = -1;
59499 INT in_GRj = -1;
59500 INT out_GRk = -1;
59501 INT out_ICCi_1 = -1;
59502 in_GRi = FLD (in_GRi);
59503 in_GRj = FLD (in_GRj);
59504 out_GRk = FLD (out_GRk);
59505 out_ICCi_1 = FLD (out_ICCi_1);
59506 referenced |= 1 << 0;
59507 referenced |= 1 << 1;
59508 referenced |= 1 << 2;
59509 referenced |= 1 << 3;
59510 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59512 return cycles;
59513 #undef FLD
59516 static int
59517 model_fr400_addss (SIM_CPU *current_cpu, void *sem_arg)
59519 #define FLD(f) abuf->fields.sfmt_addcc.f
59520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59521 const IDESC * UNUSED idesc = abuf->idesc;
59522 int cycles = 0;
59524 int referenced = 0;
59525 int UNUSED insn_referenced = abuf->written;
59526 INT in_GRi = -1;
59527 INT in_GRj = -1;
59528 INT out_GRk = -1;
59529 INT out_ICCi_1 = -1;
59530 in_GRi = FLD (in_GRi);
59531 in_GRj = FLD (in_GRj);
59532 out_GRk = FLD (out_GRk);
59533 referenced |= 1 << 0;
59534 referenced |= 1 << 1;
59535 referenced |= 1 << 2;
59536 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59538 return cycles;
59539 #undef FLD
59542 static int
59543 model_fr400_subss (SIM_CPU *current_cpu, void *sem_arg)
59545 #define FLD(f) abuf->fields.sfmt_addcc.f
59546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59547 const IDESC * UNUSED idesc = abuf->idesc;
59548 int cycles = 0;
59550 int referenced = 0;
59551 int UNUSED insn_referenced = abuf->written;
59552 INT in_GRi = -1;
59553 INT in_GRj = -1;
59554 INT out_GRk = -1;
59555 INT out_ICCi_1 = -1;
59556 in_GRi = FLD (in_GRi);
59557 in_GRj = FLD (in_GRj);
59558 out_GRk = FLD (out_GRk);
59559 referenced |= 1 << 0;
59560 referenced |= 1 << 1;
59561 referenced |= 1 << 2;
59562 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59564 return cycles;
59565 #undef FLD
59568 static int
59569 model_fr400_addi (SIM_CPU *current_cpu, void *sem_arg)
59571 #define FLD(f) abuf->fields.sfmt_swapi.f
59572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59573 const IDESC * UNUSED idesc = abuf->idesc;
59574 int cycles = 0;
59576 int referenced = 0;
59577 int UNUSED insn_referenced = abuf->written;
59578 INT in_GRi = -1;
59579 INT in_GRj = -1;
59580 INT out_GRk = -1;
59581 INT out_ICCi_1 = -1;
59582 in_GRi = FLD (in_GRi);
59583 out_GRk = FLD (out_GRk);
59584 referenced |= 1 << 0;
59585 referenced |= 1 << 2;
59586 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59588 return cycles;
59589 #undef FLD
59592 static int
59593 model_fr400_subi (SIM_CPU *current_cpu, void *sem_arg)
59595 #define FLD(f) abuf->fields.sfmt_swapi.f
59596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59597 const IDESC * UNUSED idesc = abuf->idesc;
59598 int cycles = 0;
59600 int referenced = 0;
59601 int UNUSED insn_referenced = abuf->written;
59602 INT in_GRi = -1;
59603 INT in_GRj = -1;
59604 INT out_GRk = -1;
59605 INT out_ICCi_1 = -1;
59606 in_GRi = FLD (in_GRi);
59607 out_GRk = FLD (out_GRk);
59608 referenced |= 1 << 0;
59609 referenced |= 1 << 2;
59610 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59612 return cycles;
59613 #undef FLD
59616 static int
59617 model_fr400_andi (SIM_CPU *current_cpu, void *sem_arg)
59619 #define FLD(f) abuf->fields.sfmt_swapi.f
59620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59621 const IDESC * UNUSED idesc = abuf->idesc;
59622 int cycles = 0;
59624 int referenced = 0;
59625 int UNUSED insn_referenced = abuf->written;
59626 INT in_GRi = -1;
59627 INT in_GRj = -1;
59628 INT out_GRk = -1;
59629 INT out_ICCi_1 = -1;
59630 in_GRi = FLD (in_GRi);
59631 out_GRk = FLD (out_GRk);
59632 referenced |= 1 << 0;
59633 referenced |= 1 << 2;
59634 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59636 return cycles;
59637 #undef FLD
59640 static int
59641 model_fr400_ori (SIM_CPU *current_cpu, void *sem_arg)
59643 #define FLD(f) abuf->fields.sfmt_swapi.f
59644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59645 const IDESC * UNUSED idesc = abuf->idesc;
59646 int cycles = 0;
59648 int referenced = 0;
59649 int UNUSED insn_referenced = abuf->written;
59650 INT in_GRi = -1;
59651 INT in_GRj = -1;
59652 INT out_GRk = -1;
59653 INT out_ICCi_1 = -1;
59654 in_GRi = FLD (in_GRi);
59655 out_GRk = FLD (out_GRk);
59656 referenced |= 1 << 0;
59657 referenced |= 1 << 2;
59658 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59660 return cycles;
59661 #undef FLD
59664 static int
59665 model_fr400_xori (SIM_CPU *current_cpu, void *sem_arg)
59667 #define FLD(f) abuf->fields.sfmt_swapi.f
59668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59669 const IDESC * UNUSED idesc = abuf->idesc;
59670 int cycles = 0;
59672 int referenced = 0;
59673 int UNUSED insn_referenced = abuf->written;
59674 INT in_GRi = -1;
59675 INT in_GRj = -1;
59676 INT out_GRk = -1;
59677 INT out_ICCi_1 = -1;
59678 in_GRi = FLD (in_GRi);
59679 out_GRk = FLD (out_GRk);
59680 referenced |= 1 << 0;
59681 referenced |= 1 << 2;
59682 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59684 return cycles;
59685 #undef FLD
59688 static int
59689 model_fr400_sdivi (SIM_CPU *current_cpu, void *sem_arg)
59691 #define FLD(f) abuf->fields.sfmt_swapi.f
59692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59693 const IDESC * UNUSED idesc = abuf->idesc;
59694 int cycles = 0;
59696 int referenced = 0;
59697 int UNUSED insn_referenced = abuf->written;
59698 INT in_GRi = -1;
59699 INT in_GRj = -1;
59700 INT out_GRk = -1;
59701 INT out_ICCi_1 = -1;
59702 in_GRi = FLD (in_GRi);
59703 out_GRk = FLD (out_GRk);
59704 referenced |= 1 << 0;
59705 referenced |= 1 << 2;
59706 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59708 return cycles;
59709 #undef FLD
59712 static int
59713 model_fr400_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
59715 #define FLD(f) abuf->fields.sfmt_swapi.f
59716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59717 const IDESC * UNUSED idesc = abuf->idesc;
59718 int cycles = 0;
59720 int referenced = 0;
59721 int UNUSED insn_referenced = abuf->written;
59722 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
59724 return cycles;
59725 #undef FLD
59728 static int
59729 model_fr400_udivi (SIM_CPU *current_cpu, void *sem_arg)
59731 #define FLD(f) abuf->fields.sfmt_swapi.f
59732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59733 const IDESC * UNUSED idesc = abuf->idesc;
59734 int cycles = 0;
59736 int referenced = 0;
59737 int UNUSED insn_referenced = abuf->written;
59738 INT in_GRi = -1;
59739 INT in_GRj = -1;
59740 INT out_GRk = -1;
59741 INT out_ICCi_1 = -1;
59742 in_GRi = FLD (in_GRi);
59743 out_GRk = FLD (out_GRk);
59744 referenced |= 1 << 0;
59745 referenced |= 1 << 2;
59746 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59748 return cycles;
59749 #undef FLD
59752 static int
59753 model_fr400_nudivi (SIM_CPU *current_cpu, void *sem_arg)
59755 #define FLD(f) abuf->fields.sfmt_swapi.f
59756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59757 const IDESC * UNUSED idesc = abuf->idesc;
59758 int cycles = 0;
59760 int referenced = 0;
59761 int UNUSED insn_referenced = abuf->written;
59762 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
59764 return cycles;
59765 #undef FLD
59768 static int
59769 model_fr400_smuli (SIM_CPU *current_cpu, void *sem_arg)
59771 #define FLD(f) abuf->fields.sfmt_smuli.f
59772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59773 const IDESC * UNUSED idesc = abuf->idesc;
59774 int cycles = 0;
59776 int referenced = 0;
59777 int UNUSED insn_referenced = abuf->written;
59778 INT in_GRi = -1;
59779 INT in_GRj = -1;
59780 INT out_GRdoublek = -1;
59781 INT out_ICCi_1 = -1;
59782 in_GRi = FLD (in_GRi);
59783 out_GRdoublek = FLD (out_GRdoublek);
59784 referenced |= 1 << 0;
59785 referenced |= 1 << 2;
59786 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59788 return cycles;
59789 #undef FLD
59792 static int
59793 model_fr400_umuli (SIM_CPU *current_cpu, void *sem_arg)
59795 #define FLD(f) abuf->fields.sfmt_smuli.f
59796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59797 const IDESC * UNUSED idesc = abuf->idesc;
59798 int cycles = 0;
59800 int referenced = 0;
59801 int UNUSED insn_referenced = abuf->written;
59802 INT in_GRi = -1;
59803 INT in_GRj = -1;
59804 INT out_GRdoublek = -1;
59805 INT out_ICCi_1 = -1;
59806 in_GRi = FLD (in_GRi);
59807 out_GRdoublek = FLD (out_GRdoublek);
59808 referenced |= 1 << 0;
59809 referenced |= 1 << 2;
59810 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59812 return cycles;
59813 #undef FLD
59816 static int
59817 model_fr400_slli (SIM_CPU *current_cpu, void *sem_arg)
59819 #define FLD(f) abuf->fields.sfmt_swapi.f
59820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59821 const IDESC * UNUSED idesc = abuf->idesc;
59822 int cycles = 0;
59824 int referenced = 0;
59825 int UNUSED insn_referenced = abuf->written;
59826 INT in_GRi = -1;
59827 INT in_GRj = -1;
59828 INT out_GRk = -1;
59829 INT out_ICCi_1 = -1;
59830 in_GRi = FLD (in_GRi);
59831 out_GRk = FLD (out_GRk);
59832 referenced |= 1 << 0;
59833 referenced |= 1 << 2;
59834 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59836 return cycles;
59837 #undef FLD
59840 static int
59841 model_fr400_srli (SIM_CPU *current_cpu, void *sem_arg)
59843 #define FLD(f) abuf->fields.sfmt_swapi.f
59844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59845 const IDESC * UNUSED idesc = abuf->idesc;
59846 int cycles = 0;
59848 int referenced = 0;
59849 int UNUSED insn_referenced = abuf->written;
59850 INT in_GRi = -1;
59851 INT in_GRj = -1;
59852 INT out_GRk = -1;
59853 INT out_ICCi_1 = -1;
59854 in_GRi = FLD (in_GRi);
59855 out_GRk = FLD (out_GRk);
59856 referenced |= 1 << 0;
59857 referenced |= 1 << 2;
59858 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59860 return cycles;
59861 #undef FLD
59864 static int
59865 model_fr400_srai (SIM_CPU *current_cpu, void *sem_arg)
59867 #define FLD(f) abuf->fields.sfmt_swapi.f
59868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59869 const IDESC * UNUSED idesc = abuf->idesc;
59870 int cycles = 0;
59872 int referenced = 0;
59873 int UNUSED insn_referenced = abuf->written;
59874 INT in_GRi = -1;
59875 INT in_GRj = -1;
59876 INT out_GRk = -1;
59877 INT out_ICCi_1 = -1;
59878 in_GRi = FLD (in_GRi);
59879 out_GRk = FLD (out_GRk);
59880 referenced |= 1 << 0;
59881 referenced |= 1 << 2;
59882 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59884 return cycles;
59885 #undef FLD
59888 static int
59889 model_fr400_scani (SIM_CPU *current_cpu, void *sem_arg)
59891 #define FLD(f) abuf->fields.sfmt_swapi.f
59892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59893 const IDESC * UNUSED idesc = abuf->idesc;
59894 int cycles = 0;
59896 int referenced = 0;
59897 int UNUSED insn_referenced = abuf->written;
59898 INT in_GRi = -1;
59899 INT in_GRj = -1;
59900 INT out_GRk = -1;
59901 INT out_ICCi_1 = -1;
59902 in_GRi = FLD (in_GRi);
59903 out_GRk = FLD (out_GRk);
59904 referenced |= 1 << 0;
59905 referenced |= 1 << 2;
59906 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59908 return cycles;
59909 #undef FLD
59912 static int
59913 model_fr400_addicc (SIM_CPU *current_cpu, void *sem_arg)
59915 #define FLD(f) abuf->fields.sfmt_addicc.f
59916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59917 const IDESC * UNUSED idesc = abuf->idesc;
59918 int cycles = 0;
59920 int referenced = 0;
59921 int UNUSED insn_referenced = abuf->written;
59922 INT in_GRi = -1;
59923 INT in_GRj = -1;
59924 INT out_GRk = -1;
59925 INT out_ICCi_1 = -1;
59926 in_GRi = FLD (in_GRi);
59927 out_GRk = FLD (out_GRk);
59928 out_ICCi_1 = FLD (out_ICCi_1);
59929 referenced |= 1 << 0;
59930 referenced |= 1 << 2;
59931 referenced |= 1 << 3;
59932 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59934 return cycles;
59935 #undef FLD
59938 static int
59939 model_fr400_subicc (SIM_CPU *current_cpu, void *sem_arg)
59941 #define FLD(f) abuf->fields.sfmt_addicc.f
59942 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59943 const IDESC * UNUSED idesc = abuf->idesc;
59944 int cycles = 0;
59946 int referenced = 0;
59947 int UNUSED insn_referenced = abuf->written;
59948 INT in_GRi = -1;
59949 INT in_GRj = -1;
59950 INT out_GRk = -1;
59951 INT out_ICCi_1 = -1;
59952 in_GRi = FLD (in_GRi);
59953 out_GRk = FLD (out_GRk);
59954 out_ICCi_1 = FLD (out_ICCi_1);
59955 referenced |= 1 << 0;
59956 referenced |= 1 << 2;
59957 referenced |= 1 << 3;
59958 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59960 return cycles;
59961 #undef FLD
59964 static int
59965 model_fr400_andicc (SIM_CPU *current_cpu, void *sem_arg)
59967 #define FLD(f) abuf->fields.sfmt_addicc.f
59968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59969 const IDESC * UNUSED idesc = abuf->idesc;
59970 int cycles = 0;
59972 int referenced = 0;
59973 int UNUSED insn_referenced = abuf->written;
59974 INT in_GRi = -1;
59975 INT in_GRj = -1;
59976 INT out_GRk = -1;
59977 INT out_ICCi_1 = -1;
59978 in_GRi = FLD (in_GRi);
59979 out_GRk = FLD (out_GRk);
59980 out_ICCi_1 = FLD (out_ICCi_1);
59981 referenced |= 1 << 0;
59982 referenced |= 1 << 2;
59983 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
59984 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59986 return cycles;
59987 #undef FLD
59990 static int
59991 model_fr400_oricc (SIM_CPU *current_cpu, void *sem_arg)
59993 #define FLD(f) abuf->fields.sfmt_addicc.f
59994 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59995 const IDESC * UNUSED idesc = abuf->idesc;
59996 int cycles = 0;
59998 int referenced = 0;
59999 int UNUSED insn_referenced = abuf->written;
60000 INT in_GRi = -1;
60001 INT in_GRj = -1;
60002 INT out_GRk = -1;
60003 INT out_ICCi_1 = -1;
60004 in_GRi = FLD (in_GRi);
60005 out_GRk = FLD (out_GRk);
60006 out_ICCi_1 = FLD (out_ICCi_1);
60007 referenced |= 1 << 0;
60008 referenced |= 1 << 2;
60009 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
60010 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60012 return cycles;
60013 #undef FLD
60016 static int
60017 model_fr400_xoricc (SIM_CPU *current_cpu, void *sem_arg)
60019 #define FLD(f) abuf->fields.sfmt_addicc.f
60020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60021 const IDESC * UNUSED idesc = abuf->idesc;
60022 int cycles = 0;
60024 int referenced = 0;
60025 int UNUSED insn_referenced = abuf->written;
60026 INT in_GRi = -1;
60027 INT in_GRj = -1;
60028 INT out_GRk = -1;
60029 INT out_ICCi_1 = -1;
60030 in_GRi = FLD (in_GRi);
60031 out_GRk = FLD (out_GRk);
60032 out_ICCi_1 = FLD (out_ICCi_1);
60033 referenced |= 1 << 0;
60034 referenced |= 1 << 2;
60035 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
60036 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60038 return cycles;
60039 #undef FLD
60042 static int
60043 model_fr400_smulicc (SIM_CPU *current_cpu, void *sem_arg)
60045 #define FLD(f) abuf->fields.sfmt_smulicc.f
60046 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60047 const IDESC * UNUSED idesc = abuf->idesc;
60048 int cycles = 0;
60050 int referenced = 0;
60051 int UNUSED insn_referenced = abuf->written;
60052 INT in_GRi = -1;
60053 INT in_GRj = -1;
60054 INT out_GRdoublek = -1;
60055 INT out_ICCi_1 = -1;
60056 in_GRi = FLD (in_GRi);
60057 out_GRdoublek = FLD (out_GRdoublek);
60058 out_ICCi_1 = FLD (out_ICCi_1);
60059 referenced |= 1 << 0;
60060 referenced |= 1 << 2;
60061 referenced |= 1 << 3;
60062 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
60064 return cycles;
60065 #undef FLD
60068 static int
60069 model_fr400_umulicc (SIM_CPU *current_cpu, void *sem_arg)
60071 #define FLD(f) abuf->fields.sfmt_smulicc.f
60072 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60073 const IDESC * UNUSED idesc = abuf->idesc;
60074 int cycles = 0;
60076 int referenced = 0;
60077 int UNUSED insn_referenced = abuf->written;
60078 INT in_GRi = -1;
60079 INT in_GRj = -1;
60080 INT out_GRdoublek = -1;
60081 INT out_ICCi_1 = -1;
60082 in_GRi = FLD (in_GRi);
60083 out_GRdoublek = FLD (out_GRdoublek);
60084 out_ICCi_1 = FLD (out_ICCi_1);
60085 referenced |= 1 << 0;
60086 referenced |= 1 << 2;
60087 referenced |= 1 << 3;
60088 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
60090 return cycles;
60091 #undef FLD
60094 static int
60095 model_fr400_sllicc (SIM_CPU *current_cpu, void *sem_arg)
60097 #define FLD(f) abuf->fields.sfmt_addicc.f
60098 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60099 const IDESC * UNUSED idesc = abuf->idesc;
60100 int cycles = 0;
60102 int referenced = 0;
60103 int UNUSED insn_referenced = abuf->written;
60104 INT in_GRi = -1;
60105 INT in_GRj = -1;
60106 INT out_GRk = -1;
60107 INT out_ICCi_1 = -1;
60108 in_GRi = FLD (in_GRi);
60109 out_GRk = FLD (out_GRk);
60110 out_ICCi_1 = FLD (out_ICCi_1);
60111 referenced |= 1 << 0;
60112 referenced |= 1 << 2;
60113 referenced |= 1 << 3;
60114 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60116 return cycles;
60117 #undef FLD
60120 static int
60121 model_fr400_srlicc (SIM_CPU *current_cpu, void *sem_arg)
60123 #define FLD(f) abuf->fields.sfmt_addicc.f
60124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60125 const IDESC * UNUSED idesc = abuf->idesc;
60126 int cycles = 0;
60128 int referenced = 0;
60129 int UNUSED insn_referenced = abuf->written;
60130 INT in_GRi = -1;
60131 INT in_GRj = -1;
60132 INT out_GRk = -1;
60133 INT out_ICCi_1 = -1;
60134 in_GRi = FLD (in_GRi);
60135 out_GRk = FLD (out_GRk);
60136 out_ICCi_1 = FLD (out_ICCi_1);
60137 referenced |= 1 << 0;
60138 referenced |= 1 << 2;
60139 referenced |= 1 << 3;
60140 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60142 return cycles;
60143 #undef FLD
60146 static int
60147 model_fr400_sraicc (SIM_CPU *current_cpu, void *sem_arg)
60149 #define FLD(f) abuf->fields.sfmt_addicc.f
60150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60151 const IDESC * UNUSED idesc = abuf->idesc;
60152 int cycles = 0;
60154 int referenced = 0;
60155 int UNUSED insn_referenced = abuf->written;
60156 INT in_GRi = -1;
60157 INT in_GRj = -1;
60158 INT out_GRk = -1;
60159 INT out_ICCi_1 = -1;
60160 in_GRi = FLD (in_GRi);
60161 out_GRk = FLD (out_GRk);
60162 out_ICCi_1 = FLD (out_ICCi_1);
60163 referenced |= 1 << 0;
60164 referenced |= 1 << 2;
60165 referenced |= 1 << 3;
60166 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60168 return cycles;
60169 #undef FLD
60172 static int
60173 model_fr400_addxi (SIM_CPU *current_cpu, void *sem_arg)
60175 #define FLD(f) abuf->fields.sfmt_addicc.f
60176 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60177 const IDESC * UNUSED idesc = abuf->idesc;
60178 int cycles = 0;
60180 int referenced = 0;
60181 int UNUSED insn_referenced = abuf->written;
60182 INT in_GRi = -1;
60183 INT in_GRj = -1;
60184 INT out_GRk = -1;
60185 INT out_ICCi_1 = -1;
60186 in_GRi = FLD (in_GRi);
60187 out_GRk = FLD (out_GRk);
60188 referenced |= 1 << 0;
60189 referenced |= 1 << 2;
60190 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60192 return cycles;
60193 #undef FLD
60196 static int
60197 model_fr400_subxi (SIM_CPU *current_cpu, void *sem_arg)
60199 #define FLD(f) abuf->fields.sfmt_addicc.f
60200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60201 const IDESC * UNUSED idesc = abuf->idesc;
60202 int cycles = 0;
60204 int referenced = 0;
60205 int UNUSED insn_referenced = abuf->written;
60206 INT in_GRi = -1;
60207 INT in_GRj = -1;
60208 INT out_GRk = -1;
60209 INT out_ICCi_1 = -1;
60210 in_GRi = FLD (in_GRi);
60211 out_GRk = FLD (out_GRk);
60212 referenced |= 1 << 0;
60213 referenced |= 1 << 2;
60214 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60216 return cycles;
60217 #undef FLD
60220 static int
60221 model_fr400_addxicc (SIM_CPU *current_cpu, void *sem_arg)
60223 #define FLD(f) abuf->fields.sfmt_addicc.f
60224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60225 const IDESC * UNUSED idesc = abuf->idesc;
60226 int cycles = 0;
60228 int referenced = 0;
60229 int UNUSED insn_referenced = abuf->written;
60230 INT in_GRi = -1;
60231 INT in_GRj = -1;
60232 INT out_GRk = -1;
60233 INT out_ICCi_1 = -1;
60234 in_GRi = FLD (in_GRi);
60235 out_GRk = FLD (out_GRk);
60236 out_ICCi_1 = FLD (out_ICCi_1);
60237 referenced |= 1 << 0;
60238 referenced |= 1 << 2;
60239 referenced |= 1 << 3;
60240 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60242 return cycles;
60243 #undef FLD
60246 static int
60247 model_fr400_subxicc (SIM_CPU *current_cpu, void *sem_arg)
60249 #define FLD(f) abuf->fields.sfmt_addicc.f
60250 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60251 const IDESC * UNUSED idesc = abuf->idesc;
60252 int cycles = 0;
60254 int referenced = 0;
60255 int UNUSED insn_referenced = abuf->written;
60256 INT in_GRi = -1;
60257 INT in_GRj = -1;
60258 INT out_GRk = -1;
60259 INT out_ICCi_1 = -1;
60260 in_GRi = FLD (in_GRi);
60261 out_GRk = FLD (out_GRk);
60262 out_ICCi_1 = FLD (out_ICCi_1);
60263 referenced |= 1 << 0;
60264 referenced |= 1 << 2;
60265 referenced |= 1 << 3;
60266 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60268 return cycles;
60269 #undef FLD
60272 static int
60273 model_fr400_cmpb (SIM_CPU *current_cpu, void *sem_arg)
60275 #define FLD(f) abuf->fields.sfmt_smulcc.f
60276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60277 const IDESC * UNUSED idesc = abuf->idesc;
60278 int cycles = 0;
60280 int referenced = 0;
60281 int UNUSED insn_referenced = abuf->written;
60282 INT in_GRi = -1;
60283 INT in_GRj = -1;
60284 INT out_GRk = -1;
60285 INT out_ICCi_1 = -1;
60286 in_GRi = FLD (in_GRi);
60287 in_GRj = FLD (in_GRj);
60288 out_ICCi_1 = FLD (out_ICCi_1);
60289 referenced |= 1 << 0;
60290 referenced |= 1 << 1;
60291 referenced |= 1 << 3;
60292 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60294 return cycles;
60295 #undef FLD
60298 static int
60299 model_fr400_cmpba (SIM_CPU *current_cpu, void *sem_arg)
60301 #define FLD(f) abuf->fields.sfmt_smulcc.f
60302 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60303 const IDESC * UNUSED idesc = abuf->idesc;
60304 int cycles = 0;
60306 int referenced = 0;
60307 int UNUSED insn_referenced = abuf->written;
60308 INT in_GRi = -1;
60309 INT in_GRj = -1;
60310 INT out_GRk = -1;
60311 INT out_ICCi_1 = -1;
60312 in_GRi = FLD (in_GRi);
60313 in_GRj = FLD (in_GRj);
60314 out_ICCi_1 = FLD (out_ICCi_1);
60315 referenced |= 1 << 0;
60316 referenced |= 1 << 1;
60317 referenced |= 1 << 3;
60318 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60320 return cycles;
60321 #undef FLD
60324 static int
60325 model_fr400_setlo (SIM_CPU *current_cpu, void *sem_arg)
60327 #define FLD(f) abuf->fields.sfmt_setlo.f
60328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60329 const IDESC * UNUSED idesc = abuf->idesc;
60330 int cycles = 0;
60332 int referenced = 0;
60333 int UNUSED insn_referenced = abuf->written;
60334 INT out_GRkhi = -1;
60335 INT out_GRklo = -1;
60336 out_GRklo = FLD (out_GRklo);
60337 referenced |= 1 << 1;
60338 cycles += frvbf_model_fr400_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
60340 return cycles;
60341 #undef FLD
60344 static int
60345 model_fr400_sethi (SIM_CPU *current_cpu, void *sem_arg)
60347 #define FLD(f) abuf->fields.sfmt_sethi.f
60348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60349 const IDESC * UNUSED idesc = abuf->idesc;
60350 int cycles = 0;
60352 int referenced = 0;
60353 int UNUSED insn_referenced = abuf->written;
60354 INT out_GRkhi = -1;
60355 INT out_GRklo = -1;
60356 out_GRkhi = FLD (out_GRkhi);
60357 referenced |= 1 << 0;
60358 cycles += frvbf_model_fr400_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
60360 return cycles;
60361 #undef FLD
60364 static int
60365 model_fr400_setlos (SIM_CPU *current_cpu, void *sem_arg)
60367 #define FLD(f) abuf->fields.sfmt_setlos.f
60368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60369 const IDESC * UNUSED idesc = abuf->idesc;
60370 int cycles = 0;
60372 int referenced = 0;
60373 int UNUSED insn_referenced = abuf->written;
60374 INT in_GRi = -1;
60375 INT in_GRj = -1;
60376 INT out_GRk = -1;
60377 INT out_ICCi_1 = -1;
60378 out_GRk = FLD (out_GRk);
60379 referenced |= 1 << 2;
60380 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60382 return cycles;
60383 #undef FLD
60386 static int
60387 model_fr400_ldsb (SIM_CPU *current_cpu, void *sem_arg)
60389 #define FLD(f) abuf->fields.sfmt_addcc.f
60390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60391 const IDESC * UNUSED idesc = abuf->idesc;
60392 int cycles = 0;
60394 int referenced = 0;
60395 int UNUSED insn_referenced = abuf->written;
60396 INT in_GRi = -1;
60397 INT in_GRj = -1;
60398 INT out_GRk = -1;
60399 INT out_GRdoublek = -1;
60400 in_GRi = FLD (in_GRi);
60401 in_GRj = FLD (in_GRj);
60402 out_GRk = FLD (out_GRk);
60403 referenced |= 1 << 0;
60404 referenced |= 1 << 1;
60405 referenced |= 1 << 2;
60406 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60408 return cycles;
60409 #undef FLD
60412 static int
60413 model_fr400_ldub (SIM_CPU *current_cpu, void *sem_arg)
60415 #define FLD(f) abuf->fields.sfmt_addcc.f
60416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60417 const IDESC * UNUSED idesc = abuf->idesc;
60418 int cycles = 0;
60420 int referenced = 0;
60421 int UNUSED insn_referenced = abuf->written;
60422 INT in_GRi = -1;
60423 INT in_GRj = -1;
60424 INT out_GRk = -1;
60425 INT out_GRdoublek = -1;
60426 in_GRi = FLD (in_GRi);
60427 in_GRj = FLD (in_GRj);
60428 out_GRk = FLD (out_GRk);
60429 referenced |= 1 << 0;
60430 referenced |= 1 << 1;
60431 referenced |= 1 << 2;
60432 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60434 return cycles;
60435 #undef FLD
60438 static int
60439 model_fr400_ldsh (SIM_CPU *current_cpu, void *sem_arg)
60441 #define FLD(f) abuf->fields.sfmt_addcc.f
60442 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60443 const IDESC * UNUSED idesc = abuf->idesc;
60444 int cycles = 0;
60446 int referenced = 0;
60447 int UNUSED insn_referenced = abuf->written;
60448 INT in_GRi = -1;
60449 INT in_GRj = -1;
60450 INT out_GRk = -1;
60451 INT out_GRdoublek = -1;
60452 in_GRi = FLD (in_GRi);
60453 in_GRj = FLD (in_GRj);
60454 out_GRk = FLD (out_GRk);
60455 referenced |= 1 << 0;
60456 referenced |= 1 << 1;
60457 referenced |= 1 << 2;
60458 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60460 return cycles;
60461 #undef FLD
60464 static int
60465 model_fr400_lduh (SIM_CPU *current_cpu, void *sem_arg)
60467 #define FLD(f) abuf->fields.sfmt_addcc.f
60468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60469 const IDESC * UNUSED idesc = abuf->idesc;
60470 int cycles = 0;
60472 int referenced = 0;
60473 int UNUSED insn_referenced = abuf->written;
60474 INT in_GRi = -1;
60475 INT in_GRj = -1;
60476 INT out_GRk = -1;
60477 INT out_GRdoublek = -1;
60478 in_GRi = FLD (in_GRi);
60479 in_GRj = FLD (in_GRj);
60480 out_GRk = FLD (out_GRk);
60481 referenced |= 1 << 0;
60482 referenced |= 1 << 1;
60483 referenced |= 1 << 2;
60484 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60486 return cycles;
60487 #undef FLD
60490 static int
60491 model_fr400_ld (SIM_CPU *current_cpu, void *sem_arg)
60493 #define FLD(f) abuf->fields.sfmt_addcc.f
60494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60495 const IDESC * UNUSED idesc = abuf->idesc;
60496 int cycles = 0;
60498 int referenced = 0;
60499 int UNUSED insn_referenced = abuf->written;
60500 INT in_GRi = -1;
60501 INT in_GRj = -1;
60502 INT out_GRk = -1;
60503 INT out_GRdoublek = -1;
60504 in_GRi = FLD (in_GRi);
60505 in_GRj = FLD (in_GRj);
60506 out_GRk = FLD (out_GRk);
60507 referenced |= 1 << 0;
60508 referenced |= 1 << 1;
60509 referenced |= 1 << 2;
60510 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60512 return cycles;
60513 #undef FLD
60516 static int
60517 model_fr400_ldbf (SIM_CPU *current_cpu, void *sem_arg)
60519 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60521 const IDESC * UNUSED idesc = abuf->idesc;
60522 int cycles = 0;
60524 int referenced = 0;
60525 int UNUSED insn_referenced = abuf->written;
60526 INT in_GRi = -1;
60527 INT in_GRj = -1;
60528 INT out_FRintk = -1;
60529 INT out_FRdoublek = -1;
60530 in_GRi = FLD (in_GRi);
60531 in_GRj = FLD (in_GRj);
60532 out_FRintk = FLD (out_FRintk);
60533 referenced |= 1 << 0;
60534 referenced |= 1 << 1;
60535 referenced |= 1 << 2;
60536 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
60538 return cycles;
60539 #undef FLD
60542 static int
60543 model_fr400_ldhf (SIM_CPU *current_cpu, void *sem_arg)
60545 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60547 const IDESC * UNUSED idesc = abuf->idesc;
60548 int cycles = 0;
60550 int referenced = 0;
60551 int UNUSED insn_referenced = abuf->written;
60552 INT in_GRi = -1;
60553 INT in_GRj = -1;
60554 INT out_FRintk = -1;
60555 INT out_FRdoublek = -1;
60556 in_GRi = FLD (in_GRi);
60557 in_GRj = FLD (in_GRj);
60558 out_FRintk = FLD (out_FRintk);
60559 referenced |= 1 << 0;
60560 referenced |= 1 << 1;
60561 referenced |= 1 << 2;
60562 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
60564 return cycles;
60565 #undef FLD
60568 static int
60569 model_fr400_ldf (SIM_CPU *current_cpu, void *sem_arg)
60571 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60573 const IDESC * UNUSED idesc = abuf->idesc;
60574 int cycles = 0;
60576 int referenced = 0;
60577 int UNUSED insn_referenced = abuf->written;
60578 INT in_GRi = -1;
60579 INT in_GRj = -1;
60580 INT out_FRintk = -1;
60581 INT out_FRdoublek = -1;
60582 in_GRi = FLD (in_GRi);
60583 in_GRj = FLD (in_GRj);
60584 out_FRintk = FLD (out_FRintk);
60585 referenced |= 1 << 0;
60586 referenced |= 1 << 1;
60587 referenced |= 1 << 2;
60588 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
60590 return cycles;
60591 #undef FLD
60594 static int
60595 model_fr400_ldc (SIM_CPU *current_cpu, void *sem_arg)
60597 #define FLD(f) abuf->fields.sfmt_ldcu.f
60598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60599 const IDESC * UNUSED idesc = abuf->idesc;
60600 int cycles = 0;
60602 int referenced = 0;
60603 int UNUSED insn_referenced = abuf->written;
60604 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60606 return cycles;
60607 #undef FLD
60610 static int
60611 model_fr400_nldsb (SIM_CPU *current_cpu, void *sem_arg)
60613 #define FLD(f) abuf->fields.sfmt_addcc.f
60614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60615 const IDESC * UNUSED idesc = abuf->idesc;
60616 int cycles = 0;
60618 int referenced = 0;
60619 int UNUSED insn_referenced = abuf->written;
60620 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60622 return cycles;
60623 #undef FLD
60626 static int
60627 model_fr400_nldub (SIM_CPU *current_cpu, void *sem_arg)
60629 #define FLD(f) abuf->fields.sfmt_addcc.f
60630 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60631 const IDESC * UNUSED idesc = abuf->idesc;
60632 int cycles = 0;
60634 int referenced = 0;
60635 int UNUSED insn_referenced = abuf->written;
60636 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60638 return cycles;
60639 #undef FLD
60642 static int
60643 model_fr400_nldsh (SIM_CPU *current_cpu, void *sem_arg)
60645 #define FLD(f) abuf->fields.sfmt_addcc.f
60646 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60647 const IDESC * UNUSED idesc = abuf->idesc;
60648 int cycles = 0;
60650 int referenced = 0;
60651 int UNUSED insn_referenced = abuf->written;
60652 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60654 return cycles;
60655 #undef FLD
60658 static int
60659 model_fr400_nlduh (SIM_CPU *current_cpu, void *sem_arg)
60661 #define FLD(f) abuf->fields.sfmt_addcc.f
60662 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60663 const IDESC * UNUSED idesc = abuf->idesc;
60664 int cycles = 0;
60666 int referenced = 0;
60667 int UNUSED insn_referenced = abuf->written;
60668 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60670 return cycles;
60671 #undef FLD
60674 static int
60675 model_fr400_nld (SIM_CPU *current_cpu, void *sem_arg)
60677 #define FLD(f) abuf->fields.sfmt_addcc.f
60678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60679 const IDESC * UNUSED idesc = abuf->idesc;
60680 int cycles = 0;
60682 int referenced = 0;
60683 int UNUSED insn_referenced = abuf->written;
60684 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60686 return cycles;
60687 #undef FLD
60690 static int
60691 model_fr400_nldbf (SIM_CPU *current_cpu, void *sem_arg)
60693 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60694 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60695 const IDESC * UNUSED idesc = abuf->idesc;
60696 int cycles = 0;
60698 int referenced = 0;
60699 int UNUSED insn_referenced = abuf->written;
60700 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60702 return cycles;
60703 #undef FLD
60706 static int
60707 model_fr400_nldhf (SIM_CPU *current_cpu, void *sem_arg)
60709 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60710 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60711 const IDESC * UNUSED idesc = abuf->idesc;
60712 int cycles = 0;
60714 int referenced = 0;
60715 int UNUSED insn_referenced = abuf->written;
60716 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60718 return cycles;
60719 #undef FLD
60722 static int
60723 model_fr400_nldf (SIM_CPU *current_cpu, void *sem_arg)
60725 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60727 const IDESC * UNUSED idesc = abuf->idesc;
60728 int cycles = 0;
60730 int referenced = 0;
60731 int UNUSED insn_referenced = abuf->written;
60732 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60734 return cycles;
60735 #undef FLD
60738 static int
60739 model_fr400_ldd (SIM_CPU *current_cpu, void *sem_arg)
60741 #define FLD(f) abuf->fields.sfmt_smulcc.f
60742 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60743 const IDESC * UNUSED idesc = abuf->idesc;
60744 int cycles = 0;
60746 int referenced = 0;
60747 int UNUSED insn_referenced = abuf->written;
60748 INT in_GRi = -1;
60749 INT in_GRj = -1;
60750 INT out_GRk = -1;
60751 INT out_GRdoublek = -1;
60752 in_GRi = FLD (in_GRi);
60753 in_GRj = FLD (in_GRj);
60754 out_GRdoublek = FLD (out_GRdoublek);
60755 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
60756 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
60757 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
60758 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60760 return cycles;
60761 #undef FLD
60764 static int
60765 model_fr400_lddf (SIM_CPU *current_cpu, void *sem_arg)
60767 #define FLD(f) abuf->fields.sfmt_clddfu.f
60768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60769 const IDESC * UNUSED idesc = abuf->idesc;
60770 int cycles = 0;
60772 int referenced = 0;
60773 int UNUSED insn_referenced = abuf->written;
60774 INT in_GRi = -1;
60775 INT in_GRj = -1;
60776 INT out_FRintk = -1;
60777 INT out_FRdoublek = -1;
60778 in_GRi = FLD (in_GRi);
60779 in_GRj = FLD (in_GRj);
60780 out_FRdoublek = FLD (out_FRdoublek);
60781 referenced |= 1 << 0;
60782 referenced |= 1 << 1;
60783 referenced |= 1 << 3;
60784 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
60786 return cycles;
60787 #undef FLD
60790 static int
60791 model_fr400_lddc (SIM_CPU *current_cpu, void *sem_arg)
60793 #define FLD(f) abuf->fields.sfmt_lddcu.f
60794 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60795 const IDESC * UNUSED idesc = abuf->idesc;
60796 int cycles = 0;
60798 int referenced = 0;
60799 int UNUSED insn_referenced = abuf->written;
60800 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60802 return cycles;
60803 #undef FLD
60806 static int
60807 model_fr400_nldd (SIM_CPU *current_cpu, void *sem_arg)
60809 #define FLD(f) abuf->fields.sfmt_smulcc.f
60810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60811 const IDESC * UNUSED idesc = abuf->idesc;
60812 int cycles = 0;
60814 int referenced = 0;
60815 int UNUSED insn_referenced = abuf->written;
60816 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60818 return cycles;
60819 #undef FLD
60822 static int
60823 model_fr400_nlddf (SIM_CPU *current_cpu, void *sem_arg)
60825 #define FLD(f) abuf->fields.sfmt_clddfu.f
60826 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60827 const IDESC * UNUSED idesc = abuf->idesc;
60828 int cycles = 0;
60830 int referenced = 0;
60831 int UNUSED insn_referenced = abuf->written;
60832 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60834 return cycles;
60835 #undef FLD
60838 static int
60839 model_fr400_ldq (SIM_CPU *current_cpu, void *sem_arg)
60841 #define FLD(f) abuf->fields.sfmt_smulcc.f
60842 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60843 const IDESC * UNUSED idesc = abuf->idesc;
60844 int cycles = 0;
60846 int referenced = 0;
60847 int UNUSED insn_referenced = abuf->written;
60848 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60850 return cycles;
60851 #undef FLD
60854 static int
60855 model_fr400_ldqf (SIM_CPU *current_cpu, void *sem_arg)
60857 #define FLD(f) abuf->fields.sfmt_cstdfu.f
60858 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60859 const IDESC * UNUSED idesc = abuf->idesc;
60860 int cycles = 0;
60862 int referenced = 0;
60863 int UNUSED insn_referenced = abuf->written;
60864 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60866 return cycles;
60867 #undef FLD
60870 static int
60871 model_fr400_ldqc (SIM_CPU *current_cpu, void *sem_arg)
60873 #define FLD(f) abuf->fields.sfmt_stdcu.f
60874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60875 const IDESC * UNUSED idesc = abuf->idesc;
60876 int cycles = 0;
60878 int referenced = 0;
60879 int UNUSED insn_referenced = abuf->written;
60880 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60882 return cycles;
60883 #undef FLD
60886 static int
60887 model_fr400_nldq (SIM_CPU *current_cpu, void *sem_arg)
60889 #define FLD(f) abuf->fields.sfmt_smulcc.f
60890 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60891 const IDESC * UNUSED idesc = abuf->idesc;
60892 int cycles = 0;
60894 int referenced = 0;
60895 int UNUSED insn_referenced = abuf->written;
60896 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60898 return cycles;
60899 #undef FLD
60902 static int
60903 model_fr400_nldqf (SIM_CPU *current_cpu, void *sem_arg)
60905 #define FLD(f) abuf->fields.sfmt_cstdfu.f
60906 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60907 const IDESC * UNUSED idesc = abuf->idesc;
60908 int cycles = 0;
60910 int referenced = 0;
60911 int UNUSED insn_referenced = abuf->written;
60912 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60914 return cycles;
60915 #undef FLD
60918 static int
60919 model_fr400_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
60921 #define FLD(f) abuf->fields.sfmt_cldsbu.f
60922 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60923 const IDESC * UNUSED idesc = abuf->idesc;
60924 int cycles = 0;
60926 int referenced = 0;
60927 int UNUSED insn_referenced = abuf->written;
60928 INT in_GRi = -1;
60929 INT in_GRj = -1;
60930 INT out_GRk = -1;
60931 INT out_GRdoublek = -1;
60932 in_GRi = FLD (in_GRi);
60933 in_GRj = FLD (in_GRj);
60934 out_GRk = FLD (out_GRk);
60935 referenced |= 1 << 0;
60936 referenced |= 1 << 1;
60937 referenced |= 1 << 2;
60938 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60940 return cycles;
60941 #undef FLD
60944 static int
60945 model_fr400_ldubu (SIM_CPU *current_cpu, void *sem_arg)
60947 #define FLD(f) abuf->fields.sfmt_cldsbu.f
60948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60949 const IDESC * UNUSED idesc = abuf->idesc;
60950 int cycles = 0;
60952 int referenced = 0;
60953 int UNUSED insn_referenced = abuf->written;
60954 INT in_GRi = -1;
60955 INT in_GRj = -1;
60956 INT out_GRk = -1;
60957 INT out_GRdoublek = -1;
60958 in_GRi = FLD (in_GRi);
60959 in_GRj = FLD (in_GRj);
60960 out_GRk = FLD (out_GRk);
60961 referenced |= 1 << 0;
60962 referenced |= 1 << 1;
60963 referenced |= 1 << 2;
60964 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60966 return cycles;
60967 #undef FLD
60970 static int
60971 model_fr400_ldshu (SIM_CPU *current_cpu, void *sem_arg)
60973 #define FLD(f) abuf->fields.sfmt_cldsbu.f
60974 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60975 const IDESC * UNUSED idesc = abuf->idesc;
60976 int cycles = 0;
60978 int referenced = 0;
60979 int UNUSED insn_referenced = abuf->written;
60980 INT in_GRi = -1;
60981 INT in_GRj = -1;
60982 INT out_GRk = -1;
60983 INT out_GRdoublek = -1;
60984 in_GRi = FLD (in_GRi);
60985 in_GRj = FLD (in_GRj);
60986 out_GRk = FLD (out_GRk);
60987 referenced |= 1 << 0;
60988 referenced |= 1 << 1;
60989 referenced |= 1 << 2;
60990 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60992 return cycles;
60993 #undef FLD
60996 static int
60997 model_fr400_lduhu (SIM_CPU *current_cpu, void *sem_arg)
60999 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61001 const IDESC * UNUSED idesc = abuf->idesc;
61002 int cycles = 0;
61004 int referenced = 0;
61005 int UNUSED insn_referenced = abuf->written;
61006 INT in_GRi = -1;
61007 INT in_GRj = -1;
61008 INT out_GRk = -1;
61009 INT out_GRdoublek = -1;
61010 in_GRi = FLD (in_GRi);
61011 in_GRj = FLD (in_GRj);
61012 out_GRk = FLD (out_GRk);
61013 referenced |= 1 << 0;
61014 referenced |= 1 << 1;
61015 referenced |= 1 << 2;
61016 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61018 return cycles;
61019 #undef FLD
61022 static int
61023 model_fr400_ldu (SIM_CPU *current_cpu, void *sem_arg)
61025 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61026 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61027 const IDESC * UNUSED idesc = abuf->idesc;
61028 int cycles = 0;
61030 int referenced = 0;
61031 int UNUSED insn_referenced = abuf->written;
61032 INT in_GRi = -1;
61033 INT in_GRj = -1;
61034 INT out_GRk = -1;
61035 INT out_GRdoublek = -1;
61036 in_GRi = FLD (in_GRi);
61037 in_GRj = FLD (in_GRj);
61038 out_GRk = FLD (out_GRk);
61039 referenced |= 1 << 0;
61040 referenced |= 1 << 1;
61041 referenced |= 1 << 2;
61042 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61044 return cycles;
61045 #undef FLD
61048 static int
61049 model_fr400_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
61051 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61053 const IDESC * UNUSED idesc = abuf->idesc;
61054 int cycles = 0;
61056 int referenced = 0;
61057 int UNUSED insn_referenced = abuf->written;
61058 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61060 return cycles;
61061 #undef FLD
61064 static int
61065 model_fr400_nldubu (SIM_CPU *current_cpu, void *sem_arg)
61067 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61069 const IDESC * UNUSED idesc = abuf->idesc;
61070 int cycles = 0;
61072 int referenced = 0;
61073 int UNUSED insn_referenced = abuf->written;
61074 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61076 return cycles;
61077 #undef FLD
61080 static int
61081 model_fr400_nldshu (SIM_CPU *current_cpu, void *sem_arg)
61083 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61085 const IDESC * UNUSED idesc = abuf->idesc;
61086 int cycles = 0;
61088 int referenced = 0;
61089 int UNUSED insn_referenced = abuf->written;
61090 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61092 return cycles;
61093 #undef FLD
61096 static int
61097 model_fr400_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
61099 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61101 const IDESC * UNUSED idesc = abuf->idesc;
61102 int cycles = 0;
61104 int referenced = 0;
61105 int UNUSED insn_referenced = abuf->written;
61106 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61108 return cycles;
61109 #undef FLD
61112 static int
61113 model_fr400_nldu (SIM_CPU *current_cpu, void *sem_arg)
61115 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61117 const IDESC * UNUSED idesc = abuf->idesc;
61118 int cycles = 0;
61120 int referenced = 0;
61121 int UNUSED insn_referenced = abuf->written;
61122 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61124 return cycles;
61125 #undef FLD
61128 static int
61129 model_fr400_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
61131 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61133 const IDESC * UNUSED idesc = abuf->idesc;
61134 int cycles = 0;
61136 int referenced = 0;
61137 int UNUSED insn_referenced = abuf->written;
61138 INT in_GRi = -1;
61139 INT in_GRj = -1;
61140 INT out_FRintk = -1;
61141 INT out_FRdoublek = -1;
61142 in_GRi = FLD (in_GRi);
61143 in_GRj = FLD (in_GRj);
61144 out_FRintk = FLD (out_FRintk);
61145 referenced |= 1 << 0;
61146 referenced |= 1 << 1;
61147 referenced |= 1 << 2;
61148 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61150 return cycles;
61151 #undef FLD
61154 static int
61155 model_fr400_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
61157 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61158 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61159 const IDESC * UNUSED idesc = abuf->idesc;
61160 int cycles = 0;
61162 int referenced = 0;
61163 int UNUSED insn_referenced = abuf->written;
61164 INT in_GRi = -1;
61165 INT in_GRj = -1;
61166 INT out_FRintk = -1;
61167 INT out_FRdoublek = -1;
61168 in_GRi = FLD (in_GRi);
61169 in_GRj = FLD (in_GRj);
61170 out_FRintk = FLD (out_FRintk);
61171 referenced |= 1 << 0;
61172 referenced |= 1 << 1;
61173 referenced |= 1 << 2;
61174 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61176 return cycles;
61177 #undef FLD
61180 static int
61181 model_fr400_ldfu (SIM_CPU *current_cpu, void *sem_arg)
61183 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61185 const IDESC * UNUSED idesc = abuf->idesc;
61186 int cycles = 0;
61188 int referenced = 0;
61189 int UNUSED insn_referenced = abuf->written;
61190 INT in_GRi = -1;
61191 INT in_GRj = -1;
61192 INT out_FRintk = -1;
61193 INT out_FRdoublek = -1;
61194 in_GRi = FLD (in_GRi);
61195 in_GRj = FLD (in_GRj);
61196 out_FRintk = FLD (out_FRintk);
61197 referenced |= 1 << 0;
61198 referenced |= 1 << 1;
61199 referenced |= 1 << 2;
61200 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61202 return cycles;
61203 #undef FLD
61206 static int
61207 model_fr400_ldcu (SIM_CPU *current_cpu, void *sem_arg)
61209 #define FLD(f) abuf->fields.sfmt_ldcu.f
61210 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61211 const IDESC * UNUSED idesc = abuf->idesc;
61212 int cycles = 0;
61214 int referenced = 0;
61215 int UNUSED insn_referenced = abuf->written;
61216 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61218 return cycles;
61219 #undef FLD
61222 static int
61223 model_fr400_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
61225 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61226 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61227 const IDESC * UNUSED idesc = abuf->idesc;
61228 int cycles = 0;
61230 int referenced = 0;
61231 int UNUSED insn_referenced = abuf->written;
61232 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61234 return cycles;
61235 #undef FLD
61238 static int
61239 model_fr400_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
61241 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61243 const IDESC * UNUSED idesc = abuf->idesc;
61244 int cycles = 0;
61246 int referenced = 0;
61247 int UNUSED insn_referenced = abuf->written;
61248 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61250 return cycles;
61251 #undef FLD
61254 static int
61255 model_fr400_nldfu (SIM_CPU *current_cpu, void *sem_arg)
61257 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61258 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61259 const IDESC * UNUSED idesc = abuf->idesc;
61260 int cycles = 0;
61262 int referenced = 0;
61263 int UNUSED insn_referenced = abuf->written;
61264 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61266 return cycles;
61267 #undef FLD
61270 static int
61271 model_fr400_lddu (SIM_CPU *current_cpu, void *sem_arg)
61273 #define FLD(f) abuf->fields.sfmt_clddu.f
61274 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61275 const IDESC * UNUSED idesc = abuf->idesc;
61276 int cycles = 0;
61278 int referenced = 0;
61279 int UNUSED insn_referenced = abuf->written;
61280 INT in_GRi = -1;
61281 INT in_GRj = -1;
61282 INT out_GRk = -1;
61283 INT out_GRdoublek = -1;
61284 in_GRi = FLD (in_GRi);
61285 in_GRj = FLD (in_GRj);
61286 out_GRdoublek = FLD (out_GRdoublek);
61287 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
61288 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
61289 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
61290 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61292 return cycles;
61293 #undef FLD
61296 static int
61297 model_fr400_nlddu (SIM_CPU *current_cpu, void *sem_arg)
61299 #define FLD(f) abuf->fields.sfmt_clddu.f
61300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61301 const IDESC * UNUSED idesc = abuf->idesc;
61302 int cycles = 0;
61304 int referenced = 0;
61305 int UNUSED insn_referenced = abuf->written;
61306 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61308 return cycles;
61309 #undef FLD
61312 static int
61313 model_fr400_lddfu (SIM_CPU *current_cpu, void *sem_arg)
61315 #define FLD(f) abuf->fields.sfmt_clddfu.f
61316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61317 const IDESC * UNUSED idesc = abuf->idesc;
61318 int cycles = 0;
61320 int referenced = 0;
61321 int UNUSED insn_referenced = abuf->written;
61322 INT in_GRi = -1;
61323 INT in_GRj = -1;
61324 INT out_FRintk = -1;
61325 INT out_FRdoublek = -1;
61326 in_GRi = FLD (in_GRi);
61327 in_GRj = FLD (in_GRj);
61328 out_FRdoublek = FLD (out_FRdoublek);
61329 referenced |= 1 << 0;
61330 referenced |= 1 << 1;
61331 referenced |= 1 << 3;
61332 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61334 return cycles;
61335 #undef FLD
61338 static int
61339 model_fr400_lddcu (SIM_CPU *current_cpu, void *sem_arg)
61341 #define FLD(f) abuf->fields.sfmt_lddcu.f
61342 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61343 const IDESC * UNUSED idesc = abuf->idesc;
61344 int cycles = 0;
61346 int referenced = 0;
61347 int UNUSED insn_referenced = abuf->written;
61348 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61350 return cycles;
61351 #undef FLD
61354 static int
61355 model_fr400_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
61357 #define FLD(f) abuf->fields.sfmt_clddfu.f
61358 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61359 const IDESC * UNUSED idesc = abuf->idesc;
61360 int cycles = 0;
61362 int referenced = 0;
61363 int UNUSED insn_referenced = abuf->written;
61364 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61366 return cycles;
61367 #undef FLD
61370 static int
61371 model_fr400_ldqu (SIM_CPU *current_cpu, void *sem_arg)
61373 #define FLD(f) abuf->fields.sfmt_cstdu.f
61374 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61375 const IDESC * UNUSED idesc = abuf->idesc;
61376 int cycles = 0;
61378 int referenced = 0;
61379 int UNUSED insn_referenced = abuf->written;
61380 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61382 return cycles;
61383 #undef FLD
61386 static int
61387 model_fr400_nldqu (SIM_CPU *current_cpu, void *sem_arg)
61389 #define FLD(f) abuf->fields.sfmt_cstdu.f
61390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61391 const IDESC * UNUSED idesc = abuf->idesc;
61392 int cycles = 0;
61394 int referenced = 0;
61395 int UNUSED insn_referenced = abuf->written;
61396 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61398 return cycles;
61399 #undef FLD
61402 static int
61403 model_fr400_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
61405 #define FLD(f) abuf->fields.sfmt_cstdfu.f
61406 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61407 const IDESC * UNUSED idesc = abuf->idesc;
61408 int cycles = 0;
61410 int referenced = 0;
61411 int UNUSED insn_referenced = abuf->written;
61412 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61414 return cycles;
61415 #undef FLD
61418 static int
61419 model_fr400_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
61421 #define FLD(f) abuf->fields.sfmt_stdcu.f
61422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61423 const IDESC * UNUSED idesc = abuf->idesc;
61424 int cycles = 0;
61426 int referenced = 0;
61427 int UNUSED insn_referenced = abuf->written;
61428 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61430 return cycles;
61431 #undef FLD
61434 static int
61435 model_fr400_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
61437 #define FLD(f) abuf->fields.sfmt_cstdfu.f
61438 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61439 const IDESC * UNUSED idesc = abuf->idesc;
61440 int cycles = 0;
61442 int referenced = 0;
61443 int UNUSED insn_referenced = abuf->written;
61444 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61446 return cycles;
61447 #undef FLD
61450 static int
61451 model_fr400_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
61453 #define FLD(f) abuf->fields.sfmt_swapi.f
61454 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61455 const IDESC * UNUSED idesc = abuf->idesc;
61456 int cycles = 0;
61458 int referenced = 0;
61459 int UNUSED insn_referenced = abuf->written;
61460 INT in_GRi = -1;
61461 INT in_GRj = -1;
61462 INT out_GRk = -1;
61463 INT out_GRdoublek = -1;
61464 in_GRi = FLD (in_GRi);
61465 out_GRk = FLD (out_GRk);
61466 referenced |= 1 << 0;
61467 referenced |= 1 << 2;
61468 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61470 return cycles;
61471 #undef FLD
61474 static int
61475 model_fr400_ldshi (SIM_CPU *current_cpu, void *sem_arg)
61477 #define FLD(f) abuf->fields.sfmt_swapi.f
61478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61479 const IDESC * UNUSED idesc = abuf->idesc;
61480 int cycles = 0;
61482 int referenced = 0;
61483 int UNUSED insn_referenced = abuf->written;
61484 INT in_GRi = -1;
61485 INT in_GRj = -1;
61486 INT out_GRk = -1;
61487 INT out_GRdoublek = -1;
61488 in_GRi = FLD (in_GRi);
61489 out_GRk = FLD (out_GRk);
61490 referenced |= 1 << 0;
61491 referenced |= 1 << 2;
61492 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61494 return cycles;
61495 #undef FLD
61498 static int
61499 model_fr400_ldi (SIM_CPU *current_cpu, void *sem_arg)
61501 #define FLD(f) abuf->fields.sfmt_swapi.f
61502 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61503 const IDESC * UNUSED idesc = abuf->idesc;
61504 int cycles = 0;
61506 int referenced = 0;
61507 int UNUSED insn_referenced = abuf->written;
61508 INT in_GRi = -1;
61509 INT in_GRj = -1;
61510 INT out_GRk = -1;
61511 INT out_GRdoublek = -1;
61512 in_GRi = FLD (in_GRi);
61513 out_GRk = FLD (out_GRk);
61514 referenced |= 1 << 0;
61515 referenced |= 1 << 2;
61516 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61518 return cycles;
61519 #undef FLD
61522 static int
61523 model_fr400_ldubi (SIM_CPU *current_cpu, void *sem_arg)
61525 #define FLD(f) abuf->fields.sfmt_swapi.f
61526 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61527 const IDESC * UNUSED idesc = abuf->idesc;
61528 int cycles = 0;
61530 int referenced = 0;
61531 int UNUSED insn_referenced = abuf->written;
61532 INT in_GRi = -1;
61533 INT in_GRj = -1;
61534 INT out_GRk = -1;
61535 INT out_GRdoublek = -1;
61536 in_GRi = FLD (in_GRi);
61537 out_GRk = FLD (out_GRk);
61538 referenced |= 1 << 0;
61539 referenced |= 1 << 2;
61540 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61542 return cycles;
61543 #undef FLD
61546 static int
61547 model_fr400_lduhi (SIM_CPU *current_cpu, void *sem_arg)
61549 #define FLD(f) abuf->fields.sfmt_swapi.f
61550 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61551 const IDESC * UNUSED idesc = abuf->idesc;
61552 int cycles = 0;
61554 int referenced = 0;
61555 int UNUSED insn_referenced = abuf->written;
61556 INT in_GRi = -1;
61557 INT in_GRj = -1;
61558 INT out_GRk = -1;
61559 INT out_GRdoublek = -1;
61560 in_GRi = FLD (in_GRi);
61561 out_GRk = FLD (out_GRk);
61562 referenced |= 1 << 0;
61563 referenced |= 1 << 2;
61564 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61566 return cycles;
61567 #undef FLD
61570 static int
61571 model_fr400_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
61573 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61575 const IDESC * UNUSED idesc = abuf->idesc;
61576 int cycles = 0;
61578 int referenced = 0;
61579 int UNUSED insn_referenced = abuf->written;
61580 INT in_GRi = -1;
61581 INT in_GRj = -1;
61582 INT out_FRintk = -1;
61583 INT out_FRdoublek = -1;
61584 in_GRi = FLD (in_GRi);
61585 out_FRintk = FLD (out_FRintk);
61586 referenced |= 1 << 0;
61587 referenced |= 1 << 2;
61588 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61590 return cycles;
61591 #undef FLD
61594 static int
61595 model_fr400_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
61597 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61599 const IDESC * UNUSED idesc = abuf->idesc;
61600 int cycles = 0;
61602 int referenced = 0;
61603 int UNUSED insn_referenced = abuf->written;
61604 INT in_GRi = -1;
61605 INT in_GRj = -1;
61606 INT out_FRintk = -1;
61607 INT out_FRdoublek = -1;
61608 in_GRi = FLD (in_GRi);
61609 out_FRintk = FLD (out_FRintk);
61610 referenced |= 1 << 0;
61611 referenced |= 1 << 2;
61612 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61614 return cycles;
61615 #undef FLD
61618 static int
61619 model_fr400_ldfi (SIM_CPU *current_cpu, void *sem_arg)
61621 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61622 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61623 const IDESC * UNUSED idesc = abuf->idesc;
61624 int cycles = 0;
61626 int referenced = 0;
61627 int UNUSED insn_referenced = abuf->written;
61628 INT in_GRi = -1;
61629 INT in_GRj = -1;
61630 INT out_FRintk = -1;
61631 INT out_FRdoublek = -1;
61632 in_GRi = FLD (in_GRi);
61633 out_FRintk = FLD (out_FRintk);
61634 referenced |= 1 << 0;
61635 referenced |= 1 << 2;
61636 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61638 return cycles;
61639 #undef FLD
61642 static int
61643 model_fr400_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
61645 #define FLD(f) abuf->fields.sfmt_swapi.f
61646 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61647 const IDESC * UNUSED idesc = abuf->idesc;
61648 int cycles = 0;
61650 int referenced = 0;
61651 int UNUSED insn_referenced = abuf->written;
61652 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61654 return cycles;
61655 #undef FLD
61658 static int
61659 model_fr400_nldubi (SIM_CPU *current_cpu, void *sem_arg)
61661 #define FLD(f) abuf->fields.sfmt_swapi.f
61662 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61663 const IDESC * UNUSED idesc = abuf->idesc;
61664 int cycles = 0;
61666 int referenced = 0;
61667 int UNUSED insn_referenced = abuf->written;
61668 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61670 return cycles;
61671 #undef FLD
61674 static int
61675 model_fr400_nldshi (SIM_CPU *current_cpu, void *sem_arg)
61677 #define FLD(f) abuf->fields.sfmt_swapi.f
61678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61679 const IDESC * UNUSED idesc = abuf->idesc;
61680 int cycles = 0;
61682 int referenced = 0;
61683 int UNUSED insn_referenced = abuf->written;
61684 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61686 return cycles;
61687 #undef FLD
61690 static int
61691 model_fr400_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
61693 #define FLD(f) abuf->fields.sfmt_swapi.f
61694 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61695 const IDESC * UNUSED idesc = abuf->idesc;
61696 int cycles = 0;
61698 int referenced = 0;
61699 int UNUSED insn_referenced = abuf->written;
61700 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61702 return cycles;
61703 #undef FLD
61706 static int
61707 model_fr400_nldi (SIM_CPU *current_cpu, void *sem_arg)
61709 #define FLD(f) abuf->fields.sfmt_swapi.f
61710 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61711 const IDESC * UNUSED idesc = abuf->idesc;
61712 int cycles = 0;
61714 int referenced = 0;
61715 int UNUSED insn_referenced = abuf->written;
61716 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61718 return cycles;
61719 #undef FLD
61722 static int
61723 model_fr400_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
61725 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61727 const IDESC * UNUSED idesc = abuf->idesc;
61728 int cycles = 0;
61730 int referenced = 0;
61731 int UNUSED insn_referenced = abuf->written;
61732 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61734 return cycles;
61735 #undef FLD
61738 static int
61739 model_fr400_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
61741 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61742 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61743 const IDESC * UNUSED idesc = abuf->idesc;
61744 int cycles = 0;
61746 int referenced = 0;
61747 int UNUSED insn_referenced = abuf->written;
61748 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61750 return cycles;
61751 #undef FLD
61754 static int
61755 model_fr400_nldfi (SIM_CPU *current_cpu, void *sem_arg)
61757 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61758 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61759 const IDESC * UNUSED idesc = abuf->idesc;
61760 int cycles = 0;
61762 int referenced = 0;
61763 int UNUSED insn_referenced = abuf->written;
61764 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61766 return cycles;
61767 #undef FLD
61770 static int
61771 model_fr400_lddi (SIM_CPU *current_cpu, void *sem_arg)
61773 #define FLD(f) abuf->fields.sfmt_smuli.f
61774 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61775 const IDESC * UNUSED idesc = abuf->idesc;
61776 int cycles = 0;
61778 int referenced = 0;
61779 int UNUSED insn_referenced = abuf->written;
61780 INT in_GRi = -1;
61781 INT in_GRj = -1;
61782 INT out_GRk = -1;
61783 INT out_GRdoublek = -1;
61784 in_GRi = FLD (in_GRi);
61785 out_GRdoublek = FLD (out_GRdoublek);
61786 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
61787 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
61788 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61790 return cycles;
61791 #undef FLD
61794 static int
61795 model_fr400_lddfi (SIM_CPU *current_cpu, void *sem_arg)
61797 #define FLD(f) abuf->fields.sfmt_lddfi.f
61798 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61799 const IDESC * UNUSED idesc = abuf->idesc;
61800 int cycles = 0;
61802 int referenced = 0;
61803 int UNUSED insn_referenced = abuf->written;
61804 INT in_GRi = -1;
61805 INT in_GRj = -1;
61806 INT out_FRintk = -1;
61807 INT out_FRdoublek = -1;
61808 in_GRi = FLD (in_GRi);
61809 out_FRdoublek = FLD (out_FRdoublek);
61810 referenced |= 1 << 0;
61811 referenced |= 1 << 3;
61812 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61814 return cycles;
61815 #undef FLD
61818 static int
61819 model_fr400_nlddi (SIM_CPU *current_cpu, void *sem_arg)
61821 #define FLD(f) abuf->fields.sfmt_smuli.f
61822 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61823 const IDESC * UNUSED idesc = abuf->idesc;
61824 int cycles = 0;
61826 int referenced = 0;
61827 int UNUSED insn_referenced = abuf->written;
61828 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61830 return cycles;
61831 #undef FLD
61834 static int
61835 model_fr400_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
61837 #define FLD(f) abuf->fields.sfmt_lddfi.f
61838 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61839 const IDESC * UNUSED idesc = abuf->idesc;
61840 int cycles = 0;
61842 int referenced = 0;
61843 int UNUSED insn_referenced = abuf->written;
61844 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61846 return cycles;
61847 #undef FLD
61850 static int
61851 model_fr400_ldqi (SIM_CPU *current_cpu, void *sem_arg)
61853 #define FLD(f) abuf->fields.sfmt_stdi.f
61854 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61855 const IDESC * UNUSED idesc = abuf->idesc;
61856 int cycles = 0;
61858 int referenced = 0;
61859 int UNUSED insn_referenced = abuf->written;
61860 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61862 return cycles;
61863 #undef FLD
61866 static int
61867 model_fr400_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
61869 #define FLD(f) abuf->fields.sfmt_stdfi.f
61870 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61871 const IDESC * UNUSED idesc = abuf->idesc;
61872 int cycles = 0;
61874 int referenced = 0;
61875 int UNUSED insn_referenced = abuf->written;
61876 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61878 return cycles;
61879 #undef FLD
61882 static int
61883 model_fr400_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
61885 #define FLD(f) abuf->fields.sfmt_stdfi.f
61886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61887 const IDESC * UNUSED idesc = abuf->idesc;
61888 int cycles = 0;
61890 int referenced = 0;
61891 int UNUSED insn_referenced = abuf->written;
61892 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61894 return cycles;
61895 #undef FLD
61898 static int
61899 model_fr400_stb (SIM_CPU *current_cpu, void *sem_arg)
61901 #define FLD(f) abuf->fields.sfmt_cswap.f
61902 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61903 const IDESC * UNUSED idesc = abuf->idesc;
61904 int cycles = 0;
61906 int referenced = 0;
61907 int UNUSED insn_referenced = abuf->written;
61908 INT in_GRi = -1;
61909 INT in_GRj = -1;
61910 INT in_GRk = -1;
61911 INT in_GRdoublek = -1;
61912 in_GRi = FLD (in_GRi);
61913 in_GRj = FLD (in_GRj);
61914 in_GRk = FLD (in_GRk);
61915 referenced |= 1 << 0;
61916 referenced |= 1 << 1;
61917 referenced |= 1 << 2;
61918 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
61920 return cycles;
61921 #undef FLD
61924 static int
61925 model_fr400_sth (SIM_CPU *current_cpu, void *sem_arg)
61927 #define FLD(f) abuf->fields.sfmt_cswap.f
61928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61929 const IDESC * UNUSED idesc = abuf->idesc;
61930 int cycles = 0;
61932 int referenced = 0;
61933 int UNUSED insn_referenced = abuf->written;
61934 INT in_GRi = -1;
61935 INT in_GRj = -1;
61936 INT in_GRk = -1;
61937 INT in_GRdoublek = -1;
61938 in_GRi = FLD (in_GRi);
61939 in_GRj = FLD (in_GRj);
61940 in_GRk = FLD (in_GRk);
61941 referenced |= 1 << 0;
61942 referenced |= 1 << 1;
61943 referenced |= 1 << 2;
61944 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
61946 return cycles;
61947 #undef FLD
61950 static int
61951 model_fr400_st (SIM_CPU *current_cpu, void *sem_arg)
61953 #define FLD(f) abuf->fields.sfmt_cswap.f
61954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61955 const IDESC * UNUSED idesc = abuf->idesc;
61956 int cycles = 0;
61958 int referenced = 0;
61959 int UNUSED insn_referenced = abuf->written;
61960 INT in_GRi = -1;
61961 INT in_GRj = -1;
61962 INT in_GRk = -1;
61963 INT in_GRdoublek = -1;
61964 in_GRi = FLD (in_GRi);
61965 in_GRj = FLD (in_GRj);
61966 in_GRk = FLD (in_GRk);
61967 referenced |= 1 << 0;
61968 referenced |= 1 << 1;
61969 referenced |= 1 << 2;
61970 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
61972 return cycles;
61973 #undef FLD
61976 static int
61977 model_fr400_stbf (SIM_CPU *current_cpu, void *sem_arg)
61979 #define FLD(f) abuf->fields.sfmt_cstbfu.f
61980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61981 const IDESC * UNUSED idesc = abuf->idesc;
61982 int cycles = 0;
61984 int referenced = 0;
61985 int UNUSED insn_referenced = abuf->written;
61986 INT in_GRi = -1;
61987 INT in_GRj = -1;
61988 INT in_FRintk = -1;
61989 INT in_FRdoublek = -1;
61990 in_GRi = FLD (in_GRi);
61991 in_GRj = FLD (in_GRj);
61992 in_FRintk = FLD (in_FRintk);
61993 referenced |= 1 << 0;
61994 referenced |= 1 << 1;
61995 referenced |= 1 << 2;
61996 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
61998 return cycles;
61999 #undef FLD
62002 static int
62003 model_fr400_sthf (SIM_CPU *current_cpu, void *sem_arg)
62005 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62006 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62007 const IDESC * UNUSED idesc = abuf->idesc;
62008 int cycles = 0;
62010 int referenced = 0;
62011 int UNUSED insn_referenced = abuf->written;
62012 INT in_GRi = -1;
62013 INT in_GRj = -1;
62014 INT in_FRintk = -1;
62015 INT in_FRdoublek = -1;
62016 in_GRi = FLD (in_GRi);
62017 in_GRj = FLD (in_GRj);
62018 in_FRintk = FLD (in_FRintk);
62019 referenced |= 1 << 0;
62020 referenced |= 1 << 1;
62021 referenced |= 1 << 2;
62022 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62024 return cycles;
62025 #undef FLD
62028 static int
62029 model_fr400_stf (SIM_CPU *current_cpu, void *sem_arg)
62031 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62033 const IDESC * UNUSED idesc = abuf->idesc;
62034 int cycles = 0;
62036 int referenced = 0;
62037 int UNUSED insn_referenced = abuf->written;
62038 INT in_GRi = -1;
62039 INT in_GRj = -1;
62040 INT in_FRintk = -1;
62041 INT in_FRdoublek = -1;
62042 in_GRi = FLD (in_GRi);
62043 in_GRj = FLD (in_GRj);
62044 in_FRintk = FLD (in_FRintk);
62045 referenced |= 1 << 0;
62046 referenced |= 1 << 1;
62047 referenced |= 1 << 2;
62048 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62050 return cycles;
62051 #undef FLD
62054 static int
62055 model_fr400_stc (SIM_CPU *current_cpu, void *sem_arg)
62057 #define FLD(f) abuf->fields.sfmt_stcu.f
62058 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62059 const IDESC * UNUSED idesc = abuf->idesc;
62060 int cycles = 0;
62062 int referenced = 0;
62063 int UNUSED insn_referenced = abuf->written;
62064 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62066 return cycles;
62067 #undef FLD
62070 static int
62071 model_fr400_std (SIM_CPU *current_cpu, void *sem_arg)
62073 #define FLD(f) abuf->fields.sfmt_cstdu.f
62074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62075 const IDESC * UNUSED idesc = abuf->idesc;
62076 int cycles = 0;
62078 int referenced = 0;
62079 int UNUSED insn_referenced = abuf->written;
62080 INT in_GRi = -1;
62081 INT in_GRj = -1;
62082 INT in_GRk = -1;
62083 INT in_GRdoublek = -1;
62084 in_GRi = FLD (in_GRi);
62085 in_GRj = FLD (in_GRj);
62086 in_GRdoublek = FLD (in_GRdoublek);
62087 referenced |= 1 << 0;
62088 referenced |= 1 << 1;
62089 referenced |= 1 << 3;
62090 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62092 return cycles;
62093 #undef FLD
62096 static int
62097 model_fr400_stdf (SIM_CPU *current_cpu, void *sem_arg)
62099 #define FLD(f) abuf->fields.sfmt_cstdfu.f
62100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62101 const IDESC * UNUSED idesc = abuf->idesc;
62102 int cycles = 0;
62104 int referenced = 0;
62105 int UNUSED insn_referenced = abuf->written;
62106 INT in_GRi = -1;
62107 INT in_GRj = -1;
62108 INT in_FRintk = -1;
62109 INT in_FRdoublek = -1;
62110 in_GRi = FLD (in_GRi);
62111 in_GRj = FLD (in_GRj);
62112 in_FRdoublek = FLD (in_FRdoublek);
62113 referenced |= 1 << 0;
62114 referenced |= 1 << 1;
62115 referenced |= 1 << 3;
62116 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62118 return cycles;
62119 #undef FLD
62122 static int
62123 model_fr400_stdc (SIM_CPU *current_cpu, void *sem_arg)
62125 #define FLD(f) abuf->fields.sfmt_stdcu.f
62126 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62127 const IDESC * UNUSED idesc = abuf->idesc;
62128 int cycles = 0;
62130 int referenced = 0;
62131 int UNUSED insn_referenced = abuf->written;
62132 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62134 return cycles;
62135 #undef FLD
62138 static int
62139 model_fr400_stq (SIM_CPU *current_cpu, void *sem_arg)
62141 #define FLD(f) abuf->fields.sfmt_smulcc.f
62142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62143 const IDESC * UNUSED idesc = abuf->idesc;
62144 int cycles = 0;
62146 int referenced = 0;
62147 int UNUSED insn_referenced = abuf->written;
62148 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62150 return cycles;
62151 #undef FLD
62154 static int
62155 model_fr400_stqf (SIM_CPU *current_cpu, void *sem_arg)
62157 #define FLD(f) abuf->fields.sfmt_cstdfu.f
62158 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62159 const IDESC * UNUSED idesc = abuf->idesc;
62160 int cycles = 0;
62162 int referenced = 0;
62163 int UNUSED insn_referenced = abuf->written;
62164 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62166 return cycles;
62167 #undef FLD
62170 static int
62171 model_fr400_stqc (SIM_CPU *current_cpu, void *sem_arg)
62173 #define FLD(f) abuf->fields.sfmt_stdcu.f
62174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62175 const IDESC * UNUSED idesc = abuf->idesc;
62176 int cycles = 0;
62178 int referenced = 0;
62179 int UNUSED insn_referenced = abuf->written;
62180 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62182 return cycles;
62183 #undef FLD
62186 static int
62187 model_fr400_stbu (SIM_CPU *current_cpu, void *sem_arg)
62189 #define FLD(f) abuf->fields.sfmt_cstbu.f
62190 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62191 const IDESC * UNUSED idesc = abuf->idesc;
62192 int cycles = 0;
62194 int referenced = 0;
62195 int UNUSED insn_referenced = abuf->written;
62196 INT in_GRi = -1;
62197 INT in_GRj = -1;
62198 INT in_GRk = -1;
62199 INT in_GRdoublek = -1;
62200 in_GRi = FLD (in_GRi);
62201 in_GRj = FLD (in_GRj);
62202 in_GRk = FLD (in_GRk);
62203 referenced |= 1 << 0;
62204 referenced |= 1 << 1;
62205 referenced |= 1 << 2;
62206 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62208 return cycles;
62209 #undef FLD
62212 static int
62213 model_fr400_sthu (SIM_CPU *current_cpu, void *sem_arg)
62215 #define FLD(f) abuf->fields.sfmt_cstbu.f
62216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62217 const IDESC * UNUSED idesc = abuf->idesc;
62218 int cycles = 0;
62220 int referenced = 0;
62221 int UNUSED insn_referenced = abuf->written;
62222 INT in_GRi = -1;
62223 INT in_GRj = -1;
62224 INT in_GRk = -1;
62225 INT in_GRdoublek = -1;
62226 in_GRi = FLD (in_GRi);
62227 in_GRj = FLD (in_GRj);
62228 in_GRk = FLD (in_GRk);
62229 referenced |= 1 << 0;
62230 referenced |= 1 << 1;
62231 referenced |= 1 << 2;
62232 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62234 return cycles;
62235 #undef FLD
62238 static int
62239 model_fr400_stu (SIM_CPU *current_cpu, void *sem_arg)
62241 #define FLD(f) abuf->fields.sfmt_cstbu.f
62242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62243 const IDESC * UNUSED idesc = abuf->idesc;
62244 int cycles = 0;
62246 int referenced = 0;
62247 int UNUSED insn_referenced = abuf->written;
62248 INT in_GRi = -1;
62249 INT in_GRj = -1;
62250 INT in_GRk = -1;
62251 INT in_GRdoublek = -1;
62252 in_GRi = FLD (in_GRi);
62253 in_GRj = FLD (in_GRj);
62254 in_GRk = FLD (in_GRk);
62255 referenced |= 1 << 0;
62256 referenced |= 1 << 1;
62257 referenced |= 1 << 2;
62258 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62260 return cycles;
62261 #undef FLD
62264 static int
62265 model_fr400_stbfu (SIM_CPU *current_cpu, void *sem_arg)
62267 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62269 const IDESC * UNUSED idesc = abuf->idesc;
62270 int cycles = 0;
62272 int referenced = 0;
62273 int UNUSED insn_referenced = abuf->written;
62274 INT in_GRi = -1;
62275 INT in_GRj = -1;
62276 INT in_FRintk = -1;
62277 INT in_FRdoublek = -1;
62278 in_GRi = FLD (in_GRi);
62279 in_GRj = FLD (in_GRj);
62280 in_FRintk = FLD (in_FRintk);
62281 referenced |= 1 << 0;
62282 referenced |= 1 << 1;
62283 referenced |= 1 << 2;
62284 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62286 return cycles;
62287 #undef FLD
62290 static int
62291 model_fr400_sthfu (SIM_CPU *current_cpu, void *sem_arg)
62293 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62294 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62295 const IDESC * UNUSED idesc = abuf->idesc;
62296 int cycles = 0;
62298 int referenced = 0;
62299 int UNUSED insn_referenced = abuf->written;
62300 INT in_GRi = -1;
62301 INT in_GRj = -1;
62302 INT in_FRintk = -1;
62303 INT in_FRdoublek = -1;
62304 in_GRi = FLD (in_GRi);
62305 in_GRj = FLD (in_GRj);
62306 in_FRintk = FLD (in_FRintk);
62307 referenced |= 1 << 0;
62308 referenced |= 1 << 1;
62309 referenced |= 1 << 2;
62310 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62312 return cycles;
62313 #undef FLD
62316 static int
62317 model_fr400_stfu (SIM_CPU *current_cpu, void *sem_arg)
62319 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62320 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62321 const IDESC * UNUSED idesc = abuf->idesc;
62322 int cycles = 0;
62324 int referenced = 0;
62325 int UNUSED insn_referenced = abuf->written;
62326 INT in_GRi = -1;
62327 INT in_GRj = -1;
62328 INT in_FRintk = -1;
62329 INT in_FRdoublek = -1;
62330 in_GRi = FLD (in_GRi);
62331 in_GRj = FLD (in_GRj);
62332 in_FRintk = FLD (in_FRintk);
62333 referenced |= 1 << 0;
62334 referenced |= 1 << 1;
62335 referenced |= 1 << 2;
62336 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62338 return cycles;
62339 #undef FLD
62342 static int
62343 model_fr400_stcu (SIM_CPU *current_cpu, void *sem_arg)
62345 #define FLD(f) abuf->fields.sfmt_stcu.f
62346 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62347 const IDESC * UNUSED idesc = abuf->idesc;
62348 int cycles = 0;
62350 int referenced = 0;
62351 int UNUSED insn_referenced = abuf->written;
62352 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62354 return cycles;
62355 #undef FLD
62358 static int
62359 model_fr400_stdu (SIM_CPU *current_cpu, void *sem_arg)
62361 #define FLD(f) abuf->fields.sfmt_cstdu.f
62362 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62363 const IDESC * UNUSED idesc = abuf->idesc;
62364 int cycles = 0;
62366 int referenced = 0;
62367 int UNUSED insn_referenced = abuf->written;
62368 INT in_GRi = -1;
62369 INT in_GRj = -1;
62370 INT in_GRk = -1;
62371 INT in_GRdoublek = -1;
62372 in_GRi = FLD (in_GRi);
62373 in_GRj = FLD (in_GRj);
62374 in_GRdoublek = FLD (in_GRdoublek);
62375 referenced |= 1 << 0;
62376 referenced |= 1 << 1;
62377 referenced |= 1 << 3;
62378 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62380 return cycles;
62381 #undef FLD
62384 static int
62385 model_fr400_stdfu (SIM_CPU *current_cpu, void *sem_arg)
62387 #define FLD(f) abuf->fields.sfmt_cstdfu.f
62388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62389 const IDESC * UNUSED idesc = abuf->idesc;
62390 int cycles = 0;
62392 int referenced = 0;
62393 int UNUSED insn_referenced = abuf->written;
62394 INT in_GRi = -1;
62395 INT in_GRj = -1;
62396 INT in_FRintk = -1;
62397 INT in_FRdoublek = -1;
62398 in_GRi = FLD (in_GRi);
62399 in_GRj = FLD (in_GRj);
62400 in_FRdoublek = FLD (in_FRdoublek);
62401 referenced |= 1 << 0;
62402 referenced |= 1 << 1;
62403 referenced |= 1 << 3;
62404 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62406 return cycles;
62407 #undef FLD
62410 static int
62411 model_fr400_stdcu (SIM_CPU *current_cpu, void *sem_arg)
62413 #define FLD(f) abuf->fields.sfmt_stdcu.f
62414 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62415 const IDESC * UNUSED idesc = abuf->idesc;
62416 int cycles = 0;
62418 int referenced = 0;
62419 int UNUSED insn_referenced = abuf->written;
62420 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62422 return cycles;
62423 #undef FLD
62426 static int
62427 model_fr400_stqu (SIM_CPU *current_cpu, void *sem_arg)
62429 #define FLD(f) abuf->fields.sfmt_cstdu.f
62430 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62431 const IDESC * UNUSED idesc = abuf->idesc;
62432 int cycles = 0;
62434 int referenced = 0;
62435 int UNUSED insn_referenced = abuf->written;
62436 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62438 return cycles;
62439 #undef FLD
62442 static int
62443 model_fr400_stqfu (SIM_CPU *current_cpu, void *sem_arg)
62445 #define FLD(f) abuf->fields.sfmt_cstdfu.f
62446 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62447 const IDESC * UNUSED idesc = abuf->idesc;
62448 int cycles = 0;
62450 int referenced = 0;
62451 int UNUSED insn_referenced = abuf->written;
62452 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62454 return cycles;
62455 #undef FLD
62458 static int
62459 model_fr400_stqcu (SIM_CPU *current_cpu, void *sem_arg)
62461 #define FLD(f) abuf->fields.sfmt_stdcu.f
62462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62463 const IDESC * UNUSED idesc = abuf->idesc;
62464 int cycles = 0;
62466 int referenced = 0;
62467 int UNUSED insn_referenced = abuf->written;
62468 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62470 return cycles;
62471 #undef FLD
62474 static int
62475 model_fr400_cldsb (SIM_CPU *current_cpu, void *sem_arg)
62477 #define FLD(f) abuf->fields.sfmt_cswap.f
62478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62479 const IDESC * UNUSED idesc = abuf->idesc;
62480 int cycles = 0;
62482 int referenced = 0;
62483 int UNUSED insn_referenced = abuf->written;
62484 INT in_GRi = -1;
62485 INT in_GRj = -1;
62486 INT out_GRk = -1;
62487 INT out_GRdoublek = -1;
62488 in_GRi = FLD (in_GRi);
62489 in_GRj = FLD (in_GRj);
62490 out_GRk = FLD (out_GRk);
62491 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62492 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62493 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62494 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62496 return cycles;
62497 #undef FLD
62500 static int
62501 model_fr400_cldub (SIM_CPU *current_cpu, void *sem_arg)
62503 #define FLD(f) abuf->fields.sfmt_cswap.f
62504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62505 const IDESC * UNUSED idesc = abuf->idesc;
62506 int cycles = 0;
62508 int referenced = 0;
62509 int UNUSED insn_referenced = abuf->written;
62510 INT in_GRi = -1;
62511 INT in_GRj = -1;
62512 INT out_GRk = -1;
62513 INT out_GRdoublek = -1;
62514 in_GRi = FLD (in_GRi);
62515 in_GRj = FLD (in_GRj);
62516 out_GRk = FLD (out_GRk);
62517 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62518 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62519 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62520 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62522 return cycles;
62523 #undef FLD
62526 static int
62527 model_fr400_cldsh (SIM_CPU *current_cpu, void *sem_arg)
62529 #define FLD(f) abuf->fields.sfmt_cswap.f
62530 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62531 const IDESC * UNUSED idesc = abuf->idesc;
62532 int cycles = 0;
62534 int referenced = 0;
62535 int UNUSED insn_referenced = abuf->written;
62536 INT in_GRi = -1;
62537 INT in_GRj = -1;
62538 INT out_GRk = -1;
62539 INT out_GRdoublek = -1;
62540 in_GRi = FLD (in_GRi);
62541 in_GRj = FLD (in_GRj);
62542 out_GRk = FLD (out_GRk);
62543 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62544 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62545 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62546 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62548 return cycles;
62549 #undef FLD
62552 static int
62553 model_fr400_clduh (SIM_CPU *current_cpu, void *sem_arg)
62555 #define FLD(f) abuf->fields.sfmt_cswap.f
62556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62557 const IDESC * UNUSED idesc = abuf->idesc;
62558 int cycles = 0;
62560 int referenced = 0;
62561 int UNUSED insn_referenced = abuf->written;
62562 INT in_GRi = -1;
62563 INT in_GRj = -1;
62564 INT out_GRk = -1;
62565 INT out_GRdoublek = -1;
62566 in_GRi = FLD (in_GRi);
62567 in_GRj = FLD (in_GRj);
62568 out_GRk = FLD (out_GRk);
62569 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62570 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62571 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62572 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62574 return cycles;
62575 #undef FLD
62578 static int
62579 model_fr400_cld (SIM_CPU *current_cpu, void *sem_arg)
62581 #define FLD(f) abuf->fields.sfmt_cswap.f
62582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62583 const IDESC * UNUSED idesc = abuf->idesc;
62584 int cycles = 0;
62586 int referenced = 0;
62587 int UNUSED insn_referenced = abuf->written;
62588 INT in_GRi = -1;
62589 INT in_GRj = -1;
62590 INT out_GRk = -1;
62591 INT out_GRdoublek = -1;
62592 in_GRi = FLD (in_GRi);
62593 in_GRj = FLD (in_GRj);
62594 out_GRk = FLD (out_GRk);
62595 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62596 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62597 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62598 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62600 return cycles;
62601 #undef FLD
62604 static int
62605 model_fr400_cldbf (SIM_CPU *current_cpu, void *sem_arg)
62607 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62609 const IDESC * UNUSED idesc = abuf->idesc;
62610 int cycles = 0;
62612 int referenced = 0;
62613 int UNUSED insn_referenced = abuf->written;
62614 INT in_GRi = -1;
62615 INT in_GRj = -1;
62616 INT out_FRintk = -1;
62617 INT out_FRdoublek = -1;
62618 in_GRi = FLD (in_GRi);
62619 in_GRj = FLD (in_GRj);
62620 out_FRintk = FLD (out_FRintk);
62621 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62622 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62623 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62624 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62626 return cycles;
62627 #undef FLD
62630 static int
62631 model_fr400_cldhf (SIM_CPU *current_cpu, void *sem_arg)
62633 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62634 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62635 const IDESC * UNUSED idesc = abuf->idesc;
62636 int cycles = 0;
62638 int referenced = 0;
62639 int UNUSED insn_referenced = abuf->written;
62640 INT in_GRi = -1;
62641 INT in_GRj = -1;
62642 INT out_FRintk = -1;
62643 INT out_FRdoublek = -1;
62644 in_GRi = FLD (in_GRi);
62645 in_GRj = FLD (in_GRj);
62646 out_FRintk = FLD (out_FRintk);
62647 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62648 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62649 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62650 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62652 return cycles;
62653 #undef FLD
62656 static int
62657 model_fr400_cldf (SIM_CPU *current_cpu, void *sem_arg)
62659 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62661 const IDESC * UNUSED idesc = abuf->idesc;
62662 int cycles = 0;
62664 int referenced = 0;
62665 int UNUSED insn_referenced = abuf->written;
62666 INT in_GRi = -1;
62667 INT in_GRj = -1;
62668 INT out_FRintk = -1;
62669 INT out_FRdoublek = -1;
62670 in_GRi = FLD (in_GRi);
62671 in_GRj = FLD (in_GRj);
62672 out_FRintk = FLD (out_FRintk);
62673 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62674 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62675 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62676 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62678 return cycles;
62679 #undef FLD
62682 static int
62683 model_fr400_cldd (SIM_CPU *current_cpu, void *sem_arg)
62685 #define FLD(f) abuf->fields.sfmt_clddu.f
62686 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62687 const IDESC * UNUSED idesc = abuf->idesc;
62688 int cycles = 0;
62690 int referenced = 0;
62691 int UNUSED insn_referenced = abuf->written;
62692 INT in_GRi = -1;
62693 INT in_GRj = -1;
62694 INT out_GRk = -1;
62695 INT out_GRdoublek = -1;
62696 in_GRi = FLD (in_GRi);
62697 in_GRj = FLD (in_GRj);
62698 out_GRdoublek = FLD (out_GRdoublek);
62699 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62700 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62701 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
62702 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62704 return cycles;
62705 #undef FLD
62708 static int
62709 model_fr400_clddf (SIM_CPU *current_cpu, void *sem_arg)
62711 #define FLD(f) abuf->fields.sfmt_clddfu.f
62712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62713 const IDESC * UNUSED idesc = abuf->idesc;
62714 int cycles = 0;
62716 int referenced = 0;
62717 int UNUSED insn_referenced = abuf->written;
62718 INT in_GRi = -1;
62719 INT in_GRj = -1;
62720 INT out_GRk = -1;
62721 INT out_GRdoublek = -1;
62722 in_GRi = FLD (in_GRi);
62723 in_GRj = FLD (in_GRj);
62724 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62725 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62726 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62728 return cycles;
62729 #undef FLD
62732 static int
62733 model_fr400_cldq (SIM_CPU *current_cpu, void *sem_arg)
62735 #define FLD(f) abuf->fields.sfmt_cswap.f
62736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62737 const IDESC * UNUSED idesc = abuf->idesc;
62738 int cycles = 0;
62740 int referenced = 0;
62741 int UNUSED insn_referenced = abuf->written;
62742 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62744 return cycles;
62745 #undef FLD
62748 static int
62749 model_fr400_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
62751 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62753 const IDESC * UNUSED idesc = abuf->idesc;
62754 int cycles = 0;
62756 int referenced = 0;
62757 int UNUSED insn_referenced = abuf->written;
62758 INT in_GRi = -1;
62759 INT in_GRj = -1;
62760 INT out_GRk = -1;
62761 INT out_GRdoublek = -1;
62762 in_GRi = FLD (in_GRi);
62763 in_GRj = FLD (in_GRj);
62764 out_GRk = FLD (out_GRk);
62765 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62766 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62767 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62768 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62770 return cycles;
62771 #undef FLD
62774 static int
62775 model_fr400_cldubu (SIM_CPU *current_cpu, void *sem_arg)
62777 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62778 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62779 const IDESC * UNUSED idesc = abuf->idesc;
62780 int cycles = 0;
62782 int referenced = 0;
62783 int UNUSED insn_referenced = abuf->written;
62784 INT in_GRi = -1;
62785 INT in_GRj = -1;
62786 INT out_GRk = -1;
62787 INT out_GRdoublek = -1;
62788 in_GRi = FLD (in_GRi);
62789 in_GRj = FLD (in_GRj);
62790 out_GRk = FLD (out_GRk);
62791 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62792 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62793 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62794 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62796 return cycles;
62797 #undef FLD
62800 static int
62801 model_fr400_cldshu (SIM_CPU *current_cpu, void *sem_arg)
62803 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62805 const IDESC * UNUSED idesc = abuf->idesc;
62806 int cycles = 0;
62808 int referenced = 0;
62809 int UNUSED insn_referenced = abuf->written;
62810 INT in_GRi = -1;
62811 INT in_GRj = -1;
62812 INT out_GRk = -1;
62813 INT out_GRdoublek = -1;
62814 in_GRi = FLD (in_GRi);
62815 in_GRj = FLD (in_GRj);
62816 out_GRk = FLD (out_GRk);
62817 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62818 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62819 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62820 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62822 return cycles;
62823 #undef FLD
62826 static int
62827 model_fr400_clduhu (SIM_CPU *current_cpu, void *sem_arg)
62829 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62831 const IDESC * UNUSED idesc = abuf->idesc;
62832 int cycles = 0;
62834 int referenced = 0;
62835 int UNUSED insn_referenced = abuf->written;
62836 INT in_GRi = -1;
62837 INT in_GRj = -1;
62838 INT out_GRk = -1;
62839 INT out_GRdoublek = -1;
62840 in_GRi = FLD (in_GRi);
62841 in_GRj = FLD (in_GRj);
62842 out_GRk = FLD (out_GRk);
62843 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62844 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62845 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62846 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62848 return cycles;
62849 #undef FLD
62852 static int
62853 model_fr400_cldu (SIM_CPU *current_cpu, void *sem_arg)
62855 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62857 const IDESC * UNUSED idesc = abuf->idesc;
62858 int cycles = 0;
62860 int referenced = 0;
62861 int UNUSED insn_referenced = abuf->written;
62862 INT in_GRi = -1;
62863 INT in_GRj = -1;
62864 INT out_GRk = -1;
62865 INT out_GRdoublek = -1;
62866 in_GRi = FLD (in_GRi);
62867 in_GRj = FLD (in_GRj);
62868 out_GRk = FLD (out_GRk);
62869 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62870 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62871 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62872 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62874 return cycles;
62875 #undef FLD
62878 static int
62879 model_fr400_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
62881 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62882 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62883 const IDESC * UNUSED idesc = abuf->idesc;
62884 int cycles = 0;
62886 int referenced = 0;
62887 int UNUSED insn_referenced = abuf->written;
62888 INT in_GRi = -1;
62889 INT in_GRj = -1;
62890 INT out_FRintk = -1;
62891 INT out_FRdoublek = -1;
62892 in_GRi = FLD (in_GRi);
62893 in_GRj = FLD (in_GRj);
62894 out_FRintk = FLD (out_FRintk);
62895 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62896 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62897 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62898 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62900 return cycles;
62901 #undef FLD
62904 static int
62905 model_fr400_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
62907 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62909 const IDESC * UNUSED idesc = abuf->idesc;
62910 int cycles = 0;
62912 int referenced = 0;
62913 int UNUSED insn_referenced = abuf->written;
62914 INT in_GRi = -1;
62915 INT in_GRj = -1;
62916 INT out_FRintk = -1;
62917 INT out_FRdoublek = -1;
62918 in_GRi = FLD (in_GRi);
62919 in_GRj = FLD (in_GRj);
62920 out_FRintk = FLD (out_FRintk);
62921 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62922 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62923 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62924 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62926 return cycles;
62927 #undef FLD
62930 static int
62931 model_fr400_cldfu (SIM_CPU *current_cpu, void *sem_arg)
62933 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62934 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62935 const IDESC * UNUSED idesc = abuf->idesc;
62936 int cycles = 0;
62938 int referenced = 0;
62939 int UNUSED insn_referenced = abuf->written;
62940 INT in_GRi = -1;
62941 INT in_GRj = -1;
62942 INT out_FRintk = -1;
62943 INT out_FRdoublek = -1;
62944 in_GRi = FLD (in_GRi);
62945 in_GRj = FLD (in_GRj);
62946 out_FRintk = FLD (out_FRintk);
62947 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62948 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62949 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62950 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62952 return cycles;
62953 #undef FLD
62956 static int
62957 model_fr400_clddu (SIM_CPU *current_cpu, void *sem_arg)
62959 #define FLD(f) abuf->fields.sfmt_clddu.f
62960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62961 const IDESC * UNUSED idesc = abuf->idesc;
62962 int cycles = 0;
62964 int referenced = 0;
62965 int UNUSED insn_referenced = abuf->written;
62966 INT in_GRi = -1;
62967 INT in_GRj = -1;
62968 INT out_GRk = -1;
62969 INT out_GRdoublek = -1;
62970 in_GRi = FLD (in_GRi);
62971 in_GRj = FLD (in_GRj);
62972 out_GRdoublek = FLD (out_GRdoublek);
62973 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62974 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62975 if (insn_referenced & (1 << 7)) referenced |= 1 << 3;
62976 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62978 return cycles;
62979 #undef FLD
62982 static int
62983 model_fr400_clddfu (SIM_CPU *current_cpu, void *sem_arg)
62985 #define FLD(f) abuf->fields.sfmt_clddfu.f
62986 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62987 const IDESC * UNUSED idesc = abuf->idesc;
62988 int cycles = 0;
62990 int referenced = 0;
62991 int UNUSED insn_referenced = abuf->written;
62992 INT in_GRi = -1;
62993 INT in_GRj = -1;
62994 INT out_FRintk = -1;
62995 INT out_FRdoublek = -1;
62996 in_GRi = FLD (in_GRi);
62997 in_GRj = FLD (in_GRj);
62998 out_FRdoublek = FLD (out_FRdoublek);
62999 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63000 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63001 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
63002 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
63004 return cycles;
63005 #undef FLD
63008 static int
63009 model_fr400_cldqu (SIM_CPU *current_cpu, void *sem_arg)
63011 #define FLD(f) abuf->fields.sfmt_cstdu.f
63012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63013 const IDESC * UNUSED idesc = abuf->idesc;
63014 int cycles = 0;
63016 int referenced = 0;
63017 int UNUSED insn_referenced = abuf->written;
63018 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63020 return cycles;
63021 #undef FLD
63024 static int
63025 model_fr400_cstb (SIM_CPU *current_cpu, void *sem_arg)
63027 #define FLD(f) abuf->fields.sfmt_cswap.f
63028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63029 const IDESC * UNUSED idesc = abuf->idesc;
63030 int cycles = 0;
63032 int referenced = 0;
63033 int UNUSED insn_referenced = abuf->written;
63034 INT in_GRi = -1;
63035 INT in_GRj = -1;
63036 INT in_GRk = -1;
63037 INT in_GRdoublek = -1;
63038 in_GRi = FLD (in_GRi);
63039 in_GRj = FLD (in_GRj);
63040 in_GRk = FLD (in_GRk);
63041 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63042 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63043 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63044 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63046 return cycles;
63047 #undef FLD
63050 static int
63051 model_fr400_csth (SIM_CPU *current_cpu, void *sem_arg)
63053 #define FLD(f) abuf->fields.sfmt_cswap.f
63054 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63055 const IDESC * UNUSED idesc = abuf->idesc;
63056 int cycles = 0;
63058 int referenced = 0;
63059 int UNUSED insn_referenced = abuf->written;
63060 INT in_GRi = -1;
63061 INT in_GRj = -1;
63062 INT in_GRk = -1;
63063 INT in_GRdoublek = -1;
63064 in_GRi = FLD (in_GRi);
63065 in_GRj = FLD (in_GRj);
63066 in_GRk = FLD (in_GRk);
63067 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63068 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63069 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63070 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63072 return cycles;
63073 #undef FLD
63076 static int
63077 model_fr400_cst (SIM_CPU *current_cpu, void *sem_arg)
63079 #define FLD(f) abuf->fields.sfmt_cswap.f
63080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63081 const IDESC * UNUSED idesc = abuf->idesc;
63082 int cycles = 0;
63084 int referenced = 0;
63085 int UNUSED insn_referenced = abuf->written;
63086 INT in_GRi = -1;
63087 INT in_GRj = -1;
63088 INT in_GRk = -1;
63089 INT in_GRdoublek = -1;
63090 in_GRi = FLD (in_GRi);
63091 in_GRj = FLD (in_GRj);
63092 in_GRk = FLD (in_GRk);
63093 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63094 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63095 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63096 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63098 return cycles;
63099 #undef FLD
63102 static int
63103 model_fr400_cstbf (SIM_CPU *current_cpu, void *sem_arg)
63105 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63106 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63107 const IDESC * UNUSED idesc = abuf->idesc;
63108 int cycles = 0;
63110 int referenced = 0;
63111 int UNUSED insn_referenced = abuf->written;
63112 INT in_GRi = -1;
63113 INT in_GRj = -1;
63114 INT in_FRintk = -1;
63115 INT in_FRdoublek = -1;
63116 in_GRi = FLD (in_GRi);
63117 in_GRj = FLD (in_GRj);
63118 in_FRintk = FLD (in_FRintk);
63119 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63120 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63121 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63122 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63124 return cycles;
63125 #undef FLD
63128 static int
63129 model_fr400_csthf (SIM_CPU *current_cpu, void *sem_arg)
63131 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63133 const IDESC * UNUSED idesc = abuf->idesc;
63134 int cycles = 0;
63136 int referenced = 0;
63137 int UNUSED insn_referenced = abuf->written;
63138 INT in_GRi = -1;
63139 INT in_GRj = -1;
63140 INT in_FRintk = -1;
63141 INT in_FRdoublek = -1;
63142 in_GRi = FLD (in_GRi);
63143 in_GRj = FLD (in_GRj);
63144 in_FRintk = FLD (in_FRintk);
63145 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63146 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63147 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63148 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63150 return cycles;
63151 #undef FLD
63154 static int
63155 model_fr400_cstf (SIM_CPU *current_cpu, void *sem_arg)
63157 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63158 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63159 const IDESC * UNUSED idesc = abuf->idesc;
63160 int cycles = 0;
63162 int referenced = 0;
63163 int UNUSED insn_referenced = abuf->written;
63164 INT in_GRi = -1;
63165 INT in_GRj = -1;
63166 INT in_FRintk = -1;
63167 INT in_FRdoublek = -1;
63168 in_GRi = FLD (in_GRi);
63169 in_GRj = FLD (in_GRj);
63170 in_FRintk = FLD (in_FRintk);
63171 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63172 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63173 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63174 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63176 return cycles;
63177 #undef FLD
63180 static int
63181 model_fr400_cstd (SIM_CPU *current_cpu, void *sem_arg)
63183 #define FLD(f) abuf->fields.sfmt_cstdu.f
63184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63185 const IDESC * UNUSED idesc = abuf->idesc;
63186 int cycles = 0;
63188 int referenced = 0;
63189 int UNUSED insn_referenced = abuf->written;
63190 INT in_GRi = -1;
63191 INT in_GRj = -1;
63192 INT in_GRk = -1;
63193 INT in_GRdoublek = -1;
63194 in_GRi = FLD (in_GRi);
63195 in_GRj = FLD (in_GRj);
63196 in_GRdoublek = FLD (in_GRdoublek);
63197 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63198 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63199 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
63200 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63202 return cycles;
63203 #undef FLD
63206 static int
63207 model_fr400_cstdf (SIM_CPU *current_cpu, void *sem_arg)
63209 #define FLD(f) abuf->fields.sfmt_cstdfu.f
63210 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63211 const IDESC * UNUSED idesc = abuf->idesc;
63212 int cycles = 0;
63214 int referenced = 0;
63215 int UNUSED insn_referenced = abuf->written;
63216 INT in_GRi = -1;
63217 INT in_GRj = -1;
63218 INT in_FRintk = -1;
63219 INT in_FRdoublek = -1;
63220 in_GRi = FLD (in_GRi);
63221 in_GRj = FLD (in_GRj);
63222 in_FRdoublek = FLD (in_FRdoublek);
63223 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63224 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63225 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
63226 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63228 return cycles;
63229 #undef FLD
63232 static int
63233 model_fr400_cstq (SIM_CPU *current_cpu, void *sem_arg)
63235 #define FLD(f) abuf->fields.sfmt_cswap.f
63236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63237 const IDESC * UNUSED idesc = abuf->idesc;
63238 int cycles = 0;
63240 int referenced = 0;
63241 int UNUSED insn_referenced = abuf->written;
63242 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63244 return cycles;
63245 #undef FLD
63248 static int
63249 model_fr400_cstbu (SIM_CPU *current_cpu, void *sem_arg)
63251 #define FLD(f) abuf->fields.sfmt_cstbu.f
63252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63253 const IDESC * UNUSED idesc = abuf->idesc;
63254 int cycles = 0;
63256 int referenced = 0;
63257 int UNUSED insn_referenced = abuf->written;
63258 INT in_GRi = -1;
63259 INT in_GRj = -1;
63260 INT in_GRk = -1;
63261 INT in_GRdoublek = -1;
63262 in_GRi = FLD (in_GRi);
63263 in_GRj = FLD (in_GRj);
63264 in_GRk = FLD (in_GRk);
63265 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63266 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63267 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63268 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63270 return cycles;
63271 #undef FLD
63274 static int
63275 model_fr400_csthu (SIM_CPU *current_cpu, void *sem_arg)
63277 #define FLD(f) abuf->fields.sfmt_cstbu.f
63278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63279 const IDESC * UNUSED idesc = abuf->idesc;
63280 int cycles = 0;
63282 int referenced = 0;
63283 int UNUSED insn_referenced = abuf->written;
63284 INT in_GRi = -1;
63285 INT in_GRj = -1;
63286 INT in_GRk = -1;
63287 INT in_GRdoublek = -1;
63288 in_GRi = FLD (in_GRi);
63289 in_GRj = FLD (in_GRj);
63290 in_GRk = FLD (in_GRk);
63291 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63292 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63293 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63294 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63296 return cycles;
63297 #undef FLD
63300 static int
63301 model_fr400_cstu (SIM_CPU *current_cpu, void *sem_arg)
63303 #define FLD(f) abuf->fields.sfmt_cstbu.f
63304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63305 const IDESC * UNUSED idesc = abuf->idesc;
63306 int cycles = 0;
63308 int referenced = 0;
63309 int UNUSED insn_referenced = abuf->written;
63310 INT in_GRi = -1;
63311 INT in_GRj = -1;
63312 INT in_GRk = -1;
63313 INT in_GRdoublek = -1;
63314 in_GRi = FLD (in_GRi);
63315 in_GRj = FLD (in_GRj);
63316 in_GRk = FLD (in_GRk);
63317 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63318 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63319 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63320 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63322 return cycles;
63323 #undef FLD
63326 static int
63327 model_fr400_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
63329 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63330 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63331 const IDESC * UNUSED idesc = abuf->idesc;
63332 int cycles = 0;
63334 int referenced = 0;
63335 int UNUSED insn_referenced = abuf->written;
63336 INT in_GRi = -1;
63337 INT in_GRj = -1;
63338 INT in_FRintk = -1;
63339 INT in_FRdoublek = -1;
63340 in_GRi = FLD (in_GRi);
63341 in_GRj = FLD (in_GRj);
63342 in_FRintk = FLD (in_FRintk);
63343 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63344 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63345 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63346 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63348 return cycles;
63349 #undef FLD
63352 static int
63353 model_fr400_csthfu (SIM_CPU *current_cpu, void *sem_arg)
63355 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63357 const IDESC * UNUSED idesc = abuf->idesc;
63358 int cycles = 0;
63360 int referenced = 0;
63361 int UNUSED insn_referenced = abuf->written;
63362 INT in_GRi = -1;
63363 INT in_GRj = -1;
63364 INT in_FRintk = -1;
63365 INT in_FRdoublek = -1;
63366 in_GRi = FLD (in_GRi);
63367 in_GRj = FLD (in_GRj);
63368 in_FRintk = FLD (in_FRintk);
63369 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63370 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63371 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63372 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63374 return cycles;
63375 #undef FLD
63378 static int
63379 model_fr400_cstfu (SIM_CPU *current_cpu, void *sem_arg)
63381 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63382 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63383 const IDESC * UNUSED idesc = abuf->idesc;
63384 int cycles = 0;
63386 int referenced = 0;
63387 int UNUSED insn_referenced = abuf->written;
63388 INT in_GRi = -1;
63389 INT in_GRj = -1;
63390 INT in_FRintk = -1;
63391 INT in_FRdoublek = -1;
63392 in_GRi = FLD (in_GRi);
63393 in_GRj = FLD (in_GRj);
63394 in_FRintk = FLD (in_FRintk);
63395 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63396 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63397 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63398 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63400 return cycles;
63401 #undef FLD
63404 static int
63405 model_fr400_cstdu (SIM_CPU *current_cpu, void *sem_arg)
63407 #define FLD(f) abuf->fields.sfmt_cstdu.f
63408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63409 const IDESC * UNUSED idesc = abuf->idesc;
63410 int cycles = 0;
63412 int referenced = 0;
63413 int UNUSED insn_referenced = abuf->written;
63414 INT in_GRi = -1;
63415 INT in_GRj = -1;
63416 INT in_GRk = -1;
63417 INT in_GRdoublek = -1;
63418 in_GRi = FLD (in_GRi);
63419 in_GRj = FLD (in_GRj);
63420 in_GRdoublek = FLD (in_GRdoublek);
63421 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63422 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63423 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
63424 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63426 return cycles;
63427 #undef FLD
63430 static int
63431 model_fr400_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
63433 #define FLD(f) abuf->fields.sfmt_cstdfu.f
63434 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63435 const IDESC * UNUSED idesc = abuf->idesc;
63436 int cycles = 0;
63438 int referenced = 0;
63439 int UNUSED insn_referenced = abuf->written;
63440 INT in_GRi = -1;
63441 INT in_GRj = -1;
63442 INT in_FRintk = -1;
63443 INT in_FRdoublek = -1;
63444 in_GRi = FLD (in_GRi);
63445 in_GRj = FLD (in_GRj);
63446 in_FRdoublek = FLD (in_FRdoublek);
63447 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63448 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63449 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
63450 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63452 return cycles;
63453 #undef FLD
63456 static int
63457 model_fr400_stbi (SIM_CPU *current_cpu, void *sem_arg)
63459 #define FLD(f) abuf->fields.sfmt_swapi.f
63460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63461 const IDESC * UNUSED idesc = abuf->idesc;
63462 int cycles = 0;
63464 int referenced = 0;
63465 int UNUSED insn_referenced = abuf->written;
63466 INT in_GRi = -1;
63467 INT in_GRj = -1;
63468 INT in_GRk = -1;
63469 INT in_GRdoublek = -1;
63470 in_GRi = FLD (in_GRi);
63471 in_GRk = FLD (in_GRk);
63472 referenced |= 1 << 0;
63473 referenced |= 1 << 2;
63474 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63476 return cycles;
63477 #undef FLD
63480 static int
63481 model_fr400_sthi (SIM_CPU *current_cpu, void *sem_arg)
63483 #define FLD(f) abuf->fields.sfmt_swapi.f
63484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63485 const IDESC * UNUSED idesc = abuf->idesc;
63486 int cycles = 0;
63488 int referenced = 0;
63489 int UNUSED insn_referenced = abuf->written;
63490 INT in_GRi = -1;
63491 INT in_GRj = -1;
63492 INT in_GRk = -1;
63493 INT in_GRdoublek = -1;
63494 in_GRi = FLD (in_GRi);
63495 in_GRk = FLD (in_GRk);
63496 referenced |= 1 << 0;
63497 referenced |= 1 << 2;
63498 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63500 return cycles;
63501 #undef FLD
63504 static int
63505 model_fr400_sti (SIM_CPU *current_cpu, void *sem_arg)
63507 #define FLD(f) abuf->fields.sfmt_swapi.f
63508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63509 const IDESC * UNUSED idesc = abuf->idesc;
63510 int cycles = 0;
63512 int referenced = 0;
63513 int UNUSED insn_referenced = abuf->written;
63514 INT in_GRi = -1;
63515 INT in_GRj = -1;
63516 INT in_GRk = -1;
63517 INT in_GRdoublek = -1;
63518 in_GRi = FLD (in_GRi);
63519 in_GRk = FLD (in_GRk);
63520 referenced |= 1 << 0;
63521 referenced |= 1 << 2;
63522 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63524 return cycles;
63525 #undef FLD
63528 static int
63529 model_fr400_stbfi (SIM_CPU *current_cpu, void *sem_arg)
63531 #define FLD(f) abuf->fields.sfmt_stbfi.f
63532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63533 const IDESC * UNUSED idesc = abuf->idesc;
63534 int cycles = 0;
63536 int referenced = 0;
63537 int UNUSED insn_referenced = abuf->written;
63538 INT in_GRi = -1;
63539 INT in_GRj = -1;
63540 INT in_FRintk = -1;
63541 INT in_FRdoublek = -1;
63542 in_GRi = FLD (in_GRi);
63543 in_FRintk = FLD (in_FRintk);
63544 referenced |= 1 << 0;
63545 referenced |= 1 << 2;
63546 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63548 return cycles;
63549 #undef FLD
63552 static int
63553 model_fr400_sthfi (SIM_CPU *current_cpu, void *sem_arg)
63555 #define FLD(f) abuf->fields.sfmt_stbfi.f
63556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63557 const IDESC * UNUSED idesc = abuf->idesc;
63558 int cycles = 0;
63560 int referenced = 0;
63561 int UNUSED insn_referenced = abuf->written;
63562 INT in_GRi = -1;
63563 INT in_GRj = -1;
63564 INT in_FRintk = -1;
63565 INT in_FRdoublek = -1;
63566 in_GRi = FLD (in_GRi);
63567 in_FRintk = FLD (in_FRintk);
63568 referenced |= 1 << 0;
63569 referenced |= 1 << 2;
63570 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63572 return cycles;
63573 #undef FLD
63576 static int
63577 model_fr400_stfi (SIM_CPU *current_cpu, void *sem_arg)
63579 #define FLD(f) abuf->fields.sfmt_stbfi.f
63580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63581 const IDESC * UNUSED idesc = abuf->idesc;
63582 int cycles = 0;
63584 int referenced = 0;
63585 int UNUSED insn_referenced = abuf->written;
63586 INT in_GRi = -1;
63587 INT in_GRj = -1;
63588 INT in_FRintk = -1;
63589 INT in_FRdoublek = -1;
63590 in_GRi = FLD (in_GRi);
63591 in_FRintk = FLD (in_FRintk);
63592 referenced |= 1 << 0;
63593 referenced |= 1 << 2;
63594 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63596 return cycles;
63597 #undef FLD
63600 static int
63601 model_fr400_stdi (SIM_CPU *current_cpu, void *sem_arg)
63603 #define FLD(f) abuf->fields.sfmt_stdi.f
63604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63605 const IDESC * UNUSED idesc = abuf->idesc;
63606 int cycles = 0;
63608 int referenced = 0;
63609 int UNUSED insn_referenced = abuf->written;
63610 INT in_GRi = -1;
63611 INT in_GRj = -1;
63612 INT in_GRk = -1;
63613 INT in_GRdoublek = -1;
63614 in_GRi = FLD (in_GRi);
63615 in_GRdoublek = FLD (in_GRdoublek);
63616 referenced |= 1 << 0;
63617 referenced |= 1 << 3;
63618 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63620 return cycles;
63621 #undef FLD
63624 static int
63625 model_fr400_stdfi (SIM_CPU *current_cpu, void *sem_arg)
63627 #define FLD(f) abuf->fields.sfmt_stdfi.f
63628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63629 const IDESC * UNUSED idesc = abuf->idesc;
63630 int cycles = 0;
63632 int referenced = 0;
63633 int UNUSED insn_referenced = abuf->written;
63634 INT in_GRi = -1;
63635 INT in_GRj = -1;
63636 INT in_FRintk = -1;
63637 INT in_FRdoublek = -1;
63638 in_GRi = FLD (in_GRi);
63639 in_FRdoublek = FLD (in_FRdoublek);
63640 referenced |= 1 << 0;
63641 referenced |= 1 << 3;
63642 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63644 return cycles;
63645 #undef FLD
63648 static int
63649 model_fr400_stqi (SIM_CPU *current_cpu, void *sem_arg)
63651 #define FLD(f) abuf->fields.sfmt_stdi.f
63652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63653 const IDESC * UNUSED idesc = abuf->idesc;
63654 int cycles = 0;
63656 int referenced = 0;
63657 int UNUSED insn_referenced = abuf->written;
63658 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63660 return cycles;
63661 #undef FLD
63664 static int
63665 model_fr400_stqfi (SIM_CPU *current_cpu, void *sem_arg)
63667 #define FLD(f) abuf->fields.sfmt_stdfi.f
63668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63669 const IDESC * UNUSED idesc = abuf->idesc;
63670 int cycles = 0;
63672 int referenced = 0;
63673 int UNUSED insn_referenced = abuf->written;
63674 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63676 return cycles;
63677 #undef FLD
63680 static int
63681 model_fr400_swap (SIM_CPU *current_cpu, void *sem_arg)
63683 #define FLD(f) abuf->fields.sfmt_cswap.f
63684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63685 const IDESC * UNUSED idesc = abuf->idesc;
63686 int cycles = 0;
63688 int referenced = 0;
63689 int UNUSED insn_referenced = abuf->written;
63690 INT in_GRi = -1;
63691 INT in_GRj = -1;
63692 INT out_GRk = -1;
63693 in_GRi = FLD (in_GRi);
63694 in_GRj = FLD (in_GRj);
63695 out_GRk = FLD (out_GRk);
63696 referenced |= 1 << 0;
63697 referenced |= 1 << 1;
63698 referenced |= 1 << 2;
63699 cycles += frvbf_model_fr400_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
63701 return cycles;
63702 #undef FLD
63705 static int
63706 model_fr400_swapi (SIM_CPU *current_cpu, void *sem_arg)
63708 #define FLD(f) abuf->fields.sfmt_swapi.f
63709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63710 const IDESC * UNUSED idesc = abuf->idesc;
63711 int cycles = 0;
63713 int referenced = 0;
63714 int UNUSED insn_referenced = abuf->written;
63715 INT in_GRi = -1;
63716 INT in_GRj = -1;
63717 INT out_GRk = -1;
63718 in_GRi = FLD (in_GRi);
63719 out_GRk = FLD (out_GRk);
63720 referenced |= 1 << 0;
63721 referenced |= 1 << 2;
63722 cycles += frvbf_model_fr400_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
63724 return cycles;
63725 #undef FLD
63728 static int
63729 model_fr400_cswap (SIM_CPU *current_cpu, void *sem_arg)
63731 #define FLD(f) abuf->fields.sfmt_cswap.f
63732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63733 const IDESC * UNUSED idesc = abuf->idesc;
63734 int cycles = 0;
63736 int referenced = 0;
63737 int UNUSED insn_referenced = abuf->written;
63738 INT in_GRi = -1;
63739 INT in_GRj = -1;
63740 INT out_GRk = -1;
63741 in_GRi = FLD (in_GRi);
63742 in_GRj = FLD (in_GRj);
63743 out_GRk = FLD (out_GRk);
63744 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63745 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63746 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
63747 cycles += frvbf_model_fr400_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
63749 return cycles;
63750 #undef FLD
63753 static int
63754 model_fr400_movgf (SIM_CPU *current_cpu, void *sem_arg)
63756 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
63757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63758 const IDESC * UNUSED idesc = abuf->idesc;
63759 int cycles = 0;
63761 int referenced = 0;
63762 int UNUSED insn_referenced = abuf->written;
63763 INT in_GRj = -1;
63764 INT out_FRintk = -1;
63765 in_GRj = FLD (in_GRj);
63766 out_FRintk = FLD (out_FRintk);
63767 referenced |= 1 << 0;
63768 referenced |= 1 << 1;
63769 cycles += frvbf_model_fr400_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
63771 return cycles;
63772 #undef FLD
63775 static int
63776 model_fr400_movfg (SIM_CPU *current_cpu, void *sem_arg)
63778 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
63779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63780 const IDESC * UNUSED idesc = abuf->idesc;
63781 int cycles = 0;
63783 int referenced = 0;
63784 int UNUSED insn_referenced = abuf->written;
63785 INT in_FRintk = -1;
63786 INT out_GRj = -1;
63787 in_FRintk = FLD (in_FRintk);
63788 out_GRj = FLD (out_GRj);
63789 referenced |= 1 << 0;
63790 referenced |= 1 << 1;
63791 cycles += frvbf_model_fr400_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
63793 return cycles;
63794 #undef FLD
63797 static int
63798 model_fr400_movgfd (SIM_CPU *current_cpu, void *sem_arg)
63800 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
63801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63802 const IDESC * UNUSED idesc = abuf->idesc;
63803 int cycles = 0;
63805 int referenced = 0;
63806 int UNUSED insn_referenced = abuf->written;
63807 INT in_GRj = -1;
63808 INT out_FRintk = -1;
63809 in_GRj = FLD (in_GRj);
63810 out_FRintk = FLD (out_FRintk);
63811 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
63812 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
63813 cycles += frvbf_model_fr400_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
63815 return cycles;
63816 #undef FLD
63819 static int
63820 model_fr400_movfgd (SIM_CPU *current_cpu, void *sem_arg)
63822 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
63823 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63824 const IDESC * UNUSED idesc = abuf->idesc;
63825 int cycles = 0;
63827 int referenced = 0;
63828 int UNUSED insn_referenced = abuf->written;
63829 INT in_FRintk = -1;
63830 INT out_GRj = -1;
63831 in_FRintk = FLD (in_FRintk);
63832 out_GRj = FLD (out_GRj);
63833 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
63834 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
63835 cycles += frvbf_model_fr400_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
63837 return cycles;
63838 #undef FLD
63841 static int
63842 model_fr400_movgfq (SIM_CPU *current_cpu, void *sem_arg)
63844 #define FLD(f) abuf->fields.sfmt_movgfq.f
63845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63846 const IDESC * UNUSED idesc = abuf->idesc;
63847 int cycles = 0;
63849 int referenced = 0;
63850 int UNUSED insn_referenced = abuf->written;
63851 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63853 return cycles;
63854 #undef FLD
63857 static int
63858 model_fr400_movfgq (SIM_CPU *current_cpu, void *sem_arg)
63860 #define FLD(f) abuf->fields.sfmt_movfgq.f
63861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63862 const IDESC * UNUSED idesc = abuf->idesc;
63863 int cycles = 0;
63865 int referenced = 0;
63866 int UNUSED insn_referenced = abuf->written;
63867 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63869 return cycles;
63870 #undef FLD
63873 static int
63874 model_fr400_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
63876 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
63877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63878 const IDESC * UNUSED idesc = abuf->idesc;
63879 int cycles = 0;
63881 int referenced = 0;
63882 int UNUSED insn_referenced = abuf->written;
63883 INT in_GRj = -1;
63884 INT out_FRintk = -1;
63885 in_GRj = FLD (in_GRj);
63886 out_FRintk = FLD (out_FRintk);
63887 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63888 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63889 cycles += frvbf_model_fr400_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
63891 return cycles;
63892 #undef FLD
63895 static int
63896 model_fr400_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
63898 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
63899 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63900 const IDESC * UNUSED idesc = abuf->idesc;
63901 int cycles = 0;
63903 int referenced = 0;
63904 int UNUSED insn_referenced = abuf->written;
63905 INT in_FRintk = -1;
63906 INT out_GRj = -1;
63907 in_FRintk = FLD (in_FRintk);
63908 out_GRj = FLD (out_GRj);
63909 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63910 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63911 cycles += frvbf_model_fr400_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
63913 return cycles;
63914 #undef FLD
63917 static int
63918 model_fr400_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
63920 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
63921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63922 const IDESC * UNUSED idesc = abuf->idesc;
63923 int cycles = 0;
63925 int referenced = 0;
63926 int UNUSED insn_referenced = abuf->written;
63927 INT in_GRj = -1;
63928 INT out_FRintk = -1;
63929 in_GRj = FLD (in_GRj);
63930 out_FRintk = FLD (out_FRintk);
63931 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63932 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
63933 cycles += frvbf_model_fr400_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
63935 return cycles;
63936 #undef FLD
63939 static int
63940 model_fr400_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
63942 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
63943 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63944 const IDESC * UNUSED idesc = abuf->idesc;
63945 int cycles = 0;
63947 int referenced = 0;
63948 int UNUSED insn_referenced = abuf->written;
63949 INT in_FRintk = -1;
63950 INT out_GRj = -1;
63951 in_FRintk = FLD (in_FRintk);
63952 out_GRj = FLD (out_GRj);
63953 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63954 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
63955 cycles += frvbf_model_fr400_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
63957 return cycles;
63958 #undef FLD
63961 static int
63962 model_fr400_movgs (SIM_CPU *current_cpu, void *sem_arg)
63964 #define FLD(f) abuf->fields.sfmt_movgs.f
63965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63966 const IDESC * UNUSED idesc = abuf->idesc;
63967 int cycles = 0;
63969 int referenced = 0;
63970 int UNUSED insn_referenced = abuf->written;
63971 INT in_GRj = -1;
63972 INT out_spr = -1;
63973 in_GRj = FLD (in_GRj);
63974 out_spr = FLD (out_spr);
63975 referenced |= 1 << 0;
63976 referenced |= 1 << 1;
63977 cycles += frvbf_model_fr400_u_gr2spr (current_cpu, idesc, 0, referenced, in_GRj, out_spr);
63979 return cycles;
63980 #undef FLD
63983 static int
63984 model_fr400_movsg (SIM_CPU *current_cpu, void *sem_arg)
63986 #define FLD(f) abuf->fields.sfmt_movsg.f
63987 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63988 const IDESC * UNUSED idesc = abuf->idesc;
63989 int cycles = 0;
63991 int referenced = 0;
63992 int UNUSED insn_referenced = abuf->written;
63993 INT in_spr = -1;
63994 INT out_GRj = -1;
63995 in_spr = FLD (in_spr);
63996 out_GRj = FLD (out_GRj);
63997 referenced |= 1 << 0;
63998 referenced |= 1 << 1;
63999 cycles += frvbf_model_fr400_u_spr2gr (current_cpu, idesc, 0, referenced, in_spr, out_GRj);
64001 return cycles;
64002 #undef FLD
64005 static int
64006 model_fr400_bra (SIM_CPU *current_cpu, void *sem_arg)
64008 #define FLD(f) abuf->fields.sfmt_fbne.f
64009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64010 const IDESC * UNUSED idesc = abuf->idesc;
64011 int cycles = 0;
64013 int referenced = 0;
64014 int UNUSED insn_referenced = abuf->written;
64015 INT in_GRi = -1;
64016 INT in_GRj = -1;
64017 INT in_ICCi_2 = -1;
64018 INT in_FCCi_2 = -1;
64019 referenced |= 1 << 4;
64020 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64022 return cycles;
64023 #undef FLD
64026 static int
64027 model_fr400_bno (SIM_CPU *current_cpu, void *sem_arg)
64029 #define FLD(f) abuf->fields.sfmt_fbne.f
64030 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64031 const IDESC * UNUSED idesc = abuf->idesc;
64032 int cycles = 0;
64034 int referenced = 0;
64035 int UNUSED insn_referenced = abuf->written;
64036 INT in_GRi = -1;
64037 INT in_GRj = -1;
64038 INT in_ICCi_2 = -1;
64039 INT in_FCCi_2 = -1;
64040 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64042 return cycles;
64043 #undef FLD
64046 static int
64047 model_fr400_beq (SIM_CPU *current_cpu, void *sem_arg)
64049 #define FLD(f) abuf->fields.sfmt_beq.f
64050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64051 const IDESC * UNUSED idesc = abuf->idesc;
64052 int cycles = 0;
64054 int referenced = 0;
64055 int UNUSED insn_referenced = abuf->written;
64056 INT in_GRi = -1;
64057 INT in_GRj = -1;
64058 INT in_ICCi_2 = -1;
64059 INT in_FCCi_2 = -1;
64060 in_ICCi_2 = FLD (in_ICCi_2);
64061 referenced |= 1 << 2;
64062 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64063 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64065 return cycles;
64066 #undef FLD
64069 static int
64070 model_fr400_bne (SIM_CPU *current_cpu, void *sem_arg)
64072 #define FLD(f) abuf->fields.sfmt_beq.f
64073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64074 const IDESC * UNUSED idesc = abuf->idesc;
64075 int cycles = 0;
64077 int referenced = 0;
64078 int UNUSED insn_referenced = abuf->written;
64079 INT in_GRi = -1;
64080 INT in_GRj = -1;
64081 INT in_ICCi_2 = -1;
64082 INT in_FCCi_2 = -1;
64083 in_ICCi_2 = FLD (in_ICCi_2);
64084 referenced |= 1 << 2;
64085 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64086 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64088 return cycles;
64089 #undef FLD
64092 static int
64093 model_fr400_ble (SIM_CPU *current_cpu, void *sem_arg)
64095 #define FLD(f) abuf->fields.sfmt_beq.f
64096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64097 const IDESC * UNUSED idesc = abuf->idesc;
64098 int cycles = 0;
64100 int referenced = 0;
64101 int UNUSED insn_referenced = abuf->written;
64102 INT in_GRi = -1;
64103 INT in_GRj = -1;
64104 INT in_ICCi_2 = -1;
64105 INT in_FCCi_2 = -1;
64106 in_ICCi_2 = FLD (in_ICCi_2);
64107 referenced |= 1 << 2;
64108 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64109 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64111 return cycles;
64112 #undef FLD
64115 static int
64116 model_fr400_bgt (SIM_CPU *current_cpu, void *sem_arg)
64118 #define FLD(f) abuf->fields.sfmt_beq.f
64119 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64120 const IDESC * UNUSED idesc = abuf->idesc;
64121 int cycles = 0;
64123 int referenced = 0;
64124 int UNUSED insn_referenced = abuf->written;
64125 INT in_GRi = -1;
64126 INT in_GRj = -1;
64127 INT in_ICCi_2 = -1;
64128 INT in_FCCi_2 = -1;
64129 in_ICCi_2 = FLD (in_ICCi_2);
64130 referenced |= 1 << 2;
64131 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64132 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64134 return cycles;
64135 #undef FLD
64138 static int
64139 model_fr400_blt (SIM_CPU *current_cpu, void *sem_arg)
64141 #define FLD(f) abuf->fields.sfmt_beq.f
64142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64143 const IDESC * UNUSED idesc = abuf->idesc;
64144 int cycles = 0;
64146 int referenced = 0;
64147 int UNUSED insn_referenced = abuf->written;
64148 INT in_GRi = -1;
64149 INT in_GRj = -1;
64150 INT in_ICCi_2 = -1;
64151 INT in_FCCi_2 = -1;
64152 in_ICCi_2 = FLD (in_ICCi_2);
64153 referenced |= 1 << 2;
64154 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64155 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64157 return cycles;
64158 #undef FLD
64161 static int
64162 model_fr400_bge (SIM_CPU *current_cpu, void *sem_arg)
64164 #define FLD(f) abuf->fields.sfmt_beq.f
64165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64166 const IDESC * UNUSED idesc = abuf->idesc;
64167 int cycles = 0;
64169 int referenced = 0;
64170 int UNUSED insn_referenced = abuf->written;
64171 INT in_GRi = -1;
64172 INT in_GRj = -1;
64173 INT in_ICCi_2 = -1;
64174 INT in_FCCi_2 = -1;
64175 in_ICCi_2 = FLD (in_ICCi_2);
64176 referenced |= 1 << 2;
64177 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64178 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64180 return cycles;
64181 #undef FLD
64184 static int
64185 model_fr400_bls (SIM_CPU *current_cpu, void *sem_arg)
64187 #define FLD(f) abuf->fields.sfmt_beq.f
64188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64189 const IDESC * UNUSED idesc = abuf->idesc;
64190 int cycles = 0;
64192 int referenced = 0;
64193 int UNUSED insn_referenced = abuf->written;
64194 INT in_GRi = -1;
64195 INT in_GRj = -1;
64196 INT in_ICCi_2 = -1;
64197 INT in_FCCi_2 = -1;
64198 in_ICCi_2 = FLD (in_ICCi_2);
64199 referenced |= 1 << 2;
64200 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64201 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64203 return cycles;
64204 #undef FLD
64207 static int
64208 model_fr400_bhi (SIM_CPU *current_cpu, void *sem_arg)
64210 #define FLD(f) abuf->fields.sfmt_beq.f
64211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64212 const IDESC * UNUSED idesc = abuf->idesc;
64213 int cycles = 0;
64215 int referenced = 0;
64216 int UNUSED insn_referenced = abuf->written;
64217 INT in_GRi = -1;
64218 INT in_GRj = -1;
64219 INT in_ICCi_2 = -1;
64220 INT in_FCCi_2 = -1;
64221 in_ICCi_2 = FLD (in_ICCi_2);
64222 referenced |= 1 << 2;
64223 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64224 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64226 return cycles;
64227 #undef FLD
64230 static int
64231 model_fr400_bc (SIM_CPU *current_cpu, void *sem_arg)
64233 #define FLD(f) abuf->fields.sfmt_beq.f
64234 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64235 const IDESC * UNUSED idesc = abuf->idesc;
64236 int cycles = 0;
64238 int referenced = 0;
64239 int UNUSED insn_referenced = abuf->written;
64240 INT in_GRi = -1;
64241 INT in_GRj = -1;
64242 INT in_ICCi_2 = -1;
64243 INT in_FCCi_2 = -1;
64244 in_ICCi_2 = FLD (in_ICCi_2);
64245 referenced |= 1 << 2;
64246 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64247 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64249 return cycles;
64250 #undef FLD
64253 static int
64254 model_fr400_bnc (SIM_CPU *current_cpu, void *sem_arg)
64256 #define FLD(f) abuf->fields.sfmt_beq.f
64257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64258 const IDESC * UNUSED idesc = abuf->idesc;
64259 int cycles = 0;
64261 int referenced = 0;
64262 int UNUSED insn_referenced = abuf->written;
64263 INT in_GRi = -1;
64264 INT in_GRj = -1;
64265 INT in_ICCi_2 = -1;
64266 INT in_FCCi_2 = -1;
64267 in_ICCi_2 = FLD (in_ICCi_2);
64268 referenced |= 1 << 2;
64269 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64270 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64272 return cycles;
64273 #undef FLD
64276 static int
64277 model_fr400_bn (SIM_CPU *current_cpu, void *sem_arg)
64279 #define FLD(f) abuf->fields.sfmt_beq.f
64280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64281 const IDESC * UNUSED idesc = abuf->idesc;
64282 int cycles = 0;
64284 int referenced = 0;
64285 int UNUSED insn_referenced = abuf->written;
64286 INT in_GRi = -1;
64287 INT in_GRj = -1;
64288 INT in_ICCi_2 = -1;
64289 INT in_FCCi_2 = -1;
64290 in_ICCi_2 = FLD (in_ICCi_2);
64291 referenced |= 1 << 2;
64292 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64293 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64295 return cycles;
64296 #undef FLD
64299 static int
64300 model_fr400_bp (SIM_CPU *current_cpu, void *sem_arg)
64302 #define FLD(f) abuf->fields.sfmt_beq.f
64303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64304 const IDESC * UNUSED idesc = abuf->idesc;
64305 int cycles = 0;
64307 int referenced = 0;
64308 int UNUSED insn_referenced = abuf->written;
64309 INT in_GRi = -1;
64310 INT in_GRj = -1;
64311 INT in_ICCi_2 = -1;
64312 INT in_FCCi_2 = -1;
64313 in_ICCi_2 = FLD (in_ICCi_2);
64314 referenced |= 1 << 2;
64315 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64316 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64318 return cycles;
64319 #undef FLD
64322 static int
64323 model_fr400_bv (SIM_CPU *current_cpu, void *sem_arg)
64325 #define FLD(f) abuf->fields.sfmt_beq.f
64326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64327 const IDESC * UNUSED idesc = abuf->idesc;
64328 int cycles = 0;
64330 int referenced = 0;
64331 int UNUSED insn_referenced = abuf->written;
64332 INT in_GRi = -1;
64333 INT in_GRj = -1;
64334 INT in_ICCi_2 = -1;
64335 INT in_FCCi_2 = -1;
64336 in_ICCi_2 = FLD (in_ICCi_2);
64337 referenced |= 1 << 2;
64338 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64339 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64341 return cycles;
64342 #undef FLD
64345 static int
64346 model_fr400_bnv (SIM_CPU *current_cpu, void *sem_arg)
64348 #define FLD(f) abuf->fields.sfmt_beq.f
64349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64350 const IDESC * UNUSED idesc = abuf->idesc;
64351 int cycles = 0;
64353 int referenced = 0;
64354 int UNUSED insn_referenced = abuf->written;
64355 INT in_GRi = -1;
64356 INT in_GRj = -1;
64357 INT in_ICCi_2 = -1;
64358 INT in_FCCi_2 = -1;
64359 in_ICCi_2 = FLD (in_ICCi_2);
64360 referenced |= 1 << 2;
64361 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64362 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64364 return cycles;
64365 #undef FLD
64368 static int
64369 model_fr400_fbra (SIM_CPU *current_cpu, void *sem_arg)
64371 #define FLD(f) abuf->fields.sfmt_fbne.f
64372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64373 const IDESC * UNUSED idesc = abuf->idesc;
64374 int cycles = 0;
64376 int referenced = 0;
64377 int UNUSED insn_referenced = abuf->written;
64378 INT in_GRi = -1;
64379 INT in_GRj = -1;
64380 INT in_ICCi_2 = -1;
64381 INT in_FCCi_2 = -1;
64382 referenced |= 1 << 4;
64383 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64385 return cycles;
64386 #undef FLD
64389 static int
64390 model_fr400_fbno (SIM_CPU *current_cpu, void *sem_arg)
64392 #define FLD(f) abuf->fields.sfmt_fbne.f
64393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64394 const IDESC * UNUSED idesc = abuf->idesc;
64395 int cycles = 0;
64397 int referenced = 0;
64398 int UNUSED insn_referenced = abuf->written;
64399 INT in_GRi = -1;
64400 INT in_GRj = -1;
64401 INT in_ICCi_2 = -1;
64402 INT in_FCCi_2 = -1;
64403 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64405 return cycles;
64406 #undef FLD
64409 static int
64410 model_fr400_fbne (SIM_CPU *current_cpu, void *sem_arg)
64412 #define FLD(f) abuf->fields.sfmt_fbne.f
64413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64414 const IDESC * UNUSED idesc = abuf->idesc;
64415 int cycles = 0;
64417 int referenced = 0;
64418 int UNUSED insn_referenced = abuf->written;
64419 INT in_GRi = -1;
64420 INT in_GRj = -1;
64421 INT in_ICCi_2 = -1;
64422 INT in_FCCi_2 = -1;
64423 in_FCCi_2 = FLD (in_FCCi_2);
64424 referenced |= 1 << 3;
64425 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64426 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64428 return cycles;
64429 #undef FLD
64432 static int
64433 model_fr400_fbeq (SIM_CPU *current_cpu, void *sem_arg)
64435 #define FLD(f) abuf->fields.sfmt_fbne.f
64436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64437 const IDESC * UNUSED idesc = abuf->idesc;
64438 int cycles = 0;
64440 int referenced = 0;
64441 int UNUSED insn_referenced = abuf->written;
64442 INT in_GRi = -1;
64443 INT in_GRj = -1;
64444 INT in_ICCi_2 = -1;
64445 INT in_FCCi_2 = -1;
64446 in_FCCi_2 = FLD (in_FCCi_2);
64447 referenced |= 1 << 3;
64448 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64449 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64451 return cycles;
64452 #undef FLD
64455 static int
64456 model_fr400_fblg (SIM_CPU *current_cpu, void *sem_arg)
64458 #define FLD(f) abuf->fields.sfmt_fbne.f
64459 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64460 const IDESC * UNUSED idesc = abuf->idesc;
64461 int cycles = 0;
64463 int referenced = 0;
64464 int UNUSED insn_referenced = abuf->written;
64465 INT in_GRi = -1;
64466 INT in_GRj = -1;
64467 INT in_ICCi_2 = -1;
64468 INT in_FCCi_2 = -1;
64469 in_FCCi_2 = FLD (in_FCCi_2);
64470 referenced |= 1 << 3;
64471 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64472 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64474 return cycles;
64475 #undef FLD
64478 static int
64479 model_fr400_fbue (SIM_CPU *current_cpu, void *sem_arg)
64481 #define FLD(f) abuf->fields.sfmt_fbne.f
64482 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64483 const IDESC * UNUSED idesc = abuf->idesc;
64484 int cycles = 0;
64486 int referenced = 0;
64487 int UNUSED insn_referenced = abuf->written;
64488 INT in_GRi = -1;
64489 INT in_GRj = -1;
64490 INT in_ICCi_2 = -1;
64491 INT in_FCCi_2 = -1;
64492 in_FCCi_2 = FLD (in_FCCi_2);
64493 referenced |= 1 << 3;
64494 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64495 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64497 return cycles;
64498 #undef FLD
64501 static int
64502 model_fr400_fbul (SIM_CPU *current_cpu, void *sem_arg)
64504 #define FLD(f) abuf->fields.sfmt_fbne.f
64505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64506 const IDESC * UNUSED idesc = abuf->idesc;
64507 int cycles = 0;
64509 int referenced = 0;
64510 int UNUSED insn_referenced = abuf->written;
64511 INT in_GRi = -1;
64512 INT in_GRj = -1;
64513 INT in_ICCi_2 = -1;
64514 INT in_FCCi_2 = -1;
64515 in_FCCi_2 = FLD (in_FCCi_2);
64516 referenced |= 1 << 3;
64517 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64518 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64520 return cycles;
64521 #undef FLD
64524 static int
64525 model_fr400_fbge (SIM_CPU *current_cpu, void *sem_arg)
64527 #define FLD(f) abuf->fields.sfmt_fbne.f
64528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64529 const IDESC * UNUSED idesc = abuf->idesc;
64530 int cycles = 0;
64532 int referenced = 0;
64533 int UNUSED insn_referenced = abuf->written;
64534 INT in_GRi = -1;
64535 INT in_GRj = -1;
64536 INT in_ICCi_2 = -1;
64537 INT in_FCCi_2 = -1;
64538 in_FCCi_2 = FLD (in_FCCi_2);
64539 referenced |= 1 << 3;
64540 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64541 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64543 return cycles;
64544 #undef FLD
64547 static int
64548 model_fr400_fblt (SIM_CPU *current_cpu, void *sem_arg)
64550 #define FLD(f) abuf->fields.sfmt_fbne.f
64551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64552 const IDESC * UNUSED idesc = abuf->idesc;
64553 int cycles = 0;
64555 int referenced = 0;
64556 int UNUSED insn_referenced = abuf->written;
64557 INT in_GRi = -1;
64558 INT in_GRj = -1;
64559 INT in_ICCi_2 = -1;
64560 INT in_FCCi_2 = -1;
64561 in_FCCi_2 = FLD (in_FCCi_2);
64562 referenced |= 1 << 3;
64563 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64564 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64566 return cycles;
64567 #undef FLD
64570 static int
64571 model_fr400_fbuge (SIM_CPU *current_cpu, void *sem_arg)
64573 #define FLD(f) abuf->fields.sfmt_fbne.f
64574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64575 const IDESC * UNUSED idesc = abuf->idesc;
64576 int cycles = 0;
64578 int referenced = 0;
64579 int UNUSED insn_referenced = abuf->written;
64580 INT in_GRi = -1;
64581 INT in_GRj = -1;
64582 INT in_ICCi_2 = -1;
64583 INT in_FCCi_2 = -1;
64584 in_FCCi_2 = FLD (in_FCCi_2);
64585 referenced |= 1 << 3;
64586 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64587 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64589 return cycles;
64590 #undef FLD
64593 static int
64594 model_fr400_fbug (SIM_CPU *current_cpu, void *sem_arg)
64596 #define FLD(f) abuf->fields.sfmt_fbne.f
64597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64598 const IDESC * UNUSED idesc = abuf->idesc;
64599 int cycles = 0;
64601 int referenced = 0;
64602 int UNUSED insn_referenced = abuf->written;
64603 INT in_GRi = -1;
64604 INT in_GRj = -1;
64605 INT in_ICCi_2 = -1;
64606 INT in_FCCi_2 = -1;
64607 in_FCCi_2 = FLD (in_FCCi_2);
64608 referenced |= 1 << 3;
64609 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64610 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64612 return cycles;
64613 #undef FLD
64616 static int
64617 model_fr400_fble (SIM_CPU *current_cpu, void *sem_arg)
64619 #define FLD(f) abuf->fields.sfmt_fbne.f
64620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64621 const IDESC * UNUSED idesc = abuf->idesc;
64622 int cycles = 0;
64624 int referenced = 0;
64625 int UNUSED insn_referenced = abuf->written;
64626 INT in_GRi = -1;
64627 INT in_GRj = -1;
64628 INT in_ICCi_2 = -1;
64629 INT in_FCCi_2 = -1;
64630 in_FCCi_2 = FLD (in_FCCi_2);
64631 referenced |= 1 << 3;
64632 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64633 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64635 return cycles;
64636 #undef FLD
64639 static int
64640 model_fr400_fbgt (SIM_CPU *current_cpu, void *sem_arg)
64642 #define FLD(f) abuf->fields.sfmt_fbne.f
64643 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64644 const IDESC * UNUSED idesc = abuf->idesc;
64645 int cycles = 0;
64647 int referenced = 0;
64648 int UNUSED insn_referenced = abuf->written;
64649 INT in_GRi = -1;
64650 INT in_GRj = -1;
64651 INT in_ICCi_2 = -1;
64652 INT in_FCCi_2 = -1;
64653 in_FCCi_2 = FLD (in_FCCi_2);
64654 referenced |= 1 << 3;
64655 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64656 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64658 return cycles;
64659 #undef FLD
64662 static int
64663 model_fr400_fbule (SIM_CPU *current_cpu, void *sem_arg)
64665 #define FLD(f) abuf->fields.sfmt_fbne.f
64666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64667 const IDESC * UNUSED idesc = abuf->idesc;
64668 int cycles = 0;
64670 int referenced = 0;
64671 int UNUSED insn_referenced = abuf->written;
64672 INT in_GRi = -1;
64673 INT in_GRj = -1;
64674 INT in_ICCi_2 = -1;
64675 INT in_FCCi_2 = -1;
64676 in_FCCi_2 = FLD (in_FCCi_2);
64677 referenced |= 1 << 3;
64678 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64679 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64681 return cycles;
64682 #undef FLD
64685 static int
64686 model_fr400_fbu (SIM_CPU *current_cpu, void *sem_arg)
64688 #define FLD(f) abuf->fields.sfmt_fbne.f
64689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64690 const IDESC * UNUSED idesc = abuf->idesc;
64691 int cycles = 0;
64693 int referenced = 0;
64694 int UNUSED insn_referenced = abuf->written;
64695 INT in_GRi = -1;
64696 INT in_GRj = -1;
64697 INT in_ICCi_2 = -1;
64698 INT in_FCCi_2 = -1;
64699 in_FCCi_2 = FLD (in_FCCi_2);
64700 referenced |= 1 << 3;
64701 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64702 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64704 return cycles;
64705 #undef FLD
64708 static int
64709 model_fr400_fbo (SIM_CPU *current_cpu, void *sem_arg)
64711 #define FLD(f) abuf->fields.sfmt_fbne.f
64712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64713 const IDESC * UNUSED idesc = abuf->idesc;
64714 int cycles = 0;
64716 int referenced = 0;
64717 int UNUSED insn_referenced = abuf->written;
64718 INT in_GRi = -1;
64719 INT in_GRj = -1;
64720 INT in_ICCi_2 = -1;
64721 INT in_FCCi_2 = -1;
64722 in_FCCi_2 = FLD (in_FCCi_2);
64723 referenced |= 1 << 3;
64724 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64725 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64727 return cycles;
64728 #undef FLD
64731 static int
64732 model_fr400_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
64734 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
64735 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64736 const IDESC * UNUSED idesc = abuf->idesc;
64737 int cycles = 0;
64739 int referenced = 0;
64740 int UNUSED insn_referenced = abuf->written;
64741 INT in_GRi = -1;
64742 INT in_GRj = -1;
64743 INT in_ICCi_2 = -1;
64744 INT in_FCCi_2 = -1;
64745 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
64746 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64748 return cycles;
64749 #undef FLD
64752 static int
64753 model_fr400_bralr (SIM_CPU *current_cpu, void *sem_arg)
64755 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
64756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64757 const IDESC * UNUSED idesc = abuf->idesc;
64758 int cycles = 0;
64760 int referenced = 0;
64761 int UNUSED insn_referenced = abuf->written;
64762 INT in_GRi = -1;
64763 INT in_GRj = -1;
64764 INT in_ICCi_2 = -1;
64765 INT in_FCCi_2 = -1;
64766 referenced |= 1 << 4;
64767 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64769 return cycles;
64770 #undef FLD
64773 static int
64774 model_fr400_bnolr (SIM_CPU *current_cpu, void *sem_arg)
64776 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
64777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64778 const IDESC * UNUSED idesc = abuf->idesc;
64779 int cycles = 0;
64781 int referenced = 0;
64782 int UNUSED insn_referenced = abuf->written;
64783 INT in_GRi = -1;
64784 INT in_GRj = -1;
64785 INT in_ICCi_2 = -1;
64786 INT in_FCCi_2 = -1;
64787 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64789 return cycles;
64790 #undef FLD
64793 static int
64794 model_fr400_beqlr (SIM_CPU *current_cpu, void *sem_arg)
64796 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64798 const IDESC * UNUSED idesc = abuf->idesc;
64799 int cycles = 0;
64801 int referenced = 0;
64802 int UNUSED insn_referenced = abuf->written;
64803 INT in_GRi = -1;
64804 INT in_GRj = -1;
64805 INT in_ICCi_2 = -1;
64806 INT in_FCCi_2 = -1;
64807 in_ICCi_2 = FLD (in_ICCi_2);
64808 referenced |= 1 << 2;
64809 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64810 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64812 return cycles;
64813 #undef FLD
64816 static int
64817 model_fr400_bnelr (SIM_CPU *current_cpu, void *sem_arg)
64819 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64821 const IDESC * UNUSED idesc = abuf->idesc;
64822 int cycles = 0;
64824 int referenced = 0;
64825 int UNUSED insn_referenced = abuf->written;
64826 INT in_GRi = -1;
64827 INT in_GRj = -1;
64828 INT in_ICCi_2 = -1;
64829 INT in_FCCi_2 = -1;
64830 in_ICCi_2 = FLD (in_ICCi_2);
64831 referenced |= 1 << 2;
64832 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64833 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64835 return cycles;
64836 #undef FLD
64839 static int
64840 model_fr400_blelr (SIM_CPU *current_cpu, void *sem_arg)
64842 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64843 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64844 const IDESC * UNUSED idesc = abuf->idesc;
64845 int cycles = 0;
64847 int referenced = 0;
64848 int UNUSED insn_referenced = abuf->written;
64849 INT in_GRi = -1;
64850 INT in_GRj = -1;
64851 INT in_ICCi_2 = -1;
64852 INT in_FCCi_2 = -1;
64853 in_ICCi_2 = FLD (in_ICCi_2);
64854 referenced |= 1 << 2;
64855 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64856 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64858 return cycles;
64859 #undef FLD
64862 static int
64863 model_fr400_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
64865 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64866 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64867 const IDESC * UNUSED idesc = abuf->idesc;
64868 int cycles = 0;
64870 int referenced = 0;
64871 int UNUSED insn_referenced = abuf->written;
64872 INT in_GRi = -1;
64873 INT in_GRj = -1;
64874 INT in_ICCi_2 = -1;
64875 INT in_FCCi_2 = -1;
64876 in_ICCi_2 = FLD (in_ICCi_2);
64877 referenced |= 1 << 2;
64878 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64879 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64881 return cycles;
64882 #undef FLD
64885 static int
64886 model_fr400_bltlr (SIM_CPU *current_cpu, void *sem_arg)
64888 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64890 const IDESC * UNUSED idesc = abuf->idesc;
64891 int cycles = 0;
64893 int referenced = 0;
64894 int UNUSED insn_referenced = abuf->written;
64895 INT in_GRi = -1;
64896 INT in_GRj = -1;
64897 INT in_ICCi_2 = -1;
64898 INT in_FCCi_2 = -1;
64899 in_ICCi_2 = FLD (in_ICCi_2);
64900 referenced |= 1 << 2;
64901 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64902 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64904 return cycles;
64905 #undef FLD
64908 static int
64909 model_fr400_bgelr (SIM_CPU *current_cpu, void *sem_arg)
64911 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64912 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64913 const IDESC * UNUSED idesc = abuf->idesc;
64914 int cycles = 0;
64916 int referenced = 0;
64917 int UNUSED insn_referenced = abuf->written;
64918 INT in_GRi = -1;
64919 INT in_GRj = -1;
64920 INT in_ICCi_2 = -1;
64921 INT in_FCCi_2 = -1;
64922 in_ICCi_2 = FLD (in_ICCi_2);
64923 referenced |= 1 << 2;
64924 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64925 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64927 return cycles;
64928 #undef FLD
64931 static int
64932 model_fr400_blslr (SIM_CPU *current_cpu, void *sem_arg)
64934 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64935 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64936 const IDESC * UNUSED idesc = abuf->idesc;
64937 int cycles = 0;
64939 int referenced = 0;
64940 int UNUSED insn_referenced = abuf->written;
64941 INT in_GRi = -1;
64942 INT in_GRj = -1;
64943 INT in_ICCi_2 = -1;
64944 INT in_FCCi_2 = -1;
64945 in_ICCi_2 = FLD (in_ICCi_2);
64946 referenced |= 1 << 2;
64947 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64948 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64950 return cycles;
64951 #undef FLD
64954 static int
64955 model_fr400_bhilr (SIM_CPU *current_cpu, void *sem_arg)
64957 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64958 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64959 const IDESC * UNUSED idesc = abuf->idesc;
64960 int cycles = 0;
64962 int referenced = 0;
64963 int UNUSED insn_referenced = abuf->written;
64964 INT in_GRi = -1;
64965 INT in_GRj = -1;
64966 INT in_ICCi_2 = -1;
64967 INT in_FCCi_2 = -1;
64968 in_ICCi_2 = FLD (in_ICCi_2);
64969 referenced |= 1 << 2;
64970 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64971 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64973 return cycles;
64974 #undef FLD
64977 static int
64978 model_fr400_bclr (SIM_CPU *current_cpu, void *sem_arg)
64980 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64982 const IDESC * UNUSED idesc = abuf->idesc;
64983 int cycles = 0;
64985 int referenced = 0;
64986 int UNUSED insn_referenced = abuf->written;
64987 INT in_GRi = -1;
64988 INT in_GRj = -1;
64989 INT in_ICCi_2 = -1;
64990 INT in_FCCi_2 = -1;
64991 in_ICCi_2 = FLD (in_ICCi_2);
64992 referenced |= 1 << 2;
64993 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64994 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64996 return cycles;
64997 #undef FLD
65000 static int
65001 model_fr400_bnclr (SIM_CPU *current_cpu, void *sem_arg)
65003 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65005 const IDESC * UNUSED idesc = abuf->idesc;
65006 int cycles = 0;
65008 int referenced = 0;
65009 int UNUSED insn_referenced = abuf->written;
65010 INT in_GRi = -1;
65011 INT in_GRj = -1;
65012 INT in_ICCi_2 = -1;
65013 INT in_FCCi_2 = -1;
65014 in_ICCi_2 = FLD (in_ICCi_2);
65015 referenced |= 1 << 2;
65016 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65017 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65019 return cycles;
65020 #undef FLD
65023 static int
65024 model_fr400_bnlr (SIM_CPU *current_cpu, void *sem_arg)
65026 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65027 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65028 const IDESC * UNUSED idesc = abuf->idesc;
65029 int cycles = 0;
65031 int referenced = 0;
65032 int UNUSED insn_referenced = abuf->written;
65033 INT in_GRi = -1;
65034 INT in_GRj = -1;
65035 INT in_ICCi_2 = -1;
65036 INT in_FCCi_2 = -1;
65037 in_ICCi_2 = FLD (in_ICCi_2);
65038 referenced |= 1 << 2;
65039 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65040 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65042 return cycles;
65043 #undef FLD
65046 static int
65047 model_fr400_bplr (SIM_CPU *current_cpu, void *sem_arg)
65049 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65051 const IDESC * UNUSED idesc = abuf->idesc;
65052 int cycles = 0;
65054 int referenced = 0;
65055 int UNUSED insn_referenced = abuf->written;
65056 INT in_GRi = -1;
65057 INT in_GRj = -1;
65058 INT in_ICCi_2 = -1;
65059 INT in_FCCi_2 = -1;
65060 in_ICCi_2 = FLD (in_ICCi_2);
65061 referenced |= 1 << 2;
65062 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65063 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65065 return cycles;
65066 #undef FLD
65069 static int
65070 model_fr400_bvlr (SIM_CPU *current_cpu, void *sem_arg)
65072 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65074 const IDESC * UNUSED idesc = abuf->idesc;
65075 int cycles = 0;
65077 int referenced = 0;
65078 int UNUSED insn_referenced = abuf->written;
65079 INT in_GRi = -1;
65080 INT in_GRj = -1;
65081 INT in_ICCi_2 = -1;
65082 INT in_FCCi_2 = -1;
65083 in_ICCi_2 = FLD (in_ICCi_2);
65084 referenced |= 1 << 2;
65085 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65086 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65088 return cycles;
65089 #undef FLD
65092 static int
65093 model_fr400_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
65095 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65097 const IDESC * UNUSED idesc = abuf->idesc;
65098 int cycles = 0;
65100 int referenced = 0;
65101 int UNUSED insn_referenced = abuf->written;
65102 INT in_GRi = -1;
65103 INT in_GRj = -1;
65104 INT in_ICCi_2 = -1;
65105 INT in_FCCi_2 = -1;
65106 in_ICCi_2 = FLD (in_ICCi_2);
65107 referenced |= 1 << 2;
65108 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65109 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65111 return cycles;
65112 #undef FLD
65115 static int
65116 model_fr400_fbralr (SIM_CPU *current_cpu, void *sem_arg)
65118 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65119 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65120 const IDESC * UNUSED idesc = abuf->idesc;
65121 int cycles = 0;
65123 int referenced = 0;
65124 int UNUSED insn_referenced = abuf->written;
65125 INT in_GRi = -1;
65126 INT in_GRj = -1;
65127 INT in_ICCi_2 = -1;
65128 INT in_FCCi_2 = -1;
65129 referenced |= 1 << 4;
65130 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65132 return cycles;
65133 #undef FLD
65136 static int
65137 model_fr400_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
65139 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65141 const IDESC * UNUSED idesc = abuf->idesc;
65142 int cycles = 0;
65144 int referenced = 0;
65145 int UNUSED insn_referenced = abuf->written;
65146 INT in_GRi = -1;
65147 INT in_GRj = -1;
65148 INT in_ICCi_2 = -1;
65149 INT in_FCCi_2 = -1;
65150 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65152 return cycles;
65153 #undef FLD
65156 static int
65157 model_fr400_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
65159 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65161 const IDESC * UNUSED idesc = abuf->idesc;
65162 int cycles = 0;
65164 int referenced = 0;
65165 int UNUSED insn_referenced = abuf->written;
65166 INT in_GRi = -1;
65167 INT in_GRj = -1;
65168 INT in_ICCi_2 = -1;
65169 INT in_FCCi_2 = -1;
65170 in_FCCi_2 = FLD (in_FCCi_2);
65171 referenced |= 1 << 3;
65172 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65173 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65175 return cycles;
65176 #undef FLD
65179 static int
65180 model_fr400_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
65182 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65184 const IDESC * UNUSED idesc = abuf->idesc;
65185 int cycles = 0;
65187 int referenced = 0;
65188 int UNUSED insn_referenced = abuf->written;
65189 INT in_GRi = -1;
65190 INT in_GRj = -1;
65191 INT in_ICCi_2 = -1;
65192 INT in_FCCi_2 = -1;
65193 in_FCCi_2 = FLD (in_FCCi_2);
65194 referenced |= 1 << 3;
65195 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65196 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65198 return cycles;
65199 #undef FLD
65202 static int
65203 model_fr400_fblglr (SIM_CPU *current_cpu, void *sem_arg)
65205 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65206 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65207 const IDESC * UNUSED idesc = abuf->idesc;
65208 int cycles = 0;
65210 int referenced = 0;
65211 int UNUSED insn_referenced = abuf->written;
65212 INT in_GRi = -1;
65213 INT in_GRj = -1;
65214 INT in_ICCi_2 = -1;
65215 INT in_FCCi_2 = -1;
65216 in_FCCi_2 = FLD (in_FCCi_2);
65217 referenced |= 1 << 3;
65218 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65219 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65221 return cycles;
65222 #undef FLD
65225 static int
65226 model_fr400_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
65228 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65230 const IDESC * UNUSED idesc = abuf->idesc;
65231 int cycles = 0;
65233 int referenced = 0;
65234 int UNUSED insn_referenced = abuf->written;
65235 INT in_GRi = -1;
65236 INT in_GRj = -1;
65237 INT in_ICCi_2 = -1;
65238 INT in_FCCi_2 = -1;
65239 in_FCCi_2 = FLD (in_FCCi_2);
65240 referenced |= 1 << 3;
65241 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65242 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65244 return cycles;
65245 #undef FLD
65248 static int
65249 model_fr400_fbullr (SIM_CPU *current_cpu, void *sem_arg)
65251 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65253 const IDESC * UNUSED idesc = abuf->idesc;
65254 int cycles = 0;
65256 int referenced = 0;
65257 int UNUSED insn_referenced = abuf->written;
65258 INT in_GRi = -1;
65259 INT in_GRj = -1;
65260 INT in_ICCi_2 = -1;
65261 INT in_FCCi_2 = -1;
65262 in_FCCi_2 = FLD (in_FCCi_2);
65263 referenced |= 1 << 3;
65264 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65265 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65267 return cycles;
65268 #undef FLD
65271 static int
65272 model_fr400_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
65274 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65275 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65276 const IDESC * UNUSED idesc = abuf->idesc;
65277 int cycles = 0;
65279 int referenced = 0;
65280 int UNUSED insn_referenced = abuf->written;
65281 INT in_GRi = -1;
65282 INT in_GRj = -1;
65283 INT in_ICCi_2 = -1;
65284 INT in_FCCi_2 = -1;
65285 in_FCCi_2 = FLD (in_FCCi_2);
65286 referenced |= 1 << 3;
65287 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65288 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65290 return cycles;
65291 #undef FLD
65294 static int
65295 model_fr400_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
65297 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65298 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65299 const IDESC * UNUSED idesc = abuf->idesc;
65300 int cycles = 0;
65302 int referenced = 0;
65303 int UNUSED insn_referenced = abuf->written;
65304 INT in_GRi = -1;
65305 INT in_GRj = -1;
65306 INT in_ICCi_2 = -1;
65307 INT in_FCCi_2 = -1;
65308 in_FCCi_2 = FLD (in_FCCi_2);
65309 referenced |= 1 << 3;
65310 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65311 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65313 return cycles;
65314 #undef FLD
65317 static int
65318 model_fr400_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
65320 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65322 const IDESC * UNUSED idesc = abuf->idesc;
65323 int cycles = 0;
65325 int referenced = 0;
65326 int UNUSED insn_referenced = abuf->written;
65327 INT in_GRi = -1;
65328 INT in_GRj = -1;
65329 INT in_ICCi_2 = -1;
65330 INT in_FCCi_2 = -1;
65331 in_FCCi_2 = FLD (in_FCCi_2);
65332 referenced |= 1 << 3;
65333 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65334 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65336 return cycles;
65337 #undef FLD
65340 static int
65341 model_fr400_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
65343 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65345 const IDESC * UNUSED idesc = abuf->idesc;
65346 int cycles = 0;
65348 int referenced = 0;
65349 int UNUSED insn_referenced = abuf->written;
65350 INT in_GRi = -1;
65351 INT in_GRj = -1;
65352 INT in_ICCi_2 = -1;
65353 INT in_FCCi_2 = -1;
65354 in_FCCi_2 = FLD (in_FCCi_2);
65355 referenced |= 1 << 3;
65356 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65357 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65359 return cycles;
65360 #undef FLD
65363 static int
65364 model_fr400_fblelr (SIM_CPU *current_cpu, void *sem_arg)
65366 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65367 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65368 const IDESC * UNUSED idesc = abuf->idesc;
65369 int cycles = 0;
65371 int referenced = 0;
65372 int UNUSED insn_referenced = abuf->written;
65373 INT in_GRi = -1;
65374 INT in_GRj = -1;
65375 INT in_ICCi_2 = -1;
65376 INT in_FCCi_2 = -1;
65377 in_FCCi_2 = FLD (in_FCCi_2);
65378 referenced |= 1 << 3;
65379 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65380 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65382 return cycles;
65383 #undef FLD
65386 static int
65387 model_fr400_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
65389 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65391 const IDESC * UNUSED idesc = abuf->idesc;
65392 int cycles = 0;
65394 int referenced = 0;
65395 int UNUSED insn_referenced = abuf->written;
65396 INT in_GRi = -1;
65397 INT in_GRj = -1;
65398 INT in_ICCi_2 = -1;
65399 INT in_FCCi_2 = -1;
65400 in_FCCi_2 = FLD (in_FCCi_2);
65401 referenced |= 1 << 3;
65402 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65403 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65405 return cycles;
65406 #undef FLD
65409 static int
65410 model_fr400_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
65412 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65414 const IDESC * UNUSED idesc = abuf->idesc;
65415 int cycles = 0;
65417 int referenced = 0;
65418 int UNUSED insn_referenced = abuf->written;
65419 INT in_GRi = -1;
65420 INT in_GRj = -1;
65421 INT in_ICCi_2 = -1;
65422 INT in_FCCi_2 = -1;
65423 in_FCCi_2 = FLD (in_FCCi_2);
65424 referenced |= 1 << 3;
65425 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65426 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65428 return cycles;
65429 #undef FLD
65432 static int
65433 model_fr400_fbulr (SIM_CPU *current_cpu, void *sem_arg)
65435 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65437 const IDESC * UNUSED idesc = abuf->idesc;
65438 int cycles = 0;
65440 int referenced = 0;
65441 int UNUSED insn_referenced = abuf->written;
65442 INT in_GRi = -1;
65443 INT in_GRj = -1;
65444 INT in_ICCi_2 = -1;
65445 INT in_FCCi_2 = -1;
65446 in_FCCi_2 = FLD (in_FCCi_2);
65447 referenced |= 1 << 3;
65448 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65449 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65451 return cycles;
65452 #undef FLD
65455 static int
65456 model_fr400_fbolr (SIM_CPU *current_cpu, void *sem_arg)
65458 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65459 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65460 const IDESC * UNUSED idesc = abuf->idesc;
65461 int cycles = 0;
65463 int referenced = 0;
65464 int UNUSED insn_referenced = abuf->written;
65465 INT in_GRi = -1;
65466 INT in_GRj = -1;
65467 INT in_ICCi_2 = -1;
65468 INT in_FCCi_2 = -1;
65469 in_FCCi_2 = FLD (in_FCCi_2);
65470 referenced |= 1 << 3;
65471 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65472 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65474 return cycles;
65475 #undef FLD
65478 static int
65479 model_fr400_bcralr (SIM_CPU *current_cpu, void *sem_arg)
65481 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65482 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65483 const IDESC * UNUSED idesc = abuf->idesc;
65484 int cycles = 0;
65486 int referenced = 0;
65487 int UNUSED insn_referenced = abuf->written;
65488 INT in_GRi = -1;
65489 INT in_GRj = -1;
65490 INT in_ICCi_2 = -1;
65491 INT in_FCCi_2 = -1;
65492 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
65493 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65495 return cycles;
65496 #undef FLD
65499 static int
65500 model_fr400_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
65502 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65503 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65504 const IDESC * UNUSED idesc = abuf->idesc;
65505 int cycles = 0;
65507 int referenced = 0;
65508 int UNUSED insn_referenced = abuf->written;
65509 INT in_GRi = -1;
65510 INT in_GRj = -1;
65511 INT in_ICCi_2 = -1;
65512 INT in_FCCi_2 = -1;
65513 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65515 return cycles;
65516 #undef FLD
65519 static int
65520 model_fr400_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
65522 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65524 const IDESC * UNUSED idesc = abuf->idesc;
65525 int cycles = 0;
65527 int referenced = 0;
65528 int UNUSED insn_referenced = abuf->written;
65529 INT in_GRi = -1;
65530 INT in_GRj = -1;
65531 INT in_ICCi_2 = -1;
65532 INT in_FCCi_2 = -1;
65533 in_ICCi_2 = FLD (in_ICCi_2);
65534 referenced |= 1 << 2;
65535 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65536 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65538 return cycles;
65539 #undef FLD
65542 static int
65543 model_fr400_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
65545 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65547 const IDESC * UNUSED idesc = abuf->idesc;
65548 int cycles = 0;
65550 int referenced = 0;
65551 int UNUSED insn_referenced = abuf->written;
65552 INT in_GRi = -1;
65553 INT in_GRj = -1;
65554 INT in_ICCi_2 = -1;
65555 INT in_FCCi_2 = -1;
65556 in_ICCi_2 = FLD (in_ICCi_2);
65557 referenced |= 1 << 2;
65558 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65559 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65561 return cycles;
65562 #undef FLD
65565 static int
65566 model_fr400_bclelr (SIM_CPU *current_cpu, void *sem_arg)
65568 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65570 const IDESC * UNUSED idesc = abuf->idesc;
65571 int cycles = 0;
65573 int referenced = 0;
65574 int UNUSED insn_referenced = abuf->written;
65575 INT in_GRi = -1;
65576 INT in_GRj = -1;
65577 INT in_ICCi_2 = -1;
65578 INT in_FCCi_2 = -1;
65579 in_ICCi_2 = FLD (in_ICCi_2);
65580 referenced |= 1 << 2;
65581 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65582 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65584 return cycles;
65585 #undef FLD
65588 static int
65589 model_fr400_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
65591 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65593 const IDESC * UNUSED idesc = abuf->idesc;
65594 int cycles = 0;
65596 int referenced = 0;
65597 int UNUSED insn_referenced = abuf->written;
65598 INT in_GRi = -1;
65599 INT in_GRj = -1;
65600 INT in_ICCi_2 = -1;
65601 INT in_FCCi_2 = -1;
65602 in_ICCi_2 = FLD (in_ICCi_2);
65603 referenced |= 1 << 2;
65604 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65605 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65607 return cycles;
65608 #undef FLD
65611 static int
65612 model_fr400_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
65614 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65615 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65616 const IDESC * UNUSED idesc = abuf->idesc;
65617 int cycles = 0;
65619 int referenced = 0;
65620 int UNUSED insn_referenced = abuf->written;
65621 INT in_GRi = -1;
65622 INT in_GRj = -1;
65623 INT in_ICCi_2 = -1;
65624 INT in_FCCi_2 = -1;
65625 in_ICCi_2 = FLD (in_ICCi_2);
65626 referenced |= 1 << 2;
65627 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65628 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65630 return cycles;
65631 #undef FLD
65634 static int
65635 model_fr400_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
65637 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65638 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65639 const IDESC * UNUSED idesc = abuf->idesc;
65640 int cycles = 0;
65642 int referenced = 0;
65643 int UNUSED insn_referenced = abuf->written;
65644 INT in_GRi = -1;
65645 INT in_GRj = -1;
65646 INT in_ICCi_2 = -1;
65647 INT in_FCCi_2 = -1;
65648 in_ICCi_2 = FLD (in_ICCi_2);
65649 referenced |= 1 << 2;
65650 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65651 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65653 return cycles;
65654 #undef FLD
65657 static int
65658 model_fr400_bclslr (SIM_CPU *current_cpu, void *sem_arg)
65660 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65662 const IDESC * UNUSED idesc = abuf->idesc;
65663 int cycles = 0;
65665 int referenced = 0;
65666 int UNUSED insn_referenced = abuf->written;
65667 INT in_GRi = -1;
65668 INT in_GRj = -1;
65669 INT in_ICCi_2 = -1;
65670 INT in_FCCi_2 = -1;
65671 in_ICCi_2 = FLD (in_ICCi_2);
65672 referenced |= 1 << 2;
65673 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65674 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65676 return cycles;
65677 #undef FLD
65680 static int
65681 model_fr400_bchilr (SIM_CPU *current_cpu, void *sem_arg)
65683 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65685 const IDESC * UNUSED idesc = abuf->idesc;
65686 int cycles = 0;
65688 int referenced = 0;
65689 int UNUSED insn_referenced = abuf->written;
65690 INT in_GRi = -1;
65691 INT in_GRj = -1;
65692 INT in_ICCi_2 = -1;
65693 INT in_FCCi_2 = -1;
65694 in_ICCi_2 = FLD (in_ICCi_2);
65695 referenced |= 1 << 2;
65696 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65697 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65699 return cycles;
65700 #undef FLD
65703 static int
65704 model_fr400_bcclr (SIM_CPU *current_cpu, void *sem_arg)
65706 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65708 const IDESC * UNUSED idesc = abuf->idesc;
65709 int cycles = 0;
65711 int referenced = 0;
65712 int UNUSED insn_referenced = abuf->written;
65713 INT in_GRi = -1;
65714 INT in_GRj = -1;
65715 INT in_ICCi_2 = -1;
65716 INT in_FCCi_2 = -1;
65717 in_ICCi_2 = FLD (in_ICCi_2);
65718 referenced |= 1 << 2;
65719 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65720 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65722 return cycles;
65723 #undef FLD
65726 static int
65727 model_fr400_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
65729 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65730 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65731 const IDESC * UNUSED idesc = abuf->idesc;
65732 int cycles = 0;
65734 int referenced = 0;
65735 int UNUSED insn_referenced = abuf->written;
65736 INT in_GRi = -1;
65737 INT in_GRj = -1;
65738 INT in_ICCi_2 = -1;
65739 INT in_FCCi_2 = -1;
65740 in_ICCi_2 = FLD (in_ICCi_2);
65741 referenced |= 1 << 2;
65742 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65743 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65745 return cycles;
65746 #undef FLD
65749 static int
65750 model_fr400_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
65752 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65754 const IDESC * UNUSED idesc = abuf->idesc;
65755 int cycles = 0;
65757 int referenced = 0;
65758 int UNUSED insn_referenced = abuf->written;
65759 INT in_GRi = -1;
65760 INT in_GRj = -1;
65761 INT in_ICCi_2 = -1;
65762 INT in_FCCi_2 = -1;
65763 in_ICCi_2 = FLD (in_ICCi_2);
65764 referenced |= 1 << 2;
65765 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65766 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65768 return cycles;
65769 #undef FLD
65772 static int
65773 model_fr400_bcplr (SIM_CPU *current_cpu, void *sem_arg)
65775 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65777 const IDESC * UNUSED idesc = abuf->idesc;
65778 int cycles = 0;
65780 int referenced = 0;
65781 int UNUSED insn_referenced = abuf->written;
65782 INT in_GRi = -1;
65783 INT in_GRj = -1;
65784 INT in_ICCi_2 = -1;
65785 INT in_FCCi_2 = -1;
65786 in_ICCi_2 = FLD (in_ICCi_2);
65787 referenced |= 1 << 2;
65788 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65789 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65791 return cycles;
65792 #undef FLD
65795 static int
65796 model_fr400_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
65798 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65800 const IDESC * UNUSED idesc = abuf->idesc;
65801 int cycles = 0;
65803 int referenced = 0;
65804 int UNUSED insn_referenced = abuf->written;
65805 INT in_GRi = -1;
65806 INT in_GRj = -1;
65807 INT in_ICCi_2 = -1;
65808 INT in_FCCi_2 = -1;
65809 in_ICCi_2 = FLD (in_ICCi_2);
65810 referenced |= 1 << 2;
65811 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65812 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65814 return cycles;
65815 #undef FLD
65818 static int
65819 model_fr400_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
65821 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65822 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65823 const IDESC * UNUSED idesc = abuf->idesc;
65824 int cycles = 0;
65826 int referenced = 0;
65827 int UNUSED insn_referenced = abuf->written;
65828 INT in_GRi = -1;
65829 INT in_GRj = -1;
65830 INT in_ICCi_2 = -1;
65831 INT in_FCCi_2 = -1;
65832 in_ICCi_2 = FLD (in_ICCi_2);
65833 referenced |= 1 << 2;
65834 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65835 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65837 return cycles;
65838 #undef FLD
65841 static int
65842 model_fr400_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
65844 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65846 const IDESC * UNUSED idesc = abuf->idesc;
65847 int cycles = 0;
65849 int referenced = 0;
65850 int UNUSED insn_referenced = abuf->written;
65851 INT in_GRi = -1;
65852 INT in_GRj = -1;
65853 INT in_ICCi_2 = -1;
65854 INT in_FCCi_2 = -1;
65855 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
65856 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65858 return cycles;
65859 #undef FLD
65862 static int
65863 model_fr400_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
65865 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65866 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65867 const IDESC * UNUSED idesc = abuf->idesc;
65868 int cycles = 0;
65870 int referenced = 0;
65871 int UNUSED insn_referenced = abuf->written;
65872 INT in_GRi = -1;
65873 INT in_GRj = -1;
65874 INT in_ICCi_2 = -1;
65875 INT in_FCCi_2 = -1;
65876 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65878 return cycles;
65879 #undef FLD
65882 static int
65883 model_fr400_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
65885 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65887 const IDESC * UNUSED idesc = abuf->idesc;
65888 int cycles = 0;
65890 int referenced = 0;
65891 int UNUSED insn_referenced = abuf->written;
65892 INT in_GRi = -1;
65893 INT in_GRj = -1;
65894 INT in_ICCi_2 = -1;
65895 INT in_FCCi_2 = -1;
65896 in_FCCi_2 = FLD (in_FCCi_2);
65897 referenced |= 1 << 3;
65898 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65899 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65901 return cycles;
65902 #undef FLD
65905 static int
65906 model_fr400_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
65908 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65910 const IDESC * UNUSED idesc = abuf->idesc;
65911 int cycles = 0;
65913 int referenced = 0;
65914 int UNUSED insn_referenced = abuf->written;
65915 INT in_GRi = -1;
65916 INT in_GRj = -1;
65917 INT in_ICCi_2 = -1;
65918 INT in_FCCi_2 = -1;
65919 in_FCCi_2 = FLD (in_FCCi_2);
65920 referenced |= 1 << 3;
65921 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65922 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65924 return cycles;
65925 #undef FLD
65928 static int
65929 model_fr400_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
65931 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65933 const IDESC * UNUSED idesc = abuf->idesc;
65934 int cycles = 0;
65936 int referenced = 0;
65937 int UNUSED insn_referenced = abuf->written;
65938 INT in_GRi = -1;
65939 INT in_GRj = -1;
65940 INT in_ICCi_2 = -1;
65941 INT in_FCCi_2 = -1;
65942 in_FCCi_2 = FLD (in_FCCi_2);
65943 referenced |= 1 << 3;
65944 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65945 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65947 return cycles;
65948 #undef FLD
65951 static int
65952 model_fr400_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
65954 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65956 const IDESC * UNUSED idesc = abuf->idesc;
65957 int cycles = 0;
65959 int referenced = 0;
65960 int UNUSED insn_referenced = abuf->written;
65961 INT in_GRi = -1;
65962 INT in_GRj = -1;
65963 INT in_ICCi_2 = -1;
65964 INT in_FCCi_2 = -1;
65965 in_FCCi_2 = FLD (in_FCCi_2);
65966 referenced |= 1 << 3;
65967 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65968 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65970 return cycles;
65971 #undef FLD
65974 static int
65975 model_fr400_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
65977 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65978 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65979 const IDESC * UNUSED idesc = abuf->idesc;
65980 int cycles = 0;
65982 int referenced = 0;
65983 int UNUSED insn_referenced = abuf->written;
65984 INT in_GRi = -1;
65985 INT in_GRj = -1;
65986 INT in_ICCi_2 = -1;
65987 INT in_FCCi_2 = -1;
65988 in_FCCi_2 = FLD (in_FCCi_2);
65989 referenced |= 1 << 3;
65990 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65991 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65993 return cycles;
65994 #undef FLD
65997 static int
65998 model_fr400_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
66000 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66002 const IDESC * UNUSED idesc = abuf->idesc;
66003 int cycles = 0;
66005 int referenced = 0;
66006 int UNUSED insn_referenced = abuf->written;
66007 INT in_GRi = -1;
66008 INT in_GRj = -1;
66009 INT in_ICCi_2 = -1;
66010 INT in_FCCi_2 = -1;
66011 in_FCCi_2 = FLD (in_FCCi_2);
66012 referenced |= 1 << 3;
66013 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66014 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66016 return cycles;
66017 #undef FLD
66020 static int
66021 model_fr400_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
66023 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66025 const IDESC * UNUSED idesc = abuf->idesc;
66026 int cycles = 0;
66028 int referenced = 0;
66029 int UNUSED insn_referenced = abuf->written;
66030 INT in_GRi = -1;
66031 INT in_GRj = -1;
66032 INT in_ICCi_2 = -1;
66033 INT in_FCCi_2 = -1;
66034 in_FCCi_2 = FLD (in_FCCi_2);
66035 referenced |= 1 << 3;
66036 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66037 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66039 return cycles;
66040 #undef FLD
66043 static int
66044 model_fr400_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
66046 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66048 const IDESC * UNUSED idesc = abuf->idesc;
66049 int cycles = 0;
66051 int referenced = 0;
66052 int UNUSED insn_referenced = abuf->written;
66053 INT in_GRi = -1;
66054 INT in_GRj = -1;
66055 INT in_ICCi_2 = -1;
66056 INT in_FCCi_2 = -1;
66057 in_FCCi_2 = FLD (in_FCCi_2);
66058 referenced |= 1 << 3;
66059 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66060 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66062 return cycles;
66063 #undef FLD
66066 static int
66067 model_fr400_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
66069 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66070 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66071 const IDESC * UNUSED idesc = abuf->idesc;
66072 int cycles = 0;
66074 int referenced = 0;
66075 int UNUSED insn_referenced = abuf->written;
66076 INT in_GRi = -1;
66077 INT in_GRj = -1;
66078 INT in_ICCi_2 = -1;
66079 INT in_FCCi_2 = -1;
66080 in_FCCi_2 = FLD (in_FCCi_2);
66081 referenced |= 1 << 3;
66082 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66083 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66085 return cycles;
66086 #undef FLD
66089 static int
66090 model_fr400_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
66092 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66094 const IDESC * UNUSED idesc = abuf->idesc;
66095 int cycles = 0;
66097 int referenced = 0;
66098 int UNUSED insn_referenced = abuf->written;
66099 INT in_GRi = -1;
66100 INT in_GRj = -1;
66101 INT in_ICCi_2 = -1;
66102 INT in_FCCi_2 = -1;
66103 in_FCCi_2 = FLD (in_FCCi_2);
66104 referenced |= 1 << 3;
66105 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66106 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66108 return cycles;
66109 #undef FLD
66112 static int
66113 model_fr400_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
66115 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66117 const IDESC * UNUSED idesc = abuf->idesc;
66118 int cycles = 0;
66120 int referenced = 0;
66121 int UNUSED insn_referenced = abuf->written;
66122 INT in_GRi = -1;
66123 INT in_GRj = -1;
66124 INT in_ICCi_2 = -1;
66125 INT in_FCCi_2 = -1;
66126 in_FCCi_2 = FLD (in_FCCi_2);
66127 referenced |= 1 << 3;
66128 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66129 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66131 return cycles;
66132 #undef FLD
66135 static int
66136 model_fr400_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
66138 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66139 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66140 const IDESC * UNUSED idesc = abuf->idesc;
66141 int cycles = 0;
66143 int referenced = 0;
66144 int UNUSED insn_referenced = abuf->written;
66145 INT in_GRi = -1;
66146 INT in_GRj = -1;
66147 INT in_ICCi_2 = -1;
66148 INT in_FCCi_2 = -1;
66149 in_FCCi_2 = FLD (in_FCCi_2);
66150 referenced |= 1 << 3;
66151 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66152 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66154 return cycles;
66155 #undef FLD
66158 static int
66159 model_fr400_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
66161 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66162 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66163 const IDESC * UNUSED idesc = abuf->idesc;
66164 int cycles = 0;
66166 int referenced = 0;
66167 int UNUSED insn_referenced = abuf->written;
66168 INT in_GRi = -1;
66169 INT in_GRj = -1;
66170 INT in_ICCi_2 = -1;
66171 INT in_FCCi_2 = -1;
66172 in_FCCi_2 = FLD (in_FCCi_2);
66173 referenced |= 1 << 3;
66174 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66175 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66177 return cycles;
66178 #undef FLD
66181 static int
66182 model_fr400_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
66184 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66186 const IDESC * UNUSED idesc = abuf->idesc;
66187 int cycles = 0;
66189 int referenced = 0;
66190 int UNUSED insn_referenced = abuf->written;
66191 INT in_GRi = -1;
66192 INT in_GRj = -1;
66193 INT in_ICCi_2 = -1;
66194 INT in_FCCi_2 = -1;
66195 in_FCCi_2 = FLD (in_FCCi_2);
66196 referenced |= 1 << 3;
66197 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66198 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66200 return cycles;
66201 #undef FLD
66204 static int
66205 model_fr400_jmpl (SIM_CPU *current_cpu, void *sem_arg)
66207 #define FLD(f) abuf->fields.sfmt_cjmpl.f
66208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66209 const IDESC * UNUSED idesc = abuf->idesc;
66210 int cycles = 0;
66212 int referenced = 0;
66213 int UNUSED insn_referenced = abuf->written;
66214 INT in_GRi = -1;
66215 INT in_GRj = -1;
66216 INT in_ICCi_2 = -1;
66217 INT in_FCCi_2 = -1;
66218 in_GRi = FLD (in_GRi);
66219 in_GRj = FLD (in_GRj);
66220 referenced |= 1 << 0;
66221 referenced |= 1 << 1;
66222 referenced |= 1 << 4;
66223 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66225 return cycles;
66226 #undef FLD
66229 static int
66230 model_fr400_calll (SIM_CPU *current_cpu, void *sem_arg)
66232 #define FLD(f) abuf->fields.sfmt_cjmpl.f
66233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66234 const IDESC * UNUSED idesc = abuf->idesc;
66235 int cycles = 0;
66237 int referenced = 0;
66238 int UNUSED insn_referenced = abuf->written;
66239 INT in_GRi = -1;
66240 INT in_GRj = -1;
66241 INT in_ICCi_2 = -1;
66242 INT in_FCCi_2 = -1;
66243 in_GRi = FLD (in_GRi);
66244 in_GRj = FLD (in_GRj);
66245 referenced |= 1 << 0;
66246 referenced |= 1 << 1;
66247 referenced |= 1 << 4;
66248 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66250 return cycles;
66251 #undef FLD
66254 static int
66255 model_fr400_jmpil (SIM_CPU *current_cpu, void *sem_arg)
66257 #define FLD(f) abuf->fields.sfmt_jmpil.f
66258 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66259 const IDESC * UNUSED idesc = abuf->idesc;
66260 int cycles = 0;
66262 int referenced = 0;
66263 int UNUSED insn_referenced = abuf->written;
66264 INT in_GRi = -1;
66265 INT in_GRj = -1;
66266 INT in_ICCi_2 = -1;
66267 INT in_FCCi_2 = -1;
66268 in_GRi = FLD (in_GRi);
66269 referenced |= 1 << 0;
66270 referenced |= 1 << 4;
66271 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66273 return cycles;
66274 #undef FLD
66277 static int
66278 model_fr400_callil (SIM_CPU *current_cpu, void *sem_arg)
66280 #define FLD(f) abuf->fields.sfmt_jmpil.f
66281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66282 const IDESC * UNUSED idesc = abuf->idesc;
66283 int cycles = 0;
66285 int referenced = 0;
66286 int UNUSED insn_referenced = abuf->written;
66287 INT in_GRi = -1;
66288 INT in_GRj = -1;
66289 INT in_ICCi_2 = -1;
66290 INT in_FCCi_2 = -1;
66291 in_GRi = FLD (in_GRi);
66292 referenced |= 1 << 0;
66293 referenced |= 1 << 4;
66294 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66296 return cycles;
66297 #undef FLD
66300 static int
66301 model_fr400_call (SIM_CPU *current_cpu, void *sem_arg)
66303 #define FLD(f) abuf->fields.sfmt_call.f
66304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66305 const IDESC * UNUSED idesc = abuf->idesc;
66306 int cycles = 0;
66308 int referenced = 0;
66309 int UNUSED insn_referenced = abuf->written;
66310 INT in_GRi = -1;
66311 INT in_GRj = -1;
66312 INT in_ICCi_2 = -1;
66313 INT in_FCCi_2 = -1;
66314 referenced |= 1 << 4;
66315 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66317 return cycles;
66318 #undef FLD
66321 static int
66322 model_fr400_rett (SIM_CPU *current_cpu, void *sem_arg)
66324 #define FLD(f) abuf->fields.sfmt_rett.f
66325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66326 const IDESC * UNUSED idesc = abuf->idesc;
66327 int cycles = 0;
66329 int referenced = 0;
66330 int UNUSED insn_referenced = abuf->written;
66331 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
66333 return cycles;
66334 #undef FLD
66337 static int
66338 model_fr400_rei (SIM_CPU *current_cpu, void *sem_arg)
66340 #define FLD(f) abuf->fields.sfmt_empty.f
66341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66342 const IDESC * UNUSED idesc = abuf->idesc;
66343 int cycles = 0;
66345 int referenced = 0;
66346 int UNUSED insn_referenced = abuf->written;
66347 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
66349 return cycles;
66350 #undef FLD
66353 static int
66354 model_fr400_tra (SIM_CPU *current_cpu, void *sem_arg)
66356 #define FLD(f) abuf->fields.sfmt_ftne.f
66357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66358 const IDESC * UNUSED idesc = abuf->idesc;
66359 int cycles = 0;
66361 int referenced = 0;
66362 int UNUSED insn_referenced = abuf->written;
66363 INT in_GRi = -1;
66364 INT in_GRj = -1;
66365 INT in_ICCi_2 = -1;
66366 INT in_FCCi_2 = -1;
66367 in_GRi = FLD (in_GRi);
66368 in_GRj = FLD (in_GRj);
66369 referenced |= 1 << 0;
66370 referenced |= 1 << 1;
66371 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66373 return cycles;
66374 #undef FLD
66377 static int
66378 model_fr400_tno (SIM_CPU *current_cpu, void *sem_arg)
66380 #define FLD(f) abuf->fields.sfmt_empty.f
66381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66382 const IDESC * UNUSED idesc = abuf->idesc;
66383 int cycles = 0;
66385 int referenced = 0;
66386 int UNUSED insn_referenced = abuf->written;
66387 INT in_GRi = -1;
66388 INT in_GRj = -1;
66389 INT in_ICCi_2 = -1;
66390 INT in_FCCi_2 = -1;
66391 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66393 return cycles;
66394 #undef FLD
66397 static int
66398 model_fr400_teq (SIM_CPU *current_cpu, void *sem_arg)
66400 #define FLD(f) abuf->fields.sfmt_teq.f
66401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66402 const IDESC * UNUSED idesc = abuf->idesc;
66403 int cycles = 0;
66405 int referenced = 0;
66406 int UNUSED insn_referenced = abuf->written;
66407 INT in_GRi = -1;
66408 INT in_GRj = -1;
66409 INT in_ICCi_2 = -1;
66410 INT in_FCCi_2 = -1;
66411 in_GRi = FLD (in_GRi);
66412 in_GRj = FLD (in_GRj);
66413 in_ICCi_2 = FLD (in_ICCi_2);
66414 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66415 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66416 referenced |= 1 << 2;
66417 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66419 return cycles;
66420 #undef FLD
66423 static int
66424 model_fr400_tne (SIM_CPU *current_cpu, void *sem_arg)
66426 #define FLD(f) abuf->fields.sfmt_teq.f
66427 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66428 const IDESC * UNUSED idesc = abuf->idesc;
66429 int cycles = 0;
66431 int referenced = 0;
66432 int UNUSED insn_referenced = abuf->written;
66433 INT in_GRi = -1;
66434 INT in_GRj = -1;
66435 INT in_ICCi_2 = -1;
66436 INT in_FCCi_2 = -1;
66437 in_GRi = FLD (in_GRi);
66438 in_GRj = FLD (in_GRj);
66439 in_ICCi_2 = FLD (in_ICCi_2);
66440 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66441 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66442 referenced |= 1 << 2;
66443 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66445 return cycles;
66446 #undef FLD
66449 static int
66450 model_fr400_tle (SIM_CPU *current_cpu, void *sem_arg)
66452 #define FLD(f) abuf->fields.sfmt_teq.f
66453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66454 const IDESC * UNUSED idesc = abuf->idesc;
66455 int cycles = 0;
66457 int referenced = 0;
66458 int UNUSED insn_referenced = abuf->written;
66459 INT in_GRi = -1;
66460 INT in_GRj = -1;
66461 INT in_ICCi_2 = -1;
66462 INT in_FCCi_2 = -1;
66463 in_GRi = FLD (in_GRi);
66464 in_GRj = FLD (in_GRj);
66465 in_ICCi_2 = FLD (in_ICCi_2);
66466 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66467 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66468 referenced |= 1 << 2;
66469 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66471 return cycles;
66472 #undef FLD
66475 static int
66476 model_fr400_tgt (SIM_CPU *current_cpu, void *sem_arg)
66478 #define FLD(f) abuf->fields.sfmt_teq.f
66479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66480 const IDESC * UNUSED idesc = abuf->idesc;
66481 int cycles = 0;
66483 int referenced = 0;
66484 int UNUSED insn_referenced = abuf->written;
66485 INT in_GRi = -1;
66486 INT in_GRj = -1;
66487 INT in_ICCi_2 = -1;
66488 INT in_FCCi_2 = -1;
66489 in_GRi = FLD (in_GRi);
66490 in_GRj = FLD (in_GRj);
66491 in_ICCi_2 = FLD (in_ICCi_2);
66492 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66493 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66494 referenced |= 1 << 2;
66495 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66497 return cycles;
66498 #undef FLD
66501 static int
66502 model_fr400_tlt (SIM_CPU *current_cpu, void *sem_arg)
66504 #define FLD(f) abuf->fields.sfmt_teq.f
66505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66506 const IDESC * UNUSED idesc = abuf->idesc;
66507 int cycles = 0;
66509 int referenced = 0;
66510 int UNUSED insn_referenced = abuf->written;
66511 INT in_GRi = -1;
66512 INT in_GRj = -1;
66513 INT in_ICCi_2 = -1;
66514 INT in_FCCi_2 = -1;
66515 in_GRi = FLD (in_GRi);
66516 in_GRj = FLD (in_GRj);
66517 in_ICCi_2 = FLD (in_ICCi_2);
66518 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66519 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66520 referenced |= 1 << 2;
66521 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66523 return cycles;
66524 #undef FLD
66527 static int
66528 model_fr400_tge (SIM_CPU *current_cpu, void *sem_arg)
66530 #define FLD(f) abuf->fields.sfmt_teq.f
66531 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66532 const IDESC * UNUSED idesc = abuf->idesc;
66533 int cycles = 0;
66535 int referenced = 0;
66536 int UNUSED insn_referenced = abuf->written;
66537 INT in_GRi = -1;
66538 INT in_GRj = -1;
66539 INT in_ICCi_2 = -1;
66540 INT in_FCCi_2 = -1;
66541 in_GRi = FLD (in_GRi);
66542 in_GRj = FLD (in_GRj);
66543 in_ICCi_2 = FLD (in_ICCi_2);
66544 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66545 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66546 referenced |= 1 << 2;
66547 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66549 return cycles;
66550 #undef FLD
66553 static int
66554 model_fr400_tls (SIM_CPU *current_cpu, void *sem_arg)
66556 #define FLD(f) abuf->fields.sfmt_teq.f
66557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66558 const IDESC * UNUSED idesc = abuf->idesc;
66559 int cycles = 0;
66561 int referenced = 0;
66562 int UNUSED insn_referenced = abuf->written;
66563 INT in_GRi = -1;
66564 INT in_GRj = -1;
66565 INT in_ICCi_2 = -1;
66566 INT in_FCCi_2 = -1;
66567 in_GRi = FLD (in_GRi);
66568 in_GRj = FLD (in_GRj);
66569 in_ICCi_2 = FLD (in_ICCi_2);
66570 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66571 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66572 referenced |= 1 << 2;
66573 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66575 return cycles;
66576 #undef FLD
66579 static int
66580 model_fr400_thi (SIM_CPU *current_cpu, void *sem_arg)
66582 #define FLD(f) abuf->fields.sfmt_teq.f
66583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66584 const IDESC * UNUSED idesc = abuf->idesc;
66585 int cycles = 0;
66587 int referenced = 0;
66588 int UNUSED insn_referenced = abuf->written;
66589 INT in_GRi = -1;
66590 INT in_GRj = -1;
66591 INT in_ICCi_2 = -1;
66592 INT in_FCCi_2 = -1;
66593 in_GRi = FLD (in_GRi);
66594 in_GRj = FLD (in_GRj);
66595 in_ICCi_2 = FLD (in_ICCi_2);
66596 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66597 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66598 referenced |= 1 << 2;
66599 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66601 return cycles;
66602 #undef FLD
66605 static int
66606 model_fr400_tc (SIM_CPU *current_cpu, void *sem_arg)
66608 #define FLD(f) abuf->fields.sfmt_teq.f
66609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66610 const IDESC * UNUSED idesc = abuf->idesc;
66611 int cycles = 0;
66613 int referenced = 0;
66614 int UNUSED insn_referenced = abuf->written;
66615 INT in_GRi = -1;
66616 INT in_GRj = -1;
66617 INT in_ICCi_2 = -1;
66618 INT in_FCCi_2 = -1;
66619 in_GRi = FLD (in_GRi);
66620 in_GRj = FLD (in_GRj);
66621 in_ICCi_2 = FLD (in_ICCi_2);
66622 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66623 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66624 referenced |= 1 << 2;
66625 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66627 return cycles;
66628 #undef FLD
66631 static int
66632 model_fr400_tnc (SIM_CPU *current_cpu, void *sem_arg)
66634 #define FLD(f) abuf->fields.sfmt_teq.f
66635 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66636 const IDESC * UNUSED idesc = abuf->idesc;
66637 int cycles = 0;
66639 int referenced = 0;
66640 int UNUSED insn_referenced = abuf->written;
66641 INT in_GRi = -1;
66642 INT in_GRj = -1;
66643 INT in_ICCi_2 = -1;
66644 INT in_FCCi_2 = -1;
66645 in_GRi = FLD (in_GRi);
66646 in_GRj = FLD (in_GRj);
66647 in_ICCi_2 = FLD (in_ICCi_2);
66648 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66649 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66650 referenced |= 1 << 2;
66651 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66653 return cycles;
66654 #undef FLD
66657 static int
66658 model_fr400_tn (SIM_CPU *current_cpu, void *sem_arg)
66660 #define FLD(f) abuf->fields.sfmt_teq.f
66661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66662 const IDESC * UNUSED idesc = abuf->idesc;
66663 int cycles = 0;
66665 int referenced = 0;
66666 int UNUSED insn_referenced = abuf->written;
66667 INT in_GRi = -1;
66668 INT in_GRj = -1;
66669 INT in_ICCi_2 = -1;
66670 INT in_FCCi_2 = -1;
66671 in_GRi = FLD (in_GRi);
66672 in_GRj = FLD (in_GRj);
66673 in_ICCi_2 = FLD (in_ICCi_2);
66674 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66675 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66676 referenced |= 1 << 2;
66677 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66679 return cycles;
66680 #undef FLD
66683 static int
66684 model_fr400_tp (SIM_CPU *current_cpu, void *sem_arg)
66686 #define FLD(f) abuf->fields.sfmt_teq.f
66687 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66688 const IDESC * UNUSED idesc = abuf->idesc;
66689 int cycles = 0;
66691 int referenced = 0;
66692 int UNUSED insn_referenced = abuf->written;
66693 INT in_GRi = -1;
66694 INT in_GRj = -1;
66695 INT in_ICCi_2 = -1;
66696 INT in_FCCi_2 = -1;
66697 in_GRi = FLD (in_GRi);
66698 in_GRj = FLD (in_GRj);
66699 in_ICCi_2 = FLD (in_ICCi_2);
66700 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66701 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66702 referenced |= 1 << 2;
66703 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66705 return cycles;
66706 #undef FLD
66709 static int
66710 model_fr400_tv (SIM_CPU *current_cpu, void *sem_arg)
66712 #define FLD(f) abuf->fields.sfmt_teq.f
66713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66714 const IDESC * UNUSED idesc = abuf->idesc;
66715 int cycles = 0;
66717 int referenced = 0;
66718 int UNUSED insn_referenced = abuf->written;
66719 INT in_GRi = -1;
66720 INT in_GRj = -1;
66721 INT in_ICCi_2 = -1;
66722 INT in_FCCi_2 = -1;
66723 in_GRi = FLD (in_GRi);
66724 in_GRj = FLD (in_GRj);
66725 in_ICCi_2 = FLD (in_ICCi_2);
66726 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66727 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66728 referenced |= 1 << 2;
66729 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66731 return cycles;
66732 #undef FLD
66735 static int
66736 model_fr400_tnv (SIM_CPU *current_cpu, void *sem_arg)
66738 #define FLD(f) abuf->fields.sfmt_teq.f
66739 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66740 const IDESC * UNUSED idesc = abuf->idesc;
66741 int cycles = 0;
66743 int referenced = 0;
66744 int UNUSED insn_referenced = abuf->written;
66745 INT in_GRi = -1;
66746 INT in_GRj = -1;
66747 INT in_ICCi_2 = -1;
66748 INT in_FCCi_2 = -1;
66749 in_GRi = FLD (in_GRi);
66750 in_GRj = FLD (in_GRj);
66751 in_ICCi_2 = FLD (in_ICCi_2);
66752 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66753 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66754 referenced |= 1 << 2;
66755 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66757 return cycles;
66758 #undef FLD
66761 static int
66762 model_fr400_ftra (SIM_CPU *current_cpu, void *sem_arg)
66764 #define FLD(f) abuf->fields.sfmt_ftne.f
66765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66766 const IDESC * UNUSED idesc = abuf->idesc;
66767 int cycles = 0;
66769 int referenced = 0;
66770 int UNUSED insn_referenced = abuf->written;
66771 INT in_GRi = -1;
66772 INT in_GRj = -1;
66773 INT in_ICCi_2 = -1;
66774 INT in_FCCi_2 = -1;
66775 in_GRi = FLD (in_GRi);
66776 in_GRj = FLD (in_GRj);
66777 referenced |= 1 << 0;
66778 referenced |= 1 << 1;
66779 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66781 return cycles;
66782 #undef FLD
66785 static int
66786 model_fr400_ftno (SIM_CPU *current_cpu, void *sem_arg)
66788 #define FLD(f) abuf->fields.sfmt_empty.f
66789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66790 const IDESC * UNUSED idesc = abuf->idesc;
66791 int cycles = 0;
66793 int referenced = 0;
66794 int UNUSED insn_referenced = abuf->written;
66795 INT in_GRi = -1;
66796 INT in_GRj = -1;
66797 INT in_ICCi_2 = -1;
66798 INT in_FCCi_2 = -1;
66799 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66801 return cycles;
66802 #undef FLD
66805 static int
66806 model_fr400_ftne (SIM_CPU *current_cpu, void *sem_arg)
66808 #define FLD(f) abuf->fields.sfmt_ftne.f
66809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66810 const IDESC * UNUSED idesc = abuf->idesc;
66811 int cycles = 0;
66813 int referenced = 0;
66814 int UNUSED insn_referenced = abuf->written;
66815 INT in_GRi = -1;
66816 INT in_GRj = -1;
66817 INT in_ICCi_2 = -1;
66818 INT in_FCCi_2 = -1;
66819 in_GRi = FLD (in_GRi);
66820 in_GRj = FLD (in_GRj);
66821 in_FCCi_2 = FLD (in_FCCi_2);
66822 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66823 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66824 referenced |= 1 << 3;
66825 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66827 return cycles;
66828 #undef FLD
66831 static int
66832 model_fr400_fteq (SIM_CPU *current_cpu, void *sem_arg)
66834 #define FLD(f) abuf->fields.sfmt_ftne.f
66835 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66836 const IDESC * UNUSED idesc = abuf->idesc;
66837 int cycles = 0;
66839 int referenced = 0;
66840 int UNUSED insn_referenced = abuf->written;
66841 INT in_GRi = -1;
66842 INT in_GRj = -1;
66843 INT in_ICCi_2 = -1;
66844 INT in_FCCi_2 = -1;
66845 in_GRi = FLD (in_GRi);
66846 in_GRj = FLD (in_GRj);
66847 in_FCCi_2 = FLD (in_FCCi_2);
66848 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66849 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66850 referenced |= 1 << 3;
66851 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66853 return cycles;
66854 #undef FLD
66857 static int
66858 model_fr400_ftlg (SIM_CPU *current_cpu, void *sem_arg)
66860 #define FLD(f) abuf->fields.sfmt_ftne.f
66861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66862 const IDESC * UNUSED idesc = abuf->idesc;
66863 int cycles = 0;
66865 int referenced = 0;
66866 int UNUSED insn_referenced = abuf->written;
66867 INT in_GRi = -1;
66868 INT in_GRj = -1;
66869 INT in_ICCi_2 = -1;
66870 INT in_FCCi_2 = -1;
66871 in_GRi = FLD (in_GRi);
66872 in_GRj = FLD (in_GRj);
66873 in_FCCi_2 = FLD (in_FCCi_2);
66874 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66875 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66876 referenced |= 1 << 3;
66877 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66879 return cycles;
66880 #undef FLD
66883 static int
66884 model_fr400_ftue (SIM_CPU *current_cpu, void *sem_arg)
66886 #define FLD(f) abuf->fields.sfmt_ftne.f
66887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66888 const IDESC * UNUSED idesc = abuf->idesc;
66889 int cycles = 0;
66891 int referenced = 0;
66892 int UNUSED insn_referenced = abuf->written;
66893 INT in_GRi = -1;
66894 INT in_GRj = -1;
66895 INT in_ICCi_2 = -1;
66896 INT in_FCCi_2 = -1;
66897 in_GRi = FLD (in_GRi);
66898 in_GRj = FLD (in_GRj);
66899 in_FCCi_2 = FLD (in_FCCi_2);
66900 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66901 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66902 referenced |= 1 << 3;
66903 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66905 return cycles;
66906 #undef FLD
66909 static int
66910 model_fr400_ftul (SIM_CPU *current_cpu, void *sem_arg)
66912 #define FLD(f) abuf->fields.sfmt_ftne.f
66913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66914 const IDESC * UNUSED idesc = abuf->idesc;
66915 int cycles = 0;
66917 int referenced = 0;
66918 int UNUSED insn_referenced = abuf->written;
66919 INT in_GRi = -1;
66920 INT in_GRj = -1;
66921 INT in_ICCi_2 = -1;
66922 INT in_FCCi_2 = -1;
66923 in_GRi = FLD (in_GRi);
66924 in_GRj = FLD (in_GRj);
66925 in_FCCi_2 = FLD (in_FCCi_2);
66926 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66927 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66928 referenced |= 1 << 3;
66929 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66931 return cycles;
66932 #undef FLD
66935 static int
66936 model_fr400_ftge (SIM_CPU *current_cpu, void *sem_arg)
66938 #define FLD(f) abuf->fields.sfmt_ftne.f
66939 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66940 const IDESC * UNUSED idesc = abuf->idesc;
66941 int cycles = 0;
66943 int referenced = 0;
66944 int UNUSED insn_referenced = abuf->written;
66945 INT in_GRi = -1;
66946 INT in_GRj = -1;
66947 INT in_ICCi_2 = -1;
66948 INT in_FCCi_2 = -1;
66949 in_GRi = FLD (in_GRi);
66950 in_GRj = FLD (in_GRj);
66951 in_FCCi_2 = FLD (in_FCCi_2);
66952 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66953 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66954 referenced |= 1 << 3;
66955 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66957 return cycles;
66958 #undef FLD
66961 static int
66962 model_fr400_ftlt (SIM_CPU *current_cpu, void *sem_arg)
66964 #define FLD(f) abuf->fields.sfmt_ftne.f
66965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66966 const IDESC * UNUSED idesc = abuf->idesc;
66967 int cycles = 0;
66969 int referenced = 0;
66970 int UNUSED insn_referenced = abuf->written;
66971 INT in_GRi = -1;
66972 INT in_GRj = -1;
66973 INT in_ICCi_2 = -1;
66974 INT in_FCCi_2 = -1;
66975 in_GRi = FLD (in_GRi);
66976 in_GRj = FLD (in_GRj);
66977 in_FCCi_2 = FLD (in_FCCi_2);
66978 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66979 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66980 referenced |= 1 << 3;
66981 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66983 return cycles;
66984 #undef FLD
66987 static int
66988 model_fr400_ftuge (SIM_CPU *current_cpu, void *sem_arg)
66990 #define FLD(f) abuf->fields.sfmt_ftne.f
66991 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66992 const IDESC * UNUSED idesc = abuf->idesc;
66993 int cycles = 0;
66995 int referenced = 0;
66996 int UNUSED insn_referenced = abuf->written;
66997 INT in_GRi = -1;
66998 INT in_GRj = -1;
66999 INT in_ICCi_2 = -1;
67000 INT in_FCCi_2 = -1;
67001 in_GRi = FLD (in_GRi);
67002 in_GRj = FLD (in_GRj);
67003 in_FCCi_2 = FLD (in_FCCi_2);
67004 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67005 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67006 referenced |= 1 << 3;
67007 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67009 return cycles;
67010 #undef FLD
67013 static int
67014 model_fr400_ftug (SIM_CPU *current_cpu, void *sem_arg)
67016 #define FLD(f) abuf->fields.sfmt_ftne.f
67017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67018 const IDESC * UNUSED idesc = abuf->idesc;
67019 int cycles = 0;
67021 int referenced = 0;
67022 int UNUSED insn_referenced = abuf->written;
67023 INT in_GRi = -1;
67024 INT in_GRj = -1;
67025 INT in_ICCi_2 = -1;
67026 INT in_FCCi_2 = -1;
67027 in_GRi = FLD (in_GRi);
67028 in_GRj = FLD (in_GRj);
67029 in_FCCi_2 = FLD (in_FCCi_2);
67030 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67031 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67032 referenced |= 1 << 3;
67033 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67035 return cycles;
67036 #undef FLD
67039 static int
67040 model_fr400_ftle (SIM_CPU *current_cpu, void *sem_arg)
67042 #define FLD(f) abuf->fields.sfmt_ftne.f
67043 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67044 const IDESC * UNUSED idesc = abuf->idesc;
67045 int cycles = 0;
67047 int referenced = 0;
67048 int UNUSED insn_referenced = abuf->written;
67049 INT in_GRi = -1;
67050 INT in_GRj = -1;
67051 INT in_ICCi_2 = -1;
67052 INT in_FCCi_2 = -1;
67053 in_GRi = FLD (in_GRi);
67054 in_GRj = FLD (in_GRj);
67055 in_FCCi_2 = FLD (in_FCCi_2);
67056 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67057 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67058 referenced |= 1 << 3;
67059 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67061 return cycles;
67062 #undef FLD
67065 static int
67066 model_fr400_ftgt (SIM_CPU *current_cpu, void *sem_arg)
67068 #define FLD(f) abuf->fields.sfmt_ftne.f
67069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67070 const IDESC * UNUSED idesc = abuf->idesc;
67071 int cycles = 0;
67073 int referenced = 0;
67074 int UNUSED insn_referenced = abuf->written;
67075 INT in_GRi = -1;
67076 INT in_GRj = -1;
67077 INT in_ICCi_2 = -1;
67078 INT in_FCCi_2 = -1;
67079 in_GRi = FLD (in_GRi);
67080 in_GRj = FLD (in_GRj);
67081 in_FCCi_2 = FLD (in_FCCi_2);
67082 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67083 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67084 referenced |= 1 << 3;
67085 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67087 return cycles;
67088 #undef FLD
67091 static int
67092 model_fr400_ftule (SIM_CPU *current_cpu, void *sem_arg)
67094 #define FLD(f) abuf->fields.sfmt_ftne.f
67095 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67096 const IDESC * UNUSED idesc = abuf->idesc;
67097 int cycles = 0;
67099 int referenced = 0;
67100 int UNUSED insn_referenced = abuf->written;
67101 INT in_GRi = -1;
67102 INT in_GRj = -1;
67103 INT in_ICCi_2 = -1;
67104 INT in_FCCi_2 = -1;
67105 in_GRi = FLD (in_GRi);
67106 in_GRj = FLD (in_GRj);
67107 in_FCCi_2 = FLD (in_FCCi_2);
67108 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67109 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67110 referenced |= 1 << 3;
67111 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67113 return cycles;
67114 #undef FLD
67117 static int
67118 model_fr400_ftu (SIM_CPU *current_cpu, void *sem_arg)
67120 #define FLD(f) abuf->fields.sfmt_ftne.f
67121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67122 const IDESC * UNUSED idesc = abuf->idesc;
67123 int cycles = 0;
67125 int referenced = 0;
67126 int UNUSED insn_referenced = abuf->written;
67127 INT in_GRi = -1;
67128 INT in_GRj = -1;
67129 INT in_ICCi_2 = -1;
67130 INT in_FCCi_2 = -1;
67131 in_GRi = FLD (in_GRi);
67132 in_GRj = FLD (in_GRj);
67133 in_FCCi_2 = FLD (in_FCCi_2);
67134 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67135 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67136 referenced |= 1 << 3;
67137 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67139 return cycles;
67140 #undef FLD
67143 static int
67144 model_fr400_fto (SIM_CPU *current_cpu, void *sem_arg)
67146 #define FLD(f) abuf->fields.sfmt_ftne.f
67147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67148 const IDESC * UNUSED idesc = abuf->idesc;
67149 int cycles = 0;
67151 int referenced = 0;
67152 int UNUSED insn_referenced = abuf->written;
67153 INT in_GRi = -1;
67154 INT in_GRj = -1;
67155 INT in_ICCi_2 = -1;
67156 INT in_FCCi_2 = -1;
67157 in_GRi = FLD (in_GRi);
67158 in_GRj = FLD (in_GRj);
67159 in_FCCi_2 = FLD (in_FCCi_2);
67160 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67161 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67162 referenced |= 1 << 3;
67163 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67165 return cycles;
67166 #undef FLD
67169 static int
67170 model_fr400_tira (SIM_CPU *current_cpu, void *sem_arg)
67172 #define FLD(f) abuf->fields.sfmt_ftine.f
67173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67174 const IDESC * UNUSED idesc = abuf->idesc;
67175 int cycles = 0;
67177 int referenced = 0;
67178 int UNUSED insn_referenced = abuf->written;
67179 INT in_GRi = -1;
67180 INT in_GRj = -1;
67181 INT in_ICCi_2 = -1;
67182 INT in_FCCi_2 = -1;
67183 in_GRi = FLD (in_GRi);
67184 referenced |= 1 << 0;
67185 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67187 return cycles;
67188 #undef FLD
67191 static int
67192 model_fr400_tino (SIM_CPU *current_cpu, void *sem_arg)
67194 #define FLD(f) abuf->fields.sfmt_empty.f
67195 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67196 const IDESC * UNUSED idesc = abuf->idesc;
67197 int cycles = 0;
67199 int referenced = 0;
67200 int UNUSED insn_referenced = abuf->written;
67201 INT in_GRi = -1;
67202 INT in_GRj = -1;
67203 INT in_ICCi_2 = -1;
67204 INT in_FCCi_2 = -1;
67205 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67207 return cycles;
67208 #undef FLD
67211 static int
67212 model_fr400_tieq (SIM_CPU *current_cpu, void *sem_arg)
67214 #define FLD(f) abuf->fields.sfmt_tieq.f
67215 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67216 const IDESC * UNUSED idesc = abuf->idesc;
67217 int cycles = 0;
67219 int referenced = 0;
67220 int UNUSED insn_referenced = abuf->written;
67221 INT in_GRi = -1;
67222 INT in_GRj = -1;
67223 INT in_ICCi_2 = -1;
67224 INT in_FCCi_2 = -1;
67225 in_GRi = FLD (in_GRi);
67226 in_ICCi_2 = FLD (in_ICCi_2);
67227 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67228 referenced |= 1 << 2;
67229 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67231 return cycles;
67232 #undef FLD
67235 static int
67236 model_fr400_tine (SIM_CPU *current_cpu, void *sem_arg)
67238 #define FLD(f) abuf->fields.sfmt_tieq.f
67239 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67240 const IDESC * UNUSED idesc = abuf->idesc;
67241 int cycles = 0;
67243 int referenced = 0;
67244 int UNUSED insn_referenced = abuf->written;
67245 INT in_GRi = -1;
67246 INT in_GRj = -1;
67247 INT in_ICCi_2 = -1;
67248 INT in_FCCi_2 = -1;
67249 in_GRi = FLD (in_GRi);
67250 in_ICCi_2 = FLD (in_ICCi_2);
67251 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67252 referenced |= 1 << 2;
67253 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67255 return cycles;
67256 #undef FLD
67259 static int
67260 model_fr400_tile (SIM_CPU *current_cpu, void *sem_arg)
67262 #define FLD(f) abuf->fields.sfmt_tieq.f
67263 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67264 const IDESC * UNUSED idesc = abuf->idesc;
67265 int cycles = 0;
67267 int referenced = 0;
67268 int UNUSED insn_referenced = abuf->written;
67269 INT in_GRi = -1;
67270 INT in_GRj = -1;
67271 INT in_ICCi_2 = -1;
67272 INT in_FCCi_2 = -1;
67273 in_GRi = FLD (in_GRi);
67274 in_ICCi_2 = FLD (in_ICCi_2);
67275 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67276 referenced |= 1 << 2;
67277 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67279 return cycles;
67280 #undef FLD
67283 static int
67284 model_fr400_tigt (SIM_CPU *current_cpu, void *sem_arg)
67286 #define FLD(f) abuf->fields.sfmt_tieq.f
67287 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67288 const IDESC * UNUSED idesc = abuf->idesc;
67289 int cycles = 0;
67291 int referenced = 0;
67292 int UNUSED insn_referenced = abuf->written;
67293 INT in_GRi = -1;
67294 INT in_GRj = -1;
67295 INT in_ICCi_2 = -1;
67296 INT in_FCCi_2 = -1;
67297 in_GRi = FLD (in_GRi);
67298 in_ICCi_2 = FLD (in_ICCi_2);
67299 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67300 referenced |= 1 << 2;
67301 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67303 return cycles;
67304 #undef FLD
67307 static int
67308 model_fr400_tilt (SIM_CPU *current_cpu, void *sem_arg)
67310 #define FLD(f) abuf->fields.sfmt_tieq.f
67311 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67312 const IDESC * UNUSED idesc = abuf->idesc;
67313 int cycles = 0;
67315 int referenced = 0;
67316 int UNUSED insn_referenced = abuf->written;
67317 INT in_GRi = -1;
67318 INT in_GRj = -1;
67319 INT in_ICCi_2 = -1;
67320 INT in_FCCi_2 = -1;
67321 in_GRi = FLD (in_GRi);
67322 in_ICCi_2 = FLD (in_ICCi_2);
67323 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67324 referenced |= 1 << 2;
67325 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67327 return cycles;
67328 #undef FLD
67331 static int
67332 model_fr400_tige (SIM_CPU *current_cpu, void *sem_arg)
67334 #define FLD(f) abuf->fields.sfmt_tieq.f
67335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67336 const IDESC * UNUSED idesc = abuf->idesc;
67337 int cycles = 0;
67339 int referenced = 0;
67340 int UNUSED insn_referenced = abuf->written;
67341 INT in_GRi = -1;
67342 INT in_GRj = -1;
67343 INT in_ICCi_2 = -1;
67344 INT in_FCCi_2 = -1;
67345 in_GRi = FLD (in_GRi);
67346 in_ICCi_2 = FLD (in_ICCi_2);
67347 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67348 referenced |= 1 << 2;
67349 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67351 return cycles;
67352 #undef FLD
67355 static int
67356 model_fr400_tils (SIM_CPU *current_cpu, void *sem_arg)
67358 #define FLD(f) abuf->fields.sfmt_tieq.f
67359 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67360 const IDESC * UNUSED idesc = abuf->idesc;
67361 int cycles = 0;
67363 int referenced = 0;
67364 int UNUSED insn_referenced = abuf->written;
67365 INT in_GRi = -1;
67366 INT in_GRj = -1;
67367 INT in_ICCi_2 = -1;
67368 INT in_FCCi_2 = -1;
67369 in_GRi = FLD (in_GRi);
67370 in_ICCi_2 = FLD (in_ICCi_2);
67371 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67372 referenced |= 1 << 2;
67373 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67375 return cycles;
67376 #undef FLD
67379 static int
67380 model_fr400_tihi (SIM_CPU *current_cpu, void *sem_arg)
67382 #define FLD(f) abuf->fields.sfmt_tieq.f
67383 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67384 const IDESC * UNUSED idesc = abuf->idesc;
67385 int cycles = 0;
67387 int referenced = 0;
67388 int UNUSED insn_referenced = abuf->written;
67389 INT in_GRi = -1;
67390 INT in_GRj = -1;
67391 INT in_ICCi_2 = -1;
67392 INT in_FCCi_2 = -1;
67393 in_GRi = FLD (in_GRi);
67394 in_ICCi_2 = FLD (in_ICCi_2);
67395 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67396 referenced |= 1 << 2;
67397 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67399 return cycles;
67400 #undef FLD
67403 static int
67404 model_fr400_tic (SIM_CPU *current_cpu, void *sem_arg)
67406 #define FLD(f) abuf->fields.sfmt_tieq.f
67407 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67408 const IDESC * UNUSED idesc = abuf->idesc;
67409 int cycles = 0;
67411 int referenced = 0;
67412 int UNUSED insn_referenced = abuf->written;
67413 INT in_GRi = -1;
67414 INT in_GRj = -1;
67415 INT in_ICCi_2 = -1;
67416 INT in_FCCi_2 = -1;
67417 in_GRi = FLD (in_GRi);
67418 in_ICCi_2 = FLD (in_ICCi_2);
67419 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67420 referenced |= 1 << 2;
67421 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67423 return cycles;
67424 #undef FLD
67427 static int
67428 model_fr400_tinc (SIM_CPU *current_cpu, void *sem_arg)
67430 #define FLD(f) abuf->fields.sfmt_tieq.f
67431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67432 const IDESC * UNUSED idesc = abuf->idesc;
67433 int cycles = 0;
67435 int referenced = 0;
67436 int UNUSED insn_referenced = abuf->written;
67437 INT in_GRi = -1;
67438 INT in_GRj = -1;
67439 INT in_ICCi_2 = -1;
67440 INT in_FCCi_2 = -1;
67441 in_GRi = FLD (in_GRi);
67442 in_ICCi_2 = FLD (in_ICCi_2);
67443 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67444 referenced |= 1 << 2;
67445 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67447 return cycles;
67448 #undef FLD
67451 static int
67452 model_fr400_tin (SIM_CPU *current_cpu, void *sem_arg)
67454 #define FLD(f) abuf->fields.sfmt_tieq.f
67455 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67456 const IDESC * UNUSED idesc = abuf->idesc;
67457 int cycles = 0;
67459 int referenced = 0;
67460 int UNUSED insn_referenced = abuf->written;
67461 INT in_GRi = -1;
67462 INT in_GRj = -1;
67463 INT in_ICCi_2 = -1;
67464 INT in_FCCi_2 = -1;
67465 in_GRi = FLD (in_GRi);
67466 in_ICCi_2 = FLD (in_ICCi_2);
67467 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67468 referenced |= 1 << 2;
67469 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67471 return cycles;
67472 #undef FLD
67475 static int
67476 model_fr400_tip (SIM_CPU *current_cpu, void *sem_arg)
67478 #define FLD(f) abuf->fields.sfmt_tieq.f
67479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67480 const IDESC * UNUSED idesc = abuf->idesc;
67481 int cycles = 0;
67483 int referenced = 0;
67484 int UNUSED insn_referenced = abuf->written;
67485 INT in_GRi = -1;
67486 INT in_GRj = -1;
67487 INT in_ICCi_2 = -1;
67488 INT in_FCCi_2 = -1;
67489 in_GRi = FLD (in_GRi);
67490 in_ICCi_2 = FLD (in_ICCi_2);
67491 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67492 referenced |= 1 << 2;
67493 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67495 return cycles;
67496 #undef FLD
67499 static int
67500 model_fr400_tiv (SIM_CPU *current_cpu, void *sem_arg)
67502 #define FLD(f) abuf->fields.sfmt_tieq.f
67503 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67504 const IDESC * UNUSED idesc = abuf->idesc;
67505 int cycles = 0;
67507 int referenced = 0;
67508 int UNUSED insn_referenced = abuf->written;
67509 INT in_GRi = -1;
67510 INT in_GRj = -1;
67511 INT in_ICCi_2 = -1;
67512 INT in_FCCi_2 = -1;
67513 in_GRi = FLD (in_GRi);
67514 in_ICCi_2 = FLD (in_ICCi_2);
67515 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67516 referenced |= 1 << 2;
67517 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67519 return cycles;
67520 #undef FLD
67523 static int
67524 model_fr400_tinv (SIM_CPU *current_cpu, void *sem_arg)
67526 #define FLD(f) abuf->fields.sfmt_tieq.f
67527 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67528 const IDESC * UNUSED idesc = abuf->idesc;
67529 int cycles = 0;
67531 int referenced = 0;
67532 int UNUSED insn_referenced = abuf->written;
67533 INT in_GRi = -1;
67534 INT in_GRj = -1;
67535 INT in_ICCi_2 = -1;
67536 INT in_FCCi_2 = -1;
67537 in_GRi = FLD (in_GRi);
67538 in_ICCi_2 = FLD (in_ICCi_2);
67539 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67540 referenced |= 1 << 2;
67541 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67543 return cycles;
67544 #undef FLD
67547 static int
67548 model_fr400_ftira (SIM_CPU *current_cpu, void *sem_arg)
67550 #define FLD(f) abuf->fields.sfmt_ftine.f
67551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67552 const IDESC * UNUSED idesc = abuf->idesc;
67553 int cycles = 0;
67555 int referenced = 0;
67556 int UNUSED insn_referenced = abuf->written;
67557 INT in_GRi = -1;
67558 INT in_GRj = -1;
67559 INT in_ICCi_2 = -1;
67560 INT in_FCCi_2 = -1;
67561 in_GRi = FLD (in_GRi);
67562 referenced |= 1 << 0;
67563 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67565 return cycles;
67566 #undef FLD
67569 static int
67570 model_fr400_ftino (SIM_CPU *current_cpu, void *sem_arg)
67572 #define FLD(f) abuf->fields.sfmt_empty.f
67573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67574 const IDESC * UNUSED idesc = abuf->idesc;
67575 int cycles = 0;
67577 int referenced = 0;
67578 int UNUSED insn_referenced = abuf->written;
67579 INT in_GRi = -1;
67580 INT in_GRj = -1;
67581 INT in_ICCi_2 = -1;
67582 INT in_FCCi_2 = -1;
67583 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67585 return cycles;
67586 #undef FLD
67589 static int
67590 model_fr400_ftine (SIM_CPU *current_cpu, void *sem_arg)
67592 #define FLD(f) abuf->fields.sfmt_ftine.f
67593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67594 const IDESC * UNUSED idesc = abuf->idesc;
67595 int cycles = 0;
67597 int referenced = 0;
67598 int UNUSED insn_referenced = abuf->written;
67599 INT in_GRi = -1;
67600 INT in_GRj = -1;
67601 INT in_ICCi_2 = -1;
67602 INT in_FCCi_2 = -1;
67603 in_GRi = FLD (in_GRi);
67604 in_FCCi_2 = FLD (in_FCCi_2);
67605 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67606 referenced |= 1 << 3;
67607 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67609 return cycles;
67610 #undef FLD
67613 static int
67614 model_fr400_ftieq (SIM_CPU *current_cpu, void *sem_arg)
67616 #define FLD(f) abuf->fields.sfmt_ftine.f
67617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67618 const IDESC * UNUSED idesc = abuf->idesc;
67619 int cycles = 0;
67621 int referenced = 0;
67622 int UNUSED insn_referenced = abuf->written;
67623 INT in_GRi = -1;
67624 INT in_GRj = -1;
67625 INT in_ICCi_2 = -1;
67626 INT in_FCCi_2 = -1;
67627 in_GRi = FLD (in_GRi);
67628 in_FCCi_2 = FLD (in_FCCi_2);
67629 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67630 referenced |= 1 << 3;
67631 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67633 return cycles;
67634 #undef FLD
67637 static int
67638 model_fr400_ftilg (SIM_CPU *current_cpu, void *sem_arg)
67640 #define FLD(f) abuf->fields.sfmt_ftine.f
67641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67642 const IDESC * UNUSED idesc = abuf->idesc;
67643 int cycles = 0;
67645 int referenced = 0;
67646 int UNUSED insn_referenced = abuf->written;
67647 INT in_GRi = -1;
67648 INT in_GRj = -1;
67649 INT in_ICCi_2 = -1;
67650 INT in_FCCi_2 = -1;
67651 in_GRi = FLD (in_GRi);
67652 in_FCCi_2 = FLD (in_FCCi_2);
67653 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67654 referenced |= 1 << 3;
67655 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67657 return cycles;
67658 #undef FLD
67661 static int
67662 model_fr400_ftiue (SIM_CPU *current_cpu, void *sem_arg)
67664 #define FLD(f) abuf->fields.sfmt_ftine.f
67665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67666 const IDESC * UNUSED idesc = abuf->idesc;
67667 int cycles = 0;
67669 int referenced = 0;
67670 int UNUSED insn_referenced = abuf->written;
67671 INT in_GRi = -1;
67672 INT in_GRj = -1;
67673 INT in_ICCi_2 = -1;
67674 INT in_FCCi_2 = -1;
67675 in_GRi = FLD (in_GRi);
67676 in_FCCi_2 = FLD (in_FCCi_2);
67677 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67678 referenced |= 1 << 3;
67679 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67681 return cycles;
67682 #undef FLD
67685 static int
67686 model_fr400_ftiul (SIM_CPU *current_cpu, void *sem_arg)
67688 #define FLD(f) abuf->fields.sfmt_ftine.f
67689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67690 const IDESC * UNUSED idesc = abuf->idesc;
67691 int cycles = 0;
67693 int referenced = 0;
67694 int UNUSED insn_referenced = abuf->written;
67695 INT in_GRi = -1;
67696 INT in_GRj = -1;
67697 INT in_ICCi_2 = -1;
67698 INT in_FCCi_2 = -1;
67699 in_GRi = FLD (in_GRi);
67700 in_FCCi_2 = FLD (in_FCCi_2);
67701 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67702 referenced |= 1 << 3;
67703 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67705 return cycles;
67706 #undef FLD
67709 static int
67710 model_fr400_ftige (SIM_CPU *current_cpu, void *sem_arg)
67712 #define FLD(f) abuf->fields.sfmt_ftine.f
67713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67714 const IDESC * UNUSED idesc = abuf->idesc;
67715 int cycles = 0;
67717 int referenced = 0;
67718 int UNUSED insn_referenced = abuf->written;
67719 INT in_GRi = -1;
67720 INT in_GRj = -1;
67721 INT in_ICCi_2 = -1;
67722 INT in_FCCi_2 = -1;
67723 in_GRi = FLD (in_GRi);
67724 in_FCCi_2 = FLD (in_FCCi_2);
67725 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67726 referenced |= 1 << 3;
67727 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67729 return cycles;
67730 #undef FLD
67733 static int
67734 model_fr400_ftilt (SIM_CPU *current_cpu, void *sem_arg)
67736 #define FLD(f) abuf->fields.sfmt_ftine.f
67737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67738 const IDESC * UNUSED idesc = abuf->idesc;
67739 int cycles = 0;
67741 int referenced = 0;
67742 int UNUSED insn_referenced = abuf->written;
67743 INT in_GRi = -1;
67744 INT in_GRj = -1;
67745 INT in_ICCi_2 = -1;
67746 INT in_FCCi_2 = -1;
67747 in_GRi = FLD (in_GRi);
67748 in_FCCi_2 = FLD (in_FCCi_2);
67749 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67750 referenced |= 1 << 3;
67751 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67753 return cycles;
67754 #undef FLD
67757 static int
67758 model_fr400_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
67760 #define FLD(f) abuf->fields.sfmt_ftine.f
67761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67762 const IDESC * UNUSED idesc = abuf->idesc;
67763 int cycles = 0;
67765 int referenced = 0;
67766 int UNUSED insn_referenced = abuf->written;
67767 INT in_GRi = -1;
67768 INT in_GRj = -1;
67769 INT in_ICCi_2 = -1;
67770 INT in_FCCi_2 = -1;
67771 in_GRi = FLD (in_GRi);
67772 in_FCCi_2 = FLD (in_FCCi_2);
67773 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67774 referenced |= 1 << 3;
67775 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67777 return cycles;
67778 #undef FLD
67781 static int
67782 model_fr400_ftiug (SIM_CPU *current_cpu, void *sem_arg)
67784 #define FLD(f) abuf->fields.sfmt_ftine.f
67785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67786 const IDESC * UNUSED idesc = abuf->idesc;
67787 int cycles = 0;
67789 int referenced = 0;
67790 int UNUSED insn_referenced = abuf->written;
67791 INT in_GRi = -1;
67792 INT in_GRj = -1;
67793 INT in_ICCi_2 = -1;
67794 INT in_FCCi_2 = -1;
67795 in_GRi = FLD (in_GRi);
67796 in_FCCi_2 = FLD (in_FCCi_2);
67797 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67798 referenced |= 1 << 3;
67799 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67801 return cycles;
67802 #undef FLD
67805 static int
67806 model_fr400_ftile (SIM_CPU *current_cpu, void *sem_arg)
67808 #define FLD(f) abuf->fields.sfmt_ftine.f
67809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67810 const IDESC * UNUSED idesc = abuf->idesc;
67811 int cycles = 0;
67813 int referenced = 0;
67814 int UNUSED insn_referenced = abuf->written;
67815 INT in_GRi = -1;
67816 INT in_GRj = -1;
67817 INT in_ICCi_2 = -1;
67818 INT in_FCCi_2 = -1;
67819 in_GRi = FLD (in_GRi);
67820 in_FCCi_2 = FLD (in_FCCi_2);
67821 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67822 referenced |= 1 << 3;
67823 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67825 return cycles;
67826 #undef FLD
67829 static int
67830 model_fr400_ftigt (SIM_CPU *current_cpu, void *sem_arg)
67832 #define FLD(f) abuf->fields.sfmt_ftine.f
67833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67834 const IDESC * UNUSED idesc = abuf->idesc;
67835 int cycles = 0;
67837 int referenced = 0;
67838 int UNUSED insn_referenced = abuf->written;
67839 INT in_GRi = -1;
67840 INT in_GRj = -1;
67841 INT in_ICCi_2 = -1;
67842 INT in_FCCi_2 = -1;
67843 in_GRi = FLD (in_GRi);
67844 in_FCCi_2 = FLD (in_FCCi_2);
67845 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67846 referenced |= 1 << 3;
67847 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67849 return cycles;
67850 #undef FLD
67853 static int
67854 model_fr400_ftiule (SIM_CPU *current_cpu, void *sem_arg)
67856 #define FLD(f) abuf->fields.sfmt_ftine.f
67857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67858 const IDESC * UNUSED idesc = abuf->idesc;
67859 int cycles = 0;
67861 int referenced = 0;
67862 int UNUSED insn_referenced = abuf->written;
67863 INT in_GRi = -1;
67864 INT in_GRj = -1;
67865 INT in_ICCi_2 = -1;
67866 INT in_FCCi_2 = -1;
67867 in_GRi = FLD (in_GRi);
67868 in_FCCi_2 = FLD (in_FCCi_2);
67869 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67870 referenced |= 1 << 3;
67871 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67873 return cycles;
67874 #undef FLD
67877 static int
67878 model_fr400_ftiu (SIM_CPU *current_cpu, void *sem_arg)
67880 #define FLD(f) abuf->fields.sfmt_ftine.f
67881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67882 const IDESC * UNUSED idesc = abuf->idesc;
67883 int cycles = 0;
67885 int referenced = 0;
67886 int UNUSED insn_referenced = abuf->written;
67887 INT in_GRi = -1;
67888 INT in_GRj = -1;
67889 INT in_ICCi_2 = -1;
67890 INT in_FCCi_2 = -1;
67891 in_GRi = FLD (in_GRi);
67892 in_FCCi_2 = FLD (in_FCCi_2);
67893 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67894 referenced |= 1 << 3;
67895 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67897 return cycles;
67898 #undef FLD
67901 static int
67902 model_fr400_ftio (SIM_CPU *current_cpu, void *sem_arg)
67904 #define FLD(f) abuf->fields.sfmt_ftine.f
67905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67906 const IDESC * UNUSED idesc = abuf->idesc;
67907 int cycles = 0;
67909 int referenced = 0;
67910 int UNUSED insn_referenced = abuf->written;
67911 INT in_GRi = -1;
67912 INT in_GRj = -1;
67913 INT in_ICCi_2 = -1;
67914 INT in_FCCi_2 = -1;
67915 in_GRi = FLD (in_GRi);
67916 in_FCCi_2 = FLD (in_FCCi_2);
67917 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67918 referenced |= 1 << 3;
67919 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67921 return cycles;
67922 #undef FLD
67925 static int
67926 model_fr400_break (SIM_CPU *current_cpu, void *sem_arg)
67928 #define FLD(f) abuf->fields.sfmt_break.f
67929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67930 const IDESC * UNUSED idesc = abuf->idesc;
67931 int cycles = 0;
67933 int referenced = 0;
67934 int UNUSED insn_referenced = abuf->written;
67935 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
67937 return cycles;
67938 #undef FLD
67941 static int
67942 model_fr400_mtrap (SIM_CPU *current_cpu, void *sem_arg)
67944 #define FLD(f) abuf->fields.sfmt_empty.f
67945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67946 const IDESC * UNUSED idesc = abuf->idesc;
67947 int cycles = 0;
67949 int referenced = 0;
67950 int UNUSED insn_referenced = abuf->written;
67951 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
67953 return cycles;
67954 #undef FLD
67957 static int
67958 model_fr400_andcr (SIM_CPU *current_cpu, void *sem_arg)
67960 #define FLD(f) abuf->fields.sfmt_andcr.f
67961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67962 const IDESC * UNUSED idesc = abuf->idesc;
67963 int cycles = 0;
67965 int referenced = 0;
67966 int UNUSED insn_referenced = abuf->written;
67967 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
67969 return cycles;
67970 #undef FLD
67973 static int
67974 model_fr400_orcr (SIM_CPU *current_cpu, void *sem_arg)
67976 #define FLD(f) abuf->fields.sfmt_andcr.f
67977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67978 const IDESC * UNUSED idesc = abuf->idesc;
67979 int cycles = 0;
67981 int referenced = 0;
67982 int UNUSED insn_referenced = abuf->written;
67983 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
67985 return cycles;
67986 #undef FLD
67989 static int
67990 model_fr400_xorcr (SIM_CPU *current_cpu, void *sem_arg)
67992 #define FLD(f) abuf->fields.sfmt_andcr.f
67993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67994 const IDESC * UNUSED idesc = abuf->idesc;
67995 int cycles = 0;
67997 int referenced = 0;
67998 int UNUSED insn_referenced = abuf->written;
67999 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68001 return cycles;
68002 #undef FLD
68005 static int
68006 model_fr400_nandcr (SIM_CPU *current_cpu, void *sem_arg)
68008 #define FLD(f) abuf->fields.sfmt_andcr.f
68009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68010 const IDESC * UNUSED idesc = abuf->idesc;
68011 int cycles = 0;
68013 int referenced = 0;
68014 int UNUSED insn_referenced = abuf->written;
68015 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68017 return cycles;
68018 #undef FLD
68021 static int
68022 model_fr400_norcr (SIM_CPU *current_cpu, void *sem_arg)
68024 #define FLD(f) abuf->fields.sfmt_andcr.f
68025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68026 const IDESC * UNUSED idesc = abuf->idesc;
68027 int cycles = 0;
68029 int referenced = 0;
68030 int UNUSED insn_referenced = abuf->written;
68031 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68033 return cycles;
68034 #undef FLD
68037 static int
68038 model_fr400_andncr (SIM_CPU *current_cpu, void *sem_arg)
68040 #define FLD(f) abuf->fields.sfmt_andcr.f
68041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68042 const IDESC * UNUSED idesc = abuf->idesc;
68043 int cycles = 0;
68045 int referenced = 0;
68046 int UNUSED insn_referenced = abuf->written;
68047 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68049 return cycles;
68050 #undef FLD
68053 static int
68054 model_fr400_orncr (SIM_CPU *current_cpu, void *sem_arg)
68056 #define FLD(f) abuf->fields.sfmt_andcr.f
68057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68058 const IDESC * UNUSED idesc = abuf->idesc;
68059 int cycles = 0;
68061 int referenced = 0;
68062 int UNUSED insn_referenced = abuf->written;
68063 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68065 return cycles;
68066 #undef FLD
68069 static int
68070 model_fr400_nandncr (SIM_CPU *current_cpu, void *sem_arg)
68072 #define FLD(f) abuf->fields.sfmt_andcr.f
68073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68074 const IDESC * UNUSED idesc = abuf->idesc;
68075 int cycles = 0;
68077 int referenced = 0;
68078 int UNUSED insn_referenced = abuf->written;
68079 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68081 return cycles;
68082 #undef FLD
68085 static int
68086 model_fr400_norncr (SIM_CPU *current_cpu, void *sem_arg)
68088 #define FLD(f) abuf->fields.sfmt_andcr.f
68089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68090 const IDESC * UNUSED idesc = abuf->idesc;
68091 int cycles = 0;
68093 int referenced = 0;
68094 int UNUSED insn_referenced = abuf->written;
68095 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68097 return cycles;
68098 #undef FLD
68101 static int
68102 model_fr400_notcr (SIM_CPU *current_cpu, void *sem_arg)
68104 #define FLD(f) abuf->fields.sfmt_andcr.f
68105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68106 const IDESC * UNUSED idesc = abuf->idesc;
68107 int cycles = 0;
68109 int referenced = 0;
68110 int UNUSED insn_referenced = abuf->written;
68111 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68113 return cycles;
68114 #undef FLD
68117 static int
68118 model_fr400_ckra (SIM_CPU *current_cpu, void *sem_arg)
68120 #define FLD(f) abuf->fields.sfmt_cckeq.f
68121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68122 const IDESC * UNUSED idesc = abuf->idesc;
68123 int cycles = 0;
68125 int referenced = 0;
68126 int UNUSED insn_referenced = abuf->written;
68127 INT in_ICCi_3 = -1;
68128 INT in_FCCi_3 = -1;
68129 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68131 return cycles;
68132 #undef FLD
68135 static int
68136 model_fr400_ckno (SIM_CPU *current_cpu, void *sem_arg)
68138 #define FLD(f) abuf->fields.sfmt_cckeq.f
68139 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68140 const IDESC * UNUSED idesc = abuf->idesc;
68141 int cycles = 0;
68143 int referenced = 0;
68144 int UNUSED insn_referenced = abuf->written;
68145 INT in_ICCi_3 = -1;
68146 INT in_FCCi_3 = -1;
68147 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68149 return cycles;
68150 #undef FLD
68153 static int
68154 model_fr400_ckeq (SIM_CPU *current_cpu, void *sem_arg)
68156 #define FLD(f) abuf->fields.sfmt_cckeq.f
68157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68158 const IDESC * UNUSED idesc = abuf->idesc;
68159 int cycles = 0;
68161 int referenced = 0;
68162 int UNUSED insn_referenced = abuf->written;
68163 INT in_ICCi_3 = -1;
68164 INT in_FCCi_3 = -1;
68165 in_ICCi_3 = FLD (in_ICCi_3);
68166 referenced |= 1 << 0;
68167 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68169 return cycles;
68170 #undef FLD
68173 static int
68174 model_fr400_ckne (SIM_CPU *current_cpu, void *sem_arg)
68176 #define FLD(f) abuf->fields.sfmt_cckeq.f
68177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68178 const IDESC * UNUSED idesc = abuf->idesc;
68179 int cycles = 0;
68181 int referenced = 0;
68182 int UNUSED insn_referenced = abuf->written;
68183 INT in_ICCi_3 = -1;
68184 INT in_FCCi_3 = -1;
68185 in_ICCi_3 = FLD (in_ICCi_3);
68186 referenced |= 1 << 0;
68187 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68189 return cycles;
68190 #undef FLD
68193 static int
68194 model_fr400_ckle (SIM_CPU *current_cpu, void *sem_arg)
68196 #define FLD(f) abuf->fields.sfmt_cckeq.f
68197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68198 const IDESC * UNUSED idesc = abuf->idesc;
68199 int cycles = 0;
68201 int referenced = 0;
68202 int UNUSED insn_referenced = abuf->written;
68203 INT in_ICCi_3 = -1;
68204 INT in_FCCi_3 = -1;
68205 in_ICCi_3 = FLD (in_ICCi_3);
68206 referenced |= 1 << 0;
68207 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68209 return cycles;
68210 #undef FLD
68213 static int
68214 model_fr400_ckgt (SIM_CPU *current_cpu, void *sem_arg)
68216 #define FLD(f) abuf->fields.sfmt_cckeq.f
68217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68218 const IDESC * UNUSED idesc = abuf->idesc;
68219 int cycles = 0;
68221 int referenced = 0;
68222 int UNUSED insn_referenced = abuf->written;
68223 INT in_ICCi_3 = -1;
68224 INT in_FCCi_3 = -1;
68225 in_ICCi_3 = FLD (in_ICCi_3);
68226 referenced |= 1 << 0;
68227 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68229 return cycles;
68230 #undef FLD
68233 static int
68234 model_fr400_cklt (SIM_CPU *current_cpu, void *sem_arg)
68236 #define FLD(f) abuf->fields.sfmt_cckeq.f
68237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68238 const IDESC * UNUSED idesc = abuf->idesc;
68239 int cycles = 0;
68241 int referenced = 0;
68242 int UNUSED insn_referenced = abuf->written;
68243 INT in_ICCi_3 = -1;
68244 INT in_FCCi_3 = -1;
68245 in_ICCi_3 = FLD (in_ICCi_3);
68246 referenced |= 1 << 0;
68247 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68249 return cycles;
68250 #undef FLD
68253 static int
68254 model_fr400_ckge (SIM_CPU *current_cpu, void *sem_arg)
68256 #define FLD(f) abuf->fields.sfmt_cckeq.f
68257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68258 const IDESC * UNUSED idesc = abuf->idesc;
68259 int cycles = 0;
68261 int referenced = 0;
68262 int UNUSED insn_referenced = abuf->written;
68263 INT in_ICCi_3 = -1;
68264 INT in_FCCi_3 = -1;
68265 in_ICCi_3 = FLD (in_ICCi_3);
68266 referenced |= 1 << 0;
68267 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68269 return cycles;
68270 #undef FLD
68273 static int
68274 model_fr400_ckls (SIM_CPU *current_cpu, void *sem_arg)
68276 #define FLD(f) abuf->fields.sfmt_cckeq.f
68277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68278 const IDESC * UNUSED idesc = abuf->idesc;
68279 int cycles = 0;
68281 int referenced = 0;
68282 int UNUSED insn_referenced = abuf->written;
68283 INT in_ICCi_3 = -1;
68284 INT in_FCCi_3 = -1;
68285 in_ICCi_3 = FLD (in_ICCi_3);
68286 referenced |= 1 << 0;
68287 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68289 return cycles;
68290 #undef FLD
68293 static int
68294 model_fr400_ckhi (SIM_CPU *current_cpu, void *sem_arg)
68296 #define FLD(f) abuf->fields.sfmt_cckeq.f
68297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68298 const IDESC * UNUSED idesc = abuf->idesc;
68299 int cycles = 0;
68301 int referenced = 0;
68302 int UNUSED insn_referenced = abuf->written;
68303 INT in_ICCi_3 = -1;
68304 INT in_FCCi_3 = -1;
68305 in_ICCi_3 = FLD (in_ICCi_3);
68306 referenced |= 1 << 0;
68307 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68309 return cycles;
68310 #undef FLD
68313 static int
68314 model_fr400_ckc (SIM_CPU *current_cpu, void *sem_arg)
68316 #define FLD(f) abuf->fields.sfmt_cckeq.f
68317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68318 const IDESC * UNUSED idesc = abuf->idesc;
68319 int cycles = 0;
68321 int referenced = 0;
68322 int UNUSED insn_referenced = abuf->written;
68323 INT in_ICCi_3 = -1;
68324 INT in_FCCi_3 = -1;
68325 in_ICCi_3 = FLD (in_ICCi_3);
68326 referenced |= 1 << 0;
68327 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68329 return cycles;
68330 #undef FLD
68333 static int
68334 model_fr400_cknc (SIM_CPU *current_cpu, void *sem_arg)
68336 #define FLD(f) abuf->fields.sfmt_cckeq.f
68337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68338 const IDESC * UNUSED idesc = abuf->idesc;
68339 int cycles = 0;
68341 int referenced = 0;
68342 int UNUSED insn_referenced = abuf->written;
68343 INT in_ICCi_3 = -1;
68344 INT in_FCCi_3 = -1;
68345 in_ICCi_3 = FLD (in_ICCi_3);
68346 referenced |= 1 << 0;
68347 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68349 return cycles;
68350 #undef FLD
68353 static int
68354 model_fr400_ckn (SIM_CPU *current_cpu, void *sem_arg)
68356 #define FLD(f) abuf->fields.sfmt_cckeq.f
68357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68358 const IDESC * UNUSED idesc = abuf->idesc;
68359 int cycles = 0;
68361 int referenced = 0;
68362 int UNUSED insn_referenced = abuf->written;
68363 INT in_ICCi_3 = -1;
68364 INT in_FCCi_3 = -1;
68365 in_ICCi_3 = FLD (in_ICCi_3);
68366 referenced |= 1 << 0;
68367 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68369 return cycles;
68370 #undef FLD
68373 static int
68374 model_fr400_ckp (SIM_CPU *current_cpu, void *sem_arg)
68376 #define FLD(f) abuf->fields.sfmt_cckeq.f
68377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68378 const IDESC * UNUSED idesc = abuf->idesc;
68379 int cycles = 0;
68381 int referenced = 0;
68382 int UNUSED insn_referenced = abuf->written;
68383 INT in_ICCi_3 = -1;
68384 INT in_FCCi_3 = -1;
68385 in_ICCi_3 = FLD (in_ICCi_3);
68386 referenced |= 1 << 0;
68387 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68389 return cycles;
68390 #undef FLD
68393 static int
68394 model_fr400_ckv (SIM_CPU *current_cpu, void *sem_arg)
68396 #define FLD(f) abuf->fields.sfmt_cckeq.f
68397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68398 const IDESC * UNUSED idesc = abuf->idesc;
68399 int cycles = 0;
68401 int referenced = 0;
68402 int UNUSED insn_referenced = abuf->written;
68403 INT in_ICCi_3 = -1;
68404 INT in_FCCi_3 = -1;
68405 in_ICCi_3 = FLD (in_ICCi_3);
68406 referenced |= 1 << 0;
68407 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68409 return cycles;
68410 #undef FLD
68413 static int
68414 model_fr400_cknv (SIM_CPU *current_cpu, void *sem_arg)
68416 #define FLD(f) abuf->fields.sfmt_cckeq.f
68417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68418 const IDESC * UNUSED idesc = abuf->idesc;
68419 int cycles = 0;
68421 int referenced = 0;
68422 int UNUSED insn_referenced = abuf->written;
68423 INT in_ICCi_3 = -1;
68424 INT in_FCCi_3 = -1;
68425 in_ICCi_3 = FLD (in_ICCi_3);
68426 referenced |= 1 << 0;
68427 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68429 return cycles;
68430 #undef FLD
68433 static int
68434 model_fr400_fckra (SIM_CPU *current_cpu, void *sem_arg)
68436 #define FLD(f) abuf->fields.sfmt_cfckne.f
68437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68438 const IDESC * UNUSED idesc = abuf->idesc;
68439 int cycles = 0;
68441 int referenced = 0;
68442 int UNUSED insn_referenced = abuf->written;
68443 INT in_ICCi_3 = -1;
68444 INT in_FCCi_3 = -1;
68445 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68447 return cycles;
68448 #undef FLD
68451 static int
68452 model_fr400_fckno (SIM_CPU *current_cpu, void *sem_arg)
68454 #define FLD(f) abuf->fields.sfmt_cfckne.f
68455 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68456 const IDESC * UNUSED idesc = abuf->idesc;
68457 int cycles = 0;
68459 int referenced = 0;
68460 int UNUSED insn_referenced = abuf->written;
68461 INT in_ICCi_3 = -1;
68462 INT in_FCCi_3 = -1;
68463 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68465 return cycles;
68466 #undef FLD
68469 static int
68470 model_fr400_fckne (SIM_CPU *current_cpu, void *sem_arg)
68472 #define FLD(f) abuf->fields.sfmt_cfckne.f
68473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68474 const IDESC * UNUSED idesc = abuf->idesc;
68475 int cycles = 0;
68477 int referenced = 0;
68478 int UNUSED insn_referenced = abuf->written;
68479 INT in_ICCi_3 = -1;
68480 INT in_FCCi_3 = -1;
68481 in_FCCi_3 = FLD (in_FCCi_3);
68482 referenced |= 1 << 1;
68483 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68485 return cycles;
68486 #undef FLD
68489 static int
68490 model_fr400_fckeq (SIM_CPU *current_cpu, void *sem_arg)
68492 #define FLD(f) abuf->fields.sfmt_cfckne.f
68493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68494 const IDESC * UNUSED idesc = abuf->idesc;
68495 int cycles = 0;
68497 int referenced = 0;
68498 int UNUSED insn_referenced = abuf->written;
68499 INT in_ICCi_3 = -1;
68500 INT in_FCCi_3 = -1;
68501 in_FCCi_3 = FLD (in_FCCi_3);
68502 referenced |= 1 << 1;
68503 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68505 return cycles;
68506 #undef FLD
68509 static int
68510 model_fr400_fcklg (SIM_CPU *current_cpu, void *sem_arg)
68512 #define FLD(f) abuf->fields.sfmt_cfckne.f
68513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68514 const IDESC * UNUSED idesc = abuf->idesc;
68515 int cycles = 0;
68517 int referenced = 0;
68518 int UNUSED insn_referenced = abuf->written;
68519 INT in_ICCi_3 = -1;
68520 INT in_FCCi_3 = -1;
68521 in_FCCi_3 = FLD (in_FCCi_3);
68522 referenced |= 1 << 1;
68523 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68525 return cycles;
68526 #undef FLD
68529 static int
68530 model_fr400_fckue (SIM_CPU *current_cpu, void *sem_arg)
68532 #define FLD(f) abuf->fields.sfmt_cfckne.f
68533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68534 const IDESC * UNUSED idesc = abuf->idesc;
68535 int cycles = 0;
68537 int referenced = 0;
68538 int UNUSED insn_referenced = abuf->written;
68539 INT in_ICCi_3 = -1;
68540 INT in_FCCi_3 = -1;
68541 in_FCCi_3 = FLD (in_FCCi_3);
68542 referenced |= 1 << 1;
68543 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68545 return cycles;
68546 #undef FLD
68549 static int
68550 model_fr400_fckul (SIM_CPU *current_cpu, void *sem_arg)
68552 #define FLD(f) abuf->fields.sfmt_cfckne.f
68553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68554 const IDESC * UNUSED idesc = abuf->idesc;
68555 int cycles = 0;
68557 int referenced = 0;
68558 int UNUSED insn_referenced = abuf->written;
68559 INT in_ICCi_3 = -1;
68560 INT in_FCCi_3 = -1;
68561 in_FCCi_3 = FLD (in_FCCi_3);
68562 referenced |= 1 << 1;
68563 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68565 return cycles;
68566 #undef FLD
68569 static int
68570 model_fr400_fckge (SIM_CPU *current_cpu, void *sem_arg)
68572 #define FLD(f) abuf->fields.sfmt_cfckne.f
68573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68574 const IDESC * UNUSED idesc = abuf->idesc;
68575 int cycles = 0;
68577 int referenced = 0;
68578 int UNUSED insn_referenced = abuf->written;
68579 INT in_ICCi_3 = -1;
68580 INT in_FCCi_3 = -1;
68581 in_FCCi_3 = FLD (in_FCCi_3);
68582 referenced |= 1 << 1;
68583 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68585 return cycles;
68586 #undef FLD
68589 static int
68590 model_fr400_fcklt (SIM_CPU *current_cpu, void *sem_arg)
68592 #define FLD(f) abuf->fields.sfmt_cfckne.f
68593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68594 const IDESC * UNUSED idesc = abuf->idesc;
68595 int cycles = 0;
68597 int referenced = 0;
68598 int UNUSED insn_referenced = abuf->written;
68599 INT in_ICCi_3 = -1;
68600 INT in_FCCi_3 = -1;
68601 in_FCCi_3 = FLD (in_FCCi_3);
68602 referenced |= 1 << 1;
68603 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68605 return cycles;
68606 #undef FLD
68609 static int
68610 model_fr400_fckuge (SIM_CPU *current_cpu, void *sem_arg)
68612 #define FLD(f) abuf->fields.sfmt_cfckne.f
68613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68614 const IDESC * UNUSED idesc = abuf->idesc;
68615 int cycles = 0;
68617 int referenced = 0;
68618 int UNUSED insn_referenced = abuf->written;
68619 INT in_ICCi_3 = -1;
68620 INT in_FCCi_3 = -1;
68621 in_FCCi_3 = FLD (in_FCCi_3);
68622 referenced |= 1 << 1;
68623 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68625 return cycles;
68626 #undef FLD
68629 static int
68630 model_fr400_fckug (SIM_CPU *current_cpu, void *sem_arg)
68632 #define FLD(f) abuf->fields.sfmt_cfckne.f
68633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68634 const IDESC * UNUSED idesc = abuf->idesc;
68635 int cycles = 0;
68637 int referenced = 0;
68638 int UNUSED insn_referenced = abuf->written;
68639 INT in_ICCi_3 = -1;
68640 INT in_FCCi_3 = -1;
68641 in_FCCi_3 = FLD (in_FCCi_3);
68642 referenced |= 1 << 1;
68643 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68645 return cycles;
68646 #undef FLD
68649 static int
68650 model_fr400_fckle (SIM_CPU *current_cpu, void *sem_arg)
68652 #define FLD(f) abuf->fields.sfmt_cfckne.f
68653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68654 const IDESC * UNUSED idesc = abuf->idesc;
68655 int cycles = 0;
68657 int referenced = 0;
68658 int UNUSED insn_referenced = abuf->written;
68659 INT in_ICCi_3 = -1;
68660 INT in_FCCi_3 = -1;
68661 in_FCCi_3 = FLD (in_FCCi_3);
68662 referenced |= 1 << 1;
68663 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68665 return cycles;
68666 #undef FLD
68669 static int
68670 model_fr400_fckgt (SIM_CPU *current_cpu, void *sem_arg)
68672 #define FLD(f) abuf->fields.sfmt_cfckne.f
68673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68674 const IDESC * UNUSED idesc = abuf->idesc;
68675 int cycles = 0;
68677 int referenced = 0;
68678 int UNUSED insn_referenced = abuf->written;
68679 INT in_ICCi_3 = -1;
68680 INT in_FCCi_3 = -1;
68681 in_FCCi_3 = FLD (in_FCCi_3);
68682 referenced |= 1 << 1;
68683 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68685 return cycles;
68686 #undef FLD
68689 static int
68690 model_fr400_fckule (SIM_CPU *current_cpu, void *sem_arg)
68692 #define FLD(f) abuf->fields.sfmt_cfckne.f
68693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68694 const IDESC * UNUSED idesc = abuf->idesc;
68695 int cycles = 0;
68697 int referenced = 0;
68698 int UNUSED insn_referenced = abuf->written;
68699 INT in_ICCi_3 = -1;
68700 INT in_FCCi_3 = -1;
68701 in_FCCi_3 = FLD (in_FCCi_3);
68702 referenced |= 1 << 1;
68703 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68705 return cycles;
68706 #undef FLD
68709 static int
68710 model_fr400_fcku (SIM_CPU *current_cpu, void *sem_arg)
68712 #define FLD(f) abuf->fields.sfmt_cfckne.f
68713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68714 const IDESC * UNUSED idesc = abuf->idesc;
68715 int cycles = 0;
68717 int referenced = 0;
68718 int UNUSED insn_referenced = abuf->written;
68719 INT in_ICCi_3 = -1;
68720 INT in_FCCi_3 = -1;
68721 in_FCCi_3 = FLD (in_FCCi_3);
68722 referenced |= 1 << 1;
68723 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68725 return cycles;
68726 #undef FLD
68729 static int
68730 model_fr400_fcko (SIM_CPU *current_cpu, void *sem_arg)
68732 #define FLD(f) abuf->fields.sfmt_cfckne.f
68733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68734 const IDESC * UNUSED idesc = abuf->idesc;
68735 int cycles = 0;
68737 int referenced = 0;
68738 int UNUSED insn_referenced = abuf->written;
68739 INT in_ICCi_3 = -1;
68740 INT in_FCCi_3 = -1;
68741 in_FCCi_3 = FLD (in_FCCi_3);
68742 referenced |= 1 << 1;
68743 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68745 return cycles;
68746 #undef FLD
68749 static int
68750 model_fr400_cckra (SIM_CPU *current_cpu, void *sem_arg)
68752 #define FLD(f) abuf->fields.sfmt_cckeq.f
68753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68754 const IDESC * UNUSED idesc = abuf->idesc;
68755 int cycles = 0;
68757 int referenced = 0;
68758 int UNUSED insn_referenced = abuf->written;
68759 INT in_ICCi_3 = -1;
68760 INT in_FCCi_3 = -1;
68761 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68763 return cycles;
68764 #undef FLD
68767 static int
68768 model_fr400_cckno (SIM_CPU *current_cpu, void *sem_arg)
68770 #define FLD(f) abuf->fields.sfmt_cckeq.f
68771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68772 const IDESC * UNUSED idesc = abuf->idesc;
68773 int cycles = 0;
68775 int referenced = 0;
68776 int UNUSED insn_referenced = abuf->written;
68777 INT in_ICCi_3 = -1;
68778 INT in_FCCi_3 = -1;
68779 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68781 return cycles;
68782 #undef FLD
68785 static int
68786 model_fr400_cckeq (SIM_CPU *current_cpu, void *sem_arg)
68788 #define FLD(f) abuf->fields.sfmt_cckeq.f
68789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68790 const IDESC * UNUSED idesc = abuf->idesc;
68791 int cycles = 0;
68793 int referenced = 0;
68794 int UNUSED insn_referenced = abuf->written;
68795 INT in_ICCi_3 = -1;
68796 INT in_FCCi_3 = -1;
68797 in_ICCi_3 = FLD (in_ICCi_3);
68798 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68799 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68801 return cycles;
68802 #undef FLD
68805 static int
68806 model_fr400_cckne (SIM_CPU *current_cpu, void *sem_arg)
68808 #define FLD(f) abuf->fields.sfmt_cckeq.f
68809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68810 const IDESC * UNUSED idesc = abuf->idesc;
68811 int cycles = 0;
68813 int referenced = 0;
68814 int UNUSED insn_referenced = abuf->written;
68815 INT in_ICCi_3 = -1;
68816 INT in_FCCi_3 = -1;
68817 in_ICCi_3 = FLD (in_ICCi_3);
68818 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68819 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68821 return cycles;
68822 #undef FLD
68825 static int
68826 model_fr400_cckle (SIM_CPU *current_cpu, void *sem_arg)
68828 #define FLD(f) abuf->fields.sfmt_cckeq.f
68829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68830 const IDESC * UNUSED idesc = abuf->idesc;
68831 int cycles = 0;
68833 int referenced = 0;
68834 int UNUSED insn_referenced = abuf->written;
68835 INT in_ICCi_3 = -1;
68836 INT in_FCCi_3 = -1;
68837 in_ICCi_3 = FLD (in_ICCi_3);
68838 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68839 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68841 return cycles;
68842 #undef FLD
68845 static int
68846 model_fr400_cckgt (SIM_CPU *current_cpu, void *sem_arg)
68848 #define FLD(f) abuf->fields.sfmt_cckeq.f
68849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68850 const IDESC * UNUSED idesc = abuf->idesc;
68851 int cycles = 0;
68853 int referenced = 0;
68854 int UNUSED insn_referenced = abuf->written;
68855 INT in_ICCi_3 = -1;
68856 INT in_FCCi_3 = -1;
68857 in_ICCi_3 = FLD (in_ICCi_3);
68858 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68859 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68861 return cycles;
68862 #undef FLD
68865 static int
68866 model_fr400_ccklt (SIM_CPU *current_cpu, void *sem_arg)
68868 #define FLD(f) abuf->fields.sfmt_cckeq.f
68869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68870 const IDESC * UNUSED idesc = abuf->idesc;
68871 int cycles = 0;
68873 int referenced = 0;
68874 int UNUSED insn_referenced = abuf->written;
68875 INT in_ICCi_3 = -1;
68876 INT in_FCCi_3 = -1;
68877 in_ICCi_3 = FLD (in_ICCi_3);
68878 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68879 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68881 return cycles;
68882 #undef FLD
68885 static int
68886 model_fr400_cckge (SIM_CPU *current_cpu, void *sem_arg)
68888 #define FLD(f) abuf->fields.sfmt_cckeq.f
68889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68890 const IDESC * UNUSED idesc = abuf->idesc;
68891 int cycles = 0;
68893 int referenced = 0;
68894 int UNUSED insn_referenced = abuf->written;
68895 INT in_ICCi_3 = -1;
68896 INT in_FCCi_3 = -1;
68897 in_ICCi_3 = FLD (in_ICCi_3);
68898 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68899 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68901 return cycles;
68902 #undef FLD
68905 static int
68906 model_fr400_cckls (SIM_CPU *current_cpu, void *sem_arg)
68908 #define FLD(f) abuf->fields.sfmt_cckeq.f
68909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68910 const IDESC * UNUSED idesc = abuf->idesc;
68911 int cycles = 0;
68913 int referenced = 0;
68914 int UNUSED insn_referenced = abuf->written;
68915 INT in_ICCi_3 = -1;
68916 INT in_FCCi_3 = -1;
68917 in_ICCi_3 = FLD (in_ICCi_3);
68918 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68919 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68921 return cycles;
68922 #undef FLD
68925 static int
68926 model_fr400_cckhi (SIM_CPU *current_cpu, void *sem_arg)
68928 #define FLD(f) abuf->fields.sfmt_cckeq.f
68929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68930 const IDESC * UNUSED idesc = abuf->idesc;
68931 int cycles = 0;
68933 int referenced = 0;
68934 int UNUSED insn_referenced = abuf->written;
68935 INT in_ICCi_3 = -1;
68936 INT in_FCCi_3 = -1;
68937 in_ICCi_3 = FLD (in_ICCi_3);
68938 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68939 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68941 return cycles;
68942 #undef FLD
68945 static int
68946 model_fr400_cckc (SIM_CPU *current_cpu, void *sem_arg)
68948 #define FLD(f) abuf->fields.sfmt_cckeq.f
68949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68950 const IDESC * UNUSED idesc = abuf->idesc;
68951 int cycles = 0;
68953 int referenced = 0;
68954 int UNUSED insn_referenced = abuf->written;
68955 INT in_ICCi_3 = -1;
68956 INT in_FCCi_3 = -1;
68957 in_ICCi_3 = FLD (in_ICCi_3);
68958 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68959 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68961 return cycles;
68962 #undef FLD
68965 static int
68966 model_fr400_ccknc (SIM_CPU *current_cpu, void *sem_arg)
68968 #define FLD(f) abuf->fields.sfmt_cckeq.f
68969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68970 const IDESC * UNUSED idesc = abuf->idesc;
68971 int cycles = 0;
68973 int referenced = 0;
68974 int UNUSED insn_referenced = abuf->written;
68975 INT in_ICCi_3 = -1;
68976 INT in_FCCi_3 = -1;
68977 in_ICCi_3 = FLD (in_ICCi_3);
68978 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68979 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68981 return cycles;
68982 #undef FLD
68985 static int
68986 model_fr400_cckn (SIM_CPU *current_cpu, void *sem_arg)
68988 #define FLD(f) abuf->fields.sfmt_cckeq.f
68989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68990 const IDESC * UNUSED idesc = abuf->idesc;
68991 int cycles = 0;
68993 int referenced = 0;
68994 int UNUSED insn_referenced = abuf->written;
68995 INT in_ICCi_3 = -1;
68996 INT in_FCCi_3 = -1;
68997 in_ICCi_3 = FLD (in_ICCi_3);
68998 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68999 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69001 return cycles;
69002 #undef FLD
69005 static int
69006 model_fr400_cckp (SIM_CPU *current_cpu, void *sem_arg)
69008 #define FLD(f) abuf->fields.sfmt_cckeq.f
69009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69010 const IDESC * UNUSED idesc = abuf->idesc;
69011 int cycles = 0;
69013 int referenced = 0;
69014 int UNUSED insn_referenced = abuf->written;
69015 INT in_ICCi_3 = -1;
69016 INT in_FCCi_3 = -1;
69017 in_ICCi_3 = FLD (in_ICCi_3);
69018 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69019 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69021 return cycles;
69022 #undef FLD
69025 static int
69026 model_fr400_cckv (SIM_CPU *current_cpu, void *sem_arg)
69028 #define FLD(f) abuf->fields.sfmt_cckeq.f
69029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69030 const IDESC * UNUSED idesc = abuf->idesc;
69031 int cycles = 0;
69033 int referenced = 0;
69034 int UNUSED insn_referenced = abuf->written;
69035 INT in_ICCi_3 = -1;
69036 INT in_FCCi_3 = -1;
69037 in_ICCi_3 = FLD (in_ICCi_3);
69038 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69039 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69041 return cycles;
69042 #undef FLD
69045 static int
69046 model_fr400_ccknv (SIM_CPU *current_cpu, void *sem_arg)
69048 #define FLD(f) abuf->fields.sfmt_cckeq.f
69049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69050 const IDESC * UNUSED idesc = abuf->idesc;
69051 int cycles = 0;
69053 int referenced = 0;
69054 int UNUSED insn_referenced = abuf->written;
69055 INT in_ICCi_3 = -1;
69056 INT in_FCCi_3 = -1;
69057 in_ICCi_3 = FLD (in_ICCi_3);
69058 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69059 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69061 return cycles;
69062 #undef FLD
69065 static int
69066 model_fr400_cfckra (SIM_CPU *current_cpu, void *sem_arg)
69068 #define FLD(f) abuf->fields.sfmt_cfckne.f
69069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69070 const IDESC * UNUSED idesc = abuf->idesc;
69071 int cycles = 0;
69073 int referenced = 0;
69074 int UNUSED insn_referenced = abuf->written;
69075 INT in_ICCi_3 = -1;
69076 INT in_FCCi_3 = -1;
69077 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69079 return cycles;
69080 #undef FLD
69083 static int
69084 model_fr400_cfckno (SIM_CPU *current_cpu, void *sem_arg)
69086 #define FLD(f) abuf->fields.sfmt_cfckne.f
69087 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69088 const IDESC * UNUSED idesc = abuf->idesc;
69089 int cycles = 0;
69091 int referenced = 0;
69092 int UNUSED insn_referenced = abuf->written;
69093 INT in_ICCi_3 = -1;
69094 INT in_FCCi_3 = -1;
69095 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69097 return cycles;
69098 #undef FLD
69101 static int
69102 model_fr400_cfckne (SIM_CPU *current_cpu, void *sem_arg)
69104 #define FLD(f) abuf->fields.sfmt_cfckne.f
69105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69106 const IDESC * UNUSED idesc = abuf->idesc;
69107 int cycles = 0;
69109 int referenced = 0;
69110 int UNUSED insn_referenced = abuf->written;
69111 INT in_ICCi_3 = -1;
69112 INT in_FCCi_3 = -1;
69113 in_FCCi_3 = FLD (in_FCCi_3);
69114 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69115 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69117 return cycles;
69118 #undef FLD
69121 static int
69122 model_fr400_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
69124 #define FLD(f) abuf->fields.sfmt_cfckne.f
69125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69126 const IDESC * UNUSED idesc = abuf->idesc;
69127 int cycles = 0;
69129 int referenced = 0;
69130 int UNUSED insn_referenced = abuf->written;
69131 INT in_ICCi_3 = -1;
69132 INT in_FCCi_3 = -1;
69133 in_FCCi_3 = FLD (in_FCCi_3);
69134 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69135 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69137 return cycles;
69138 #undef FLD
69141 static int
69142 model_fr400_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
69144 #define FLD(f) abuf->fields.sfmt_cfckne.f
69145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69146 const IDESC * UNUSED idesc = abuf->idesc;
69147 int cycles = 0;
69149 int referenced = 0;
69150 int UNUSED insn_referenced = abuf->written;
69151 INT in_ICCi_3 = -1;
69152 INT in_FCCi_3 = -1;
69153 in_FCCi_3 = FLD (in_FCCi_3);
69154 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69155 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69157 return cycles;
69158 #undef FLD
69161 static int
69162 model_fr400_cfckue (SIM_CPU *current_cpu, void *sem_arg)
69164 #define FLD(f) abuf->fields.sfmt_cfckne.f
69165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69166 const IDESC * UNUSED idesc = abuf->idesc;
69167 int cycles = 0;
69169 int referenced = 0;
69170 int UNUSED insn_referenced = abuf->written;
69171 INT in_ICCi_3 = -1;
69172 INT in_FCCi_3 = -1;
69173 in_FCCi_3 = FLD (in_FCCi_3);
69174 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69175 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69177 return cycles;
69178 #undef FLD
69181 static int
69182 model_fr400_cfckul (SIM_CPU *current_cpu, void *sem_arg)
69184 #define FLD(f) abuf->fields.sfmt_cfckne.f
69185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69186 const IDESC * UNUSED idesc = abuf->idesc;
69187 int cycles = 0;
69189 int referenced = 0;
69190 int UNUSED insn_referenced = abuf->written;
69191 INT in_ICCi_3 = -1;
69192 INT in_FCCi_3 = -1;
69193 in_FCCi_3 = FLD (in_FCCi_3);
69194 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69195 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69197 return cycles;
69198 #undef FLD
69201 static int
69202 model_fr400_cfckge (SIM_CPU *current_cpu, void *sem_arg)
69204 #define FLD(f) abuf->fields.sfmt_cfckne.f
69205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69206 const IDESC * UNUSED idesc = abuf->idesc;
69207 int cycles = 0;
69209 int referenced = 0;
69210 int UNUSED insn_referenced = abuf->written;
69211 INT in_ICCi_3 = -1;
69212 INT in_FCCi_3 = -1;
69213 in_FCCi_3 = FLD (in_FCCi_3);
69214 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69215 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69217 return cycles;
69218 #undef FLD
69221 static int
69222 model_fr400_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
69224 #define FLD(f) abuf->fields.sfmt_cfckne.f
69225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69226 const IDESC * UNUSED idesc = abuf->idesc;
69227 int cycles = 0;
69229 int referenced = 0;
69230 int UNUSED insn_referenced = abuf->written;
69231 INT in_ICCi_3 = -1;
69232 INT in_FCCi_3 = -1;
69233 in_FCCi_3 = FLD (in_FCCi_3);
69234 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69235 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69237 return cycles;
69238 #undef FLD
69241 static int
69242 model_fr400_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
69244 #define FLD(f) abuf->fields.sfmt_cfckne.f
69245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69246 const IDESC * UNUSED idesc = abuf->idesc;
69247 int cycles = 0;
69249 int referenced = 0;
69250 int UNUSED insn_referenced = abuf->written;
69251 INT in_ICCi_3 = -1;
69252 INT in_FCCi_3 = -1;
69253 in_FCCi_3 = FLD (in_FCCi_3);
69254 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69255 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69257 return cycles;
69258 #undef FLD
69261 static int
69262 model_fr400_cfckug (SIM_CPU *current_cpu, void *sem_arg)
69264 #define FLD(f) abuf->fields.sfmt_cfckne.f
69265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69266 const IDESC * UNUSED idesc = abuf->idesc;
69267 int cycles = 0;
69269 int referenced = 0;
69270 int UNUSED insn_referenced = abuf->written;
69271 INT in_ICCi_3 = -1;
69272 INT in_FCCi_3 = -1;
69273 in_FCCi_3 = FLD (in_FCCi_3);
69274 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69275 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69277 return cycles;
69278 #undef FLD
69281 static int
69282 model_fr400_cfckle (SIM_CPU *current_cpu, void *sem_arg)
69284 #define FLD(f) abuf->fields.sfmt_cfckne.f
69285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69286 const IDESC * UNUSED idesc = abuf->idesc;
69287 int cycles = 0;
69289 int referenced = 0;
69290 int UNUSED insn_referenced = abuf->written;
69291 INT in_ICCi_3 = -1;
69292 INT in_FCCi_3 = -1;
69293 in_FCCi_3 = FLD (in_FCCi_3);
69294 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69295 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69297 return cycles;
69298 #undef FLD
69301 static int
69302 model_fr400_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
69304 #define FLD(f) abuf->fields.sfmt_cfckne.f
69305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69306 const IDESC * UNUSED idesc = abuf->idesc;
69307 int cycles = 0;
69309 int referenced = 0;
69310 int UNUSED insn_referenced = abuf->written;
69311 INT in_ICCi_3 = -1;
69312 INT in_FCCi_3 = -1;
69313 in_FCCi_3 = FLD (in_FCCi_3);
69314 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69315 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69317 return cycles;
69318 #undef FLD
69321 static int
69322 model_fr400_cfckule (SIM_CPU *current_cpu, void *sem_arg)
69324 #define FLD(f) abuf->fields.sfmt_cfckne.f
69325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69326 const IDESC * UNUSED idesc = abuf->idesc;
69327 int cycles = 0;
69329 int referenced = 0;
69330 int UNUSED insn_referenced = abuf->written;
69331 INT in_ICCi_3 = -1;
69332 INT in_FCCi_3 = -1;
69333 in_FCCi_3 = FLD (in_FCCi_3);
69334 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69335 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69337 return cycles;
69338 #undef FLD
69341 static int
69342 model_fr400_cfcku (SIM_CPU *current_cpu, void *sem_arg)
69344 #define FLD(f) abuf->fields.sfmt_cfckne.f
69345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69346 const IDESC * UNUSED idesc = abuf->idesc;
69347 int cycles = 0;
69349 int referenced = 0;
69350 int UNUSED insn_referenced = abuf->written;
69351 INT in_ICCi_3 = -1;
69352 INT in_FCCi_3 = -1;
69353 in_FCCi_3 = FLD (in_FCCi_3);
69354 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69355 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69357 return cycles;
69358 #undef FLD
69361 static int
69362 model_fr400_cfcko (SIM_CPU *current_cpu, void *sem_arg)
69364 #define FLD(f) abuf->fields.sfmt_cfckne.f
69365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69366 const IDESC * UNUSED idesc = abuf->idesc;
69367 int cycles = 0;
69369 int referenced = 0;
69370 int UNUSED insn_referenced = abuf->written;
69371 INT in_ICCi_3 = -1;
69372 INT in_FCCi_3 = -1;
69373 in_FCCi_3 = FLD (in_FCCi_3);
69374 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69375 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69377 return cycles;
69378 #undef FLD
69381 static int
69382 model_fr400_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
69384 #define FLD(f) abuf->fields.sfmt_cjmpl.f
69385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69386 const IDESC * UNUSED idesc = abuf->idesc;
69387 int cycles = 0;
69389 int referenced = 0;
69390 int UNUSED insn_referenced = abuf->written;
69391 INT in_GRi = -1;
69392 INT in_GRj = -1;
69393 INT in_ICCi_2 = -1;
69394 INT in_FCCi_2 = -1;
69395 in_GRi = FLD (in_GRi);
69396 in_GRj = FLD (in_GRj);
69397 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69398 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
69399 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
69400 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
69402 return cycles;
69403 #undef FLD
69406 static int
69407 model_fr400_ccalll (SIM_CPU *current_cpu, void *sem_arg)
69409 #define FLD(f) abuf->fields.sfmt_cjmpl.f
69410 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69411 const IDESC * UNUSED idesc = abuf->idesc;
69412 int cycles = 0;
69414 int referenced = 0;
69415 int UNUSED insn_referenced = abuf->written;
69416 INT in_GRi = -1;
69417 INT in_GRj = -1;
69418 INT in_ICCi_2 = -1;
69419 INT in_FCCi_2 = -1;
69420 in_GRi = FLD (in_GRi);
69421 in_GRj = FLD (in_GRj);
69422 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69423 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
69424 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
69425 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
69427 return cycles;
69428 #undef FLD
69431 static int
69432 model_fr400_ici (SIM_CPU *current_cpu, void *sem_arg)
69434 #define FLD(f) abuf->fields.sfmt_icpl.f
69435 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69436 const IDESC * UNUSED idesc = abuf->idesc;
69437 int cycles = 0;
69439 int referenced = 0;
69440 int UNUSED insn_referenced = abuf->written;
69441 INT in_GRi = -1;
69442 INT in_GRj = -1;
69443 in_GRi = FLD (in_GRi);
69444 in_GRj = FLD (in_GRj);
69445 referenced |= 1 << 0;
69446 referenced |= 1 << 1;
69447 cycles += frvbf_model_fr400_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69449 return cycles;
69450 #undef FLD
69453 static int
69454 model_fr400_dci (SIM_CPU *current_cpu, void *sem_arg)
69456 #define FLD(f) abuf->fields.sfmt_icpl.f
69457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69458 const IDESC * UNUSED idesc = abuf->idesc;
69459 int cycles = 0;
69461 int referenced = 0;
69462 int UNUSED insn_referenced = abuf->written;
69463 INT in_GRi = -1;
69464 INT in_GRj = -1;
69465 in_GRi = FLD (in_GRi);
69466 in_GRj = FLD (in_GRj);
69467 referenced |= 1 << 0;
69468 referenced |= 1 << 1;
69469 cycles += frvbf_model_fr400_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69471 return cycles;
69472 #undef FLD
69475 static int
69476 model_fr400_icei (SIM_CPU *current_cpu, void *sem_arg)
69478 #define FLD(f) abuf->fields.sfmt_icei.f
69479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69480 const IDESC * UNUSED idesc = abuf->idesc;
69481 int cycles = 0;
69483 int referenced = 0;
69484 int UNUSED insn_referenced = abuf->written;
69485 INT in_GRi = -1;
69486 INT in_GRj = -1;
69487 in_GRi = FLD (in_GRi);
69488 in_GRj = FLD (in_GRj);
69489 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
69490 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69491 cycles += frvbf_model_fr400_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69493 return cycles;
69494 #undef FLD
69497 static int
69498 model_fr400_dcei (SIM_CPU *current_cpu, void *sem_arg)
69500 #define FLD(f) abuf->fields.sfmt_icei.f
69501 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69502 const IDESC * UNUSED idesc = abuf->idesc;
69503 int cycles = 0;
69505 int referenced = 0;
69506 int UNUSED insn_referenced = abuf->written;
69507 INT in_GRi = -1;
69508 INT in_GRj = -1;
69509 in_GRi = FLD (in_GRi);
69510 in_GRj = FLD (in_GRj);
69511 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
69512 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69513 cycles += frvbf_model_fr400_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69515 return cycles;
69516 #undef FLD
69519 static int
69520 model_fr400_dcf (SIM_CPU *current_cpu, void *sem_arg)
69522 #define FLD(f) abuf->fields.sfmt_icpl.f
69523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69524 const IDESC * UNUSED idesc = abuf->idesc;
69525 int cycles = 0;
69527 int referenced = 0;
69528 int UNUSED insn_referenced = abuf->written;
69529 INT in_GRi = -1;
69530 INT in_GRj = -1;
69531 in_GRi = FLD (in_GRi);
69532 in_GRj = FLD (in_GRj);
69533 referenced |= 1 << 0;
69534 referenced |= 1 << 1;
69535 cycles += frvbf_model_fr400_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69537 return cycles;
69538 #undef FLD
69541 static int
69542 model_fr400_dcef (SIM_CPU *current_cpu, void *sem_arg)
69544 #define FLD(f) abuf->fields.sfmt_icei.f
69545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69546 const IDESC * UNUSED idesc = abuf->idesc;
69547 int cycles = 0;
69549 int referenced = 0;
69550 int UNUSED insn_referenced = abuf->written;
69551 INT in_GRi = -1;
69552 INT in_GRj = -1;
69553 in_GRi = FLD (in_GRi);
69554 in_GRj = FLD (in_GRj);
69555 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
69556 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69557 cycles += frvbf_model_fr400_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69559 return cycles;
69560 #undef FLD
69563 static int
69564 model_fr400_witlb (SIM_CPU *current_cpu, void *sem_arg)
69566 #define FLD(f) abuf->fields.sfmt_empty.f
69567 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69568 const IDESC * UNUSED idesc = abuf->idesc;
69569 int cycles = 0;
69571 int referenced = 0;
69572 int UNUSED insn_referenced = abuf->written;
69573 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69575 return cycles;
69576 #undef FLD
69579 static int
69580 model_fr400_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
69582 #define FLD(f) abuf->fields.sfmt_empty.f
69583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69584 const IDESC * UNUSED idesc = abuf->idesc;
69585 int cycles = 0;
69587 int referenced = 0;
69588 int UNUSED insn_referenced = abuf->written;
69589 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69591 return cycles;
69592 #undef FLD
69595 static int
69596 model_fr400_itlbi (SIM_CPU *current_cpu, void *sem_arg)
69598 #define FLD(f) abuf->fields.sfmt_empty.f
69599 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69600 const IDESC * UNUSED idesc = abuf->idesc;
69601 int cycles = 0;
69603 int referenced = 0;
69604 int UNUSED insn_referenced = abuf->written;
69605 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69607 return cycles;
69608 #undef FLD
69611 static int
69612 model_fr400_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
69614 #define FLD(f) abuf->fields.sfmt_empty.f
69615 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69616 const IDESC * UNUSED idesc = abuf->idesc;
69617 int cycles = 0;
69619 int referenced = 0;
69620 int UNUSED insn_referenced = abuf->written;
69621 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69623 return cycles;
69624 #undef FLD
69627 static int
69628 model_fr400_icpl (SIM_CPU *current_cpu, void *sem_arg)
69630 #define FLD(f) abuf->fields.sfmt_icpl.f
69631 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69632 const IDESC * UNUSED idesc = abuf->idesc;
69633 int cycles = 0;
69635 int referenced = 0;
69636 int UNUSED insn_referenced = abuf->written;
69637 INT in_GRi = -1;
69638 INT in_GRj = -1;
69639 in_GRi = FLD (in_GRi);
69640 in_GRj = FLD (in_GRj);
69641 referenced |= 1 << 0;
69642 referenced |= 1 << 1;
69643 cycles += frvbf_model_fr400_u_icpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69645 return cycles;
69646 #undef FLD
69649 static int
69650 model_fr400_dcpl (SIM_CPU *current_cpu, void *sem_arg)
69652 #define FLD(f) abuf->fields.sfmt_icpl.f
69653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69654 const IDESC * UNUSED idesc = abuf->idesc;
69655 int cycles = 0;
69657 int referenced = 0;
69658 int UNUSED insn_referenced = abuf->written;
69659 INT in_GRi = -1;
69660 INT in_GRj = -1;
69661 in_GRi = FLD (in_GRi);
69662 in_GRj = FLD (in_GRj);
69663 referenced |= 1 << 0;
69664 referenced |= 1 << 1;
69665 cycles += frvbf_model_fr400_u_dcpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69667 return cycles;
69668 #undef FLD
69671 static int
69672 model_fr400_icul (SIM_CPU *current_cpu, void *sem_arg)
69674 #define FLD(f) abuf->fields.sfmt_jmpil.f
69675 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69676 const IDESC * UNUSED idesc = abuf->idesc;
69677 int cycles = 0;
69679 int referenced = 0;
69680 int UNUSED insn_referenced = abuf->written;
69681 INT in_GRi = -1;
69682 INT in_GRj = -1;
69683 in_GRi = FLD (in_GRi);
69684 referenced |= 1 << 0;
69685 cycles += frvbf_model_fr400_u_icul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69687 return cycles;
69688 #undef FLD
69691 static int
69692 model_fr400_dcul (SIM_CPU *current_cpu, void *sem_arg)
69694 #define FLD(f) abuf->fields.sfmt_jmpil.f
69695 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69696 const IDESC * UNUSED idesc = abuf->idesc;
69697 int cycles = 0;
69699 int referenced = 0;
69700 int UNUSED insn_referenced = abuf->written;
69701 INT in_GRi = -1;
69702 INT in_GRj = -1;
69703 in_GRi = FLD (in_GRi);
69704 referenced |= 1 << 0;
69705 cycles += frvbf_model_fr400_u_dcul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69707 return cycles;
69708 #undef FLD
69711 static int
69712 model_fr400_bar (SIM_CPU *current_cpu, void *sem_arg)
69714 #define FLD(f) abuf->fields.sfmt_empty.f
69715 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69716 const IDESC * UNUSED idesc = abuf->idesc;
69717 int cycles = 0;
69719 int referenced = 0;
69720 int UNUSED insn_referenced = abuf->written;
69721 cycles += frvbf_model_fr400_u_barrier (current_cpu, idesc, 0, referenced);
69723 return cycles;
69724 #undef FLD
69727 static int
69728 model_fr400_membar (SIM_CPU *current_cpu, void *sem_arg)
69730 #define FLD(f) abuf->fields.sfmt_empty.f
69731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69732 const IDESC * UNUSED idesc = abuf->idesc;
69733 int cycles = 0;
69735 int referenced = 0;
69736 int UNUSED insn_referenced = abuf->written;
69737 cycles += frvbf_model_fr400_u_membar (current_cpu, idesc, 0, referenced);
69739 return cycles;
69740 #undef FLD
69743 static int
69744 model_fr400_lrai (SIM_CPU *current_cpu, void *sem_arg)
69746 #define FLD(f) abuf->fields.sfmt_empty.f
69747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69748 const IDESC * UNUSED idesc = abuf->idesc;
69749 int cycles = 0;
69751 int referenced = 0;
69752 int UNUSED insn_referenced = abuf->written;
69753 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69755 return cycles;
69756 #undef FLD
69759 static int
69760 model_fr400_lrad (SIM_CPU *current_cpu, void *sem_arg)
69762 #define FLD(f) abuf->fields.sfmt_empty.f
69763 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69764 const IDESC * UNUSED idesc = abuf->idesc;
69765 int cycles = 0;
69767 int referenced = 0;
69768 int UNUSED insn_referenced = abuf->written;
69769 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69771 return cycles;
69772 #undef FLD
69775 static int
69776 model_fr400_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
69778 #define FLD(f) abuf->fields.sfmt_empty.f
69779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69780 const IDESC * UNUSED idesc = abuf->idesc;
69781 int cycles = 0;
69783 int referenced = 0;
69784 int UNUSED insn_referenced = abuf->written;
69785 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69787 return cycles;
69788 #undef FLD
69791 static int
69792 model_fr400_cop1 (SIM_CPU *current_cpu, void *sem_arg)
69794 #define FLD(f) abuf->fields.sfmt_empty.f
69795 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69796 const IDESC * UNUSED idesc = abuf->idesc;
69797 int cycles = 0;
69799 int referenced = 0;
69800 int UNUSED insn_referenced = abuf->written;
69801 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69803 return cycles;
69804 #undef FLD
69807 static int
69808 model_fr400_cop2 (SIM_CPU *current_cpu, void *sem_arg)
69810 #define FLD(f) abuf->fields.sfmt_empty.f
69811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69812 const IDESC * UNUSED idesc = abuf->idesc;
69813 int cycles = 0;
69815 int referenced = 0;
69816 int UNUSED insn_referenced = abuf->written;
69817 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69819 return cycles;
69820 #undef FLD
69823 static int
69824 model_fr400_clrgr (SIM_CPU *current_cpu, void *sem_arg)
69826 #define FLD(f) abuf->fields.sfmt_swapi.f
69827 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69828 const IDESC * UNUSED idesc = abuf->idesc;
69829 int cycles = 0;
69831 int referenced = 0;
69832 int UNUSED insn_referenced = abuf->written;
69833 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69835 return cycles;
69836 #undef FLD
69839 static int
69840 model_fr400_clrfr (SIM_CPU *current_cpu, void *sem_arg)
69842 #define FLD(f) abuf->fields.sfmt_cfmadds.f
69843 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69844 const IDESC * UNUSED idesc = abuf->idesc;
69845 int cycles = 0;
69847 int referenced = 0;
69848 int UNUSED insn_referenced = abuf->written;
69849 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69851 return cycles;
69852 #undef FLD
69855 static int
69856 model_fr400_clrga (SIM_CPU *current_cpu, void *sem_arg)
69858 #define FLD(f) abuf->fields.sfmt_empty.f
69859 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69860 const IDESC * UNUSED idesc = abuf->idesc;
69861 int cycles = 0;
69863 int referenced = 0;
69864 int UNUSED insn_referenced = abuf->written;
69865 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69867 return cycles;
69868 #undef FLD
69871 static int
69872 model_fr400_clrfa (SIM_CPU *current_cpu, void *sem_arg)
69874 #define FLD(f) abuf->fields.sfmt_empty.f
69875 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69876 const IDESC * UNUSED idesc = abuf->idesc;
69877 int cycles = 0;
69879 int referenced = 0;
69880 int UNUSED insn_referenced = abuf->written;
69881 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69883 return cycles;
69884 #undef FLD
69887 static int
69888 model_fr400_commitgr (SIM_CPU *current_cpu, void *sem_arg)
69890 #define FLD(f) abuf->fields.sfmt_setlos.f
69891 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69892 const IDESC * UNUSED idesc = abuf->idesc;
69893 int cycles = 0;
69895 int referenced = 0;
69896 int UNUSED insn_referenced = abuf->written;
69897 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69899 return cycles;
69900 #undef FLD
69903 static int
69904 model_fr400_commitfr (SIM_CPU *current_cpu, void *sem_arg)
69906 #define FLD(f) abuf->fields.sfmt_mhsethis.f
69907 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69908 const IDESC * UNUSED idesc = abuf->idesc;
69909 int cycles = 0;
69911 int referenced = 0;
69912 int UNUSED insn_referenced = abuf->written;
69913 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69915 return cycles;
69916 #undef FLD
69919 static int
69920 model_fr400_commitga (SIM_CPU *current_cpu, void *sem_arg)
69922 #define FLD(f) abuf->fields.sfmt_empty.f
69923 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69924 const IDESC * UNUSED idesc = abuf->idesc;
69925 int cycles = 0;
69927 int referenced = 0;
69928 int UNUSED insn_referenced = abuf->written;
69929 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69931 return cycles;
69932 #undef FLD
69935 static int
69936 model_fr400_commitfa (SIM_CPU *current_cpu, void *sem_arg)
69938 #define FLD(f) abuf->fields.sfmt_empty.f
69939 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69940 const IDESC * UNUSED idesc = abuf->idesc;
69941 int cycles = 0;
69943 int referenced = 0;
69944 int UNUSED insn_referenced = abuf->written;
69945 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69947 return cycles;
69948 #undef FLD
69951 static int
69952 model_fr400_fitos (SIM_CPU *current_cpu, void *sem_arg)
69954 #define FLD(f) abuf->fields.sfmt_fditos.f
69955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69956 const IDESC * UNUSED idesc = abuf->idesc;
69957 int cycles = 0;
69959 int referenced = 0;
69960 int UNUSED insn_referenced = abuf->written;
69961 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69963 return cycles;
69964 #undef FLD
69967 static int
69968 model_fr400_fstoi (SIM_CPU *current_cpu, void *sem_arg)
69970 #define FLD(f) abuf->fields.sfmt_fdstoi.f
69971 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69972 const IDESC * UNUSED idesc = abuf->idesc;
69973 int cycles = 0;
69975 int referenced = 0;
69976 int UNUSED insn_referenced = abuf->written;
69977 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69979 return cycles;
69980 #undef FLD
69983 static int
69984 model_fr400_fitod (SIM_CPU *current_cpu, void *sem_arg)
69986 #define FLD(f) abuf->fields.sfmt_fitod.f
69987 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69988 const IDESC * UNUSED idesc = abuf->idesc;
69989 int cycles = 0;
69991 int referenced = 0;
69992 int UNUSED insn_referenced = abuf->written;
69993 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69995 return cycles;
69996 #undef FLD
69999 static int
70000 model_fr400_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
70002 #define FLD(f) abuf->fields.sfmt_fdtoi.f
70003 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70004 const IDESC * UNUSED idesc = abuf->idesc;
70005 int cycles = 0;
70007 int referenced = 0;
70008 int UNUSED insn_referenced = abuf->written;
70009 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70011 return cycles;
70012 #undef FLD
70015 static int
70016 model_fr400_fditos (SIM_CPU *current_cpu, void *sem_arg)
70018 #define FLD(f) abuf->fields.sfmt_fditos.f
70019 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70020 const IDESC * UNUSED idesc = abuf->idesc;
70021 int cycles = 0;
70023 int referenced = 0;
70024 int UNUSED insn_referenced = abuf->written;
70025 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70027 return cycles;
70028 #undef FLD
70031 static int
70032 model_fr400_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
70034 #define FLD(f) abuf->fields.sfmt_fdstoi.f
70035 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70036 const IDESC * UNUSED idesc = abuf->idesc;
70037 int cycles = 0;
70039 int referenced = 0;
70040 int UNUSED insn_referenced = abuf->written;
70041 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70043 return cycles;
70044 #undef FLD
70047 static int
70048 model_fr400_nfditos (SIM_CPU *current_cpu, void *sem_arg)
70050 #define FLD(f) abuf->fields.sfmt_fditos.f
70051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70052 const IDESC * UNUSED idesc = abuf->idesc;
70053 int cycles = 0;
70055 int referenced = 0;
70056 int UNUSED insn_referenced = abuf->written;
70057 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70059 return cycles;
70060 #undef FLD
70063 static int
70064 model_fr400_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
70066 #define FLD(f) abuf->fields.sfmt_fdstoi.f
70067 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70068 const IDESC * UNUSED idesc = abuf->idesc;
70069 int cycles = 0;
70071 int referenced = 0;
70072 int UNUSED insn_referenced = abuf->written;
70073 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70075 return cycles;
70076 #undef FLD
70079 static int
70080 model_fr400_cfitos (SIM_CPU *current_cpu, void *sem_arg)
70082 #define FLD(f) abuf->fields.sfmt_cfitos.f
70083 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70084 const IDESC * UNUSED idesc = abuf->idesc;
70085 int cycles = 0;
70087 int referenced = 0;
70088 int UNUSED insn_referenced = abuf->written;
70089 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70091 return cycles;
70092 #undef FLD
70095 static int
70096 model_fr400_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
70098 #define FLD(f) abuf->fields.sfmt_cfstoi.f
70099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70100 const IDESC * UNUSED idesc = abuf->idesc;
70101 int cycles = 0;
70103 int referenced = 0;
70104 int UNUSED insn_referenced = abuf->written;
70105 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70107 return cycles;
70108 #undef FLD
70111 static int
70112 model_fr400_nfitos (SIM_CPU *current_cpu, void *sem_arg)
70114 #define FLD(f) abuf->fields.sfmt_fditos.f
70115 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70116 const IDESC * UNUSED idesc = abuf->idesc;
70117 int cycles = 0;
70119 int referenced = 0;
70120 int UNUSED insn_referenced = abuf->written;
70121 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70123 return cycles;
70124 #undef FLD
70127 static int
70128 model_fr400_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
70130 #define FLD(f) abuf->fields.sfmt_fdstoi.f
70131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70132 const IDESC * UNUSED idesc = abuf->idesc;
70133 int cycles = 0;
70135 int referenced = 0;
70136 int UNUSED insn_referenced = abuf->written;
70137 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70139 return cycles;
70140 #undef FLD
70143 static int
70144 model_fr400_fmovs (SIM_CPU *current_cpu, void *sem_arg)
70146 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70148 const IDESC * UNUSED idesc = abuf->idesc;
70149 int cycles = 0;
70151 int referenced = 0;
70152 int UNUSED insn_referenced = abuf->written;
70153 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70155 return cycles;
70156 #undef FLD
70159 static int
70160 model_fr400_fmovd (SIM_CPU *current_cpu, void *sem_arg)
70162 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70163 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70164 const IDESC * UNUSED idesc = abuf->idesc;
70165 int cycles = 0;
70167 int referenced = 0;
70168 int UNUSED insn_referenced = abuf->written;
70169 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70171 return cycles;
70172 #undef FLD
70175 static int
70176 model_fr400_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
70178 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70179 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70180 const IDESC * UNUSED idesc = abuf->idesc;
70181 int cycles = 0;
70183 int referenced = 0;
70184 int UNUSED insn_referenced = abuf->written;
70185 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70187 return cycles;
70188 #undef FLD
70191 static int
70192 model_fr400_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
70194 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70195 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70196 const IDESC * UNUSED idesc = abuf->idesc;
70197 int cycles = 0;
70199 int referenced = 0;
70200 int UNUSED insn_referenced = abuf->written;
70201 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70203 return cycles;
70204 #undef FLD
70207 static int
70208 model_fr400_fnegs (SIM_CPU *current_cpu, void *sem_arg)
70210 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70212 const IDESC * UNUSED idesc = abuf->idesc;
70213 int cycles = 0;
70215 int referenced = 0;
70216 int UNUSED insn_referenced = abuf->written;
70217 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70219 return cycles;
70220 #undef FLD
70223 static int
70224 model_fr400_fnegd (SIM_CPU *current_cpu, void *sem_arg)
70226 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70227 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70228 const IDESC * UNUSED idesc = abuf->idesc;
70229 int cycles = 0;
70231 int referenced = 0;
70232 int UNUSED insn_referenced = abuf->written;
70233 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70235 return cycles;
70236 #undef FLD
70239 static int
70240 model_fr400_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
70242 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70244 const IDESC * UNUSED idesc = abuf->idesc;
70245 int cycles = 0;
70247 int referenced = 0;
70248 int UNUSED insn_referenced = abuf->written;
70249 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70251 return cycles;
70252 #undef FLD
70255 static int
70256 model_fr400_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
70258 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70259 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70260 const IDESC * UNUSED idesc = abuf->idesc;
70261 int cycles = 0;
70263 int referenced = 0;
70264 int UNUSED insn_referenced = abuf->written;
70265 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70267 return cycles;
70268 #undef FLD
70271 static int
70272 model_fr400_fabss (SIM_CPU *current_cpu, void *sem_arg)
70274 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70275 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70276 const IDESC * UNUSED idesc = abuf->idesc;
70277 int cycles = 0;
70279 int referenced = 0;
70280 int UNUSED insn_referenced = abuf->written;
70281 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70283 return cycles;
70284 #undef FLD
70287 static int
70288 model_fr400_fabsd (SIM_CPU *current_cpu, void *sem_arg)
70290 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70291 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70292 const IDESC * UNUSED idesc = abuf->idesc;
70293 int cycles = 0;
70295 int referenced = 0;
70296 int UNUSED insn_referenced = abuf->written;
70297 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70299 return cycles;
70300 #undef FLD
70303 static int
70304 model_fr400_fdabss (SIM_CPU *current_cpu, void *sem_arg)
70306 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70307 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70308 const IDESC * UNUSED idesc = abuf->idesc;
70309 int cycles = 0;
70311 int referenced = 0;
70312 int UNUSED insn_referenced = abuf->written;
70313 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70315 return cycles;
70316 #undef FLD
70319 static int
70320 model_fr400_cfabss (SIM_CPU *current_cpu, void *sem_arg)
70322 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70323 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70324 const IDESC * UNUSED idesc = abuf->idesc;
70325 int cycles = 0;
70327 int referenced = 0;
70328 int UNUSED insn_referenced = abuf->written;
70329 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70331 return cycles;
70332 #undef FLD
70335 static int
70336 model_fr400_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
70338 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70339 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70340 const IDESC * UNUSED idesc = abuf->idesc;
70341 int cycles = 0;
70343 int referenced = 0;
70344 int UNUSED insn_referenced = abuf->written;
70345 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70347 return cycles;
70348 #undef FLD
70351 static int
70352 model_fr400_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
70354 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70355 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70356 const IDESC * UNUSED idesc = abuf->idesc;
70357 int cycles = 0;
70359 int referenced = 0;
70360 int UNUSED insn_referenced = abuf->written;
70361 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70363 return cycles;
70364 #undef FLD
70367 static int
70368 model_fr400_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
70370 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70371 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70372 const IDESC * UNUSED idesc = abuf->idesc;
70373 int cycles = 0;
70375 int referenced = 0;
70376 int UNUSED insn_referenced = abuf->written;
70377 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70379 return cycles;
70380 #undef FLD
70383 static int
70384 model_fr400_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
70386 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70387 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70388 const IDESC * UNUSED idesc = abuf->idesc;
70389 int cycles = 0;
70391 int referenced = 0;
70392 int UNUSED insn_referenced = abuf->written;
70393 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70395 return cycles;
70396 #undef FLD
70399 static int
70400 model_fr400_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
70402 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70404 const IDESC * UNUSED idesc = abuf->idesc;
70405 int cycles = 0;
70407 int referenced = 0;
70408 int UNUSED insn_referenced = abuf->written;
70409 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70411 return cycles;
70412 #undef FLD
70415 static int
70416 model_fr400_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
70418 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70419 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70420 const IDESC * UNUSED idesc = abuf->idesc;
70421 int cycles = 0;
70423 int referenced = 0;
70424 int UNUSED insn_referenced = abuf->written;
70425 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70427 return cycles;
70428 #undef FLD
70431 static int
70432 model_fr400_fadds (SIM_CPU *current_cpu, void *sem_arg)
70434 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70435 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70436 const IDESC * UNUSED idesc = abuf->idesc;
70437 int cycles = 0;
70439 int referenced = 0;
70440 int UNUSED insn_referenced = abuf->written;
70441 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70443 return cycles;
70444 #undef FLD
70447 static int
70448 model_fr400_fsubs (SIM_CPU *current_cpu, void *sem_arg)
70450 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70451 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70452 const IDESC * UNUSED idesc = abuf->idesc;
70453 int cycles = 0;
70455 int referenced = 0;
70456 int UNUSED insn_referenced = abuf->written;
70457 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70459 return cycles;
70460 #undef FLD
70463 static int
70464 model_fr400_fmuls (SIM_CPU *current_cpu, void *sem_arg)
70466 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70467 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70468 const IDESC * UNUSED idesc = abuf->idesc;
70469 int cycles = 0;
70471 int referenced = 0;
70472 int UNUSED insn_referenced = abuf->written;
70473 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70475 return cycles;
70476 #undef FLD
70479 static int
70480 model_fr400_fdivs (SIM_CPU *current_cpu, void *sem_arg)
70482 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70484 const IDESC * UNUSED idesc = abuf->idesc;
70485 int cycles = 0;
70487 int referenced = 0;
70488 int UNUSED insn_referenced = abuf->written;
70489 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70491 return cycles;
70492 #undef FLD
70495 static int
70496 model_fr400_faddd (SIM_CPU *current_cpu, void *sem_arg)
70498 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70499 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70500 const IDESC * UNUSED idesc = abuf->idesc;
70501 int cycles = 0;
70503 int referenced = 0;
70504 int UNUSED insn_referenced = abuf->written;
70505 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70507 return cycles;
70508 #undef FLD
70511 static int
70512 model_fr400_fsubd (SIM_CPU *current_cpu, void *sem_arg)
70514 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70515 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70516 const IDESC * UNUSED idesc = abuf->idesc;
70517 int cycles = 0;
70519 int referenced = 0;
70520 int UNUSED insn_referenced = abuf->written;
70521 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70523 return cycles;
70524 #undef FLD
70527 static int
70528 model_fr400_fmuld (SIM_CPU *current_cpu, void *sem_arg)
70530 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70531 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70532 const IDESC * UNUSED idesc = abuf->idesc;
70533 int cycles = 0;
70535 int referenced = 0;
70536 int UNUSED insn_referenced = abuf->written;
70537 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70539 return cycles;
70540 #undef FLD
70543 static int
70544 model_fr400_fdivd (SIM_CPU *current_cpu, void *sem_arg)
70546 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70547 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70548 const IDESC * UNUSED idesc = abuf->idesc;
70549 int cycles = 0;
70551 int referenced = 0;
70552 int UNUSED insn_referenced = abuf->written;
70553 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70555 return cycles;
70556 #undef FLD
70559 static int
70560 model_fr400_cfadds (SIM_CPU *current_cpu, void *sem_arg)
70562 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70564 const IDESC * UNUSED idesc = abuf->idesc;
70565 int cycles = 0;
70567 int referenced = 0;
70568 int UNUSED insn_referenced = abuf->written;
70569 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70571 return cycles;
70572 #undef FLD
70575 static int
70576 model_fr400_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
70578 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70579 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70580 const IDESC * UNUSED idesc = abuf->idesc;
70581 int cycles = 0;
70583 int referenced = 0;
70584 int UNUSED insn_referenced = abuf->written;
70585 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70587 return cycles;
70588 #undef FLD
70591 static int
70592 model_fr400_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
70594 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70595 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70596 const IDESC * UNUSED idesc = abuf->idesc;
70597 int cycles = 0;
70599 int referenced = 0;
70600 int UNUSED insn_referenced = abuf->written;
70601 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70603 return cycles;
70604 #undef FLD
70607 static int
70608 model_fr400_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
70610 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70611 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70612 const IDESC * UNUSED idesc = abuf->idesc;
70613 int cycles = 0;
70615 int referenced = 0;
70616 int UNUSED insn_referenced = abuf->written;
70617 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70619 return cycles;
70620 #undef FLD
70623 static int
70624 model_fr400_nfadds (SIM_CPU *current_cpu, void *sem_arg)
70626 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70627 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70628 const IDESC * UNUSED idesc = abuf->idesc;
70629 int cycles = 0;
70631 int referenced = 0;
70632 int UNUSED insn_referenced = abuf->written;
70633 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70635 return cycles;
70636 #undef FLD
70639 static int
70640 model_fr400_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
70642 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70643 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70644 const IDESC * UNUSED idesc = abuf->idesc;
70645 int cycles = 0;
70647 int referenced = 0;
70648 int UNUSED insn_referenced = abuf->written;
70649 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70651 return cycles;
70652 #undef FLD
70655 static int
70656 model_fr400_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
70658 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70659 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70660 const IDESC * UNUSED idesc = abuf->idesc;
70661 int cycles = 0;
70663 int referenced = 0;
70664 int UNUSED insn_referenced = abuf->written;
70665 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70667 return cycles;
70668 #undef FLD
70671 static int
70672 model_fr400_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
70674 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70675 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70676 const IDESC * UNUSED idesc = abuf->idesc;
70677 int cycles = 0;
70679 int referenced = 0;
70680 int UNUSED insn_referenced = abuf->written;
70681 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70683 return cycles;
70684 #undef FLD
70687 static int
70688 model_fr400_fcmps (SIM_CPU *current_cpu, void *sem_arg)
70690 #define FLD(f) abuf->fields.sfmt_cfcmps.f
70691 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70692 const IDESC * UNUSED idesc = abuf->idesc;
70693 int cycles = 0;
70695 int referenced = 0;
70696 int UNUSED insn_referenced = abuf->written;
70697 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70699 return cycles;
70700 #undef FLD
70703 static int
70704 model_fr400_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
70706 #define FLD(f) abuf->fields.sfmt_fcmpd.f
70707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70708 const IDESC * UNUSED idesc = abuf->idesc;
70709 int cycles = 0;
70711 int referenced = 0;
70712 int UNUSED insn_referenced = abuf->written;
70713 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70715 return cycles;
70716 #undef FLD
70719 static int
70720 model_fr400_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
70722 #define FLD(f) abuf->fields.sfmt_cfcmps.f
70723 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70724 const IDESC * UNUSED idesc = abuf->idesc;
70725 int cycles = 0;
70727 int referenced = 0;
70728 int UNUSED insn_referenced = abuf->written;
70729 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70731 return cycles;
70732 #undef FLD
70735 static int
70736 model_fr400_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
70738 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
70739 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70740 const IDESC * UNUSED idesc = abuf->idesc;
70741 int cycles = 0;
70743 int referenced = 0;
70744 int UNUSED insn_referenced = abuf->written;
70745 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70747 return cycles;
70748 #undef FLD
70751 static int
70752 model_fr400_fmadds (SIM_CPU *current_cpu, void *sem_arg)
70754 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70755 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70756 const IDESC * UNUSED idesc = abuf->idesc;
70757 int cycles = 0;
70759 int referenced = 0;
70760 int UNUSED insn_referenced = abuf->written;
70761 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70763 return cycles;
70764 #undef FLD
70767 static int
70768 model_fr400_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
70770 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70772 const IDESC * UNUSED idesc = abuf->idesc;
70773 int cycles = 0;
70775 int referenced = 0;
70776 int UNUSED insn_referenced = abuf->written;
70777 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70779 return cycles;
70780 #undef FLD
70783 static int
70784 model_fr400_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
70786 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70787 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70788 const IDESC * UNUSED idesc = abuf->idesc;
70789 int cycles = 0;
70791 int referenced = 0;
70792 int UNUSED insn_referenced = abuf->written;
70793 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70795 return cycles;
70796 #undef FLD
70799 static int
70800 model_fr400_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
70802 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70804 const IDESC * UNUSED idesc = abuf->idesc;
70805 int cycles = 0;
70807 int referenced = 0;
70808 int UNUSED insn_referenced = abuf->written;
70809 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70811 return cycles;
70812 #undef FLD
70815 static int
70816 model_fr400_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
70818 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70819 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70820 const IDESC * UNUSED idesc = abuf->idesc;
70821 int cycles = 0;
70823 int referenced = 0;
70824 int UNUSED insn_referenced = abuf->written;
70825 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70827 return cycles;
70828 #undef FLD
70831 static int
70832 model_fr400_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
70834 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70835 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70836 const IDESC * UNUSED idesc = abuf->idesc;
70837 int cycles = 0;
70839 int referenced = 0;
70840 int UNUSED insn_referenced = abuf->written;
70841 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70843 return cycles;
70844 #undef FLD
70847 static int
70848 model_fr400_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
70850 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70852 const IDESC * UNUSED idesc = abuf->idesc;
70853 int cycles = 0;
70855 int referenced = 0;
70856 int UNUSED insn_referenced = abuf->written;
70857 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70859 return cycles;
70860 #undef FLD
70863 static int
70864 model_fr400_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
70866 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70868 const IDESC * UNUSED idesc = abuf->idesc;
70869 int cycles = 0;
70871 int referenced = 0;
70872 int UNUSED insn_referenced = abuf->written;
70873 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70875 return cycles;
70876 #undef FLD
70879 static int
70880 model_fr400_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
70882 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70883 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70884 const IDESC * UNUSED idesc = abuf->idesc;
70885 int cycles = 0;
70887 int referenced = 0;
70888 int UNUSED insn_referenced = abuf->written;
70889 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70891 return cycles;
70892 #undef FLD
70895 static int
70896 model_fr400_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
70898 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70899 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70900 const IDESC * UNUSED idesc = abuf->idesc;
70901 int cycles = 0;
70903 int referenced = 0;
70904 int UNUSED insn_referenced = abuf->written;
70905 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70907 return cycles;
70908 #undef FLD
70911 static int
70912 model_fr400_fmas (SIM_CPU *current_cpu, void *sem_arg)
70914 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70915 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70916 const IDESC * UNUSED idesc = abuf->idesc;
70917 int cycles = 0;
70919 int referenced = 0;
70920 int UNUSED insn_referenced = abuf->written;
70921 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70923 return cycles;
70924 #undef FLD
70927 static int
70928 model_fr400_fmss (SIM_CPU *current_cpu, void *sem_arg)
70930 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70932 const IDESC * UNUSED idesc = abuf->idesc;
70933 int cycles = 0;
70935 int referenced = 0;
70936 int UNUSED insn_referenced = abuf->written;
70937 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70939 return cycles;
70940 #undef FLD
70943 static int
70944 model_fr400_fdmas (SIM_CPU *current_cpu, void *sem_arg)
70946 #define FLD(f) abuf->fields.sfmt_fdmas.f
70947 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70948 const IDESC * UNUSED idesc = abuf->idesc;
70949 int cycles = 0;
70951 int referenced = 0;
70952 int UNUSED insn_referenced = abuf->written;
70953 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70955 return cycles;
70956 #undef FLD
70959 static int
70960 model_fr400_fdmss (SIM_CPU *current_cpu, void *sem_arg)
70962 #define FLD(f) abuf->fields.sfmt_fdmas.f
70963 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70964 const IDESC * UNUSED idesc = abuf->idesc;
70965 int cycles = 0;
70967 int referenced = 0;
70968 int UNUSED insn_referenced = abuf->written;
70969 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70971 return cycles;
70972 #undef FLD
70975 static int
70976 model_fr400_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
70978 #define FLD(f) abuf->fields.sfmt_fdmas.f
70979 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70980 const IDESC * UNUSED idesc = abuf->idesc;
70981 int cycles = 0;
70983 int referenced = 0;
70984 int UNUSED insn_referenced = abuf->written;
70985 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70987 return cycles;
70988 #undef FLD
70991 static int
70992 model_fr400_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
70994 #define FLD(f) abuf->fields.sfmt_fdmas.f
70995 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70996 const IDESC * UNUSED idesc = abuf->idesc;
70997 int cycles = 0;
70999 int referenced = 0;
71000 int UNUSED insn_referenced = abuf->written;
71001 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71003 return cycles;
71004 #undef FLD
71007 static int
71008 model_fr400_cfmas (SIM_CPU *current_cpu, void *sem_arg)
71010 #define FLD(f) abuf->fields.sfmt_cfmas.f
71011 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71012 const IDESC * UNUSED idesc = abuf->idesc;
71013 int cycles = 0;
71015 int referenced = 0;
71016 int UNUSED insn_referenced = abuf->written;
71017 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71019 return cycles;
71020 #undef FLD
71023 static int
71024 model_fr400_cfmss (SIM_CPU *current_cpu, void *sem_arg)
71026 #define FLD(f) abuf->fields.sfmt_cfmas.f
71027 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71028 const IDESC * UNUSED idesc = abuf->idesc;
71029 int cycles = 0;
71031 int referenced = 0;
71032 int UNUSED insn_referenced = abuf->written;
71033 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71035 return cycles;
71036 #undef FLD
71039 static int
71040 model_fr400_fmad (SIM_CPU *current_cpu, void *sem_arg)
71042 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71043 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71044 const IDESC * UNUSED idesc = abuf->idesc;
71045 int cycles = 0;
71047 int referenced = 0;
71048 int UNUSED insn_referenced = abuf->written;
71049 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71051 return cycles;
71052 #undef FLD
71055 static int
71056 model_fr400_fmsd (SIM_CPU *current_cpu, void *sem_arg)
71058 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71059 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71060 const IDESC * UNUSED idesc = abuf->idesc;
71061 int cycles = 0;
71063 int referenced = 0;
71064 int UNUSED insn_referenced = abuf->written;
71065 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71067 return cycles;
71068 #undef FLD
71071 static int
71072 model_fr400_nfmas (SIM_CPU *current_cpu, void *sem_arg)
71074 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71075 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71076 const IDESC * UNUSED idesc = abuf->idesc;
71077 int cycles = 0;
71079 int referenced = 0;
71080 int UNUSED insn_referenced = abuf->written;
71081 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71083 return cycles;
71084 #undef FLD
71087 static int
71088 model_fr400_nfmss (SIM_CPU *current_cpu, void *sem_arg)
71090 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71091 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71092 const IDESC * UNUSED idesc = abuf->idesc;
71093 int cycles = 0;
71095 int referenced = 0;
71096 int UNUSED insn_referenced = abuf->written;
71097 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71099 return cycles;
71100 #undef FLD
71103 static int
71104 model_fr400_fdadds (SIM_CPU *current_cpu, void *sem_arg)
71106 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71107 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71108 const IDESC * UNUSED idesc = abuf->idesc;
71109 int cycles = 0;
71111 int referenced = 0;
71112 int UNUSED insn_referenced = abuf->written;
71113 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71115 return cycles;
71116 #undef FLD
71119 static int
71120 model_fr400_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
71122 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71123 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71124 const IDESC * UNUSED idesc = abuf->idesc;
71125 int cycles = 0;
71127 int referenced = 0;
71128 int UNUSED insn_referenced = abuf->written;
71129 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71131 return cycles;
71132 #undef FLD
71135 static int
71136 model_fr400_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
71138 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71139 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71140 const IDESC * UNUSED idesc = abuf->idesc;
71141 int cycles = 0;
71143 int referenced = 0;
71144 int UNUSED insn_referenced = abuf->written;
71145 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71147 return cycles;
71148 #undef FLD
71151 static int
71152 model_fr400_fddivs (SIM_CPU *current_cpu, void *sem_arg)
71154 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71155 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71156 const IDESC * UNUSED idesc = abuf->idesc;
71157 int cycles = 0;
71159 int referenced = 0;
71160 int UNUSED insn_referenced = abuf->written;
71161 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71163 return cycles;
71164 #undef FLD
71167 static int
71168 model_fr400_fdsads (SIM_CPU *current_cpu, void *sem_arg)
71170 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71171 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71172 const IDESC * UNUSED idesc = abuf->idesc;
71173 int cycles = 0;
71175 int referenced = 0;
71176 int UNUSED insn_referenced = abuf->written;
71177 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71179 return cycles;
71180 #undef FLD
71183 static int
71184 model_fr400_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
71186 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71187 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71188 const IDESC * UNUSED idesc = abuf->idesc;
71189 int cycles = 0;
71191 int referenced = 0;
71192 int UNUSED insn_referenced = abuf->written;
71193 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71195 return cycles;
71196 #undef FLD
71199 static int
71200 model_fr400_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
71202 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71203 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71204 const IDESC * UNUSED idesc = abuf->idesc;
71205 int cycles = 0;
71207 int referenced = 0;
71208 int UNUSED insn_referenced = abuf->written;
71209 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71211 return cycles;
71212 #undef FLD
71215 static int
71216 model_fr400_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
71218 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71219 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71220 const IDESC * UNUSED idesc = abuf->idesc;
71221 int cycles = 0;
71223 int referenced = 0;
71224 int UNUSED insn_referenced = abuf->written;
71225 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71227 return cycles;
71228 #undef FLD
71231 static int
71232 model_fr400_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
71234 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71235 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71236 const IDESC * UNUSED idesc = abuf->idesc;
71237 int cycles = 0;
71239 int referenced = 0;
71240 int UNUSED insn_referenced = abuf->written;
71241 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71243 return cycles;
71244 #undef FLD
71247 static int
71248 model_fr400_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
71250 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71251 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71252 const IDESC * UNUSED idesc = abuf->idesc;
71253 int cycles = 0;
71255 int referenced = 0;
71256 int UNUSED insn_referenced = abuf->written;
71257 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71259 return cycles;
71260 #undef FLD
71263 static int
71264 model_fr400_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
71266 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71267 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71268 const IDESC * UNUSED idesc = abuf->idesc;
71269 int cycles = 0;
71271 int referenced = 0;
71272 int UNUSED insn_referenced = abuf->written;
71273 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71275 return cycles;
71276 #undef FLD
71279 static int
71280 model_fr400_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
71282 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71283 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71284 const IDESC * UNUSED idesc = abuf->idesc;
71285 int cycles = 0;
71287 int referenced = 0;
71288 int UNUSED insn_referenced = abuf->written;
71289 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71291 return cycles;
71292 #undef FLD
71295 static int
71296 model_fr400_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
71298 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
71299 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71300 const IDESC * UNUSED idesc = abuf->idesc;
71301 int cycles = 0;
71303 int referenced = 0;
71304 int UNUSED insn_referenced = abuf->written;
71305 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71307 return cycles;
71308 #undef FLD
71311 static int
71312 model_fr400_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
71314 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
71315 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71316 const IDESC * UNUSED idesc = abuf->idesc;
71317 int cycles = 0;
71319 int referenced = 0;
71320 int UNUSED insn_referenced = abuf->written;
71321 INT out_FRkhi = -1;
71322 INT out_FRklo = -1;
71323 out_FRklo = FLD (out_FRklo);
71324 referenced |= 1 << 1;
71325 cycles += frvbf_model_fr400_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
71327 return cycles;
71328 #undef FLD
71331 static int
71332 model_fr400_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
71334 #define FLD(f) abuf->fields.sfmt_mhsethis.f
71335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71336 const IDESC * UNUSED idesc = abuf->idesc;
71337 int cycles = 0;
71339 int referenced = 0;
71340 int UNUSED insn_referenced = abuf->written;
71341 INT out_FRkhi = -1;
71342 INT out_FRklo = -1;
71343 out_FRkhi = FLD (out_FRkhi);
71344 referenced |= 1 << 0;
71345 cycles += frvbf_model_fr400_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
71347 return cycles;
71348 #undef FLD
71351 static int
71352 model_fr400_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
71354 #define FLD(f) abuf->fields.sfmt_mhdsets.f
71355 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71356 const IDESC * UNUSED idesc = abuf->idesc;
71357 int cycles = 0;
71359 int referenced = 0;
71360 int UNUSED insn_referenced = abuf->written;
71361 INT in_FRinti = -1;
71362 INT in_FRintj = -1;
71363 INT out_FRintk = -1;
71364 out_FRintk = FLD (out_FRintk);
71365 referenced |= 1 << 2;
71366 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71368 return cycles;
71369 #undef FLD
71372 static int
71373 model_fr400_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
71375 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
71376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71377 const IDESC * UNUSED idesc = abuf->idesc;
71378 int cycles = 0;
71380 int referenced = 0;
71381 int UNUSED insn_referenced = abuf->written;
71382 INT out_FRkhi = -1;
71383 INT out_FRklo = -1;
71384 out_FRklo = FLD (out_FRklo);
71385 referenced |= 1 << 1;
71386 cycles += frvbf_model_fr400_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
71388 return cycles;
71389 #undef FLD
71392 static int
71393 model_fr400_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
71395 #define FLD(f) abuf->fields.sfmt_mhsethih.f
71396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71397 const IDESC * UNUSED idesc = abuf->idesc;
71398 int cycles = 0;
71400 int referenced = 0;
71401 int UNUSED insn_referenced = abuf->written;
71402 INT out_FRkhi = -1;
71403 INT out_FRklo = -1;
71404 out_FRkhi = FLD (out_FRkhi);
71405 referenced |= 1 << 0;
71406 cycles += frvbf_model_fr400_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
71408 return cycles;
71409 #undef FLD
71412 static int
71413 model_fr400_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
71415 #define FLD(f) abuf->fields.sfmt_mhdseth.f
71416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71417 const IDESC * UNUSED idesc = abuf->idesc;
71418 int cycles = 0;
71420 int referenced = 0;
71421 int UNUSED insn_referenced = abuf->written;
71422 INT in_FRinti = -1;
71423 INT in_FRintj = -1;
71424 INT out_FRintk = -1;
71425 out_FRintk = FLD (out_FRintk);
71426 referenced |= 1 << 2;
71427 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71429 return cycles;
71430 #undef FLD
71433 static int
71434 model_fr400_mand (SIM_CPU *current_cpu, void *sem_arg)
71436 #define FLD(f) abuf->fields.sfmt_mwcut.f
71437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71438 const IDESC * UNUSED idesc = abuf->idesc;
71439 int cycles = 0;
71441 int referenced = 0;
71442 int UNUSED insn_referenced = abuf->written;
71443 INT in_FRinti = -1;
71444 INT in_FRintj = -1;
71445 INT out_FRintk = -1;
71446 in_FRinti = FLD (in_FRinti);
71447 in_FRintj = FLD (in_FRintj);
71448 out_FRintk = FLD (out_FRintk);
71449 referenced |= 1 << 0;
71450 referenced |= 1 << 1;
71451 referenced |= 1 << 2;
71452 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71454 return cycles;
71455 #undef FLD
71458 static int
71459 model_fr400_mor (SIM_CPU *current_cpu, void *sem_arg)
71461 #define FLD(f) abuf->fields.sfmt_mwcut.f
71462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71463 const IDESC * UNUSED idesc = abuf->idesc;
71464 int cycles = 0;
71466 int referenced = 0;
71467 int UNUSED insn_referenced = abuf->written;
71468 INT in_FRinti = -1;
71469 INT in_FRintj = -1;
71470 INT out_FRintk = -1;
71471 in_FRinti = FLD (in_FRinti);
71472 in_FRintj = FLD (in_FRintj);
71473 out_FRintk = FLD (out_FRintk);
71474 referenced |= 1 << 0;
71475 referenced |= 1 << 1;
71476 referenced |= 1 << 2;
71477 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71479 return cycles;
71480 #undef FLD
71483 static int
71484 model_fr400_mxor (SIM_CPU *current_cpu, void *sem_arg)
71486 #define FLD(f) abuf->fields.sfmt_mwcut.f
71487 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71488 const IDESC * UNUSED idesc = abuf->idesc;
71489 int cycles = 0;
71491 int referenced = 0;
71492 int UNUSED insn_referenced = abuf->written;
71493 INT in_FRinti = -1;
71494 INT in_FRintj = -1;
71495 INT out_FRintk = -1;
71496 in_FRinti = FLD (in_FRinti);
71497 in_FRintj = FLD (in_FRintj);
71498 out_FRintk = FLD (out_FRintk);
71499 referenced |= 1 << 0;
71500 referenced |= 1 << 1;
71501 referenced |= 1 << 2;
71502 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71504 return cycles;
71505 #undef FLD
71508 static int
71509 model_fr400_cmand (SIM_CPU *current_cpu, void *sem_arg)
71511 #define FLD(f) abuf->fields.sfmt_cmand.f
71512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71513 const IDESC * UNUSED idesc = abuf->idesc;
71514 int cycles = 0;
71516 int referenced = 0;
71517 int UNUSED insn_referenced = abuf->written;
71518 INT in_FRinti = -1;
71519 INT in_FRintj = -1;
71520 INT out_FRintk = -1;
71521 in_FRinti = FLD (in_FRinti);
71522 in_FRintj = FLD (in_FRintj);
71523 out_FRintk = FLD (out_FRintk);
71524 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
71525 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
71526 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
71527 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71529 return cycles;
71530 #undef FLD
71533 static int
71534 model_fr400_cmor (SIM_CPU *current_cpu, void *sem_arg)
71536 #define FLD(f) abuf->fields.sfmt_cmand.f
71537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71538 const IDESC * UNUSED idesc = abuf->idesc;
71539 int cycles = 0;
71541 int referenced = 0;
71542 int UNUSED insn_referenced = abuf->written;
71543 INT in_FRinti = -1;
71544 INT in_FRintj = -1;
71545 INT out_FRintk = -1;
71546 in_FRinti = FLD (in_FRinti);
71547 in_FRintj = FLD (in_FRintj);
71548 out_FRintk = FLD (out_FRintk);
71549 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
71550 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
71551 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
71552 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71554 return cycles;
71555 #undef FLD
71558 static int
71559 model_fr400_cmxor (SIM_CPU *current_cpu, void *sem_arg)
71561 #define FLD(f) abuf->fields.sfmt_cmand.f
71562 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71563 const IDESC * UNUSED idesc = abuf->idesc;
71564 int cycles = 0;
71566 int referenced = 0;
71567 int UNUSED insn_referenced = abuf->written;
71568 INT in_FRinti = -1;
71569 INT in_FRintj = -1;
71570 INT out_FRintk = -1;
71571 in_FRinti = FLD (in_FRinti);
71572 in_FRintj = FLD (in_FRintj);
71573 out_FRintk = FLD (out_FRintk);
71574 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
71575 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
71576 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
71577 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71579 return cycles;
71580 #undef FLD
71583 static int
71584 model_fr400_mnot (SIM_CPU *current_cpu, void *sem_arg)
71586 #define FLD(f) abuf->fields.sfmt_mcut.f
71587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71588 const IDESC * UNUSED idesc = abuf->idesc;
71589 int cycles = 0;
71591 int referenced = 0;
71592 int UNUSED insn_referenced = abuf->written;
71593 INT in_FRinti = -1;
71594 INT in_FRintj = -1;
71595 INT out_FRintk = -1;
71596 in_FRintj = FLD (in_FRintj);
71597 out_FRintk = FLD (out_FRintk);
71598 referenced |= 1 << 1;
71599 referenced |= 1 << 2;
71600 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71602 return cycles;
71603 #undef FLD
71606 static int
71607 model_fr400_cmnot (SIM_CPU *current_cpu, void *sem_arg)
71609 #define FLD(f) abuf->fields.sfmt_cmand.f
71610 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71611 const IDESC * UNUSED idesc = abuf->idesc;
71612 int cycles = 0;
71614 int referenced = 0;
71615 int UNUSED insn_referenced = abuf->written;
71616 INT in_FRinti = -1;
71617 INT in_FRintj = -1;
71618 INT out_FRintk = -1;
71619 in_FRintj = FLD (in_FRintj);
71620 out_FRintk = FLD (out_FRintk);
71621 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
71622 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
71623 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71625 return cycles;
71626 #undef FLD
71629 static int
71630 model_fr400_mrotli (SIM_CPU *current_cpu, void *sem_arg)
71632 #define FLD(f) abuf->fields.sfmt_mwcuti.f
71633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71634 const IDESC * UNUSED idesc = abuf->idesc;
71635 int cycles = 0;
71637 int referenced = 0;
71638 int UNUSED insn_referenced = abuf->written;
71639 INT in_FRinti = -1;
71640 INT in_FRintj = -1;
71641 INT out_FRintk = -1;
71642 in_FRinti = FLD (in_FRinti);
71643 out_FRintk = FLD (out_FRintk);
71644 referenced |= 1 << 0;
71645 referenced |= 1 << 2;
71646 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71648 return cycles;
71649 #undef FLD
71652 static int
71653 model_fr400_mrotri (SIM_CPU *current_cpu, void *sem_arg)
71655 #define FLD(f) abuf->fields.sfmt_mwcuti.f
71656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71657 const IDESC * UNUSED idesc = abuf->idesc;
71658 int cycles = 0;
71660 int referenced = 0;
71661 int UNUSED insn_referenced = abuf->written;
71662 INT in_FRinti = -1;
71663 INT in_FRintj = -1;
71664 INT out_FRintk = -1;
71665 in_FRinti = FLD (in_FRinti);
71666 out_FRintk = FLD (out_FRintk);
71667 referenced |= 1 << 0;
71668 referenced |= 1 << 2;
71669 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71671 return cycles;
71672 #undef FLD
71675 static int
71676 model_fr400_mwcut (SIM_CPU *current_cpu, void *sem_arg)
71678 #define FLD(f) abuf->fields.sfmt_mwcut.f
71679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71680 const IDESC * UNUSED idesc = abuf->idesc;
71681 int cycles = 0;
71683 int referenced = 0;
71684 int UNUSED insn_referenced = abuf->written;
71685 INT in_FRinti = -1;
71686 INT in_FRintj = -1;
71687 INT out_FRintk = -1;
71688 in_FRinti = FLD (in_FRinti);
71689 in_FRintj = FLD (in_FRintj);
71690 out_FRintk = FLD (out_FRintk);
71691 referenced |= 1 << 0;
71692 referenced |= 1 << 1;
71693 referenced |= 1 << 2;
71694 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71696 return cycles;
71697 #undef FLD
71700 static int
71701 model_fr400_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
71703 #define FLD(f) abuf->fields.sfmt_mwcuti.f
71704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71705 const IDESC * UNUSED idesc = abuf->idesc;
71706 int cycles = 0;
71708 int referenced = 0;
71709 int UNUSED insn_referenced = abuf->written;
71710 INT in_FRinti = -1;
71711 INT in_FRintj = -1;
71712 INT out_FRintk = -1;
71713 in_FRinti = FLD (in_FRinti);
71714 out_FRintk = FLD (out_FRintk);
71715 referenced |= 1 << 0;
71716 referenced |= 1 << 2;
71717 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71719 return cycles;
71720 #undef FLD
71723 static int
71724 model_fr400_mcut (SIM_CPU *current_cpu, void *sem_arg)
71726 #define FLD(f) abuf->fields.sfmt_mcut.f
71727 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71728 const IDESC * UNUSED idesc = abuf->idesc;
71729 int cycles = 0;
71731 int referenced = 0;
71732 int UNUSED insn_referenced = abuf->written;
71733 INT in_ACC40Si = -1;
71734 INT in_FRintj = -1;
71735 INT out_ACC40Sk = -1;
71736 INT out_FRintk = -1;
71737 in_ACC40Si = FLD (in_ACC40Si);
71738 in_FRintj = FLD (in_FRintj);
71739 out_FRintk = FLD (out_FRintk);
71740 referenced |= 1 << 0;
71741 referenced |= 1 << 1;
71742 referenced |= 1 << 3;
71743 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
71745 return cycles;
71746 #undef FLD
71749 static int
71750 model_fr400_mcuti (SIM_CPU *current_cpu, void *sem_arg)
71752 #define FLD(f) abuf->fields.sfmt_mcuti.f
71753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71754 const IDESC * UNUSED idesc = abuf->idesc;
71755 int cycles = 0;
71757 int referenced = 0;
71758 int UNUSED insn_referenced = abuf->written;
71759 INT in_ACC40Si = -1;
71760 INT in_FRintj = -1;
71761 INT out_ACC40Sk = -1;
71762 INT out_FRintk = -1;
71763 in_ACC40Si = FLD (in_ACC40Si);
71764 out_FRintk = FLD (out_FRintk);
71765 referenced |= 1 << 0;
71766 referenced |= 1 << 3;
71767 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
71769 return cycles;
71770 #undef FLD
71773 static int
71774 model_fr400_mcutss (SIM_CPU *current_cpu, void *sem_arg)
71776 #define FLD(f) abuf->fields.sfmt_mcut.f
71777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71778 const IDESC * UNUSED idesc = abuf->idesc;
71779 int cycles = 0;
71781 int referenced = 0;
71782 int UNUSED insn_referenced = abuf->written;
71783 INT in_ACC40Si = -1;
71784 INT in_FRintj = -1;
71785 INT out_ACC40Sk = -1;
71786 INT out_FRintk = -1;
71787 in_ACC40Si = FLD (in_ACC40Si);
71788 in_FRintj = FLD (in_FRintj);
71789 out_FRintk = FLD (out_FRintk);
71790 referenced |= 1 << 0;
71791 referenced |= 1 << 1;
71792 referenced |= 1 << 3;
71793 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
71795 return cycles;
71796 #undef FLD
71799 static int
71800 model_fr400_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
71802 #define FLD(f) abuf->fields.sfmt_mcuti.f
71803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71804 const IDESC * UNUSED idesc = abuf->idesc;
71805 int cycles = 0;
71807 int referenced = 0;
71808 int UNUSED insn_referenced = abuf->written;
71809 INT in_ACC40Si = -1;
71810 INT in_FRintj = -1;
71811 INT out_ACC40Sk = -1;
71812 INT out_FRintk = -1;
71813 in_ACC40Si = FLD (in_ACC40Si);
71814 out_FRintk = FLD (out_FRintk);
71815 referenced |= 1 << 0;
71816 referenced |= 1 << 3;
71817 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
71819 return cycles;
71820 #undef FLD
71823 static int
71824 model_fr400_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
71826 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
71827 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71828 const IDESC * UNUSED idesc = abuf->idesc;
71829 int cycles = 0;
71831 int referenced = 0;
71832 int UNUSED insn_referenced = abuf->written;
71833 INT in_ACC40Si = -1;
71834 INT out_FRintk = -1;
71835 in_ACC40Si = FLD (in_ACC40Si);
71836 out_FRintk = FLD (out_FRintkeven);
71837 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
71838 cycles += frvbf_model_fr400_u_media_4_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_FRintk);
71840 return cycles;
71841 #undef FLD
71844 static int
71845 model_fr400_maveh (SIM_CPU *current_cpu, void *sem_arg)
71847 #define FLD(f) abuf->fields.sfmt_mwcut.f
71848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71849 const IDESC * UNUSED idesc = abuf->idesc;
71850 int cycles = 0;
71852 int referenced = 0;
71853 int UNUSED insn_referenced = abuf->written;
71854 INT in_FRinti = -1;
71855 INT in_FRintj = -1;
71856 INT out_FRintk = -1;
71857 in_FRinti = FLD (in_FRinti);
71858 in_FRintj = FLD (in_FRintj);
71859 out_FRintk = FLD (out_FRintk);
71860 referenced |= 1 << 0;
71861 referenced |= 1 << 1;
71862 referenced |= 1 << 2;
71863 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71865 return cycles;
71866 #undef FLD
71869 static int
71870 model_fr400_msllhi (SIM_CPU *current_cpu, void *sem_arg)
71872 #define FLD(f) abuf->fields.sfmt_msllhi.f
71873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71874 const IDESC * UNUSED idesc = abuf->idesc;
71875 int cycles = 0;
71877 int referenced = 0;
71878 int UNUSED insn_referenced = abuf->written;
71879 INT in_FRinti = -1;
71880 INT in_FRintj = -1;
71881 INT out_FRintk = -1;
71882 in_FRinti = FLD (in_FRinti);
71883 out_FRintk = FLD (out_FRintk);
71884 referenced |= 1 << 0;
71885 referenced |= 1 << 2;
71886 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71888 return cycles;
71889 #undef FLD
71892 static int
71893 model_fr400_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
71895 #define FLD(f) abuf->fields.sfmt_msllhi.f
71896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71897 const IDESC * UNUSED idesc = abuf->idesc;
71898 int cycles = 0;
71900 int referenced = 0;
71901 int UNUSED insn_referenced = abuf->written;
71902 INT in_FRinti = -1;
71903 INT in_FRintj = -1;
71904 INT out_FRintk = -1;
71905 in_FRinti = FLD (in_FRinti);
71906 out_FRintk = FLD (out_FRintk);
71907 referenced |= 1 << 0;
71908 referenced |= 1 << 2;
71909 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71911 return cycles;
71912 #undef FLD
71915 static int
71916 model_fr400_msrahi (SIM_CPU *current_cpu, void *sem_arg)
71918 #define FLD(f) abuf->fields.sfmt_msllhi.f
71919 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71920 const IDESC * UNUSED idesc = abuf->idesc;
71921 int cycles = 0;
71923 int referenced = 0;
71924 int UNUSED insn_referenced = abuf->written;
71925 INT in_FRinti = -1;
71926 INT out_FRintk = -1;
71927 in_FRinti = FLD (in_FRinti);
71928 out_FRintk = FLD (out_FRintk);
71929 referenced |= 1 << 0;
71930 referenced |= 1 << 1;
71931 cycles += frvbf_model_fr400_u_media_6 (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
71933 return cycles;
71934 #undef FLD
71937 static int
71938 model_fr400_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
71940 #define FLD(f) abuf->fields.sfmt_mdrotli.f
71941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71942 const IDESC * UNUSED idesc = abuf->idesc;
71943 int cycles = 0;
71945 int referenced = 0;
71946 int UNUSED insn_referenced = abuf->written;
71947 INT in_FRinti = -1;
71948 INT in_FRintj = -1;
71949 INT out_FRintk = -1;
71950 in_FRinti = FLD (in_FRintieven);
71951 out_FRintk = FLD (out_FRintkeven);
71952 cycles += frvbf_model_fr400_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71954 return cycles;
71955 #undef FLD
71958 static int
71959 model_fr400_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
71961 #define FLD(f) abuf->fields.sfmt_mcplhi.f
71962 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71963 const IDESC * UNUSED idesc = abuf->idesc;
71964 int cycles = 0;
71966 int referenced = 0;
71967 int UNUSED insn_referenced = abuf->written;
71968 INT in_FRinti = -1;
71969 INT out_FRintk = -1;
71970 in_FRinti = FLD (in_FRinti);
71971 out_FRintk = FLD (out_FRintk);
71972 referenced |= 1 << 0;
71973 referenced |= 1 << 1;
71974 cycles += frvbf_model_fr400_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
71976 return cycles;
71977 #undef FLD
71980 static int
71981 model_fr400_mcpli (SIM_CPU *current_cpu, void *sem_arg)
71983 #define FLD(f) abuf->fields.sfmt_mwcuti.f
71984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71985 const IDESC * UNUSED idesc = abuf->idesc;
71986 int cycles = 0;
71988 int referenced = 0;
71989 int UNUSED insn_referenced = abuf->written;
71990 INT in_FRinti = -1;
71991 INT out_FRintk = -1;
71992 in_FRinti = FLD (in_FRinti);
71993 out_FRintk = FLD (out_FRintk);
71994 referenced |= 1 << 0;
71995 referenced |= 1 << 1;
71996 cycles += frvbf_model_fr400_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
71998 return cycles;
71999 #undef FLD
72002 static int
72003 model_fr400_msaths (SIM_CPU *current_cpu, void *sem_arg)
72005 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72006 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72007 const IDESC * UNUSED idesc = abuf->idesc;
72008 int cycles = 0;
72010 int referenced = 0;
72011 int UNUSED insn_referenced = abuf->written;
72012 INT in_FRinti = -1;
72013 INT in_FRintj = -1;
72014 INT out_FRintk = -1;
72015 in_FRinti = FLD (in_FRinti);
72016 in_FRintj = FLD (in_FRintj);
72017 referenced |= 1 << 0;
72018 referenced |= 1 << 1;
72019 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72021 return cycles;
72022 #undef FLD
72025 static int
72026 model_fr400_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
72028 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72030 const IDESC * UNUSED idesc = abuf->idesc;
72031 int cycles = 0;
72033 int referenced = 0;
72034 int UNUSED insn_referenced = abuf->written;
72035 INT in_FRinti = -1;
72036 INT in_FRintj = -1;
72037 INT out_FRintk = -1;
72038 in_FRinti = FLD (in_FRintieven);
72039 in_FRintj = FLD (in_FRintjeven);
72040 out_FRintk = FLD (out_FRintkeven);
72041 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72043 return cycles;
72044 #undef FLD
72047 static int
72048 model_fr400_msathu (SIM_CPU *current_cpu, void *sem_arg)
72050 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72052 const IDESC * UNUSED idesc = abuf->idesc;
72053 int cycles = 0;
72055 int referenced = 0;
72056 int UNUSED insn_referenced = abuf->written;
72057 INT in_FRinti = -1;
72058 INT in_FRintj = -1;
72059 INT out_FRintk = -1;
72060 in_FRinti = FLD (in_FRinti);
72061 in_FRintj = FLD (in_FRintj);
72062 referenced |= 1 << 0;
72063 referenced |= 1 << 1;
72064 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72066 return cycles;
72067 #undef FLD
72070 static int
72071 model_fr400_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
72073 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
72074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72075 const IDESC * UNUSED idesc = abuf->idesc;
72076 int cycles = 0;
72078 int referenced = 0;
72079 int UNUSED insn_referenced = abuf->written;
72080 INT in_FRinti = -1;
72081 INT in_FRintj = -1;
72082 INT out_FCCk = -1;
72083 in_FRinti = FLD (in_FRinti);
72084 in_FRintj = FLD (in_FRintj);
72085 out_FCCk = FLD (out_FCCk);
72086 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72087 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72088 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72089 cycles += frvbf_model_fr400_u_media_7 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FCCk);
72091 return cycles;
72092 #undef FLD
72095 static int
72096 model_fr400_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
72098 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
72099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72100 const IDESC * UNUSED idesc = abuf->idesc;
72101 int cycles = 0;
72103 int referenced = 0;
72104 int UNUSED insn_referenced = abuf->written;
72105 INT in_FRinti = -1;
72106 INT in_FRintj = -1;
72107 INT out_FCCk = -1;
72108 in_FRinti = FLD (in_FRinti);
72109 in_FRintj = FLD (in_FRintj);
72110 out_FCCk = FLD (out_FCCk);
72111 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72112 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72113 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72114 cycles += frvbf_model_fr400_u_media_7 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FCCk);
72116 return cycles;
72117 #undef FLD
72120 static int
72121 model_fr400_mabshs (SIM_CPU *current_cpu, void *sem_arg)
72123 #define FLD(f) abuf->fields.sfmt_mabshs.f
72124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72125 const IDESC * UNUSED idesc = abuf->idesc;
72126 int cycles = 0;
72128 int referenced = 0;
72129 int UNUSED insn_referenced = abuf->written;
72130 INT in_FRinti = -1;
72131 INT in_FRintj = -1;
72132 INT out_FRintk = -1;
72133 in_FRintj = FLD (in_FRintj);
72134 out_FRintk = FLD (out_FRintk);
72135 referenced |= 1 << 1;
72136 referenced |= 1 << 2;
72137 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72139 return cycles;
72140 #undef FLD
72143 static int
72144 model_fr400_maddhss (SIM_CPU *current_cpu, void *sem_arg)
72146 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72148 const IDESC * UNUSED idesc = abuf->idesc;
72149 int cycles = 0;
72151 int referenced = 0;
72152 int UNUSED insn_referenced = abuf->written;
72153 INT in_FRinti = -1;
72154 INT in_FRintj = -1;
72155 INT out_FRintk = -1;
72156 in_FRinti = FLD (in_FRinti);
72157 in_FRintj = FLD (in_FRintj);
72158 referenced |= 1 << 0;
72159 referenced |= 1 << 1;
72160 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72162 return cycles;
72163 #undef FLD
72166 static int
72167 model_fr400_maddhus (SIM_CPU *current_cpu, void *sem_arg)
72169 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72170 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72171 const IDESC * UNUSED idesc = abuf->idesc;
72172 int cycles = 0;
72174 int referenced = 0;
72175 int UNUSED insn_referenced = abuf->written;
72176 INT in_FRinti = -1;
72177 INT in_FRintj = -1;
72178 INT out_FRintk = -1;
72179 in_FRinti = FLD (in_FRinti);
72180 in_FRintj = FLD (in_FRintj);
72181 referenced |= 1 << 0;
72182 referenced |= 1 << 1;
72183 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72185 return cycles;
72186 #undef FLD
72189 static int
72190 model_fr400_msubhss (SIM_CPU *current_cpu, void *sem_arg)
72192 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72194 const IDESC * UNUSED idesc = abuf->idesc;
72195 int cycles = 0;
72197 int referenced = 0;
72198 int UNUSED insn_referenced = abuf->written;
72199 INT in_FRinti = -1;
72200 INT in_FRintj = -1;
72201 INT out_FRintk = -1;
72202 in_FRinti = FLD (in_FRinti);
72203 in_FRintj = FLD (in_FRintj);
72204 referenced |= 1 << 0;
72205 referenced |= 1 << 1;
72206 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72208 return cycles;
72209 #undef FLD
72212 static int
72213 model_fr400_msubhus (SIM_CPU *current_cpu, void *sem_arg)
72215 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72217 const IDESC * UNUSED idesc = abuf->idesc;
72218 int cycles = 0;
72220 int referenced = 0;
72221 int UNUSED insn_referenced = abuf->written;
72222 INT in_FRinti = -1;
72223 INT in_FRintj = -1;
72224 INT out_FRintk = -1;
72225 in_FRinti = FLD (in_FRinti);
72226 in_FRintj = FLD (in_FRintj);
72227 referenced |= 1 << 0;
72228 referenced |= 1 << 1;
72229 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72231 return cycles;
72232 #undef FLD
72235 static int
72236 model_fr400_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
72238 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72239 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72240 const IDESC * UNUSED idesc = abuf->idesc;
72241 int cycles = 0;
72243 int referenced = 0;
72244 int UNUSED insn_referenced = abuf->written;
72245 INT in_FRinti = -1;
72246 INT in_FRintj = -1;
72247 INT out_FRintk = -1;
72248 in_FRinti = FLD (in_FRinti);
72249 in_FRintj = FLD (in_FRintj);
72250 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72251 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72252 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72254 return cycles;
72255 #undef FLD
72258 static int
72259 model_fr400_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
72261 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72262 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72263 const IDESC * UNUSED idesc = abuf->idesc;
72264 int cycles = 0;
72266 int referenced = 0;
72267 int UNUSED insn_referenced = abuf->written;
72268 INT in_FRinti = -1;
72269 INT in_FRintj = -1;
72270 INT out_FRintk = -1;
72271 in_FRinti = FLD (in_FRinti);
72272 in_FRintj = FLD (in_FRintj);
72273 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72274 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72275 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72277 return cycles;
72278 #undef FLD
72281 static int
72282 model_fr400_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
72284 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72286 const IDESC * UNUSED idesc = abuf->idesc;
72287 int cycles = 0;
72289 int referenced = 0;
72290 int UNUSED insn_referenced = abuf->written;
72291 INT in_FRinti = -1;
72292 INT in_FRintj = -1;
72293 INT out_FRintk = -1;
72294 in_FRinti = FLD (in_FRinti);
72295 in_FRintj = FLD (in_FRintj);
72296 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72297 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72298 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72300 return cycles;
72301 #undef FLD
72304 static int
72305 model_fr400_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
72307 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72309 const IDESC * UNUSED idesc = abuf->idesc;
72310 int cycles = 0;
72312 int referenced = 0;
72313 int UNUSED insn_referenced = abuf->written;
72314 INT in_FRinti = -1;
72315 INT in_FRintj = -1;
72316 INT out_FRintk = -1;
72317 in_FRinti = FLD (in_FRinti);
72318 in_FRintj = FLD (in_FRintj);
72319 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72320 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72321 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72323 return cycles;
72324 #undef FLD
72327 static int
72328 model_fr400_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
72330 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72331 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72332 const IDESC * UNUSED idesc = abuf->idesc;
72333 int cycles = 0;
72335 int referenced = 0;
72336 int UNUSED insn_referenced = abuf->written;
72337 INT in_FRinti = -1;
72338 INT in_FRintj = -1;
72339 INT out_FRintk = -1;
72340 in_FRinti = FLD (in_FRintieven);
72341 in_FRintj = FLD (in_FRintjeven);
72342 out_FRintk = FLD (out_FRintkeven);
72343 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72345 return cycles;
72346 #undef FLD
72349 static int
72350 model_fr400_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
72352 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72354 const IDESC * UNUSED idesc = abuf->idesc;
72355 int cycles = 0;
72357 int referenced = 0;
72358 int UNUSED insn_referenced = abuf->written;
72359 INT in_FRinti = -1;
72360 INT in_FRintj = -1;
72361 INT out_FRintk = -1;
72362 in_FRinti = FLD (in_FRintieven);
72363 in_FRintj = FLD (in_FRintjeven);
72364 out_FRintk = FLD (out_FRintkeven);
72365 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72367 return cycles;
72368 #undef FLD
72371 static int
72372 model_fr400_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
72374 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72375 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72376 const IDESC * UNUSED idesc = abuf->idesc;
72377 int cycles = 0;
72379 int referenced = 0;
72380 int UNUSED insn_referenced = abuf->written;
72381 INT in_FRinti = -1;
72382 INT in_FRintj = -1;
72383 INT out_FRintk = -1;
72384 in_FRinti = FLD (in_FRintieven);
72385 in_FRintj = FLD (in_FRintjeven);
72386 out_FRintk = FLD (out_FRintkeven);
72387 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72389 return cycles;
72390 #undef FLD
72393 static int
72394 model_fr400_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
72396 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72398 const IDESC * UNUSED idesc = abuf->idesc;
72399 int cycles = 0;
72401 int referenced = 0;
72402 int UNUSED insn_referenced = abuf->written;
72403 INT in_FRinti = -1;
72404 INT in_FRintj = -1;
72405 INT out_FRintk = -1;
72406 in_FRinti = FLD (in_FRintieven);
72407 in_FRintj = FLD (in_FRintjeven);
72408 out_FRintk = FLD (out_FRintkeven);
72409 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72411 return cycles;
72412 #undef FLD
72415 static int
72416 model_fr400_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
72418 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72419 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72420 const IDESC * UNUSED idesc = abuf->idesc;
72421 int cycles = 0;
72423 int referenced = 0;
72424 int UNUSED insn_referenced = abuf->written;
72425 INT in_FRinti = -1;
72426 INT in_FRintj = -1;
72427 INT out_FRintk = -1;
72428 in_FRinti = FLD (in_FRintieven);
72429 in_FRintj = FLD (in_FRintjeven);
72430 out_FRintk = FLD (out_FRintkeven);
72431 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72433 return cycles;
72434 #undef FLD
72437 static int
72438 model_fr400_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
72440 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72442 const IDESC * UNUSED idesc = abuf->idesc;
72443 int cycles = 0;
72445 int referenced = 0;
72446 int UNUSED insn_referenced = abuf->written;
72447 INT in_FRinti = -1;
72448 INT in_FRintj = -1;
72449 INT out_FRintk = -1;
72450 in_FRinti = FLD (in_FRintieven);
72451 in_FRintj = FLD (in_FRintjeven);
72452 out_FRintk = FLD (out_FRintkeven);
72453 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72455 return cycles;
72456 #undef FLD
72459 static int
72460 model_fr400_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
72462 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72464 const IDESC * UNUSED idesc = abuf->idesc;
72465 int cycles = 0;
72467 int referenced = 0;
72468 int UNUSED insn_referenced = abuf->written;
72469 INT in_FRinti = -1;
72470 INT in_FRintj = -1;
72471 INT out_FRintk = -1;
72472 in_FRinti = FLD (in_FRintieven);
72473 in_FRintj = FLD (in_FRintjeven);
72474 out_FRintk = FLD (out_FRintkeven);
72475 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72477 return cycles;
72478 #undef FLD
72481 static int
72482 model_fr400_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
72484 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72486 const IDESC * UNUSED idesc = abuf->idesc;
72487 int cycles = 0;
72489 int referenced = 0;
72490 int UNUSED insn_referenced = abuf->written;
72491 INT in_FRinti = -1;
72492 INT in_FRintj = -1;
72493 INT out_FRintk = -1;
72494 in_FRinti = FLD (in_FRintieven);
72495 in_FRintj = FLD (in_FRintjeven);
72496 out_FRintk = FLD (out_FRintkeven);
72497 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72499 return cycles;
72500 #undef FLD
72503 static int
72504 model_fr400_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
72506 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72507 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72508 const IDESC * UNUSED idesc = abuf->idesc;
72509 int cycles = 0;
72511 int referenced = 0;
72512 int UNUSED insn_referenced = abuf->written;
72513 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
72515 return cycles;
72516 #undef FLD
72519 static int
72520 model_fr400_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
72522 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72524 const IDESC * UNUSED idesc = abuf->idesc;
72525 int cycles = 0;
72527 int referenced = 0;
72528 int UNUSED insn_referenced = abuf->written;
72529 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
72531 return cycles;
72532 #undef FLD
72535 static int
72536 model_fr400_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
72538 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
72539 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72540 const IDESC * UNUSED idesc = abuf->idesc;
72541 int cycles = 0;
72543 int referenced = 0;
72544 int UNUSED insn_referenced = abuf->written;
72545 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
72547 return cycles;
72548 #undef FLD
72551 static int
72552 model_fr400_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
72554 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
72555 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72556 const IDESC * UNUSED idesc = abuf->idesc;
72557 int cycles = 0;
72559 int referenced = 0;
72560 int UNUSED insn_referenced = abuf->written;
72561 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
72563 return cycles;
72564 #undef FLD
72567 static int
72568 model_fr400_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
72570 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72571 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72572 const IDESC * UNUSED idesc = abuf->idesc;
72573 int cycles = 0;
72575 int referenced = 0;
72576 int UNUSED insn_referenced = abuf->written;
72577 INT in_ACC40Si = -1;
72578 INT out_ACC40Sk = -1;
72579 in_ACC40Si = FLD (in_ACC40Si);
72580 out_ACC40Sk = FLD (out_ACC40Sk);
72581 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72582 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
72583 cycles += frvbf_model_fr400_u_media_2_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72585 return cycles;
72586 #undef FLD
72589 static int
72590 model_fr400_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
72592 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72594 const IDESC * UNUSED idesc = abuf->idesc;
72595 int cycles = 0;
72597 int referenced = 0;
72598 int UNUSED insn_referenced = abuf->written;
72599 INT in_ACC40Si = -1;
72600 INT out_ACC40Sk = -1;
72601 in_ACC40Si = FLD (in_ACC40Si);
72602 out_ACC40Sk = FLD (out_ACC40Sk);
72603 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72604 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
72605 cycles += frvbf_model_fr400_u_media_2_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72607 return cycles;
72608 #undef FLD
72611 static int
72612 model_fr400_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
72614 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72615 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72616 const IDESC * UNUSED idesc = abuf->idesc;
72617 int cycles = 0;
72619 int referenced = 0;
72620 int UNUSED insn_referenced = abuf->written;
72621 INT in_ACC40Si = -1;
72622 INT out_ACC40Sk = -1;
72623 in_ACC40Si = FLD (in_ACC40Si);
72624 out_ACC40Sk = FLD (out_ACC40Sk);
72625 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72626 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
72627 cycles += frvbf_model_fr400_u_media_2_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72629 return cycles;
72630 #undef FLD
72633 static int
72634 model_fr400_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
72636 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72638 const IDESC * UNUSED idesc = abuf->idesc;
72639 int cycles = 0;
72641 int referenced = 0;
72642 int UNUSED insn_referenced = abuf->written;
72643 INT in_ACC40Si = -1;
72644 INT out_ACC40Sk = -1;
72645 in_ACC40Si = FLD (in_ACC40Si);
72646 out_ACC40Sk = FLD (out_ACC40Sk);
72647 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72648 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
72649 cycles += frvbf_model_fr400_u_media_2_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72651 return cycles;
72652 #undef FLD
72655 static int
72656 model_fr400_masaccs (SIM_CPU *current_cpu, void *sem_arg)
72658 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72659 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72660 const IDESC * UNUSED idesc = abuf->idesc;
72661 int cycles = 0;
72663 int referenced = 0;
72664 int UNUSED insn_referenced = abuf->written;
72665 INT in_ACC40Si = -1;
72666 INT out_ACC40Sk = -1;
72667 in_ACC40Si = FLD (in_ACC40Si);
72668 out_ACC40Sk = FLD (out_ACC40Sk);
72669 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72670 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
72671 cycles += frvbf_model_fr400_u_media_2_add_sub (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72673 return cycles;
72674 #undef FLD
72677 static int
72678 model_fr400_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
72680 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72682 const IDESC * UNUSED idesc = abuf->idesc;
72683 int cycles = 0;
72685 int referenced = 0;
72686 int UNUSED insn_referenced = abuf->written;
72687 INT in_ACC40Si = -1;
72688 INT out_ACC40Sk = -1;
72689 in_ACC40Si = FLD (in_ACC40Si);
72690 out_ACC40Sk = FLD (out_ACC40Sk);
72691 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72692 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
72693 cycles += frvbf_model_fr400_u_media_2_add_sub_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72695 return cycles;
72696 #undef FLD
72699 static int
72700 model_fr400_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
72702 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72703 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72704 const IDESC * UNUSED idesc = abuf->idesc;
72705 int cycles = 0;
72707 int referenced = 0;
72708 int UNUSED insn_referenced = abuf->written;
72709 INT in_FRinti = -1;
72710 INT in_FRintj = -1;
72711 INT out_ACC40Sk = -1;
72712 INT out_ACC40Uk = -1;
72713 in_FRinti = FLD (in_FRinti);
72714 in_FRintj = FLD (in_FRintj);
72715 out_ACC40Sk = FLD (out_ACC40Sk);
72716 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72717 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72718 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72719 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72721 return cycles;
72722 #undef FLD
72725 static int
72726 model_fr400_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
72728 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72730 const IDESC * UNUSED idesc = abuf->idesc;
72731 int cycles = 0;
72733 int referenced = 0;
72734 int UNUSED insn_referenced = abuf->written;
72735 INT in_FRinti = -1;
72736 INT in_FRintj = -1;
72737 INT out_ACC40Sk = -1;
72738 INT out_ACC40Uk = -1;
72739 in_FRinti = FLD (in_FRinti);
72740 in_FRintj = FLD (in_FRintj);
72741 out_ACC40Sk = FLD (out_ACC40Sk);
72742 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72743 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72744 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72745 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72747 return cycles;
72748 #undef FLD
72751 static int
72752 model_fr400_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
72754 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72755 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72756 const IDESC * UNUSED idesc = abuf->idesc;
72757 int cycles = 0;
72759 int referenced = 0;
72760 int UNUSED insn_referenced = abuf->written;
72761 INT in_FRinti = -1;
72762 INT in_FRintj = -1;
72763 INT out_ACC40Sk = -1;
72764 INT out_ACC40Uk = -1;
72765 in_FRinti = FLD (in_FRinti);
72766 in_FRintj = FLD (in_FRintj);
72767 out_ACC40Sk = FLD (out_ACC40Sk);
72768 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72769 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72770 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72771 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72773 return cycles;
72774 #undef FLD
72777 static int
72778 model_fr400_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
72780 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72782 const IDESC * UNUSED idesc = abuf->idesc;
72783 int cycles = 0;
72785 int referenced = 0;
72786 int UNUSED insn_referenced = abuf->written;
72787 INT in_FRinti = -1;
72788 INT in_FRintj = -1;
72789 INT out_ACC40Sk = -1;
72790 INT out_ACC40Uk = -1;
72791 in_FRinti = FLD (in_FRinti);
72792 in_FRintj = FLD (in_FRintj);
72793 out_ACC40Sk = FLD (out_ACC40Sk);
72794 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72795 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72796 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72797 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72799 return cycles;
72800 #undef FLD
72803 static int
72804 model_fr400_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
72806 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72807 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72808 const IDESC * UNUSED idesc = abuf->idesc;
72809 int cycles = 0;
72811 int referenced = 0;
72812 int UNUSED insn_referenced = abuf->written;
72813 INT in_FRinti = -1;
72814 INT in_FRintj = -1;
72815 INT out_ACC40Sk = -1;
72816 INT out_ACC40Uk = -1;
72817 in_FRinti = FLD (in_FRinti);
72818 in_FRintj = FLD (in_FRintj);
72819 out_ACC40Sk = FLD (out_ACC40Sk);
72820 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72821 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72822 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
72823 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72825 return cycles;
72826 #undef FLD
72829 static int
72830 model_fr400_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
72832 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72834 const IDESC * UNUSED idesc = abuf->idesc;
72835 int cycles = 0;
72837 int referenced = 0;
72838 int UNUSED insn_referenced = abuf->written;
72839 INT in_FRinti = -1;
72840 INT in_FRintj = -1;
72841 INT out_ACC40Sk = -1;
72842 INT out_ACC40Uk = -1;
72843 in_FRinti = FLD (in_FRinti);
72844 in_FRintj = FLD (in_FRintj);
72845 out_ACC40Sk = FLD (out_ACC40Sk);
72846 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72847 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72848 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
72849 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72851 return cycles;
72852 #undef FLD
72855 static int
72856 model_fr400_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
72858 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72859 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72860 const IDESC * UNUSED idesc = abuf->idesc;
72861 int cycles = 0;
72863 int referenced = 0;
72864 int UNUSED insn_referenced = abuf->written;
72865 INT in_FRinti = -1;
72866 INT in_FRintj = -1;
72867 INT out_ACC40Sk = -1;
72868 INT out_ACC40Uk = -1;
72869 out_ACC40Sk = FLD (out_ACC40Sk);
72870 in_FRinti = FLD (in_FRintieven);
72871 in_FRintj = FLD (in_FRintjeven);
72872 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
72873 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72875 return cycles;
72876 #undef FLD
72879 static int
72880 model_fr400_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
72882 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72883 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72884 const IDESC * UNUSED idesc = abuf->idesc;
72885 int cycles = 0;
72887 int referenced = 0;
72888 int UNUSED insn_referenced = abuf->written;
72889 INT in_FRinti = -1;
72890 INT in_FRintj = -1;
72891 INT out_ACC40Sk = -1;
72892 INT out_ACC40Uk = -1;
72893 out_ACC40Sk = FLD (out_ACC40Sk);
72894 in_FRinti = FLD (in_FRintieven);
72895 in_FRintj = FLD (in_FRintjeven);
72896 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
72897 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72899 return cycles;
72900 #undef FLD
72903 static int
72904 model_fr400_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
72906 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72907 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72908 const IDESC * UNUSED idesc = abuf->idesc;
72909 int cycles = 0;
72911 int referenced = 0;
72912 int UNUSED insn_referenced = abuf->written;
72913 INT in_FRinti = -1;
72914 INT in_FRintj = -1;
72915 INT out_ACC40Sk = -1;
72916 INT out_ACC40Uk = -1;
72917 out_ACC40Sk = FLD (out_ACC40Sk);
72918 in_FRinti = FLD (in_FRintieven);
72919 in_FRintj = FLD (in_FRintjeven);
72920 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
72921 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72923 return cycles;
72924 #undef FLD
72927 static int
72928 model_fr400_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
72930 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72932 const IDESC * UNUSED idesc = abuf->idesc;
72933 int cycles = 0;
72935 int referenced = 0;
72936 int UNUSED insn_referenced = abuf->written;
72937 INT in_FRinti = -1;
72938 INT in_FRintj = -1;
72939 INT out_ACC40Sk = -1;
72940 INT out_ACC40Uk = -1;
72941 out_ACC40Sk = FLD (out_ACC40Sk);
72942 in_FRinti = FLD (in_FRintieven);
72943 in_FRintj = FLD (in_FRintjeven);
72944 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
72945 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72947 return cycles;
72948 #undef FLD
72951 static int
72952 model_fr400_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
72954 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72956 const IDESC * UNUSED idesc = abuf->idesc;
72957 int cycles = 0;
72959 int referenced = 0;
72960 int UNUSED insn_referenced = abuf->written;
72961 INT in_FRinti = -1;
72962 INT in_FRintj = -1;
72963 INT out_ACC40Sk = -1;
72964 INT out_ACC40Uk = -1;
72965 out_ACC40Sk = FLD (out_ACC40Sk);
72966 in_FRinti = FLD (in_FRintieven);
72967 in_FRintj = FLD (in_FRintjeven);
72968 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
72969 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72971 return cycles;
72972 #undef FLD
72975 static int
72976 model_fr400_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
72978 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72979 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72980 const IDESC * UNUSED idesc = abuf->idesc;
72981 int cycles = 0;
72983 int referenced = 0;
72984 int UNUSED insn_referenced = abuf->written;
72985 INT in_FRinti = -1;
72986 INT in_FRintj = -1;
72987 INT out_ACC40Sk = -1;
72988 INT out_ACC40Uk = -1;
72989 out_ACC40Sk = FLD (out_ACC40Sk);
72990 in_FRinti = FLD (in_FRintieven);
72991 in_FRintj = FLD (in_FRintjeven);
72992 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
72993 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72995 return cycles;
72996 #undef FLD
72999 static int
73000 model_fr400_mmachs (SIM_CPU *current_cpu, void *sem_arg)
73002 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73003 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73004 const IDESC * UNUSED idesc = abuf->idesc;
73005 int cycles = 0;
73007 int referenced = 0;
73008 int UNUSED insn_referenced = abuf->written;
73009 INT in_FRinti = -1;
73010 INT in_FRintj = -1;
73011 INT out_ACC40Sk = -1;
73012 INT out_ACC40Uk = -1;
73013 in_FRinti = FLD (in_FRinti);
73014 in_FRintj = FLD (in_FRintj);
73015 out_ACC40Sk = FLD (out_ACC40Sk);
73016 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73017 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73018 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73019 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73021 return cycles;
73022 #undef FLD
73025 static int
73026 model_fr400_mmachu (SIM_CPU *current_cpu, void *sem_arg)
73028 #define FLD(f) abuf->fields.sfmt_cmmachu.f
73029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73030 const IDESC * UNUSED idesc = abuf->idesc;
73031 int cycles = 0;
73033 int referenced = 0;
73034 int UNUSED insn_referenced = abuf->written;
73035 INT in_FRinti = -1;
73036 INT in_FRintj = -1;
73037 INT out_ACC40Sk = -1;
73038 INT out_ACC40Uk = -1;
73039 in_FRinti = FLD (in_FRinti);
73040 in_FRintj = FLD (in_FRintj);
73041 out_ACC40Uk = FLD (out_ACC40Uk);
73042 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73043 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73044 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
73045 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73047 return cycles;
73048 #undef FLD
73051 static int
73052 model_fr400_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
73054 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73056 const IDESC * UNUSED idesc = abuf->idesc;
73057 int cycles = 0;
73059 int referenced = 0;
73060 int UNUSED insn_referenced = abuf->written;
73061 INT in_FRinti = -1;
73062 INT in_FRintj = -1;
73063 INT out_ACC40Sk = -1;
73064 INT out_ACC40Uk = -1;
73065 in_FRinti = FLD (in_FRinti);
73066 in_FRintj = FLD (in_FRintj);
73067 out_ACC40Sk = FLD (out_ACC40Sk);
73068 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73069 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73070 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73071 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73073 return cycles;
73074 #undef FLD
73077 static int
73078 model_fr400_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
73080 #define FLD(f) abuf->fields.sfmt_cmmachu.f
73081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73082 const IDESC * UNUSED idesc = abuf->idesc;
73083 int cycles = 0;
73085 int referenced = 0;
73086 int UNUSED insn_referenced = abuf->written;
73087 INT in_FRinti = -1;
73088 INT in_FRintj = -1;
73089 INT out_ACC40Sk = -1;
73090 INT out_ACC40Uk = -1;
73091 in_FRinti = FLD (in_FRinti);
73092 in_FRintj = FLD (in_FRintj);
73093 out_ACC40Uk = FLD (out_ACC40Uk);
73094 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73095 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73096 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
73097 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73099 return cycles;
73100 #undef FLD
73103 static int
73104 model_fr400_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
73106 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73107 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73108 const IDESC * UNUSED idesc = abuf->idesc;
73109 int cycles = 0;
73111 int referenced = 0;
73112 int UNUSED insn_referenced = abuf->written;
73113 INT in_FRinti = -1;
73114 INT in_FRintj = -1;
73115 INT out_ACC40Sk = -1;
73116 INT out_ACC40Uk = -1;
73117 in_FRinti = FLD (in_FRinti);
73118 in_FRintj = FLD (in_FRintj);
73119 out_ACC40Sk = FLD (out_ACC40Sk);
73120 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
73121 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
73122 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73123 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73125 return cycles;
73126 #undef FLD
73129 static int
73130 model_fr400_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
73132 #define FLD(f) abuf->fields.sfmt_cmmachu.f
73133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73134 const IDESC * UNUSED idesc = abuf->idesc;
73135 int cycles = 0;
73137 int referenced = 0;
73138 int UNUSED insn_referenced = abuf->written;
73139 INT in_FRinti = -1;
73140 INT in_FRintj = -1;
73141 INT out_ACC40Sk = -1;
73142 INT out_ACC40Uk = -1;
73143 in_FRinti = FLD (in_FRinti);
73144 in_FRintj = FLD (in_FRintj);
73145 out_ACC40Uk = FLD (out_ACC40Uk);
73146 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
73147 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
73148 if (insn_referenced & (1 << 13)) referenced |= 1 << 3;
73149 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73151 return cycles;
73152 #undef FLD
73155 static int
73156 model_fr400_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
73158 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73159 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73160 const IDESC * UNUSED idesc = abuf->idesc;
73161 int cycles = 0;
73163 int referenced = 0;
73164 int UNUSED insn_referenced = abuf->written;
73165 INT in_FRinti = -1;
73166 INT in_FRintj = -1;
73167 INT out_ACC40Sk = -1;
73168 INT out_ACC40Uk = -1;
73169 out_ACC40Sk = FLD (out_ACC40Sk);
73170 in_FRinti = FLD (in_FRintieven);
73171 in_FRintj = FLD (in_FRintjeven);
73172 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
73173 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73175 return cycles;
73176 #undef FLD
73179 static int
73180 model_fr400_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
73182 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
73183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73184 const IDESC * UNUSED idesc = abuf->idesc;
73185 int cycles = 0;
73187 int referenced = 0;
73188 int UNUSED insn_referenced = abuf->written;
73189 INT in_FRinti = -1;
73190 INT in_FRintj = -1;
73191 INT out_ACC40Sk = -1;
73192 INT out_ACC40Uk = -1;
73193 out_ACC40Uk = FLD (out_ACC40Uk);
73194 in_FRinti = FLD (in_FRintieven);
73195 in_FRintj = FLD (in_FRintjeven);
73196 if (insn_referenced & (1 << 17)) referenced |= 1 << 3;
73197 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73199 return cycles;
73200 #undef FLD
73203 static int
73204 model_fr400_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
73206 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73207 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73208 const IDESC * UNUSED idesc = abuf->idesc;
73209 int cycles = 0;
73211 int referenced = 0;
73212 int UNUSED insn_referenced = abuf->written;
73213 INT in_FRinti = -1;
73214 INT in_FRintj = -1;
73215 INT out_ACC40Sk = -1;
73216 INT out_ACC40Uk = -1;
73217 out_ACC40Sk = FLD (out_ACC40Sk);
73218 in_FRinti = FLD (in_FRintieven);
73219 in_FRintj = FLD (in_FRintjeven);
73220 if (insn_referenced & (1 << 19)) referenced |= 1 << 2;
73221 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73223 return cycles;
73224 #undef FLD
73227 static int
73228 model_fr400_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
73230 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
73231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73232 const IDESC * UNUSED idesc = abuf->idesc;
73233 int cycles = 0;
73235 int referenced = 0;
73236 int UNUSED insn_referenced = abuf->written;
73237 INT in_FRinti = -1;
73238 INT in_FRintj = -1;
73239 INT out_ACC40Sk = -1;
73240 INT out_ACC40Uk = -1;
73241 out_ACC40Uk = FLD (out_ACC40Uk);
73242 in_FRinti = FLD (in_FRintieven);
73243 in_FRintj = FLD (in_FRintjeven);
73244 if (insn_referenced & (1 << 19)) referenced |= 1 << 3;
73245 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73247 return cycles;
73248 #undef FLD
73251 static int
73252 model_fr400_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
73254 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73255 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73256 const IDESC * UNUSED idesc = abuf->idesc;
73257 int cycles = 0;
73259 int referenced = 0;
73260 int UNUSED insn_referenced = abuf->written;
73261 INT in_FRinti = -1;
73262 INT in_FRintj = -1;
73263 INT out_ACC40Sk = -1;
73264 INT out_ACC40Uk = -1;
73265 out_ACC40Sk = FLD (out_ACC40Sk);
73266 in_FRinti = FLD (in_FRintieven);
73267 in_FRintj = FLD (in_FRintjeven);
73268 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
73269 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73271 return cycles;
73272 #undef FLD
73275 static int
73276 model_fr400_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
73278 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73280 const IDESC * UNUSED idesc = abuf->idesc;
73281 int cycles = 0;
73283 int referenced = 0;
73284 int UNUSED insn_referenced = abuf->written;
73285 INT in_FRinti = -1;
73286 INT in_FRintj = -1;
73287 INT out_ACC40Sk = -1;
73288 INT out_ACC40Uk = -1;
73289 out_ACC40Sk = FLD (out_ACC40Sk);
73290 in_FRinti = FLD (in_FRintieven);
73291 in_FRintj = FLD (in_FRintjeven);
73292 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
73293 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73295 return cycles;
73296 #undef FLD
73299 static int
73300 model_fr400_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
73302 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73304 const IDESC * UNUSED idesc = abuf->idesc;
73305 int cycles = 0;
73307 int referenced = 0;
73308 int UNUSED insn_referenced = abuf->written;
73309 INT in_FRinti = -1;
73310 INT in_FRintj = -1;
73311 INT out_ACC40Sk = -1;
73312 INT out_ACC40Uk = -1;
73313 out_ACC40Sk = FLD (out_ACC40Sk);
73314 in_FRinti = FLD (in_FRintieven);
73315 in_FRintj = FLD (in_FRintjeven);
73316 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
73317 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73319 return cycles;
73320 #undef FLD
73323 static int
73324 model_fr400_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
73326 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73327 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73328 const IDESC * UNUSED idesc = abuf->idesc;
73329 int cycles = 0;
73331 int referenced = 0;
73332 int UNUSED insn_referenced = abuf->written;
73333 INT in_FRinti = -1;
73334 INT in_FRintj = -1;
73335 INT out_ACC40Sk = -1;
73336 INT out_ACC40Uk = -1;
73337 in_FRinti = FLD (in_FRinti);
73338 in_FRintj = FLD (in_FRintj);
73339 out_ACC40Sk = FLD (out_ACC40Sk);
73340 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73341 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
73342 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
73343 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73345 return cycles;
73346 #undef FLD
73349 static int
73350 model_fr400_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
73352 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73354 const IDESC * UNUSED idesc = abuf->idesc;
73355 int cycles = 0;
73357 int referenced = 0;
73358 int UNUSED insn_referenced = abuf->written;
73359 INT in_FRinti = -1;
73360 INT in_FRintj = -1;
73361 INT out_ACC40Sk = -1;
73362 INT out_ACC40Uk = -1;
73363 in_FRinti = FLD (in_FRinti);
73364 in_FRintj = FLD (in_FRintj);
73365 out_ACC40Sk = FLD (out_ACC40Sk);
73366 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73367 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
73368 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
73369 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73371 return cycles;
73372 #undef FLD
73375 static int
73376 model_fr400_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
73378 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73380 const IDESC * UNUSED idesc = abuf->idesc;
73381 int cycles = 0;
73383 int referenced = 0;
73384 int UNUSED insn_referenced = abuf->written;
73385 INT in_FRinti = -1;
73386 INT in_FRintj = -1;
73387 INT out_ACC40Sk = -1;
73388 INT out_ACC40Uk = -1;
73389 in_FRinti = FLD (in_FRinti);
73390 in_FRintj = FLD (in_FRintj);
73391 out_ACC40Sk = FLD (out_ACC40Sk);
73392 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73393 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
73394 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
73395 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73397 return cycles;
73398 #undef FLD
73401 static int
73402 model_fr400_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
73404 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73406 const IDESC * UNUSED idesc = abuf->idesc;
73407 int cycles = 0;
73409 int referenced = 0;
73410 int UNUSED insn_referenced = abuf->written;
73411 INT in_FRinti = -1;
73412 INT in_FRintj = -1;
73413 INT out_ACC40Sk = -1;
73414 INT out_ACC40Uk = -1;
73415 in_FRinti = FLD (in_FRinti);
73416 in_FRintj = FLD (in_FRintj);
73417 out_ACC40Sk = FLD (out_ACC40Sk);
73418 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73419 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
73420 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
73421 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73423 return cycles;
73424 #undef FLD
73427 static int
73428 model_fr400_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
73430 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73432 const IDESC * UNUSED idesc = abuf->idesc;
73433 int cycles = 0;
73435 int referenced = 0;
73436 int UNUSED insn_referenced = abuf->written;
73437 INT in_FRinti = -1;
73438 INT in_FRintj = -1;
73439 INT out_ACC40Sk = -1;
73440 INT out_ACC40Uk = -1;
73441 in_FRinti = FLD (in_FRinti);
73442 in_FRintj = FLD (in_FRintj);
73443 out_ACC40Sk = FLD (out_ACC40Sk);
73444 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73445 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73446 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73447 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73449 return cycles;
73450 #undef FLD
73453 static int
73454 model_fr400_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
73456 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73458 const IDESC * UNUSED idesc = abuf->idesc;
73459 int cycles = 0;
73461 int referenced = 0;
73462 int UNUSED insn_referenced = abuf->written;
73463 INT in_FRinti = -1;
73464 INT in_FRintj = -1;
73465 INT out_ACC40Sk = -1;
73466 INT out_ACC40Uk = -1;
73467 in_FRinti = FLD (in_FRinti);
73468 in_FRintj = FLD (in_FRintj);
73469 out_ACC40Sk = FLD (out_ACC40Sk);
73470 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73471 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73472 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73473 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73475 return cycles;
73476 #undef FLD
73479 static int
73480 model_fr400_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
73482 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73484 const IDESC * UNUSED idesc = abuf->idesc;
73485 int cycles = 0;
73487 int referenced = 0;
73488 int UNUSED insn_referenced = abuf->written;
73489 INT in_FRinti = -1;
73490 INT in_FRintj = -1;
73491 INT out_ACC40Sk = -1;
73492 INT out_ACC40Uk = -1;
73493 in_FRinti = FLD (in_FRinti);
73494 in_FRintj = FLD (in_FRintj);
73495 out_ACC40Sk = FLD (out_ACC40Sk);
73496 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73497 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73498 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73499 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73501 return cycles;
73502 #undef FLD
73505 static int
73506 model_fr400_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
73508 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73510 const IDESC * UNUSED idesc = abuf->idesc;
73511 int cycles = 0;
73513 int referenced = 0;
73514 int UNUSED insn_referenced = abuf->written;
73515 INT in_FRinti = -1;
73516 INT in_FRintj = -1;
73517 INT out_ACC40Sk = -1;
73518 INT out_ACC40Uk = -1;
73519 in_FRinti = FLD (in_FRinti);
73520 in_FRintj = FLD (in_FRintj);
73521 out_ACC40Sk = FLD (out_ACC40Sk);
73522 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73523 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73524 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73525 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73527 return cycles;
73528 #undef FLD
73531 static int
73532 model_fr400_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
73534 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73535 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73536 const IDESC * UNUSED idesc = abuf->idesc;
73537 int cycles = 0;
73539 int referenced = 0;
73540 int UNUSED insn_referenced = abuf->written;
73541 INT in_FRinti = -1;
73542 INT in_FRintj = -1;
73543 INT out_ACC40Sk = -1;
73544 INT out_ACC40Uk = -1;
73545 out_ACC40Sk = FLD (out_ACC40Sk);
73546 in_FRinti = FLD (in_FRintieven);
73547 in_FRintj = FLD (in_FRintjeven);
73548 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73549 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73551 return cycles;
73552 #undef FLD
73555 static int
73556 model_fr400_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
73558 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73559 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73560 const IDESC * UNUSED idesc = abuf->idesc;
73561 int cycles = 0;
73563 int referenced = 0;
73564 int UNUSED insn_referenced = abuf->written;
73565 INT in_FRinti = -1;
73566 INT in_FRintj = -1;
73567 INT out_ACC40Sk = -1;
73568 INT out_ACC40Uk = -1;
73569 out_ACC40Sk = FLD (out_ACC40Sk);
73570 in_FRinti = FLD (in_FRintieven);
73571 in_FRintj = FLD (in_FRintjeven);
73572 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73573 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73575 return cycles;
73576 #undef FLD
73579 static int
73580 model_fr400_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
73582 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73584 const IDESC * UNUSED idesc = abuf->idesc;
73585 int cycles = 0;
73587 int referenced = 0;
73588 int UNUSED insn_referenced = abuf->written;
73589 INT in_FRinti = -1;
73590 INT in_FRintj = -1;
73591 INT out_ACC40Sk = -1;
73592 INT out_ACC40Uk = -1;
73593 out_ACC40Sk = FLD (out_ACC40Sk);
73594 in_FRinti = FLD (in_FRintieven);
73595 in_FRintj = FLD (in_FRintjeven);
73596 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73597 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73599 return cycles;
73600 #undef FLD
73603 static int
73604 model_fr400_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
73606 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73607 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73608 const IDESC * UNUSED idesc = abuf->idesc;
73609 int cycles = 0;
73611 int referenced = 0;
73612 int UNUSED insn_referenced = abuf->written;
73613 INT in_FRinti = -1;
73614 INT in_FRintj = -1;
73615 INT out_ACC40Sk = -1;
73616 INT out_ACC40Uk = -1;
73617 out_ACC40Sk = FLD (out_ACC40Sk);
73618 in_FRinti = FLD (in_FRintieven);
73619 in_FRintj = FLD (in_FRintjeven);
73620 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73621 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73623 return cycles;
73624 #undef FLD
73627 static int
73628 model_fr400_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
73630 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
73631 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73632 const IDESC * UNUSED idesc = abuf->idesc;
73633 int cycles = 0;
73635 int referenced = 0;
73636 int UNUSED insn_referenced = abuf->written;
73637 INT in_FRinti = -1;
73638 INT in_FRintj = -1;
73639 INT out_FRintk = -1;
73640 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
73642 return cycles;
73643 #undef FLD
73646 static int
73647 model_fr400_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
73649 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
73650 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73651 const IDESC * UNUSED idesc = abuf->idesc;
73652 int cycles = 0;
73654 int referenced = 0;
73655 int UNUSED insn_referenced = abuf->written;
73656 INT in_FRinti = -1;
73657 INT in_FRintj = -1;
73658 INT out_FRintk = -1;
73659 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
73661 return cycles;
73662 #undef FLD
73665 static int
73666 model_fr400_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
73668 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
73669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73670 const IDESC * UNUSED idesc = abuf->idesc;
73671 int cycles = 0;
73673 int referenced = 0;
73674 int UNUSED insn_referenced = abuf->written;
73675 INT in_FRinti = -1;
73676 INT out_FRintk = -1;
73677 out_FRintk = FLD (out_FRintkeven);
73678 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73680 return cycles;
73681 #undef FLD
73684 static int
73685 model_fr400_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
73687 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
73688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73689 const IDESC * UNUSED idesc = abuf->idesc;
73690 int cycles = 0;
73692 int referenced = 0;
73693 int UNUSED insn_referenced = abuf->written;
73694 INT in_FRinti = -1;
73695 INT out_FRintk = -1;
73696 out_FRintk = FLD (out_FRintkeven);
73697 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73699 return cycles;
73700 #undef FLD
73703 static int
73704 model_fr400_mpackh (SIM_CPU *current_cpu, void *sem_arg)
73706 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
73707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73708 const IDESC * UNUSED idesc = abuf->idesc;
73709 int cycles = 0;
73711 int referenced = 0;
73712 int UNUSED insn_referenced = abuf->written;
73713 INT in_FRinti = -1;
73714 INT in_FRintj = -1;
73715 INT out_FRintk = -1;
73716 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
73718 return cycles;
73719 #undef FLD
73722 static int
73723 model_fr400_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
73725 #define FLD(f) abuf->fields.sfmt_mdpackh.f
73726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73727 const IDESC * UNUSED idesc = abuf->idesc;
73728 int cycles = 0;
73730 int referenced = 0;
73731 int UNUSED insn_referenced = abuf->written;
73732 INT in_FRinti = -1;
73733 INT in_FRintj = -1;
73734 INT out_FRintk = -1;
73735 in_FRinti = FLD (in_FRintieven);
73736 in_FRintj = FLD (in_FRintjeven);
73737 out_FRintk = FLD (out_FRintkeven);
73738 cycles += frvbf_model_fr400_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
73740 return cycles;
73741 #undef FLD
73744 static int
73745 model_fr400_munpackh (SIM_CPU *current_cpu, void *sem_arg)
73747 #define FLD(f) abuf->fields.sfmt_munpackh.f
73748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73749 const IDESC * UNUSED idesc = abuf->idesc;
73750 int cycles = 0;
73752 int referenced = 0;
73753 int UNUSED insn_referenced = abuf->written;
73754 INT in_FRinti = -1;
73755 INT out_FRintk = -1;
73756 in_FRinti = FLD (in_FRinti);
73757 out_FRintk = FLD (out_FRintkeven);
73758 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73759 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73761 return cycles;
73762 #undef FLD
73765 static int
73766 model_fr400_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
73768 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
73769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73770 const IDESC * UNUSED idesc = abuf->idesc;
73771 int cycles = 0;
73773 int referenced = 0;
73774 int UNUSED insn_referenced = abuf->written;
73775 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
73777 return cycles;
73778 #undef FLD
73781 static int
73782 model_fr400_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
73784 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
73785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73786 const IDESC * UNUSED idesc = abuf->idesc;
73787 int cycles = 0;
73789 int referenced = 0;
73790 int UNUSED insn_referenced = abuf->written;
73791 INT in_FRinti = -1;
73792 INT out_FRintk = -1;
73793 out_FRintk = FLD (out_FRintkeven);
73794 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73796 return cycles;
73797 #undef FLD
73800 static int
73801 model_fr400_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
73803 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
73804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73805 const IDESC * UNUSED idesc = abuf->idesc;
73806 int cycles = 0;
73808 int referenced = 0;
73809 int UNUSED insn_referenced = abuf->written;
73810 INT in_FRinti = -1;
73811 INT out_FRintk = -1;
73812 out_FRintk = FLD (out_FRintkeven);
73813 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73815 return cycles;
73816 #undef FLD
73819 static int
73820 model_fr400_mhtob (SIM_CPU *current_cpu, void *sem_arg)
73822 #define FLD(f) abuf->fields.sfmt_cmhtob.f
73823 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73824 const IDESC * UNUSED idesc = abuf->idesc;
73825 int cycles = 0;
73827 int referenced = 0;
73828 int UNUSED insn_referenced = abuf->written;
73829 INT in_FRintj = -1;
73830 INT out_FRintk = -1;
73831 out_FRintk = FLD (out_FRintk);
73832 in_FRintj = FLD (in_FRintjeven);
73833 referenced |= 1 << 1;
73834 cycles += frvbf_model_fr400_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
73836 return cycles;
73837 #undef FLD
73840 static int
73841 model_fr400_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
73843 #define FLD(f) abuf->fields.sfmt_cmhtob.f
73844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73845 const IDESC * UNUSED idesc = abuf->idesc;
73846 int cycles = 0;
73848 int referenced = 0;
73849 int UNUSED insn_referenced = abuf->written;
73850 INT in_FRintj = -1;
73851 INT out_FRintk = -1;
73852 out_FRintk = FLD (out_FRintk);
73853 in_FRintj = FLD (in_FRintjeven);
73854 referenced |= 1 << 1;
73855 cycles += frvbf_model_fr400_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
73857 return cycles;
73858 #undef FLD
73861 static int
73862 model_fr400_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
73864 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
73865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73866 const IDESC * UNUSED idesc = abuf->idesc;
73867 int cycles = 0;
73869 int referenced = 0;
73870 int UNUSED insn_referenced = abuf->written;
73871 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
73873 return cycles;
73874 #undef FLD
73877 static int
73878 model_fr400_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
73880 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
73881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73882 const IDESC * UNUSED idesc = abuf->idesc;
73883 int cycles = 0;
73885 int referenced = 0;
73886 int UNUSED insn_referenced = abuf->written;
73887 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
73889 return cycles;
73890 #undef FLD
73893 static int
73894 model_fr400_mnop (SIM_CPU *current_cpu, void *sem_arg)
73896 #define FLD(f) abuf->fields.sfmt_empty.f
73897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73898 const IDESC * UNUSED idesc = abuf->idesc;
73899 int cycles = 0;
73901 int referenced = 0;
73902 int UNUSED insn_referenced = abuf->written;
73903 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
73905 return cycles;
73906 #undef FLD
73909 static int
73910 model_fr400_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
73912 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
73913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73914 const IDESC * UNUSED idesc = abuf->idesc;
73915 int cycles = 0;
73917 int referenced = 0;
73918 int UNUSED insn_referenced = abuf->written;
73919 INT in_ACC40Si = -1;
73920 INT in_FRintj = -1;
73921 INT out_ACC40Sk = -1;
73922 INT out_FRintk = -1;
73923 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
73925 return cycles;
73926 #undef FLD
73929 static int
73930 model_fr400_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
73932 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
73933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73934 const IDESC * UNUSED idesc = abuf->idesc;
73935 int cycles = 0;
73937 int referenced = 0;
73938 int UNUSED insn_referenced = abuf->written;
73939 INT in_ACC40Si = -1;
73940 INT in_FRintj = -1;
73941 INT out_ACC40Sk = -1;
73942 INT out_FRintk = -1;
73943 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
73945 return cycles;
73946 #undef FLD
73949 static int
73950 model_fr400_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
73952 #define FLD(f) abuf->fields.sfmt_mcuti.f
73953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73954 const IDESC * UNUSED idesc = abuf->idesc;
73955 int cycles = 0;
73957 int referenced = 0;
73958 int UNUSED insn_referenced = abuf->written;
73959 INT in_ACC40Si = -1;
73960 INT in_FRintj = -1;
73961 INT out_ACC40Sk = -1;
73962 INT out_FRintk = -1;
73963 in_ACC40Si = FLD (in_ACC40Si);
73964 out_FRintk = FLD (out_FRintk);
73965 referenced |= 1 << 0;
73966 referenced |= 1 << 3;
73967 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
73969 return cycles;
73970 #undef FLD
73973 static int
73974 model_fr400_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
73976 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
73977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73978 const IDESC * UNUSED idesc = abuf->idesc;
73979 int cycles = 0;
73981 int referenced = 0;
73982 int UNUSED insn_referenced = abuf->written;
73983 INT in_ACCGi = -1;
73984 INT in_FRinti = -1;
73985 INT out_ACCGk = -1;
73986 INT out_FRintk = -1;
73987 in_ACCGi = FLD (in_ACCGi);
73988 out_FRintk = FLD (out_FRintk);
73989 referenced |= 1 << 0;
73990 referenced |= 1 << 3;
73991 cycles += frvbf_model_fr400_u_media_4_accg (current_cpu, idesc, 0, referenced, in_ACCGi, in_FRinti, out_ACCGk, out_FRintk);
73993 return cycles;
73994 #undef FLD
73997 static int
73998 model_fr400_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
74000 #define FLD(f) abuf->fields.sfmt_cmmachs.f
74001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74002 const IDESC * UNUSED idesc = abuf->idesc;
74003 int cycles = 0;
74005 int referenced = 0;
74006 int UNUSED insn_referenced = abuf->written;
74007 INT in_ACC40Si = -1;
74008 INT in_FRintj = -1;
74009 INT out_ACC40Sk = -1;
74010 INT out_FRintk = -1;
74011 out_ACC40Sk = FLD (out_ACC40Sk);
74012 referenced |= 1 << 2;
74013 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
74015 return cycles;
74016 #undef FLD
74019 static int
74020 model_fr400_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
74022 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
74023 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74024 const IDESC * UNUSED idesc = abuf->idesc;
74025 int cycles = 0;
74027 int referenced = 0;
74028 int UNUSED insn_referenced = abuf->written;
74029 INT in_ACCGi = -1;
74030 INT in_FRinti = -1;
74031 INT out_ACCGk = -1;
74032 INT out_FRintk = -1;
74033 in_FRinti = FLD (in_FRinti);
74034 out_ACCGk = FLD (out_ACCGk);
74035 referenced |= 1 << 1;
74036 referenced |= 1 << 2;
74037 cycles += frvbf_model_fr400_u_media_4_accg (current_cpu, idesc, 0, referenced, in_ACCGi, in_FRinti, out_ACCGk, out_FRintk);
74039 return cycles;
74040 #undef FLD
74043 static int
74044 model_fr400_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
74046 #define FLD(f) abuf->fields.sfmt_empty.f
74047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74048 const IDESC * UNUSED idesc = abuf->idesc;
74049 int cycles = 0;
74051 int referenced = 0;
74052 int UNUSED insn_referenced = abuf->written;
74053 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
74055 return cycles;
74056 #undef FLD
74059 static int
74060 model_fr400_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
74062 #define FLD(f) abuf->fields.sfmt_empty.f
74063 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74064 const IDESC * UNUSED idesc = abuf->idesc;
74065 int cycles = 0;
74067 int referenced = 0;
74068 int UNUSED insn_referenced = abuf->written;
74069 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
74071 return cycles;
74072 #undef FLD
74075 static int
74076 model_fr400_fnop (SIM_CPU *current_cpu, void *sem_arg)
74078 #define FLD(f) abuf->fields.sfmt_empty.f
74079 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74080 const IDESC * UNUSED idesc = abuf->idesc;
74081 int cycles = 0;
74083 int referenced = 0;
74084 int UNUSED insn_referenced = abuf->written;
74085 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
74087 return cycles;
74088 #undef FLD
74091 static int
74092 model_fr450_add (SIM_CPU *current_cpu, void *sem_arg)
74094 #define FLD(f) abuf->fields.sfmt_addcc.f
74095 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74096 const IDESC * UNUSED idesc = abuf->idesc;
74097 int cycles = 0;
74099 int referenced = 0;
74100 int UNUSED insn_referenced = abuf->written;
74101 INT in_GRi = -1;
74102 INT in_GRj = -1;
74103 INT out_GRk = -1;
74104 INT out_ICCi_1 = -1;
74105 in_GRi = FLD (in_GRi);
74106 in_GRj = FLD (in_GRj);
74107 out_GRk = FLD (out_GRk);
74108 referenced |= 1 << 0;
74109 referenced |= 1 << 1;
74110 referenced |= 1 << 2;
74111 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74113 return cycles;
74114 #undef FLD
74117 static int
74118 model_fr450_sub (SIM_CPU *current_cpu, void *sem_arg)
74120 #define FLD(f) abuf->fields.sfmt_addcc.f
74121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74122 const IDESC * UNUSED idesc = abuf->idesc;
74123 int cycles = 0;
74125 int referenced = 0;
74126 int UNUSED insn_referenced = abuf->written;
74127 INT in_GRi = -1;
74128 INT in_GRj = -1;
74129 INT out_GRk = -1;
74130 INT out_ICCi_1 = -1;
74131 in_GRi = FLD (in_GRi);
74132 in_GRj = FLD (in_GRj);
74133 out_GRk = FLD (out_GRk);
74134 referenced |= 1 << 0;
74135 referenced |= 1 << 1;
74136 referenced |= 1 << 2;
74137 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74139 return cycles;
74140 #undef FLD
74143 static int
74144 model_fr450_and (SIM_CPU *current_cpu, void *sem_arg)
74146 #define FLD(f) abuf->fields.sfmt_addcc.f
74147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74148 const IDESC * UNUSED idesc = abuf->idesc;
74149 int cycles = 0;
74151 int referenced = 0;
74152 int UNUSED insn_referenced = abuf->written;
74153 INT in_GRi = -1;
74154 INT in_GRj = -1;
74155 INT out_GRk = -1;
74156 INT out_ICCi_1 = -1;
74157 in_GRi = FLD (in_GRi);
74158 in_GRj = FLD (in_GRj);
74159 out_GRk = FLD (out_GRk);
74160 referenced |= 1 << 0;
74161 referenced |= 1 << 1;
74162 referenced |= 1 << 2;
74163 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74165 return cycles;
74166 #undef FLD
74169 static int
74170 model_fr450_or (SIM_CPU *current_cpu, void *sem_arg)
74172 #define FLD(f) abuf->fields.sfmt_addcc.f
74173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74174 const IDESC * UNUSED idesc = abuf->idesc;
74175 int cycles = 0;
74177 int referenced = 0;
74178 int UNUSED insn_referenced = abuf->written;
74179 INT in_GRi = -1;
74180 INT in_GRj = -1;
74181 INT out_GRk = -1;
74182 INT out_ICCi_1 = -1;
74183 in_GRi = FLD (in_GRi);
74184 in_GRj = FLD (in_GRj);
74185 out_GRk = FLD (out_GRk);
74186 referenced |= 1 << 0;
74187 referenced |= 1 << 1;
74188 referenced |= 1 << 2;
74189 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74191 return cycles;
74192 #undef FLD
74195 static int
74196 model_fr450_xor (SIM_CPU *current_cpu, void *sem_arg)
74198 #define FLD(f) abuf->fields.sfmt_addcc.f
74199 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74200 const IDESC * UNUSED idesc = abuf->idesc;
74201 int cycles = 0;
74203 int referenced = 0;
74204 int UNUSED insn_referenced = abuf->written;
74205 INT in_GRi = -1;
74206 INT in_GRj = -1;
74207 INT out_GRk = -1;
74208 INT out_ICCi_1 = -1;
74209 in_GRi = FLD (in_GRi);
74210 in_GRj = FLD (in_GRj);
74211 out_GRk = FLD (out_GRk);
74212 referenced |= 1 << 0;
74213 referenced |= 1 << 1;
74214 referenced |= 1 << 2;
74215 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74217 return cycles;
74218 #undef FLD
74221 static int
74222 model_fr450_not (SIM_CPU *current_cpu, void *sem_arg)
74224 #define FLD(f) abuf->fields.sfmt_scutss.f
74225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74226 const IDESC * UNUSED idesc = abuf->idesc;
74227 int cycles = 0;
74229 int referenced = 0;
74230 int UNUSED insn_referenced = abuf->written;
74231 INT in_GRi = -1;
74232 INT in_GRj = -1;
74233 INT out_GRk = -1;
74234 INT out_ICCi_1 = -1;
74235 in_GRj = FLD (in_GRj);
74236 out_GRk = FLD (out_GRk);
74237 referenced |= 1 << 1;
74238 referenced |= 1 << 2;
74239 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74241 return cycles;
74242 #undef FLD
74245 static int
74246 model_fr450_sdiv (SIM_CPU *current_cpu, void *sem_arg)
74248 #define FLD(f) abuf->fields.sfmt_addcc.f
74249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74250 const IDESC * UNUSED idesc = abuf->idesc;
74251 int cycles = 0;
74253 int referenced = 0;
74254 int UNUSED insn_referenced = abuf->written;
74255 INT in_GRi = -1;
74256 INT in_GRj = -1;
74257 INT out_GRk = -1;
74258 INT out_ICCi_1 = -1;
74259 in_GRi = FLD (in_GRi);
74260 in_GRj = FLD (in_GRj);
74261 out_GRk = FLD (out_GRk);
74262 referenced |= 1 << 0;
74263 referenced |= 1 << 1;
74264 referenced |= 1 << 2;
74265 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74267 return cycles;
74268 #undef FLD
74271 static int
74272 model_fr450_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
74274 #define FLD(f) abuf->fields.sfmt_addcc.f
74275 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74276 const IDESC * UNUSED idesc = abuf->idesc;
74277 int cycles = 0;
74279 int referenced = 0;
74280 int UNUSED insn_referenced = abuf->written;
74281 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
74283 return cycles;
74284 #undef FLD
74287 static int
74288 model_fr450_udiv (SIM_CPU *current_cpu, void *sem_arg)
74290 #define FLD(f) abuf->fields.sfmt_addcc.f
74291 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74292 const IDESC * UNUSED idesc = abuf->idesc;
74293 int cycles = 0;
74295 int referenced = 0;
74296 int UNUSED insn_referenced = abuf->written;
74297 INT in_GRi = -1;
74298 INT in_GRj = -1;
74299 INT out_GRk = -1;
74300 INT out_ICCi_1 = -1;
74301 in_GRi = FLD (in_GRi);
74302 in_GRj = FLD (in_GRj);
74303 out_GRk = FLD (out_GRk);
74304 referenced |= 1 << 0;
74305 referenced |= 1 << 1;
74306 referenced |= 1 << 2;
74307 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74309 return cycles;
74310 #undef FLD
74313 static int
74314 model_fr450_nudiv (SIM_CPU *current_cpu, void *sem_arg)
74316 #define FLD(f) abuf->fields.sfmt_addcc.f
74317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74318 const IDESC * UNUSED idesc = abuf->idesc;
74319 int cycles = 0;
74321 int referenced = 0;
74322 int UNUSED insn_referenced = abuf->written;
74323 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
74325 return cycles;
74326 #undef FLD
74329 static int
74330 model_fr450_smul (SIM_CPU *current_cpu, void *sem_arg)
74332 #define FLD(f) abuf->fields.sfmt_smulcc.f
74333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74334 const IDESC * UNUSED idesc = abuf->idesc;
74335 int cycles = 0;
74337 int referenced = 0;
74338 int UNUSED insn_referenced = abuf->written;
74339 INT in_GRi = -1;
74340 INT in_GRj = -1;
74341 INT out_GRdoublek = -1;
74342 INT out_ICCi_1 = -1;
74343 in_GRi = FLD (in_GRi);
74344 in_GRj = FLD (in_GRj);
74345 out_GRdoublek = FLD (out_GRdoublek);
74346 referenced |= 1 << 0;
74347 referenced |= 1 << 1;
74348 referenced |= 1 << 2;
74349 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
74351 return cycles;
74352 #undef FLD
74355 static int
74356 model_fr450_umul (SIM_CPU *current_cpu, void *sem_arg)
74358 #define FLD(f) abuf->fields.sfmt_smulcc.f
74359 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74360 const IDESC * UNUSED idesc = abuf->idesc;
74361 int cycles = 0;
74363 int referenced = 0;
74364 int UNUSED insn_referenced = abuf->written;
74365 INT in_GRi = -1;
74366 INT in_GRj = -1;
74367 INT out_GRdoublek = -1;
74368 INT out_ICCi_1 = -1;
74369 in_GRi = FLD (in_GRi);
74370 in_GRj = FLD (in_GRj);
74371 out_GRdoublek = FLD (out_GRdoublek);
74372 referenced |= 1 << 0;
74373 referenced |= 1 << 1;
74374 referenced |= 1 << 2;
74375 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
74377 return cycles;
74378 #undef FLD
74381 static int
74382 model_fr450_smu (SIM_CPU *current_cpu, void *sem_arg)
74384 #define FLD(f) abuf->fields.sfmt_smass.f
74385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74386 const IDESC * UNUSED idesc = abuf->idesc;
74387 int cycles = 0;
74389 int referenced = 0;
74390 int UNUSED insn_referenced = abuf->written;
74391 INT in_GRi = -1;
74392 INT in_GRj = -1;
74393 INT out_GRk = -1;
74394 INT out_ICCi_1 = -1;
74395 in_GRi = FLD (in_GRi);
74396 in_GRj = FLD (in_GRj);
74397 referenced |= 1 << 0;
74398 referenced |= 1 << 1;
74399 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74401 return cycles;
74402 #undef FLD
74405 static int
74406 model_fr450_smass (SIM_CPU *current_cpu, void *sem_arg)
74408 #define FLD(f) abuf->fields.sfmt_smass.f
74409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74410 const IDESC * UNUSED idesc = abuf->idesc;
74411 int cycles = 0;
74413 int referenced = 0;
74414 int UNUSED insn_referenced = abuf->written;
74415 INT in_GRi = -1;
74416 INT in_GRj = -1;
74417 INT out_GRk = -1;
74418 INT out_ICCi_1 = -1;
74419 in_GRi = FLD (in_GRi);
74420 in_GRj = FLD (in_GRj);
74421 referenced |= 1 << 0;
74422 referenced |= 1 << 1;
74423 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74425 return cycles;
74426 #undef FLD
74429 static int
74430 model_fr450_smsss (SIM_CPU *current_cpu, void *sem_arg)
74432 #define FLD(f) abuf->fields.sfmt_smass.f
74433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74434 const IDESC * UNUSED idesc = abuf->idesc;
74435 int cycles = 0;
74437 int referenced = 0;
74438 int UNUSED insn_referenced = abuf->written;
74439 INT in_GRi = -1;
74440 INT in_GRj = -1;
74441 INT out_GRk = -1;
74442 INT out_ICCi_1 = -1;
74443 in_GRi = FLD (in_GRi);
74444 in_GRj = FLD (in_GRj);
74445 referenced |= 1 << 0;
74446 referenced |= 1 << 1;
74447 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74449 return cycles;
74450 #undef FLD
74453 static int
74454 model_fr450_sll (SIM_CPU *current_cpu, void *sem_arg)
74456 #define FLD(f) abuf->fields.sfmt_addcc.f
74457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74458 const IDESC * UNUSED idesc = abuf->idesc;
74459 int cycles = 0;
74461 int referenced = 0;
74462 int UNUSED insn_referenced = abuf->written;
74463 INT in_GRi = -1;
74464 INT in_GRj = -1;
74465 INT out_GRk = -1;
74466 INT out_ICCi_1 = -1;
74467 in_GRi = FLD (in_GRi);
74468 in_GRj = FLD (in_GRj);
74469 out_GRk = FLD (out_GRk);
74470 referenced |= 1 << 0;
74471 referenced |= 1 << 1;
74472 referenced |= 1 << 2;
74473 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74475 return cycles;
74476 #undef FLD
74479 static int
74480 model_fr450_srl (SIM_CPU *current_cpu, void *sem_arg)
74482 #define FLD(f) abuf->fields.sfmt_addcc.f
74483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74484 const IDESC * UNUSED idesc = abuf->idesc;
74485 int cycles = 0;
74487 int referenced = 0;
74488 int UNUSED insn_referenced = abuf->written;
74489 INT in_GRi = -1;
74490 INT in_GRj = -1;
74491 INT out_GRk = -1;
74492 INT out_ICCi_1 = -1;
74493 in_GRi = FLD (in_GRi);
74494 in_GRj = FLD (in_GRj);
74495 out_GRk = FLD (out_GRk);
74496 referenced |= 1 << 0;
74497 referenced |= 1 << 1;
74498 referenced |= 1 << 2;
74499 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74501 return cycles;
74502 #undef FLD
74505 static int
74506 model_fr450_sra (SIM_CPU *current_cpu, void *sem_arg)
74508 #define FLD(f) abuf->fields.sfmt_addcc.f
74509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74510 const IDESC * UNUSED idesc = abuf->idesc;
74511 int cycles = 0;
74513 int referenced = 0;
74514 int UNUSED insn_referenced = abuf->written;
74515 INT in_GRi = -1;
74516 INT in_GRj = -1;
74517 INT out_GRk = -1;
74518 INT out_ICCi_1 = -1;
74519 in_GRi = FLD (in_GRi);
74520 in_GRj = FLD (in_GRj);
74521 out_GRk = FLD (out_GRk);
74522 referenced |= 1 << 0;
74523 referenced |= 1 << 1;
74524 referenced |= 1 << 2;
74525 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74527 return cycles;
74528 #undef FLD
74531 static int
74532 model_fr450_slass (SIM_CPU *current_cpu, void *sem_arg)
74534 #define FLD(f) abuf->fields.sfmt_addcc.f
74535 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74536 const IDESC * UNUSED idesc = abuf->idesc;
74537 int cycles = 0;
74539 int referenced = 0;
74540 int UNUSED insn_referenced = abuf->written;
74541 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
74543 return cycles;
74544 #undef FLD
74547 static int
74548 model_fr450_scutss (SIM_CPU *current_cpu, void *sem_arg)
74550 #define FLD(f) abuf->fields.sfmt_scutss.f
74551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74552 const IDESC * UNUSED idesc = abuf->idesc;
74553 int cycles = 0;
74555 int referenced = 0;
74556 int UNUSED insn_referenced = abuf->written;
74557 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
74559 return cycles;
74560 #undef FLD
74563 static int
74564 model_fr450_scan (SIM_CPU *current_cpu, void *sem_arg)
74566 #define FLD(f) abuf->fields.sfmt_addcc.f
74567 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74568 const IDESC * UNUSED idesc = abuf->idesc;
74569 int cycles = 0;
74571 int referenced = 0;
74572 int UNUSED insn_referenced = abuf->written;
74573 INT in_GRi = -1;
74574 INT in_GRj = -1;
74575 INT out_GRk = -1;
74576 INT out_ICCi_1 = -1;
74577 in_GRi = FLD (in_GRi);
74578 in_GRj = FLD (in_GRj);
74579 out_GRk = FLD (out_GRk);
74580 referenced |= 1 << 0;
74581 referenced |= 1 << 1;
74582 referenced |= 1 << 2;
74583 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74585 return cycles;
74586 #undef FLD
74589 static int
74590 model_fr450_cadd (SIM_CPU *current_cpu, void *sem_arg)
74592 #define FLD(f) abuf->fields.sfmt_cswap.f
74593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74594 const IDESC * UNUSED idesc = abuf->idesc;
74595 int cycles = 0;
74597 int referenced = 0;
74598 int UNUSED insn_referenced = abuf->written;
74599 INT in_GRi = -1;
74600 INT in_GRj = -1;
74601 INT out_GRk = -1;
74602 INT out_ICCi_1 = -1;
74603 in_GRi = FLD (in_GRi);
74604 in_GRj = FLD (in_GRj);
74605 out_GRk = FLD (out_GRk);
74606 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74607 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74608 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74609 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74611 return cycles;
74612 #undef FLD
74615 static int
74616 model_fr450_csub (SIM_CPU *current_cpu, void *sem_arg)
74618 #define FLD(f) abuf->fields.sfmt_cswap.f
74619 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74620 const IDESC * UNUSED idesc = abuf->idesc;
74621 int cycles = 0;
74623 int referenced = 0;
74624 int UNUSED insn_referenced = abuf->written;
74625 INT in_GRi = -1;
74626 INT in_GRj = -1;
74627 INT out_GRk = -1;
74628 INT out_ICCi_1 = -1;
74629 in_GRi = FLD (in_GRi);
74630 in_GRj = FLD (in_GRj);
74631 out_GRk = FLD (out_GRk);
74632 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74633 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74634 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74635 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74637 return cycles;
74638 #undef FLD
74641 static int
74642 model_fr450_cand (SIM_CPU *current_cpu, void *sem_arg)
74644 #define FLD(f) abuf->fields.sfmt_cswap.f
74645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74646 const IDESC * UNUSED idesc = abuf->idesc;
74647 int cycles = 0;
74649 int referenced = 0;
74650 int UNUSED insn_referenced = abuf->written;
74651 INT in_GRi = -1;
74652 INT in_GRj = -1;
74653 INT out_GRk = -1;
74654 INT out_ICCi_1 = -1;
74655 in_GRi = FLD (in_GRi);
74656 in_GRj = FLD (in_GRj);
74657 out_GRk = FLD (out_GRk);
74658 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74659 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74660 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74661 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74663 return cycles;
74664 #undef FLD
74667 static int
74668 model_fr450_cor (SIM_CPU *current_cpu, void *sem_arg)
74670 #define FLD(f) abuf->fields.sfmt_cswap.f
74671 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74672 const IDESC * UNUSED idesc = abuf->idesc;
74673 int cycles = 0;
74675 int referenced = 0;
74676 int UNUSED insn_referenced = abuf->written;
74677 INT in_GRi = -1;
74678 INT in_GRj = -1;
74679 INT out_GRk = -1;
74680 INT out_ICCi_1 = -1;
74681 in_GRi = FLD (in_GRi);
74682 in_GRj = FLD (in_GRj);
74683 out_GRk = FLD (out_GRk);
74684 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74685 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74686 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74687 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74689 return cycles;
74690 #undef FLD
74693 static int
74694 model_fr450_cxor (SIM_CPU *current_cpu, void *sem_arg)
74696 #define FLD(f) abuf->fields.sfmt_cswap.f
74697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74698 const IDESC * UNUSED idesc = abuf->idesc;
74699 int cycles = 0;
74701 int referenced = 0;
74702 int UNUSED insn_referenced = abuf->written;
74703 INT in_GRi = -1;
74704 INT in_GRj = -1;
74705 INT out_GRk = -1;
74706 INT out_ICCi_1 = -1;
74707 in_GRi = FLD (in_GRi);
74708 in_GRj = FLD (in_GRj);
74709 out_GRk = FLD (out_GRk);
74710 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74711 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74712 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74713 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74715 return cycles;
74716 #undef FLD
74719 static int
74720 model_fr450_cnot (SIM_CPU *current_cpu, void *sem_arg)
74722 #define FLD(f) abuf->fields.sfmt_cswap.f
74723 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74724 const IDESC * UNUSED idesc = abuf->idesc;
74725 int cycles = 0;
74727 int referenced = 0;
74728 int UNUSED insn_referenced = abuf->written;
74729 INT in_GRi = -1;
74730 INT in_GRj = -1;
74731 INT out_GRk = -1;
74732 INT out_ICCi_1 = -1;
74733 in_GRj = FLD (in_GRj);
74734 out_GRk = FLD (out_GRk);
74735 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
74736 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
74737 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74739 return cycles;
74740 #undef FLD
74743 static int
74744 model_fr450_csmul (SIM_CPU *current_cpu, void *sem_arg)
74746 #define FLD(f) abuf->fields.sfmt_clddu.f
74747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74748 const IDESC * UNUSED idesc = abuf->idesc;
74749 int cycles = 0;
74751 int referenced = 0;
74752 int UNUSED insn_referenced = abuf->written;
74753 INT in_GRi = -1;
74754 INT in_GRj = -1;
74755 INT out_GRdoublek = -1;
74756 INT out_ICCi_1 = -1;
74757 in_GRi = FLD (in_GRi);
74758 in_GRj = FLD (in_GRj);
74759 out_GRdoublek = FLD (out_GRdoublek);
74760 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74761 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74762 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74763 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
74765 return cycles;
74766 #undef FLD
74769 static int
74770 model_fr450_csdiv (SIM_CPU *current_cpu, void *sem_arg)
74772 #define FLD(f) abuf->fields.sfmt_cswap.f
74773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74774 const IDESC * UNUSED idesc = abuf->idesc;
74775 int cycles = 0;
74777 int referenced = 0;
74778 int UNUSED insn_referenced = abuf->written;
74779 INT in_GRi = -1;
74780 INT in_GRj = -1;
74781 INT out_GRk = -1;
74782 INT out_ICCi_1 = -1;
74783 in_GRi = FLD (in_GRi);
74784 in_GRj = FLD (in_GRj);
74785 out_GRk = FLD (out_GRk);
74786 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74787 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74788 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
74789 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74791 return cycles;
74792 #undef FLD
74795 static int
74796 model_fr450_cudiv (SIM_CPU *current_cpu, void *sem_arg)
74798 #define FLD(f) abuf->fields.sfmt_cswap.f
74799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74800 const IDESC * UNUSED idesc = abuf->idesc;
74801 int cycles = 0;
74803 int referenced = 0;
74804 int UNUSED insn_referenced = abuf->written;
74805 INT in_GRi = -1;
74806 INT in_GRj = -1;
74807 INT out_GRk = -1;
74808 INT out_ICCi_1 = -1;
74809 in_GRi = FLD (in_GRi);
74810 in_GRj = FLD (in_GRj);
74811 out_GRk = FLD (out_GRk);
74812 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74813 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74814 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
74815 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74817 return cycles;
74818 #undef FLD
74821 static int
74822 model_fr450_csll (SIM_CPU *current_cpu, void *sem_arg)
74824 #define FLD(f) abuf->fields.sfmt_cswap.f
74825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74826 const IDESC * UNUSED idesc = abuf->idesc;
74827 int cycles = 0;
74829 int referenced = 0;
74830 int UNUSED insn_referenced = abuf->written;
74831 INT in_GRi = -1;
74832 INT in_GRj = -1;
74833 INT out_GRk = -1;
74834 INT out_ICCi_1 = -1;
74835 in_GRi = FLD (in_GRi);
74836 in_GRj = FLD (in_GRj);
74837 out_GRk = FLD (out_GRk);
74838 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74839 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74840 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74841 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74843 return cycles;
74844 #undef FLD
74847 static int
74848 model_fr450_csrl (SIM_CPU *current_cpu, void *sem_arg)
74850 #define FLD(f) abuf->fields.sfmt_cswap.f
74851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74852 const IDESC * UNUSED idesc = abuf->idesc;
74853 int cycles = 0;
74855 int referenced = 0;
74856 int UNUSED insn_referenced = abuf->written;
74857 INT in_GRi = -1;
74858 INT in_GRj = -1;
74859 INT out_GRk = -1;
74860 INT out_ICCi_1 = -1;
74861 in_GRi = FLD (in_GRi);
74862 in_GRj = FLD (in_GRj);
74863 out_GRk = FLD (out_GRk);
74864 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74865 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74866 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74867 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74869 return cycles;
74870 #undef FLD
74873 static int
74874 model_fr450_csra (SIM_CPU *current_cpu, void *sem_arg)
74876 #define FLD(f) abuf->fields.sfmt_cswap.f
74877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74878 const IDESC * UNUSED idesc = abuf->idesc;
74879 int cycles = 0;
74881 int referenced = 0;
74882 int UNUSED insn_referenced = abuf->written;
74883 INT in_GRi = -1;
74884 INT in_GRj = -1;
74885 INT out_GRk = -1;
74886 INT out_ICCi_1 = -1;
74887 in_GRi = FLD (in_GRi);
74888 in_GRj = FLD (in_GRj);
74889 out_GRk = FLD (out_GRk);
74890 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74891 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74892 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74893 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74895 return cycles;
74896 #undef FLD
74899 static int
74900 model_fr450_cscan (SIM_CPU *current_cpu, void *sem_arg)
74902 #define FLD(f) abuf->fields.sfmt_cswap.f
74903 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74904 const IDESC * UNUSED idesc = abuf->idesc;
74905 int cycles = 0;
74907 int referenced = 0;
74908 int UNUSED insn_referenced = abuf->written;
74909 INT in_GRi = -1;
74910 INT in_GRj = -1;
74911 INT out_GRk = -1;
74912 INT out_ICCi_1 = -1;
74913 in_GRi = FLD (in_GRi);
74914 in_GRj = FLD (in_GRj);
74915 out_GRk = FLD (out_GRk);
74916 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74917 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74918 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74919 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74921 return cycles;
74922 #undef FLD
74925 static int
74926 model_fr450_addcc (SIM_CPU *current_cpu, void *sem_arg)
74928 #define FLD(f) abuf->fields.sfmt_addcc.f
74929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74930 const IDESC * UNUSED idesc = abuf->idesc;
74931 int cycles = 0;
74933 int referenced = 0;
74934 int UNUSED insn_referenced = abuf->written;
74935 INT in_GRi = -1;
74936 INT in_GRj = -1;
74937 INT out_GRk = -1;
74938 INT out_ICCi_1 = -1;
74939 in_GRi = FLD (in_GRi);
74940 in_GRj = FLD (in_GRj);
74941 out_GRk = FLD (out_GRk);
74942 out_ICCi_1 = FLD (out_ICCi_1);
74943 referenced |= 1 << 0;
74944 referenced |= 1 << 1;
74945 referenced |= 1 << 2;
74946 referenced |= 1 << 3;
74947 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74949 return cycles;
74950 #undef FLD
74953 static int
74954 model_fr450_subcc (SIM_CPU *current_cpu, void *sem_arg)
74956 #define FLD(f) abuf->fields.sfmt_addcc.f
74957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74958 const IDESC * UNUSED idesc = abuf->idesc;
74959 int cycles = 0;
74961 int referenced = 0;
74962 int UNUSED insn_referenced = abuf->written;
74963 INT in_GRi = -1;
74964 INT in_GRj = -1;
74965 INT out_GRk = -1;
74966 INT out_ICCi_1 = -1;
74967 in_GRi = FLD (in_GRi);
74968 in_GRj = FLD (in_GRj);
74969 out_GRk = FLD (out_GRk);
74970 out_ICCi_1 = FLD (out_ICCi_1);
74971 referenced |= 1 << 0;
74972 referenced |= 1 << 1;
74973 referenced |= 1 << 2;
74974 referenced |= 1 << 3;
74975 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74977 return cycles;
74978 #undef FLD
74981 static int
74982 model_fr450_andcc (SIM_CPU *current_cpu, void *sem_arg)
74984 #define FLD(f) abuf->fields.sfmt_addcc.f
74985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74986 const IDESC * UNUSED idesc = abuf->idesc;
74987 int cycles = 0;
74989 int referenced = 0;
74990 int UNUSED insn_referenced = abuf->written;
74991 INT in_GRi = -1;
74992 INT in_GRj = -1;
74993 INT out_GRk = -1;
74994 INT out_ICCi_1 = -1;
74995 in_GRi = FLD (in_GRi);
74996 in_GRj = FLD (in_GRj);
74997 out_GRk = FLD (out_GRk);
74998 out_ICCi_1 = FLD (out_ICCi_1);
74999 referenced |= 1 << 0;
75000 referenced |= 1 << 1;
75001 referenced |= 1 << 2;
75002 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
75003 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75005 return cycles;
75006 #undef FLD
75009 static int
75010 model_fr450_orcc (SIM_CPU *current_cpu, void *sem_arg)
75012 #define FLD(f) abuf->fields.sfmt_addcc.f
75013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75014 const IDESC * UNUSED idesc = abuf->idesc;
75015 int cycles = 0;
75017 int referenced = 0;
75018 int UNUSED insn_referenced = abuf->written;
75019 INT in_GRi = -1;
75020 INT in_GRj = -1;
75021 INT out_GRk = -1;
75022 INT out_ICCi_1 = -1;
75023 in_GRi = FLD (in_GRi);
75024 in_GRj = FLD (in_GRj);
75025 out_GRk = FLD (out_GRk);
75026 out_ICCi_1 = FLD (out_ICCi_1);
75027 referenced |= 1 << 0;
75028 referenced |= 1 << 1;
75029 referenced |= 1 << 2;
75030 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
75031 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75033 return cycles;
75034 #undef FLD
75037 static int
75038 model_fr450_xorcc (SIM_CPU *current_cpu, void *sem_arg)
75040 #define FLD(f) abuf->fields.sfmt_addcc.f
75041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75042 const IDESC * UNUSED idesc = abuf->idesc;
75043 int cycles = 0;
75045 int referenced = 0;
75046 int UNUSED insn_referenced = abuf->written;
75047 INT in_GRi = -1;
75048 INT in_GRj = -1;
75049 INT out_GRk = -1;
75050 INT out_ICCi_1 = -1;
75051 in_GRi = FLD (in_GRi);
75052 in_GRj = FLD (in_GRj);
75053 out_GRk = FLD (out_GRk);
75054 out_ICCi_1 = FLD (out_ICCi_1);
75055 referenced |= 1 << 0;
75056 referenced |= 1 << 1;
75057 referenced |= 1 << 2;
75058 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
75059 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75061 return cycles;
75062 #undef FLD
75065 static int
75066 model_fr450_sllcc (SIM_CPU *current_cpu, void *sem_arg)
75068 #define FLD(f) abuf->fields.sfmt_addcc.f
75069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75070 const IDESC * UNUSED idesc = abuf->idesc;
75071 int cycles = 0;
75073 int referenced = 0;
75074 int UNUSED insn_referenced = abuf->written;
75075 INT in_GRi = -1;
75076 INT in_GRj = -1;
75077 INT out_GRk = -1;
75078 INT out_ICCi_1 = -1;
75079 in_GRi = FLD (in_GRi);
75080 in_GRj = FLD (in_GRj);
75081 out_GRk = FLD (out_GRk);
75082 out_ICCi_1 = FLD (out_ICCi_1);
75083 referenced |= 1 << 0;
75084 referenced |= 1 << 1;
75085 referenced |= 1 << 2;
75086 referenced |= 1 << 3;
75087 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75089 return cycles;
75090 #undef FLD
75093 static int
75094 model_fr450_srlcc (SIM_CPU *current_cpu, void *sem_arg)
75096 #define FLD(f) abuf->fields.sfmt_addcc.f
75097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75098 const IDESC * UNUSED idesc = abuf->idesc;
75099 int cycles = 0;
75101 int referenced = 0;
75102 int UNUSED insn_referenced = abuf->written;
75103 INT in_GRi = -1;
75104 INT in_GRj = -1;
75105 INT out_GRk = -1;
75106 INT out_ICCi_1 = -1;
75107 in_GRi = FLD (in_GRi);
75108 in_GRj = FLD (in_GRj);
75109 out_GRk = FLD (out_GRk);
75110 out_ICCi_1 = FLD (out_ICCi_1);
75111 referenced |= 1 << 0;
75112 referenced |= 1 << 1;
75113 referenced |= 1 << 2;
75114 referenced |= 1 << 3;
75115 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75117 return cycles;
75118 #undef FLD
75121 static int
75122 model_fr450_sracc (SIM_CPU *current_cpu, void *sem_arg)
75124 #define FLD(f) abuf->fields.sfmt_addcc.f
75125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75126 const IDESC * UNUSED idesc = abuf->idesc;
75127 int cycles = 0;
75129 int referenced = 0;
75130 int UNUSED insn_referenced = abuf->written;
75131 INT in_GRi = -1;
75132 INT in_GRj = -1;
75133 INT out_GRk = -1;
75134 INT out_ICCi_1 = -1;
75135 in_GRi = FLD (in_GRi);
75136 in_GRj = FLD (in_GRj);
75137 out_GRk = FLD (out_GRk);
75138 out_ICCi_1 = FLD (out_ICCi_1);
75139 referenced |= 1 << 0;
75140 referenced |= 1 << 1;
75141 referenced |= 1 << 2;
75142 referenced |= 1 << 3;
75143 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75145 return cycles;
75146 #undef FLD
75149 static int
75150 model_fr450_smulcc (SIM_CPU *current_cpu, void *sem_arg)
75152 #define FLD(f) abuf->fields.sfmt_smulcc.f
75153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75154 const IDESC * UNUSED idesc = abuf->idesc;
75155 int cycles = 0;
75157 int referenced = 0;
75158 int UNUSED insn_referenced = abuf->written;
75159 INT in_GRi = -1;
75160 INT in_GRj = -1;
75161 INT out_GRdoublek = -1;
75162 INT out_ICCi_1 = -1;
75163 in_GRi = FLD (in_GRi);
75164 in_GRj = FLD (in_GRj);
75165 out_GRdoublek = FLD (out_GRdoublek);
75166 out_ICCi_1 = FLD (out_ICCi_1);
75167 referenced |= 1 << 0;
75168 referenced |= 1 << 1;
75169 referenced |= 1 << 2;
75170 referenced |= 1 << 3;
75171 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75173 return cycles;
75174 #undef FLD
75177 static int
75178 model_fr450_umulcc (SIM_CPU *current_cpu, void *sem_arg)
75180 #define FLD(f) abuf->fields.sfmt_smulcc.f
75181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75182 const IDESC * UNUSED idesc = abuf->idesc;
75183 int cycles = 0;
75185 int referenced = 0;
75186 int UNUSED insn_referenced = abuf->written;
75187 INT in_GRi = -1;
75188 INT in_GRj = -1;
75189 INT out_GRdoublek = -1;
75190 INT out_ICCi_1 = -1;
75191 in_GRi = FLD (in_GRi);
75192 in_GRj = FLD (in_GRj);
75193 out_GRdoublek = FLD (out_GRdoublek);
75194 out_ICCi_1 = FLD (out_ICCi_1);
75195 referenced |= 1 << 0;
75196 referenced |= 1 << 1;
75197 referenced |= 1 << 2;
75198 referenced |= 1 << 3;
75199 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75201 return cycles;
75202 #undef FLD
75205 static int
75206 model_fr450_caddcc (SIM_CPU *current_cpu, void *sem_arg)
75208 #define FLD(f) abuf->fields.sfmt_caddcc.f
75209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75210 const IDESC * UNUSED idesc = abuf->idesc;
75211 int cycles = 0;
75213 int referenced = 0;
75214 int UNUSED insn_referenced = abuf->written;
75215 INT in_GRi = -1;
75216 INT in_GRj = -1;
75217 INT out_GRk = -1;
75218 INT out_ICCi_1 = -1;
75219 in_GRi = FLD (in_GRi);
75220 in_GRj = FLD (in_GRj);
75221 out_GRk = FLD (out_GRk);
75222 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75223 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75224 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75225 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75227 return cycles;
75228 #undef FLD
75231 static int
75232 model_fr450_csubcc (SIM_CPU *current_cpu, void *sem_arg)
75234 #define FLD(f) abuf->fields.sfmt_caddcc.f
75235 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75236 const IDESC * UNUSED idesc = abuf->idesc;
75237 int cycles = 0;
75239 int referenced = 0;
75240 int UNUSED insn_referenced = abuf->written;
75241 INT in_GRi = -1;
75242 INT in_GRj = -1;
75243 INT out_GRk = -1;
75244 INT out_ICCi_1 = -1;
75245 in_GRi = FLD (in_GRi);
75246 in_GRj = FLD (in_GRj);
75247 out_GRk = FLD (out_GRk);
75248 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75249 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75250 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75251 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75253 return cycles;
75254 #undef FLD
75257 static int
75258 model_fr450_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
75260 #define FLD(f) abuf->fields.sfmt_csmulcc.f
75261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75262 const IDESC * UNUSED idesc = abuf->idesc;
75263 int cycles = 0;
75265 int referenced = 0;
75266 int UNUSED insn_referenced = abuf->written;
75267 INT in_GRi = -1;
75268 INT in_GRj = -1;
75269 INT out_GRdoublek = -1;
75270 INT out_ICCi_1 = -1;
75271 in_GRi = FLD (in_GRi);
75272 in_GRj = FLD (in_GRj);
75273 out_GRdoublek = FLD (out_GRdoublek);
75274 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75275 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75276 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75277 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75279 return cycles;
75280 #undef FLD
75283 static int
75284 model_fr450_candcc (SIM_CPU *current_cpu, void *sem_arg)
75286 #define FLD(f) abuf->fields.sfmt_caddcc.f
75287 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75288 const IDESC * UNUSED idesc = abuf->idesc;
75289 int cycles = 0;
75291 int referenced = 0;
75292 int UNUSED insn_referenced = abuf->written;
75293 INT in_GRi = -1;
75294 INT in_GRj = -1;
75295 INT out_GRk = -1;
75296 INT out_ICCi_1 = -1;
75297 in_GRi = FLD (in_GRi);
75298 in_GRj = FLD (in_GRj);
75299 out_GRk = FLD (out_GRk);
75300 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75301 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75302 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75303 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75305 return cycles;
75306 #undef FLD
75309 static int
75310 model_fr450_corcc (SIM_CPU *current_cpu, void *sem_arg)
75312 #define FLD(f) abuf->fields.sfmt_caddcc.f
75313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75314 const IDESC * UNUSED idesc = abuf->idesc;
75315 int cycles = 0;
75317 int referenced = 0;
75318 int UNUSED insn_referenced = abuf->written;
75319 INT in_GRi = -1;
75320 INT in_GRj = -1;
75321 INT out_GRk = -1;
75322 INT out_ICCi_1 = -1;
75323 in_GRi = FLD (in_GRi);
75324 in_GRj = FLD (in_GRj);
75325 out_GRk = FLD (out_GRk);
75326 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75327 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75328 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75329 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75331 return cycles;
75332 #undef FLD
75335 static int
75336 model_fr450_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
75338 #define FLD(f) abuf->fields.sfmt_caddcc.f
75339 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75340 const IDESC * UNUSED idesc = abuf->idesc;
75341 int cycles = 0;
75343 int referenced = 0;
75344 int UNUSED insn_referenced = abuf->written;
75345 INT in_GRi = -1;
75346 INT in_GRj = -1;
75347 INT out_GRk = -1;
75348 INT out_ICCi_1 = -1;
75349 in_GRi = FLD (in_GRi);
75350 in_GRj = FLD (in_GRj);
75351 out_GRk = FLD (out_GRk);
75352 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75353 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75354 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75355 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75357 return cycles;
75358 #undef FLD
75361 static int
75362 model_fr450_csllcc (SIM_CPU *current_cpu, void *sem_arg)
75364 #define FLD(f) abuf->fields.sfmt_caddcc.f
75365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75366 const IDESC * UNUSED idesc = abuf->idesc;
75367 int cycles = 0;
75369 int referenced = 0;
75370 int UNUSED insn_referenced = abuf->written;
75371 INT in_GRi = -1;
75372 INT in_GRj = -1;
75373 INT out_GRk = -1;
75374 INT out_ICCi_1 = -1;
75375 in_GRi = FLD (in_GRi);
75376 in_GRj = FLD (in_GRj);
75377 out_GRk = FLD (out_GRk);
75378 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75379 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75380 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75381 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75383 return cycles;
75384 #undef FLD
75387 static int
75388 model_fr450_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
75390 #define FLD(f) abuf->fields.sfmt_caddcc.f
75391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75392 const IDESC * UNUSED idesc = abuf->idesc;
75393 int cycles = 0;
75395 int referenced = 0;
75396 int UNUSED insn_referenced = abuf->written;
75397 INT in_GRi = -1;
75398 INT in_GRj = -1;
75399 INT out_GRk = -1;
75400 INT out_ICCi_1 = -1;
75401 in_GRi = FLD (in_GRi);
75402 in_GRj = FLD (in_GRj);
75403 out_GRk = FLD (out_GRk);
75404 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75405 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75406 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75407 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75409 return cycles;
75410 #undef FLD
75413 static int
75414 model_fr450_csracc (SIM_CPU *current_cpu, void *sem_arg)
75416 #define FLD(f) abuf->fields.sfmt_caddcc.f
75417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75418 const IDESC * UNUSED idesc = abuf->idesc;
75419 int cycles = 0;
75421 int referenced = 0;
75422 int UNUSED insn_referenced = abuf->written;
75423 INT in_GRi = -1;
75424 INT in_GRj = -1;
75425 INT out_GRk = -1;
75426 INT out_ICCi_1 = -1;
75427 in_GRi = FLD (in_GRi);
75428 in_GRj = FLD (in_GRj);
75429 out_GRk = FLD (out_GRk);
75430 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75431 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75432 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75433 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75435 return cycles;
75436 #undef FLD
75439 static int
75440 model_fr450_addx (SIM_CPU *current_cpu, void *sem_arg)
75442 #define FLD(f) abuf->fields.sfmt_addcc.f
75443 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75444 const IDESC * UNUSED idesc = abuf->idesc;
75445 int cycles = 0;
75447 int referenced = 0;
75448 int UNUSED insn_referenced = abuf->written;
75449 INT in_GRi = -1;
75450 INT in_GRj = -1;
75451 INT out_GRk = -1;
75452 INT out_ICCi_1 = -1;
75453 in_GRi = FLD (in_GRi);
75454 in_GRj = FLD (in_GRj);
75455 out_GRk = FLD (out_GRk);
75456 referenced |= 1 << 0;
75457 referenced |= 1 << 1;
75458 referenced |= 1 << 2;
75459 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75461 return cycles;
75462 #undef FLD
75465 static int
75466 model_fr450_subx (SIM_CPU *current_cpu, void *sem_arg)
75468 #define FLD(f) abuf->fields.sfmt_addcc.f
75469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75470 const IDESC * UNUSED idesc = abuf->idesc;
75471 int cycles = 0;
75473 int referenced = 0;
75474 int UNUSED insn_referenced = abuf->written;
75475 INT in_GRi = -1;
75476 INT in_GRj = -1;
75477 INT out_GRk = -1;
75478 INT out_ICCi_1 = -1;
75479 in_GRi = FLD (in_GRi);
75480 in_GRj = FLD (in_GRj);
75481 out_GRk = FLD (out_GRk);
75482 referenced |= 1 << 0;
75483 referenced |= 1 << 1;
75484 referenced |= 1 << 2;
75485 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75487 return cycles;
75488 #undef FLD
75491 static int
75492 model_fr450_addxcc (SIM_CPU *current_cpu, void *sem_arg)
75494 #define FLD(f) abuf->fields.sfmt_addcc.f
75495 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75496 const IDESC * UNUSED idesc = abuf->idesc;
75497 int cycles = 0;
75499 int referenced = 0;
75500 int UNUSED insn_referenced = abuf->written;
75501 INT in_GRi = -1;
75502 INT in_GRj = -1;
75503 INT out_GRk = -1;
75504 INT out_ICCi_1 = -1;
75505 in_GRi = FLD (in_GRi);
75506 in_GRj = FLD (in_GRj);
75507 out_GRk = FLD (out_GRk);
75508 out_ICCi_1 = FLD (out_ICCi_1);
75509 referenced |= 1 << 0;
75510 referenced |= 1 << 1;
75511 referenced |= 1 << 2;
75512 referenced |= 1 << 3;
75513 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75515 return cycles;
75516 #undef FLD
75519 static int
75520 model_fr450_subxcc (SIM_CPU *current_cpu, void *sem_arg)
75522 #define FLD(f) abuf->fields.sfmt_addcc.f
75523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75524 const IDESC * UNUSED idesc = abuf->idesc;
75525 int cycles = 0;
75527 int referenced = 0;
75528 int UNUSED insn_referenced = abuf->written;
75529 INT in_GRi = -1;
75530 INT in_GRj = -1;
75531 INT out_GRk = -1;
75532 INT out_ICCi_1 = -1;
75533 in_GRi = FLD (in_GRi);
75534 in_GRj = FLD (in_GRj);
75535 out_GRk = FLD (out_GRk);
75536 out_ICCi_1 = FLD (out_ICCi_1);
75537 referenced |= 1 << 0;
75538 referenced |= 1 << 1;
75539 referenced |= 1 << 2;
75540 referenced |= 1 << 3;
75541 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75543 return cycles;
75544 #undef FLD
75547 static int
75548 model_fr450_addss (SIM_CPU *current_cpu, void *sem_arg)
75550 #define FLD(f) abuf->fields.sfmt_addcc.f
75551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75552 const IDESC * UNUSED idesc = abuf->idesc;
75553 int cycles = 0;
75555 int referenced = 0;
75556 int UNUSED insn_referenced = abuf->written;
75557 INT in_GRi = -1;
75558 INT in_GRj = -1;
75559 INT out_GRk = -1;
75560 INT out_ICCi_1 = -1;
75561 in_GRi = FLD (in_GRi);
75562 in_GRj = FLD (in_GRj);
75563 out_GRk = FLD (out_GRk);
75564 referenced |= 1 << 0;
75565 referenced |= 1 << 1;
75566 referenced |= 1 << 2;
75567 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75569 return cycles;
75570 #undef FLD
75573 static int
75574 model_fr450_subss (SIM_CPU *current_cpu, void *sem_arg)
75576 #define FLD(f) abuf->fields.sfmt_addcc.f
75577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75578 const IDESC * UNUSED idesc = abuf->idesc;
75579 int cycles = 0;
75581 int referenced = 0;
75582 int UNUSED insn_referenced = abuf->written;
75583 INT in_GRi = -1;
75584 INT in_GRj = -1;
75585 INT out_GRk = -1;
75586 INT out_ICCi_1 = -1;
75587 in_GRi = FLD (in_GRi);
75588 in_GRj = FLD (in_GRj);
75589 out_GRk = FLD (out_GRk);
75590 referenced |= 1 << 0;
75591 referenced |= 1 << 1;
75592 referenced |= 1 << 2;
75593 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75595 return cycles;
75596 #undef FLD
75599 static int
75600 model_fr450_addi (SIM_CPU *current_cpu, void *sem_arg)
75602 #define FLD(f) abuf->fields.sfmt_swapi.f
75603 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75604 const IDESC * UNUSED idesc = abuf->idesc;
75605 int cycles = 0;
75607 int referenced = 0;
75608 int UNUSED insn_referenced = abuf->written;
75609 INT in_GRi = -1;
75610 INT in_GRj = -1;
75611 INT out_GRk = -1;
75612 INT out_ICCi_1 = -1;
75613 in_GRi = FLD (in_GRi);
75614 out_GRk = FLD (out_GRk);
75615 referenced |= 1 << 0;
75616 referenced |= 1 << 2;
75617 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75619 return cycles;
75620 #undef FLD
75623 static int
75624 model_fr450_subi (SIM_CPU *current_cpu, void *sem_arg)
75626 #define FLD(f) abuf->fields.sfmt_swapi.f
75627 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75628 const IDESC * UNUSED idesc = abuf->idesc;
75629 int cycles = 0;
75631 int referenced = 0;
75632 int UNUSED insn_referenced = abuf->written;
75633 INT in_GRi = -1;
75634 INT in_GRj = -1;
75635 INT out_GRk = -1;
75636 INT out_ICCi_1 = -1;
75637 in_GRi = FLD (in_GRi);
75638 out_GRk = FLD (out_GRk);
75639 referenced |= 1 << 0;
75640 referenced |= 1 << 2;
75641 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75643 return cycles;
75644 #undef FLD
75647 static int
75648 model_fr450_andi (SIM_CPU *current_cpu, void *sem_arg)
75650 #define FLD(f) abuf->fields.sfmt_swapi.f
75651 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75652 const IDESC * UNUSED idesc = abuf->idesc;
75653 int cycles = 0;
75655 int referenced = 0;
75656 int UNUSED insn_referenced = abuf->written;
75657 INT in_GRi = -1;
75658 INT in_GRj = -1;
75659 INT out_GRk = -1;
75660 INT out_ICCi_1 = -1;
75661 in_GRi = FLD (in_GRi);
75662 out_GRk = FLD (out_GRk);
75663 referenced |= 1 << 0;
75664 referenced |= 1 << 2;
75665 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75667 return cycles;
75668 #undef FLD
75671 static int
75672 model_fr450_ori (SIM_CPU *current_cpu, void *sem_arg)
75674 #define FLD(f) abuf->fields.sfmt_swapi.f
75675 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75676 const IDESC * UNUSED idesc = abuf->idesc;
75677 int cycles = 0;
75679 int referenced = 0;
75680 int UNUSED insn_referenced = abuf->written;
75681 INT in_GRi = -1;
75682 INT in_GRj = -1;
75683 INT out_GRk = -1;
75684 INT out_ICCi_1 = -1;
75685 in_GRi = FLD (in_GRi);
75686 out_GRk = FLD (out_GRk);
75687 referenced |= 1 << 0;
75688 referenced |= 1 << 2;
75689 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75691 return cycles;
75692 #undef FLD
75695 static int
75696 model_fr450_xori (SIM_CPU *current_cpu, void *sem_arg)
75698 #define FLD(f) abuf->fields.sfmt_swapi.f
75699 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75700 const IDESC * UNUSED idesc = abuf->idesc;
75701 int cycles = 0;
75703 int referenced = 0;
75704 int UNUSED insn_referenced = abuf->written;
75705 INT in_GRi = -1;
75706 INT in_GRj = -1;
75707 INT out_GRk = -1;
75708 INT out_ICCi_1 = -1;
75709 in_GRi = FLD (in_GRi);
75710 out_GRk = FLD (out_GRk);
75711 referenced |= 1 << 0;
75712 referenced |= 1 << 2;
75713 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75715 return cycles;
75716 #undef FLD
75719 static int
75720 model_fr450_sdivi (SIM_CPU *current_cpu, void *sem_arg)
75722 #define FLD(f) abuf->fields.sfmt_swapi.f
75723 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75724 const IDESC * UNUSED idesc = abuf->idesc;
75725 int cycles = 0;
75727 int referenced = 0;
75728 int UNUSED insn_referenced = abuf->written;
75729 INT in_GRi = -1;
75730 INT in_GRj = -1;
75731 INT out_GRk = -1;
75732 INT out_ICCi_1 = -1;
75733 in_GRi = FLD (in_GRi);
75734 out_GRk = FLD (out_GRk);
75735 referenced |= 1 << 0;
75736 referenced |= 1 << 2;
75737 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75739 return cycles;
75740 #undef FLD
75743 static int
75744 model_fr450_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
75746 #define FLD(f) abuf->fields.sfmt_swapi.f
75747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75748 const IDESC * UNUSED idesc = abuf->idesc;
75749 int cycles = 0;
75751 int referenced = 0;
75752 int UNUSED insn_referenced = abuf->written;
75753 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
75755 return cycles;
75756 #undef FLD
75759 static int
75760 model_fr450_udivi (SIM_CPU *current_cpu, void *sem_arg)
75762 #define FLD(f) abuf->fields.sfmt_swapi.f
75763 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75764 const IDESC * UNUSED idesc = abuf->idesc;
75765 int cycles = 0;
75767 int referenced = 0;
75768 int UNUSED insn_referenced = abuf->written;
75769 INT in_GRi = -1;
75770 INT in_GRj = -1;
75771 INT out_GRk = -1;
75772 INT out_ICCi_1 = -1;
75773 in_GRi = FLD (in_GRi);
75774 out_GRk = FLD (out_GRk);
75775 referenced |= 1 << 0;
75776 referenced |= 1 << 2;
75777 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75779 return cycles;
75780 #undef FLD
75783 static int
75784 model_fr450_nudivi (SIM_CPU *current_cpu, void *sem_arg)
75786 #define FLD(f) abuf->fields.sfmt_swapi.f
75787 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75788 const IDESC * UNUSED idesc = abuf->idesc;
75789 int cycles = 0;
75791 int referenced = 0;
75792 int UNUSED insn_referenced = abuf->written;
75793 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
75795 return cycles;
75796 #undef FLD
75799 static int
75800 model_fr450_smuli (SIM_CPU *current_cpu, void *sem_arg)
75802 #define FLD(f) abuf->fields.sfmt_smuli.f
75803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75804 const IDESC * UNUSED idesc = abuf->idesc;
75805 int cycles = 0;
75807 int referenced = 0;
75808 int UNUSED insn_referenced = abuf->written;
75809 INT in_GRi = -1;
75810 INT in_GRj = -1;
75811 INT out_GRdoublek = -1;
75812 INT out_ICCi_1 = -1;
75813 in_GRi = FLD (in_GRi);
75814 out_GRdoublek = FLD (out_GRdoublek);
75815 referenced |= 1 << 0;
75816 referenced |= 1 << 2;
75817 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75819 return cycles;
75820 #undef FLD
75823 static int
75824 model_fr450_umuli (SIM_CPU *current_cpu, void *sem_arg)
75826 #define FLD(f) abuf->fields.sfmt_smuli.f
75827 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75828 const IDESC * UNUSED idesc = abuf->idesc;
75829 int cycles = 0;
75831 int referenced = 0;
75832 int UNUSED insn_referenced = abuf->written;
75833 INT in_GRi = -1;
75834 INT in_GRj = -1;
75835 INT out_GRdoublek = -1;
75836 INT out_ICCi_1 = -1;
75837 in_GRi = FLD (in_GRi);
75838 out_GRdoublek = FLD (out_GRdoublek);
75839 referenced |= 1 << 0;
75840 referenced |= 1 << 2;
75841 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75843 return cycles;
75844 #undef FLD
75847 static int
75848 model_fr450_slli (SIM_CPU *current_cpu, void *sem_arg)
75850 #define FLD(f) abuf->fields.sfmt_swapi.f
75851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75852 const IDESC * UNUSED idesc = abuf->idesc;
75853 int cycles = 0;
75855 int referenced = 0;
75856 int UNUSED insn_referenced = abuf->written;
75857 INT in_GRi = -1;
75858 INT in_GRj = -1;
75859 INT out_GRk = -1;
75860 INT out_ICCi_1 = -1;
75861 in_GRi = FLD (in_GRi);
75862 out_GRk = FLD (out_GRk);
75863 referenced |= 1 << 0;
75864 referenced |= 1 << 2;
75865 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75867 return cycles;
75868 #undef FLD
75871 static int
75872 model_fr450_srli (SIM_CPU *current_cpu, void *sem_arg)
75874 #define FLD(f) abuf->fields.sfmt_swapi.f
75875 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75876 const IDESC * UNUSED idesc = abuf->idesc;
75877 int cycles = 0;
75879 int referenced = 0;
75880 int UNUSED insn_referenced = abuf->written;
75881 INT in_GRi = -1;
75882 INT in_GRj = -1;
75883 INT out_GRk = -1;
75884 INT out_ICCi_1 = -1;
75885 in_GRi = FLD (in_GRi);
75886 out_GRk = FLD (out_GRk);
75887 referenced |= 1 << 0;
75888 referenced |= 1 << 2;
75889 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75891 return cycles;
75892 #undef FLD
75895 static int
75896 model_fr450_srai (SIM_CPU *current_cpu, void *sem_arg)
75898 #define FLD(f) abuf->fields.sfmt_swapi.f
75899 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75900 const IDESC * UNUSED idesc = abuf->idesc;
75901 int cycles = 0;
75903 int referenced = 0;
75904 int UNUSED insn_referenced = abuf->written;
75905 INT in_GRi = -1;
75906 INT in_GRj = -1;
75907 INT out_GRk = -1;
75908 INT out_ICCi_1 = -1;
75909 in_GRi = FLD (in_GRi);
75910 out_GRk = FLD (out_GRk);
75911 referenced |= 1 << 0;
75912 referenced |= 1 << 2;
75913 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75915 return cycles;
75916 #undef FLD
75919 static int
75920 model_fr450_scani (SIM_CPU *current_cpu, void *sem_arg)
75922 #define FLD(f) abuf->fields.sfmt_swapi.f
75923 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75924 const IDESC * UNUSED idesc = abuf->idesc;
75925 int cycles = 0;
75927 int referenced = 0;
75928 int UNUSED insn_referenced = abuf->written;
75929 INT in_GRi = -1;
75930 INT in_GRj = -1;
75931 INT out_GRk = -1;
75932 INT out_ICCi_1 = -1;
75933 in_GRi = FLD (in_GRi);
75934 out_GRk = FLD (out_GRk);
75935 referenced |= 1 << 0;
75936 referenced |= 1 << 2;
75937 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75939 return cycles;
75940 #undef FLD
75943 static int
75944 model_fr450_addicc (SIM_CPU *current_cpu, void *sem_arg)
75946 #define FLD(f) abuf->fields.sfmt_addicc.f
75947 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75948 const IDESC * UNUSED idesc = abuf->idesc;
75949 int cycles = 0;
75951 int referenced = 0;
75952 int UNUSED insn_referenced = abuf->written;
75953 INT in_GRi = -1;
75954 INT in_GRj = -1;
75955 INT out_GRk = -1;
75956 INT out_ICCi_1 = -1;
75957 in_GRi = FLD (in_GRi);
75958 out_GRk = FLD (out_GRk);
75959 out_ICCi_1 = FLD (out_ICCi_1);
75960 referenced |= 1 << 0;
75961 referenced |= 1 << 2;
75962 referenced |= 1 << 3;
75963 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75965 return cycles;
75966 #undef FLD
75969 static int
75970 model_fr450_subicc (SIM_CPU *current_cpu, void *sem_arg)
75972 #define FLD(f) abuf->fields.sfmt_addicc.f
75973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75974 const IDESC * UNUSED idesc = abuf->idesc;
75975 int cycles = 0;
75977 int referenced = 0;
75978 int UNUSED insn_referenced = abuf->written;
75979 INT in_GRi = -1;
75980 INT in_GRj = -1;
75981 INT out_GRk = -1;
75982 INT out_ICCi_1 = -1;
75983 in_GRi = FLD (in_GRi);
75984 out_GRk = FLD (out_GRk);
75985 out_ICCi_1 = FLD (out_ICCi_1);
75986 referenced |= 1 << 0;
75987 referenced |= 1 << 2;
75988 referenced |= 1 << 3;
75989 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75991 return cycles;
75992 #undef FLD
75995 static int
75996 model_fr450_andicc (SIM_CPU *current_cpu, void *sem_arg)
75998 #define FLD(f) abuf->fields.sfmt_addicc.f
75999 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76000 const IDESC * UNUSED idesc = abuf->idesc;
76001 int cycles = 0;
76003 int referenced = 0;
76004 int UNUSED insn_referenced = abuf->written;
76005 INT in_GRi = -1;
76006 INT in_GRj = -1;
76007 INT out_GRk = -1;
76008 INT out_ICCi_1 = -1;
76009 in_GRi = FLD (in_GRi);
76010 out_GRk = FLD (out_GRk);
76011 out_ICCi_1 = FLD (out_ICCi_1);
76012 referenced |= 1 << 0;
76013 referenced |= 1 << 2;
76014 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
76015 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76017 return cycles;
76018 #undef FLD
76021 static int
76022 model_fr450_oricc (SIM_CPU *current_cpu, void *sem_arg)
76024 #define FLD(f) abuf->fields.sfmt_addicc.f
76025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76026 const IDESC * UNUSED idesc = abuf->idesc;
76027 int cycles = 0;
76029 int referenced = 0;
76030 int UNUSED insn_referenced = abuf->written;
76031 INT in_GRi = -1;
76032 INT in_GRj = -1;
76033 INT out_GRk = -1;
76034 INT out_ICCi_1 = -1;
76035 in_GRi = FLD (in_GRi);
76036 out_GRk = FLD (out_GRk);
76037 out_ICCi_1 = FLD (out_ICCi_1);
76038 referenced |= 1 << 0;
76039 referenced |= 1 << 2;
76040 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
76041 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76043 return cycles;
76044 #undef FLD
76047 static int
76048 model_fr450_xoricc (SIM_CPU *current_cpu, void *sem_arg)
76050 #define FLD(f) abuf->fields.sfmt_addicc.f
76051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76052 const IDESC * UNUSED idesc = abuf->idesc;
76053 int cycles = 0;
76055 int referenced = 0;
76056 int UNUSED insn_referenced = abuf->written;
76057 INT in_GRi = -1;
76058 INT in_GRj = -1;
76059 INT out_GRk = -1;
76060 INT out_ICCi_1 = -1;
76061 in_GRi = FLD (in_GRi);
76062 out_GRk = FLD (out_GRk);
76063 out_ICCi_1 = FLD (out_ICCi_1);
76064 referenced |= 1 << 0;
76065 referenced |= 1 << 2;
76066 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
76067 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76069 return cycles;
76070 #undef FLD
76073 static int
76074 model_fr450_smulicc (SIM_CPU *current_cpu, void *sem_arg)
76076 #define FLD(f) abuf->fields.sfmt_smulicc.f
76077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76078 const IDESC * UNUSED idesc = abuf->idesc;
76079 int cycles = 0;
76081 int referenced = 0;
76082 int UNUSED insn_referenced = abuf->written;
76083 INT in_GRi = -1;
76084 INT in_GRj = -1;
76085 INT out_GRdoublek = -1;
76086 INT out_ICCi_1 = -1;
76087 in_GRi = FLD (in_GRi);
76088 out_GRdoublek = FLD (out_GRdoublek);
76089 out_ICCi_1 = FLD (out_ICCi_1);
76090 referenced |= 1 << 0;
76091 referenced |= 1 << 2;
76092 referenced |= 1 << 3;
76093 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
76095 return cycles;
76096 #undef FLD
76099 static int
76100 model_fr450_umulicc (SIM_CPU *current_cpu, void *sem_arg)
76102 #define FLD(f) abuf->fields.sfmt_smulicc.f
76103 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76104 const IDESC * UNUSED idesc = abuf->idesc;
76105 int cycles = 0;
76107 int referenced = 0;
76108 int UNUSED insn_referenced = abuf->written;
76109 INT in_GRi = -1;
76110 INT in_GRj = -1;
76111 INT out_GRdoublek = -1;
76112 INT out_ICCi_1 = -1;
76113 in_GRi = FLD (in_GRi);
76114 out_GRdoublek = FLD (out_GRdoublek);
76115 out_ICCi_1 = FLD (out_ICCi_1);
76116 referenced |= 1 << 0;
76117 referenced |= 1 << 2;
76118 referenced |= 1 << 3;
76119 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
76121 return cycles;
76122 #undef FLD
76125 static int
76126 model_fr450_sllicc (SIM_CPU *current_cpu, void *sem_arg)
76128 #define FLD(f) abuf->fields.sfmt_addicc.f
76129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76130 const IDESC * UNUSED idesc = abuf->idesc;
76131 int cycles = 0;
76133 int referenced = 0;
76134 int UNUSED insn_referenced = abuf->written;
76135 INT in_GRi = -1;
76136 INT in_GRj = -1;
76137 INT out_GRk = -1;
76138 INT out_ICCi_1 = -1;
76139 in_GRi = FLD (in_GRi);
76140 out_GRk = FLD (out_GRk);
76141 out_ICCi_1 = FLD (out_ICCi_1);
76142 referenced |= 1 << 0;
76143 referenced |= 1 << 2;
76144 referenced |= 1 << 3;
76145 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76147 return cycles;
76148 #undef FLD
76151 static int
76152 model_fr450_srlicc (SIM_CPU *current_cpu, void *sem_arg)
76154 #define FLD(f) abuf->fields.sfmt_addicc.f
76155 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76156 const IDESC * UNUSED idesc = abuf->idesc;
76157 int cycles = 0;
76159 int referenced = 0;
76160 int UNUSED insn_referenced = abuf->written;
76161 INT in_GRi = -1;
76162 INT in_GRj = -1;
76163 INT out_GRk = -1;
76164 INT out_ICCi_1 = -1;
76165 in_GRi = FLD (in_GRi);
76166 out_GRk = FLD (out_GRk);
76167 out_ICCi_1 = FLD (out_ICCi_1);
76168 referenced |= 1 << 0;
76169 referenced |= 1 << 2;
76170 referenced |= 1 << 3;
76171 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76173 return cycles;
76174 #undef FLD
76177 static int
76178 model_fr450_sraicc (SIM_CPU *current_cpu, void *sem_arg)
76180 #define FLD(f) abuf->fields.sfmt_addicc.f
76181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76182 const IDESC * UNUSED idesc = abuf->idesc;
76183 int cycles = 0;
76185 int referenced = 0;
76186 int UNUSED insn_referenced = abuf->written;
76187 INT in_GRi = -1;
76188 INT in_GRj = -1;
76189 INT out_GRk = -1;
76190 INT out_ICCi_1 = -1;
76191 in_GRi = FLD (in_GRi);
76192 out_GRk = FLD (out_GRk);
76193 out_ICCi_1 = FLD (out_ICCi_1);
76194 referenced |= 1 << 0;
76195 referenced |= 1 << 2;
76196 referenced |= 1 << 3;
76197 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76199 return cycles;
76200 #undef FLD
76203 static int
76204 model_fr450_addxi (SIM_CPU *current_cpu, void *sem_arg)
76206 #define FLD(f) abuf->fields.sfmt_addicc.f
76207 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76208 const IDESC * UNUSED idesc = abuf->idesc;
76209 int cycles = 0;
76211 int referenced = 0;
76212 int UNUSED insn_referenced = abuf->written;
76213 INT in_GRi = -1;
76214 INT in_GRj = -1;
76215 INT out_GRk = -1;
76216 INT out_ICCi_1 = -1;
76217 in_GRi = FLD (in_GRi);
76218 out_GRk = FLD (out_GRk);
76219 referenced |= 1 << 0;
76220 referenced |= 1 << 2;
76221 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76223 return cycles;
76224 #undef FLD
76227 static int
76228 model_fr450_subxi (SIM_CPU *current_cpu, void *sem_arg)
76230 #define FLD(f) abuf->fields.sfmt_addicc.f
76231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76232 const IDESC * UNUSED idesc = abuf->idesc;
76233 int cycles = 0;
76235 int referenced = 0;
76236 int UNUSED insn_referenced = abuf->written;
76237 INT in_GRi = -1;
76238 INT in_GRj = -1;
76239 INT out_GRk = -1;
76240 INT out_ICCi_1 = -1;
76241 in_GRi = FLD (in_GRi);
76242 out_GRk = FLD (out_GRk);
76243 referenced |= 1 << 0;
76244 referenced |= 1 << 2;
76245 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76247 return cycles;
76248 #undef FLD
76251 static int
76252 model_fr450_addxicc (SIM_CPU *current_cpu, void *sem_arg)
76254 #define FLD(f) abuf->fields.sfmt_addicc.f
76255 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76256 const IDESC * UNUSED idesc = abuf->idesc;
76257 int cycles = 0;
76259 int referenced = 0;
76260 int UNUSED insn_referenced = abuf->written;
76261 INT in_GRi = -1;
76262 INT in_GRj = -1;
76263 INT out_GRk = -1;
76264 INT out_ICCi_1 = -1;
76265 in_GRi = FLD (in_GRi);
76266 out_GRk = FLD (out_GRk);
76267 out_ICCi_1 = FLD (out_ICCi_1);
76268 referenced |= 1 << 0;
76269 referenced |= 1 << 2;
76270 referenced |= 1 << 3;
76271 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76273 return cycles;
76274 #undef FLD
76277 static int
76278 model_fr450_subxicc (SIM_CPU *current_cpu, void *sem_arg)
76280 #define FLD(f) abuf->fields.sfmt_addicc.f
76281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76282 const IDESC * UNUSED idesc = abuf->idesc;
76283 int cycles = 0;
76285 int referenced = 0;
76286 int UNUSED insn_referenced = abuf->written;
76287 INT in_GRi = -1;
76288 INT in_GRj = -1;
76289 INT out_GRk = -1;
76290 INT out_ICCi_1 = -1;
76291 in_GRi = FLD (in_GRi);
76292 out_GRk = FLD (out_GRk);
76293 out_ICCi_1 = FLD (out_ICCi_1);
76294 referenced |= 1 << 0;
76295 referenced |= 1 << 2;
76296 referenced |= 1 << 3;
76297 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76299 return cycles;
76300 #undef FLD
76303 static int
76304 model_fr450_cmpb (SIM_CPU *current_cpu, void *sem_arg)
76306 #define FLD(f) abuf->fields.sfmt_smulcc.f
76307 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76308 const IDESC * UNUSED idesc = abuf->idesc;
76309 int cycles = 0;
76311 int referenced = 0;
76312 int UNUSED insn_referenced = abuf->written;
76313 INT in_GRi = -1;
76314 INT in_GRj = -1;
76315 INT out_GRk = -1;
76316 INT out_ICCi_1 = -1;
76317 in_GRi = FLD (in_GRi);
76318 in_GRj = FLD (in_GRj);
76319 out_ICCi_1 = FLD (out_ICCi_1);
76320 referenced |= 1 << 0;
76321 referenced |= 1 << 1;
76322 referenced |= 1 << 3;
76323 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76325 return cycles;
76326 #undef FLD
76329 static int
76330 model_fr450_cmpba (SIM_CPU *current_cpu, void *sem_arg)
76332 #define FLD(f) abuf->fields.sfmt_smulcc.f
76333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76334 const IDESC * UNUSED idesc = abuf->idesc;
76335 int cycles = 0;
76337 int referenced = 0;
76338 int UNUSED insn_referenced = abuf->written;
76339 INT in_GRi = -1;
76340 INT in_GRj = -1;
76341 INT out_GRk = -1;
76342 INT out_ICCi_1 = -1;
76343 in_GRi = FLD (in_GRi);
76344 in_GRj = FLD (in_GRj);
76345 out_ICCi_1 = FLD (out_ICCi_1);
76346 referenced |= 1 << 0;
76347 referenced |= 1 << 1;
76348 referenced |= 1 << 3;
76349 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76351 return cycles;
76352 #undef FLD
76355 static int
76356 model_fr450_setlo (SIM_CPU *current_cpu, void *sem_arg)
76358 #define FLD(f) abuf->fields.sfmt_setlo.f
76359 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76360 const IDESC * UNUSED idesc = abuf->idesc;
76361 int cycles = 0;
76363 int referenced = 0;
76364 int UNUSED insn_referenced = abuf->written;
76365 INT out_GRkhi = -1;
76366 INT out_GRklo = -1;
76367 out_GRklo = FLD (out_GRklo);
76368 referenced |= 1 << 1;
76369 cycles += frvbf_model_fr450_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
76371 return cycles;
76372 #undef FLD
76375 static int
76376 model_fr450_sethi (SIM_CPU *current_cpu, void *sem_arg)
76378 #define FLD(f) abuf->fields.sfmt_sethi.f
76379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76380 const IDESC * UNUSED idesc = abuf->idesc;
76381 int cycles = 0;
76383 int referenced = 0;
76384 int UNUSED insn_referenced = abuf->written;
76385 INT out_GRkhi = -1;
76386 INT out_GRklo = -1;
76387 out_GRkhi = FLD (out_GRkhi);
76388 referenced |= 1 << 0;
76389 cycles += frvbf_model_fr450_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
76391 return cycles;
76392 #undef FLD
76395 static int
76396 model_fr450_setlos (SIM_CPU *current_cpu, void *sem_arg)
76398 #define FLD(f) abuf->fields.sfmt_setlos.f
76399 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76400 const IDESC * UNUSED idesc = abuf->idesc;
76401 int cycles = 0;
76403 int referenced = 0;
76404 int UNUSED insn_referenced = abuf->written;
76405 INT in_GRi = -1;
76406 INT in_GRj = -1;
76407 INT out_GRk = -1;
76408 INT out_ICCi_1 = -1;
76409 out_GRk = FLD (out_GRk);
76410 referenced |= 1 << 2;
76411 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76413 return cycles;
76414 #undef FLD
76417 static int
76418 model_fr450_ldsb (SIM_CPU *current_cpu, void *sem_arg)
76420 #define FLD(f) abuf->fields.sfmt_addcc.f
76421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76422 const IDESC * UNUSED idesc = abuf->idesc;
76423 int cycles = 0;
76425 int referenced = 0;
76426 int UNUSED insn_referenced = abuf->written;
76427 INT in_GRi = -1;
76428 INT in_GRj = -1;
76429 INT out_GRk = -1;
76430 INT out_GRdoublek = -1;
76431 in_GRi = FLD (in_GRi);
76432 in_GRj = FLD (in_GRj);
76433 out_GRk = FLD (out_GRk);
76434 referenced |= 1 << 0;
76435 referenced |= 1 << 1;
76436 referenced |= 1 << 2;
76437 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76439 return cycles;
76440 #undef FLD
76443 static int
76444 model_fr450_ldub (SIM_CPU *current_cpu, void *sem_arg)
76446 #define FLD(f) abuf->fields.sfmt_addcc.f
76447 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76448 const IDESC * UNUSED idesc = abuf->idesc;
76449 int cycles = 0;
76451 int referenced = 0;
76452 int UNUSED insn_referenced = abuf->written;
76453 INT in_GRi = -1;
76454 INT in_GRj = -1;
76455 INT out_GRk = -1;
76456 INT out_GRdoublek = -1;
76457 in_GRi = FLD (in_GRi);
76458 in_GRj = FLD (in_GRj);
76459 out_GRk = FLD (out_GRk);
76460 referenced |= 1 << 0;
76461 referenced |= 1 << 1;
76462 referenced |= 1 << 2;
76463 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76465 return cycles;
76466 #undef FLD
76469 static int
76470 model_fr450_ldsh (SIM_CPU *current_cpu, void *sem_arg)
76472 #define FLD(f) abuf->fields.sfmt_addcc.f
76473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76474 const IDESC * UNUSED idesc = abuf->idesc;
76475 int cycles = 0;
76477 int referenced = 0;
76478 int UNUSED insn_referenced = abuf->written;
76479 INT in_GRi = -1;
76480 INT in_GRj = -1;
76481 INT out_GRk = -1;
76482 INT out_GRdoublek = -1;
76483 in_GRi = FLD (in_GRi);
76484 in_GRj = FLD (in_GRj);
76485 out_GRk = FLD (out_GRk);
76486 referenced |= 1 << 0;
76487 referenced |= 1 << 1;
76488 referenced |= 1 << 2;
76489 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76491 return cycles;
76492 #undef FLD
76495 static int
76496 model_fr450_lduh (SIM_CPU *current_cpu, void *sem_arg)
76498 #define FLD(f) abuf->fields.sfmt_addcc.f
76499 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76500 const IDESC * UNUSED idesc = abuf->idesc;
76501 int cycles = 0;
76503 int referenced = 0;
76504 int UNUSED insn_referenced = abuf->written;
76505 INT in_GRi = -1;
76506 INT in_GRj = -1;
76507 INT out_GRk = -1;
76508 INT out_GRdoublek = -1;
76509 in_GRi = FLD (in_GRi);
76510 in_GRj = FLD (in_GRj);
76511 out_GRk = FLD (out_GRk);
76512 referenced |= 1 << 0;
76513 referenced |= 1 << 1;
76514 referenced |= 1 << 2;
76515 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76517 return cycles;
76518 #undef FLD
76521 static int
76522 model_fr450_ld (SIM_CPU *current_cpu, void *sem_arg)
76524 #define FLD(f) abuf->fields.sfmt_addcc.f
76525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76526 const IDESC * UNUSED idesc = abuf->idesc;
76527 int cycles = 0;
76529 int referenced = 0;
76530 int UNUSED insn_referenced = abuf->written;
76531 INT in_GRi = -1;
76532 INT in_GRj = -1;
76533 INT out_GRk = -1;
76534 INT out_GRdoublek = -1;
76535 in_GRi = FLD (in_GRi);
76536 in_GRj = FLD (in_GRj);
76537 out_GRk = FLD (out_GRk);
76538 referenced |= 1 << 0;
76539 referenced |= 1 << 1;
76540 referenced |= 1 << 2;
76541 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76543 return cycles;
76544 #undef FLD
76547 static int
76548 model_fr450_ldbf (SIM_CPU *current_cpu, void *sem_arg)
76550 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76552 const IDESC * UNUSED idesc = abuf->idesc;
76553 int cycles = 0;
76555 int referenced = 0;
76556 int UNUSED insn_referenced = abuf->written;
76557 INT in_GRi = -1;
76558 INT in_GRj = -1;
76559 INT out_FRintk = -1;
76560 INT out_FRdoublek = -1;
76561 in_GRi = FLD (in_GRi);
76562 in_GRj = FLD (in_GRj);
76563 out_FRintk = FLD (out_FRintk);
76564 referenced |= 1 << 0;
76565 referenced |= 1 << 1;
76566 referenced |= 1 << 2;
76567 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
76569 return cycles;
76570 #undef FLD
76573 static int
76574 model_fr450_ldhf (SIM_CPU *current_cpu, void *sem_arg)
76576 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76578 const IDESC * UNUSED idesc = abuf->idesc;
76579 int cycles = 0;
76581 int referenced = 0;
76582 int UNUSED insn_referenced = abuf->written;
76583 INT in_GRi = -1;
76584 INT in_GRj = -1;
76585 INT out_FRintk = -1;
76586 INT out_FRdoublek = -1;
76587 in_GRi = FLD (in_GRi);
76588 in_GRj = FLD (in_GRj);
76589 out_FRintk = FLD (out_FRintk);
76590 referenced |= 1 << 0;
76591 referenced |= 1 << 1;
76592 referenced |= 1 << 2;
76593 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
76595 return cycles;
76596 #undef FLD
76599 static int
76600 model_fr450_ldf (SIM_CPU *current_cpu, void *sem_arg)
76602 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76603 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76604 const IDESC * UNUSED idesc = abuf->idesc;
76605 int cycles = 0;
76607 int referenced = 0;
76608 int UNUSED insn_referenced = abuf->written;
76609 INT in_GRi = -1;
76610 INT in_GRj = -1;
76611 INT out_FRintk = -1;
76612 INT out_FRdoublek = -1;
76613 in_GRi = FLD (in_GRi);
76614 in_GRj = FLD (in_GRj);
76615 out_FRintk = FLD (out_FRintk);
76616 referenced |= 1 << 0;
76617 referenced |= 1 << 1;
76618 referenced |= 1 << 2;
76619 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
76621 return cycles;
76622 #undef FLD
76625 static int
76626 model_fr450_ldc (SIM_CPU *current_cpu, void *sem_arg)
76628 #define FLD(f) abuf->fields.sfmt_ldcu.f
76629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76630 const IDESC * UNUSED idesc = abuf->idesc;
76631 int cycles = 0;
76633 int referenced = 0;
76634 int UNUSED insn_referenced = abuf->written;
76635 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76637 return cycles;
76638 #undef FLD
76641 static int
76642 model_fr450_nldsb (SIM_CPU *current_cpu, void *sem_arg)
76644 #define FLD(f) abuf->fields.sfmt_addcc.f
76645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76646 const IDESC * UNUSED idesc = abuf->idesc;
76647 int cycles = 0;
76649 int referenced = 0;
76650 int UNUSED insn_referenced = abuf->written;
76651 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76653 return cycles;
76654 #undef FLD
76657 static int
76658 model_fr450_nldub (SIM_CPU *current_cpu, void *sem_arg)
76660 #define FLD(f) abuf->fields.sfmt_addcc.f
76661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76662 const IDESC * UNUSED idesc = abuf->idesc;
76663 int cycles = 0;
76665 int referenced = 0;
76666 int UNUSED insn_referenced = abuf->written;
76667 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76669 return cycles;
76670 #undef FLD
76673 static int
76674 model_fr450_nldsh (SIM_CPU *current_cpu, void *sem_arg)
76676 #define FLD(f) abuf->fields.sfmt_addcc.f
76677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76678 const IDESC * UNUSED idesc = abuf->idesc;
76679 int cycles = 0;
76681 int referenced = 0;
76682 int UNUSED insn_referenced = abuf->written;
76683 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76685 return cycles;
76686 #undef FLD
76689 static int
76690 model_fr450_nlduh (SIM_CPU *current_cpu, void *sem_arg)
76692 #define FLD(f) abuf->fields.sfmt_addcc.f
76693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76694 const IDESC * UNUSED idesc = abuf->idesc;
76695 int cycles = 0;
76697 int referenced = 0;
76698 int UNUSED insn_referenced = abuf->written;
76699 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76701 return cycles;
76702 #undef FLD
76705 static int
76706 model_fr450_nld (SIM_CPU *current_cpu, void *sem_arg)
76708 #define FLD(f) abuf->fields.sfmt_addcc.f
76709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76710 const IDESC * UNUSED idesc = abuf->idesc;
76711 int cycles = 0;
76713 int referenced = 0;
76714 int UNUSED insn_referenced = abuf->written;
76715 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76717 return cycles;
76718 #undef FLD
76721 static int
76722 model_fr450_nldbf (SIM_CPU *current_cpu, void *sem_arg)
76724 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76726 const IDESC * UNUSED idesc = abuf->idesc;
76727 int cycles = 0;
76729 int referenced = 0;
76730 int UNUSED insn_referenced = abuf->written;
76731 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76733 return cycles;
76734 #undef FLD
76737 static int
76738 model_fr450_nldhf (SIM_CPU *current_cpu, void *sem_arg)
76740 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76742 const IDESC * UNUSED idesc = abuf->idesc;
76743 int cycles = 0;
76745 int referenced = 0;
76746 int UNUSED insn_referenced = abuf->written;
76747 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76749 return cycles;
76750 #undef FLD
76753 static int
76754 model_fr450_nldf (SIM_CPU *current_cpu, void *sem_arg)
76756 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76758 const IDESC * UNUSED idesc = abuf->idesc;
76759 int cycles = 0;
76761 int referenced = 0;
76762 int UNUSED insn_referenced = abuf->written;
76763 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76765 return cycles;
76766 #undef FLD
76769 static int
76770 model_fr450_ldd (SIM_CPU *current_cpu, void *sem_arg)
76772 #define FLD(f) abuf->fields.sfmt_smulcc.f
76773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76774 const IDESC * UNUSED idesc = abuf->idesc;
76775 int cycles = 0;
76777 int referenced = 0;
76778 int UNUSED insn_referenced = abuf->written;
76779 INT in_GRi = -1;
76780 INT in_GRj = -1;
76781 INT out_GRk = -1;
76782 INT out_GRdoublek = -1;
76783 in_GRi = FLD (in_GRi);
76784 in_GRj = FLD (in_GRj);
76785 out_GRdoublek = FLD (out_GRdoublek);
76786 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
76787 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
76788 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
76789 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76791 return cycles;
76792 #undef FLD
76795 static int
76796 model_fr450_lddf (SIM_CPU *current_cpu, void *sem_arg)
76798 #define FLD(f) abuf->fields.sfmt_clddfu.f
76799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76800 const IDESC * UNUSED idesc = abuf->idesc;
76801 int cycles = 0;
76803 int referenced = 0;
76804 int UNUSED insn_referenced = abuf->written;
76805 INT in_GRi = -1;
76806 INT in_GRj = -1;
76807 INT out_FRintk = -1;
76808 INT out_FRdoublek = -1;
76809 in_GRi = FLD (in_GRi);
76810 in_GRj = FLD (in_GRj);
76811 out_FRdoublek = FLD (out_FRdoublek);
76812 referenced |= 1 << 0;
76813 referenced |= 1 << 1;
76814 referenced |= 1 << 3;
76815 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
76817 return cycles;
76818 #undef FLD
76821 static int
76822 model_fr450_lddc (SIM_CPU *current_cpu, void *sem_arg)
76824 #define FLD(f) abuf->fields.sfmt_lddcu.f
76825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76826 const IDESC * UNUSED idesc = abuf->idesc;
76827 int cycles = 0;
76829 int referenced = 0;
76830 int UNUSED insn_referenced = abuf->written;
76831 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76833 return cycles;
76834 #undef FLD
76837 static int
76838 model_fr450_nldd (SIM_CPU *current_cpu, void *sem_arg)
76840 #define FLD(f) abuf->fields.sfmt_smulcc.f
76841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76842 const IDESC * UNUSED idesc = abuf->idesc;
76843 int cycles = 0;
76845 int referenced = 0;
76846 int UNUSED insn_referenced = abuf->written;
76847 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76849 return cycles;
76850 #undef FLD
76853 static int
76854 model_fr450_nlddf (SIM_CPU *current_cpu, void *sem_arg)
76856 #define FLD(f) abuf->fields.sfmt_clddfu.f
76857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76858 const IDESC * UNUSED idesc = abuf->idesc;
76859 int cycles = 0;
76861 int referenced = 0;
76862 int UNUSED insn_referenced = abuf->written;
76863 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76865 return cycles;
76866 #undef FLD
76869 static int
76870 model_fr450_ldq (SIM_CPU *current_cpu, void *sem_arg)
76872 #define FLD(f) abuf->fields.sfmt_smulcc.f
76873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76874 const IDESC * UNUSED idesc = abuf->idesc;
76875 int cycles = 0;
76877 int referenced = 0;
76878 int UNUSED insn_referenced = abuf->written;
76879 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76881 return cycles;
76882 #undef FLD
76885 static int
76886 model_fr450_ldqf (SIM_CPU *current_cpu, void *sem_arg)
76888 #define FLD(f) abuf->fields.sfmt_cstdfu.f
76889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76890 const IDESC * UNUSED idesc = abuf->idesc;
76891 int cycles = 0;
76893 int referenced = 0;
76894 int UNUSED insn_referenced = abuf->written;
76895 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76897 return cycles;
76898 #undef FLD
76901 static int
76902 model_fr450_ldqc (SIM_CPU *current_cpu, void *sem_arg)
76904 #define FLD(f) abuf->fields.sfmt_stdcu.f
76905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76906 const IDESC * UNUSED idesc = abuf->idesc;
76907 int cycles = 0;
76909 int referenced = 0;
76910 int UNUSED insn_referenced = abuf->written;
76911 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76913 return cycles;
76914 #undef FLD
76917 static int
76918 model_fr450_nldq (SIM_CPU *current_cpu, void *sem_arg)
76920 #define FLD(f) abuf->fields.sfmt_smulcc.f
76921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76922 const IDESC * UNUSED idesc = abuf->idesc;
76923 int cycles = 0;
76925 int referenced = 0;
76926 int UNUSED insn_referenced = abuf->written;
76927 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76929 return cycles;
76930 #undef FLD
76933 static int
76934 model_fr450_nldqf (SIM_CPU *current_cpu, void *sem_arg)
76936 #define FLD(f) abuf->fields.sfmt_cstdfu.f
76937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76938 const IDESC * UNUSED idesc = abuf->idesc;
76939 int cycles = 0;
76941 int referenced = 0;
76942 int UNUSED insn_referenced = abuf->written;
76943 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76945 return cycles;
76946 #undef FLD
76949 static int
76950 model_fr450_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
76952 #define FLD(f) abuf->fields.sfmt_cldsbu.f
76953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76954 const IDESC * UNUSED idesc = abuf->idesc;
76955 int cycles = 0;
76957 int referenced = 0;
76958 int UNUSED insn_referenced = abuf->written;
76959 INT in_GRi = -1;
76960 INT in_GRj = -1;
76961 INT out_GRk = -1;
76962 INT out_GRdoublek = -1;
76963 in_GRi = FLD (in_GRi);
76964 in_GRj = FLD (in_GRj);
76965 out_GRk = FLD (out_GRk);
76966 referenced |= 1 << 0;
76967 referenced |= 1 << 1;
76968 referenced |= 1 << 2;
76969 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76971 return cycles;
76972 #undef FLD
76975 static int
76976 model_fr450_ldubu (SIM_CPU *current_cpu, void *sem_arg)
76978 #define FLD(f) abuf->fields.sfmt_cldsbu.f
76979 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76980 const IDESC * UNUSED idesc = abuf->idesc;
76981 int cycles = 0;
76983 int referenced = 0;
76984 int UNUSED insn_referenced = abuf->written;
76985 INT in_GRi = -1;
76986 INT in_GRj = -1;
76987 INT out_GRk = -1;
76988 INT out_GRdoublek = -1;
76989 in_GRi = FLD (in_GRi);
76990 in_GRj = FLD (in_GRj);
76991 out_GRk = FLD (out_GRk);
76992 referenced |= 1 << 0;
76993 referenced |= 1 << 1;
76994 referenced |= 1 << 2;
76995 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76997 return cycles;
76998 #undef FLD
77001 static int
77002 model_fr450_ldshu (SIM_CPU *current_cpu, void *sem_arg)
77004 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77006 const IDESC * UNUSED idesc = abuf->idesc;
77007 int cycles = 0;
77009 int referenced = 0;
77010 int UNUSED insn_referenced = abuf->written;
77011 INT in_GRi = -1;
77012 INT in_GRj = -1;
77013 INT out_GRk = -1;
77014 INT out_GRdoublek = -1;
77015 in_GRi = FLD (in_GRi);
77016 in_GRj = FLD (in_GRj);
77017 out_GRk = FLD (out_GRk);
77018 referenced |= 1 << 0;
77019 referenced |= 1 << 1;
77020 referenced |= 1 << 2;
77021 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77023 return cycles;
77024 #undef FLD
77027 static int
77028 model_fr450_lduhu (SIM_CPU *current_cpu, void *sem_arg)
77030 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77031 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77032 const IDESC * UNUSED idesc = abuf->idesc;
77033 int cycles = 0;
77035 int referenced = 0;
77036 int UNUSED insn_referenced = abuf->written;
77037 INT in_GRi = -1;
77038 INT in_GRj = -1;
77039 INT out_GRk = -1;
77040 INT out_GRdoublek = -1;
77041 in_GRi = FLD (in_GRi);
77042 in_GRj = FLD (in_GRj);
77043 out_GRk = FLD (out_GRk);
77044 referenced |= 1 << 0;
77045 referenced |= 1 << 1;
77046 referenced |= 1 << 2;
77047 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77049 return cycles;
77050 #undef FLD
77053 static int
77054 model_fr450_ldu (SIM_CPU *current_cpu, void *sem_arg)
77056 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77058 const IDESC * UNUSED idesc = abuf->idesc;
77059 int cycles = 0;
77061 int referenced = 0;
77062 int UNUSED insn_referenced = abuf->written;
77063 INT in_GRi = -1;
77064 INT in_GRj = -1;
77065 INT out_GRk = -1;
77066 INT out_GRdoublek = -1;
77067 in_GRi = FLD (in_GRi);
77068 in_GRj = FLD (in_GRj);
77069 out_GRk = FLD (out_GRk);
77070 referenced |= 1 << 0;
77071 referenced |= 1 << 1;
77072 referenced |= 1 << 2;
77073 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77075 return cycles;
77076 #undef FLD
77079 static int
77080 model_fr450_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
77082 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77083 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77084 const IDESC * UNUSED idesc = abuf->idesc;
77085 int cycles = 0;
77087 int referenced = 0;
77088 int UNUSED insn_referenced = abuf->written;
77089 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77091 return cycles;
77092 #undef FLD
77095 static int
77096 model_fr450_nldubu (SIM_CPU *current_cpu, void *sem_arg)
77098 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77100 const IDESC * UNUSED idesc = abuf->idesc;
77101 int cycles = 0;
77103 int referenced = 0;
77104 int UNUSED insn_referenced = abuf->written;
77105 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77107 return cycles;
77108 #undef FLD
77111 static int
77112 model_fr450_nldshu (SIM_CPU *current_cpu, void *sem_arg)
77114 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77115 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77116 const IDESC * UNUSED idesc = abuf->idesc;
77117 int cycles = 0;
77119 int referenced = 0;
77120 int UNUSED insn_referenced = abuf->written;
77121 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77123 return cycles;
77124 #undef FLD
77127 static int
77128 model_fr450_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
77130 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77132 const IDESC * UNUSED idesc = abuf->idesc;
77133 int cycles = 0;
77135 int referenced = 0;
77136 int UNUSED insn_referenced = abuf->written;
77137 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77139 return cycles;
77140 #undef FLD
77143 static int
77144 model_fr450_nldu (SIM_CPU *current_cpu, void *sem_arg)
77146 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77148 const IDESC * UNUSED idesc = abuf->idesc;
77149 int cycles = 0;
77151 int referenced = 0;
77152 int UNUSED insn_referenced = abuf->written;
77153 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77155 return cycles;
77156 #undef FLD
77159 static int
77160 model_fr450_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
77162 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77163 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77164 const IDESC * UNUSED idesc = abuf->idesc;
77165 int cycles = 0;
77167 int referenced = 0;
77168 int UNUSED insn_referenced = abuf->written;
77169 INT in_GRi = -1;
77170 INT in_GRj = -1;
77171 INT out_FRintk = -1;
77172 INT out_FRdoublek = -1;
77173 in_GRi = FLD (in_GRi);
77174 in_GRj = FLD (in_GRj);
77175 out_FRintk = FLD (out_FRintk);
77176 referenced |= 1 << 0;
77177 referenced |= 1 << 1;
77178 referenced |= 1 << 2;
77179 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77181 return cycles;
77182 #undef FLD
77185 static int
77186 model_fr450_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
77188 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77190 const IDESC * UNUSED idesc = abuf->idesc;
77191 int cycles = 0;
77193 int referenced = 0;
77194 int UNUSED insn_referenced = abuf->written;
77195 INT in_GRi = -1;
77196 INT in_GRj = -1;
77197 INT out_FRintk = -1;
77198 INT out_FRdoublek = -1;
77199 in_GRi = FLD (in_GRi);
77200 in_GRj = FLD (in_GRj);
77201 out_FRintk = FLD (out_FRintk);
77202 referenced |= 1 << 0;
77203 referenced |= 1 << 1;
77204 referenced |= 1 << 2;
77205 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77207 return cycles;
77208 #undef FLD
77211 static int
77212 model_fr450_ldfu (SIM_CPU *current_cpu, void *sem_arg)
77214 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77215 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77216 const IDESC * UNUSED idesc = abuf->idesc;
77217 int cycles = 0;
77219 int referenced = 0;
77220 int UNUSED insn_referenced = abuf->written;
77221 INT in_GRi = -1;
77222 INT in_GRj = -1;
77223 INT out_FRintk = -1;
77224 INT out_FRdoublek = -1;
77225 in_GRi = FLD (in_GRi);
77226 in_GRj = FLD (in_GRj);
77227 out_FRintk = FLD (out_FRintk);
77228 referenced |= 1 << 0;
77229 referenced |= 1 << 1;
77230 referenced |= 1 << 2;
77231 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77233 return cycles;
77234 #undef FLD
77237 static int
77238 model_fr450_ldcu (SIM_CPU *current_cpu, void *sem_arg)
77240 #define FLD(f) abuf->fields.sfmt_ldcu.f
77241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77242 const IDESC * UNUSED idesc = abuf->idesc;
77243 int cycles = 0;
77245 int referenced = 0;
77246 int UNUSED insn_referenced = abuf->written;
77247 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77249 return cycles;
77250 #undef FLD
77253 static int
77254 model_fr450_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
77256 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77258 const IDESC * UNUSED idesc = abuf->idesc;
77259 int cycles = 0;
77261 int referenced = 0;
77262 int UNUSED insn_referenced = abuf->written;
77263 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77265 return cycles;
77266 #undef FLD
77269 static int
77270 model_fr450_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
77272 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77274 const IDESC * UNUSED idesc = abuf->idesc;
77275 int cycles = 0;
77277 int referenced = 0;
77278 int UNUSED insn_referenced = abuf->written;
77279 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77281 return cycles;
77282 #undef FLD
77285 static int
77286 model_fr450_nldfu (SIM_CPU *current_cpu, void *sem_arg)
77288 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77290 const IDESC * UNUSED idesc = abuf->idesc;
77291 int cycles = 0;
77293 int referenced = 0;
77294 int UNUSED insn_referenced = abuf->written;
77295 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77297 return cycles;
77298 #undef FLD
77301 static int
77302 model_fr450_lddu (SIM_CPU *current_cpu, void *sem_arg)
77304 #define FLD(f) abuf->fields.sfmt_clddu.f
77305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77306 const IDESC * UNUSED idesc = abuf->idesc;
77307 int cycles = 0;
77309 int referenced = 0;
77310 int UNUSED insn_referenced = abuf->written;
77311 INT in_GRi = -1;
77312 INT in_GRj = -1;
77313 INT out_GRk = -1;
77314 INT out_GRdoublek = -1;
77315 in_GRi = FLD (in_GRi);
77316 in_GRj = FLD (in_GRj);
77317 out_GRdoublek = FLD (out_GRdoublek);
77318 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
77319 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
77320 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
77321 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77323 return cycles;
77324 #undef FLD
77327 static int
77328 model_fr450_nlddu (SIM_CPU *current_cpu, void *sem_arg)
77330 #define FLD(f) abuf->fields.sfmt_clddu.f
77331 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77332 const IDESC * UNUSED idesc = abuf->idesc;
77333 int cycles = 0;
77335 int referenced = 0;
77336 int UNUSED insn_referenced = abuf->written;
77337 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77339 return cycles;
77340 #undef FLD
77343 static int
77344 model_fr450_lddfu (SIM_CPU *current_cpu, void *sem_arg)
77346 #define FLD(f) abuf->fields.sfmt_clddfu.f
77347 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77348 const IDESC * UNUSED idesc = abuf->idesc;
77349 int cycles = 0;
77351 int referenced = 0;
77352 int UNUSED insn_referenced = abuf->written;
77353 INT in_GRi = -1;
77354 INT in_GRj = -1;
77355 INT out_FRintk = -1;
77356 INT out_FRdoublek = -1;
77357 in_GRi = FLD (in_GRi);
77358 in_GRj = FLD (in_GRj);
77359 out_FRdoublek = FLD (out_FRdoublek);
77360 referenced |= 1 << 0;
77361 referenced |= 1 << 1;
77362 referenced |= 1 << 3;
77363 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77365 return cycles;
77366 #undef FLD
77369 static int
77370 model_fr450_lddcu (SIM_CPU *current_cpu, void *sem_arg)
77372 #define FLD(f) abuf->fields.sfmt_lddcu.f
77373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77374 const IDESC * UNUSED idesc = abuf->idesc;
77375 int cycles = 0;
77377 int referenced = 0;
77378 int UNUSED insn_referenced = abuf->written;
77379 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77381 return cycles;
77382 #undef FLD
77385 static int
77386 model_fr450_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
77388 #define FLD(f) abuf->fields.sfmt_clddfu.f
77389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77390 const IDESC * UNUSED idesc = abuf->idesc;
77391 int cycles = 0;
77393 int referenced = 0;
77394 int UNUSED insn_referenced = abuf->written;
77395 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77397 return cycles;
77398 #undef FLD
77401 static int
77402 model_fr450_ldqu (SIM_CPU *current_cpu, void *sem_arg)
77404 #define FLD(f) abuf->fields.sfmt_cstdu.f
77405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77406 const IDESC * UNUSED idesc = abuf->idesc;
77407 int cycles = 0;
77409 int referenced = 0;
77410 int UNUSED insn_referenced = abuf->written;
77411 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77413 return cycles;
77414 #undef FLD
77417 static int
77418 model_fr450_nldqu (SIM_CPU *current_cpu, void *sem_arg)
77420 #define FLD(f) abuf->fields.sfmt_cstdu.f
77421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77422 const IDESC * UNUSED idesc = abuf->idesc;
77423 int cycles = 0;
77425 int referenced = 0;
77426 int UNUSED insn_referenced = abuf->written;
77427 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77429 return cycles;
77430 #undef FLD
77433 static int
77434 model_fr450_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
77436 #define FLD(f) abuf->fields.sfmt_cstdfu.f
77437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77438 const IDESC * UNUSED idesc = abuf->idesc;
77439 int cycles = 0;
77441 int referenced = 0;
77442 int UNUSED insn_referenced = abuf->written;
77443 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77445 return cycles;
77446 #undef FLD
77449 static int
77450 model_fr450_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
77452 #define FLD(f) abuf->fields.sfmt_stdcu.f
77453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77454 const IDESC * UNUSED idesc = abuf->idesc;
77455 int cycles = 0;
77457 int referenced = 0;
77458 int UNUSED insn_referenced = abuf->written;
77459 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77461 return cycles;
77462 #undef FLD
77465 static int
77466 model_fr450_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
77468 #define FLD(f) abuf->fields.sfmt_cstdfu.f
77469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77470 const IDESC * UNUSED idesc = abuf->idesc;
77471 int cycles = 0;
77473 int referenced = 0;
77474 int UNUSED insn_referenced = abuf->written;
77475 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77477 return cycles;
77478 #undef FLD
77481 static int
77482 model_fr450_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
77484 #define FLD(f) abuf->fields.sfmt_swapi.f
77485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77486 const IDESC * UNUSED idesc = abuf->idesc;
77487 int cycles = 0;
77489 int referenced = 0;
77490 int UNUSED insn_referenced = abuf->written;
77491 INT in_GRi = -1;
77492 INT in_GRj = -1;
77493 INT out_GRk = -1;
77494 INT out_GRdoublek = -1;
77495 in_GRi = FLD (in_GRi);
77496 out_GRk = FLD (out_GRk);
77497 referenced |= 1 << 0;
77498 referenced |= 1 << 2;
77499 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77501 return cycles;
77502 #undef FLD
77505 static int
77506 model_fr450_ldshi (SIM_CPU *current_cpu, void *sem_arg)
77508 #define FLD(f) abuf->fields.sfmt_swapi.f
77509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77510 const IDESC * UNUSED idesc = abuf->idesc;
77511 int cycles = 0;
77513 int referenced = 0;
77514 int UNUSED insn_referenced = abuf->written;
77515 INT in_GRi = -1;
77516 INT in_GRj = -1;
77517 INT out_GRk = -1;
77518 INT out_GRdoublek = -1;
77519 in_GRi = FLD (in_GRi);
77520 out_GRk = FLD (out_GRk);
77521 referenced |= 1 << 0;
77522 referenced |= 1 << 2;
77523 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77525 return cycles;
77526 #undef FLD
77529 static int
77530 model_fr450_ldi (SIM_CPU *current_cpu, void *sem_arg)
77532 #define FLD(f) abuf->fields.sfmt_swapi.f
77533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77534 const IDESC * UNUSED idesc = abuf->idesc;
77535 int cycles = 0;
77537 int referenced = 0;
77538 int UNUSED insn_referenced = abuf->written;
77539 INT in_GRi = -1;
77540 INT in_GRj = -1;
77541 INT out_GRk = -1;
77542 INT out_GRdoublek = -1;
77543 in_GRi = FLD (in_GRi);
77544 out_GRk = FLD (out_GRk);
77545 referenced |= 1 << 0;
77546 referenced |= 1 << 2;
77547 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77549 return cycles;
77550 #undef FLD
77553 static int
77554 model_fr450_ldubi (SIM_CPU *current_cpu, void *sem_arg)
77556 #define FLD(f) abuf->fields.sfmt_swapi.f
77557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77558 const IDESC * UNUSED idesc = abuf->idesc;
77559 int cycles = 0;
77561 int referenced = 0;
77562 int UNUSED insn_referenced = abuf->written;
77563 INT in_GRi = -1;
77564 INT in_GRj = -1;
77565 INT out_GRk = -1;
77566 INT out_GRdoublek = -1;
77567 in_GRi = FLD (in_GRi);
77568 out_GRk = FLD (out_GRk);
77569 referenced |= 1 << 0;
77570 referenced |= 1 << 2;
77571 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77573 return cycles;
77574 #undef FLD
77577 static int
77578 model_fr450_lduhi (SIM_CPU *current_cpu, void *sem_arg)
77580 #define FLD(f) abuf->fields.sfmt_swapi.f
77581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77582 const IDESC * UNUSED idesc = abuf->idesc;
77583 int cycles = 0;
77585 int referenced = 0;
77586 int UNUSED insn_referenced = abuf->written;
77587 INT in_GRi = -1;
77588 INT in_GRj = -1;
77589 INT out_GRk = -1;
77590 INT out_GRdoublek = -1;
77591 in_GRi = FLD (in_GRi);
77592 out_GRk = FLD (out_GRk);
77593 referenced |= 1 << 0;
77594 referenced |= 1 << 2;
77595 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77597 return cycles;
77598 #undef FLD
77601 static int
77602 model_fr450_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
77604 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77606 const IDESC * UNUSED idesc = abuf->idesc;
77607 int cycles = 0;
77609 int referenced = 0;
77610 int UNUSED insn_referenced = abuf->written;
77611 INT in_GRi = -1;
77612 INT in_GRj = -1;
77613 INT out_FRintk = -1;
77614 INT out_FRdoublek = -1;
77615 in_GRi = FLD (in_GRi);
77616 out_FRintk = FLD (out_FRintk);
77617 referenced |= 1 << 0;
77618 referenced |= 1 << 2;
77619 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77621 return cycles;
77622 #undef FLD
77625 static int
77626 model_fr450_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
77628 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77630 const IDESC * UNUSED idesc = abuf->idesc;
77631 int cycles = 0;
77633 int referenced = 0;
77634 int UNUSED insn_referenced = abuf->written;
77635 INT in_GRi = -1;
77636 INT in_GRj = -1;
77637 INT out_FRintk = -1;
77638 INT out_FRdoublek = -1;
77639 in_GRi = FLD (in_GRi);
77640 out_FRintk = FLD (out_FRintk);
77641 referenced |= 1 << 0;
77642 referenced |= 1 << 2;
77643 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77645 return cycles;
77646 #undef FLD
77649 static int
77650 model_fr450_ldfi (SIM_CPU *current_cpu, void *sem_arg)
77652 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77654 const IDESC * UNUSED idesc = abuf->idesc;
77655 int cycles = 0;
77657 int referenced = 0;
77658 int UNUSED insn_referenced = abuf->written;
77659 INT in_GRi = -1;
77660 INT in_GRj = -1;
77661 INT out_FRintk = -1;
77662 INT out_FRdoublek = -1;
77663 in_GRi = FLD (in_GRi);
77664 out_FRintk = FLD (out_FRintk);
77665 referenced |= 1 << 0;
77666 referenced |= 1 << 2;
77667 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77669 return cycles;
77670 #undef FLD
77673 static int
77674 model_fr450_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
77676 #define FLD(f) abuf->fields.sfmt_swapi.f
77677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77678 const IDESC * UNUSED idesc = abuf->idesc;
77679 int cycles = 0;
77681 int referenced = 0;
77682 int UNUSED insn_referenced = abuf->written;
77683 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77685 return cycles;
77686 #undef FLD
77689 static int
77690 model_fr450_nldubi (SIM_CPU *current_cpu, void *sem_arg)
77692 #define FLD(f) abuf->fields.sfmt_swapi.f
77693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77694 const IDESC * UNUSED idesc = abuf->idesc;
77695 int cycles = 0;
77697 int referenced = 0;
77698 int UNUSED insn_referenced = abuf->written;
77699 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77701 return cycles;
77702 #undef FLD
77705 static int
77706 model_fr450_nldshi (SIM_CPU *current_cpu, void *sem_arg)
77708 #define FLD(f) abuf->fields.sfmt_swapi.f
77709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77710 const IDESC * UNUSED idesc = abuf->idesc;
77711 int cycles = 0;
77713 int referenced = 0;
77714 int UNUSED insn_referenced = abuf->written;
77715 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77717 return cycles;
77718 #undef FLD
77721 static int
77722 model_fr450_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
77724 #define FLD(f) abuf->fields.sfmt_swapi.f
77725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77726 const IDESC * UNUSED idesc = abuf->idesc;
77727 int cycles = 0;
77729 int referenced = 0;
77730 int UNUSED insn_referenced = abuf->written;
77731 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77733 return cycles;
77734 #undef FLD
77737 static int
77738 model_fr450_nldi (SIM_CPU *current_cpu, void *sem_arg)
77740 #define FLD(f) abuf->fields.sfmt_swapi.f
77741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77742 const IDESC * UNUSED idesc = abuf->idesc;
77743 int cycles = 0;
77745 int referenced = 0;
77746 int UNUSED insn_referenced = abuf->written;
77747 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77749 return cycles;
77750 #undef FLD
77753 static int
77754 model_fr450_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
77756 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77758 const IDESC * UNUSED idesc = abuf->idesc;
77759 int cycles = 0;
77761 int referenced = 0;
77762 int UNUSED insn_referenced = abuf->written;
77763 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77765 return cycles;
77766 #undef FLD
77769 static int
77770 model_fr450_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
77772 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77774 const IDESC * UNUSED idesc = abuf->idesc;
77775 int cycles = 0;
77777 int referenced = 0;
77778 int UNUSED insn_referenced = abuf->written;
77779 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77781 return cycles;
77782 #undef FLD
77785 static int
77786 model_fr450_nldfi (SIM_CPU *current_cpu, void *sem_arg)
77788 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77790 const IDESC * UNUSED idesc = abuf->idesc;
77791 int cycles = 0;
77793 int referenced = 0;
77794 int UNUSED insn_referenced = abuf->written;
77795 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77797 return cycles;
77798 #undef FLD
77801 static int
77802 model_fr450_lddi (SIM_CPU *current_cpu, void *sem_arg)
77804 #define FLD(f) abuf->fields.sfmt_smuli.f
77805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77806 const IDESC * UNUSED idesc = abuf->idesc;
77807 int cycles = 0;
77809 int referenced = 0;
77810 int UNUSED insn_referenced = abuf->written;
77811 INT in_GRi = -1;
77812 INT in_GRj = -1;
77813 INT out_GRk = -1;
77814 INT out_GRdoublek = -1;
77815 in_GRi = FLD (in_GRi);
77816 out_GRdoublek = FLD (out_GRdoublek);
77817 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
77818 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
77819 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77821 return cycles;
77822 #undef FLD
77825 static int
77826 model_fr450_lddfi (SIM_CPU *current_cpu, void *sem_arg)
77828 #define FLD(f) abuf->fields.sfmt_lddfi.f
77829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77830 const IDESC * UNUSED idesc = abuf->idesc;
77831 int cycles = 0;
77833 int referenced = 0;
77834 int UNUSED insn_referenced = abuf->written;
77835 INT in_GRi = -1;
77836 INT in_GRj = -1;
77837 INT out_FRintk = -1;
77838 INT out_FRdoublek = -1;
77839 in_GRi = FLD (in_GRi);
77840 out_FRdoublek = FLD (out_FRdoublek);
77841 referenced |= 1 << 0;
77842 referenced |= 1 << 3;
77843 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77845 return cycles;
77846 #undef FLD
77849 static int
77850 model_fr450_nlddi (SIM_CPU *current_cpu, void *sem_arg)
77852 #define FLD(f) abuf->fields.sfmt_smuli.f
77853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77854 const IDESC * UNUSED idesc = abuf->idesc;
77855 int cycles = 0;
77857 int referenced = 0;
77858 int UNUSED insn_referenced = abuf->written;
77859 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77861 return cycles;
77862 #undef FLD
77865 static int
77866 model_fr450_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
77868 #define FLD(f) abuf->fields.sfmt_lddfi.f
77869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77870 const IDESC * UNUSED idesc = abuf->idesc;
77871 int cycles = 0;
77873 int referenced = 0;
77874 int UNUSED insn_referenced = abuf->written;
77875 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77877 return cycles;
77878 #undef FLD
77881 static int
77882 model_fr450_ldqi (SIM_CPU *current_cpu, void *sem_arg)
77884 #define FLD(f) abuf->fields.sfmt_stdi.f
77885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77886 const IDESC * UNUSED idesc = abuf->idesc;
77887 int cycles = 0;
77889 int referenced = 0;
77890 int UNUSED insn_referenced = abuf->written;
77891 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77893 return cycles;
77894 #undef FLD
77897 static int
77898 model_fr450_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
77900 #define FLD(f) abuf->fields.sfmt_stdfi.f
77901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77902 const IDESC * UNUSED idesc = abuf->idesc;
77903 int cycles = 0;
77905 int referenced = 0;
77906 int UNUSED insn_referenced = abuf->written;
77907 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77909 return cycles;
77910 #undef FLD
77913 static int
77914 model_fr450_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
77916 #define FLD(f) abuf->fields.sfmt_stdfi.f
77917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77918 const IDESC * UNUSED idesc = abuf->idesc;
77919 int cycles = 0;
77921 int referenced = 0;
77922 int UNUSED insn_referenced = abuf->written;
77923 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77925 return cycles;
77926 #undef FLD
77929 static int
77930 model_fr450_stb (SIM_CPU *current_cpu, void *sem_arg)
77932 #define FLD(f) abuf->fields.sfmt_cswap.f
77933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77934 const IDESC * UNUSED idesc = abuf->idesc;
77935 int cycles = 0;
77937 int referenced = 0;
77938 int UNUSED insn_referenced = abuf->written;
77939 INT in_GRi = -1;
77940 INT in_GRj = -1;
77941 INT in_GRk = -1;
77942 INT in_GRdoublek = -1;
77943 in_GRi = FLD (in_GRi);
77944 in_GRj = FLD (in_GRj);
77945 in_GRk = FLD (in_GRk);
77946 referenced |= 1 << 0;
77947 referenced |= 1 << 1;
77948 referenced |= 1 << 2;
77949 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
77951 return cycles;
77952 #undef FLD
77955 static int
77956 model_fr450_sth (SIM_CPU *current_cpu, void *sem_arg)
77958 #define FLD(f) abuf->fields.sfmt_cswap.f
77959 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77960 const IDESC * UNUSED idesc = abuf->idesc;
77961 int cycles = 0;
77963 int referenced = 0;
77964 int UNUSED insn_referenced = abuf->written;
77965 INT in_GRi = -1;
77966 INT in_GRj = -1;
77967 INT in_GRk = -1;
77968 INT in_GRdoublek = -1;
77969 in_GRi = FLD (in_GRi);
77970 in_GRj = FLD (in_GRj);
77971 in_GRk = FLD (in_GRk);
77972 referenced |= 1 << 0;
77973 referenced |= 1 << 1;
77974 referenced |= 1 << 2;
77975 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
77977 return cycles;
77978 #undef FLD
77981 static int
77982 model_fr450_st (SIM_CPU *current_cpu, void *sem_arg)
77984 #define FLD(f) abuf->fields.sfmt_cswap.f
77985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77986 const IDESC * UNUSED idesc = abuf->idesc;
77987 int cycles = 0;
77989 int referenced = 0;
77990 int UNUSED insn_referenced = abuf->written;
77991 INT in_GRi = -1;
77992 INT in_GRj = -1;
77993 INT in_GRk = -1;
77994 INT in_GRdoublek = -1;
77995 in_GRi = FLD (in_GRi);
77996 in_GRj = FLD (in_GRj);
77997 in_GRk = FLD (in_GRk);
77998 referenced |= 1 << 0;
77999 referenced |= 1 << 1;
78000 referenced |= 1 << 2;
78001 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78003 return cycles;
78004 #undef FLD
78007 static int
78008 model_fr450_stbf (SIM_CPU *current_cpu, void *sem_arg)
78010 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78011 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78012 const IDESC * UNUSED idesc = abuf->idesc;
78013 int cycles = 0;
78015 int referenced = 0;
78016 int UNUSED insn_referenced = abuf->written;
78017 INT in_GRi = -1;
78018 INT in_GRj = -1;
78019 INT in_FRintk = -1;
78020 INT in_FRdoublek = -1;
78021 in_GRi = FLD (in_GRi);
78022 in_GRj = FLD (in_GRj);
78023 in_FRintk = FLD (in_FRintk);
78024 referenced |= 1 << 0;
78025 referenced |= 1 << 1;
78026 referenced |= 1 << 2;
78027 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78029 return cycles;
78030 #undef FLD
78033 static int
78034 model_fr450_sthf (SIM_CPU *current_cpu, void *sem_arg)
78036 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78038 const IDESC * UNUSED idesc = abuf->idesc;
78039 int cycles = 0;
78041 int referenced = 0;
78042 int UNUSED insn_referenced = abuf->written;
78043 INT in_GRi = -1;
78044 INT in_GRj = -1;
78045 INT in_FRintk = -1;
78046 INT in_FRdoublek = -1;
78047 in_GRi = FLD (in_GRi);
78048 in_GRj = FLD (in_GRj);
78049 in_FRintk = FLD (in_FRintk);
78050 referenced |= 1 << 0;
78051 referenced |= 1 << 1;
78052 referenced |= 1 << 2;
78053 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78055 return cycles;
78056 #undef FLD
78059 static int
78060 model_fr450_stf (SIM_CPU *current_cpu, void *sem_arg)
78062 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78063 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78064 const IDESC * UNUSED idesc = abuf->idesc;
78065 int cycles = 0;
78067 int referenced = 0;
78068 int UNUSED insn_referenced = abuf->written;
78069 INT in_GRi = -1;
78070 INT in_GRj = -1;
78071 INT in_FRintk = -1;
78072 INT in_FRdoublek = -1;
78073 in_GRi = FLD (in_GRi);
78074 in_GRj = FLD (in_GRj);
78075 in_FRintk = FLD (in_FRintk);
78076 referenced |= 1 << 0;
78077 referenced |= 1 << 1;
78078 referenced |= 1 << 2;
78079 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78081 return cycles;
78082 #undef FLD
78085 static int
78086 model_fr450_stc (SIM_CPU *current_cpu, void *sem_arg)
78088 #define FLD(f) abuf->fields.sfmt_stcu.f
78089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78090 const IDESC * UNUSED idesc = abuf->idesc;
78091 int cycles = 0;
78093 int referenced = 0;
78094 int UNUSED insn_referenced = abuf->written;
78095 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78097 return cycles;
78098 #undef FLD
78101 static int
78102 model_fr450_std (SIM_CPU *current_cpu, void *sem_arg)
78104 #define FLD(f) abuf->fields.sfmt_cstdu.f
78105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78106 const IDESC * UNUSED idesc = abuf->idesc;
78107 int cycles = 0;
78109 int referenced = 0;
78110 int UNUSED insn_referenced = abuf->written;
78111 INT in_GRi = -1;
78112 INT in_GRj = -1;
78113 INT in_GRk = -1;
78114 INT in_GRdoublek = -1;
78115 in_GRi = FLD (in_GRi);
78116 in_GRj = FLD (in_GRj);
78117 in_GRdoublek = FLD (in_GRdoublek);
78118 referenced |= 1 << 0;
78119 referenced |= 1 << 1;
78120 referenced |= 1 << 3;
78121 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78123 return cycles;
78124 #undef FLD
78127 static int
78128 model_fr450_stdf (SIM_CPU *current_cpu, void *sem_arg)
78130 #define FLD(f) abuf->fields.sfmt_cstdfu.f
78131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78132 const IDESC * UNUSED idesc = abuf->idesc;
78133 int cycles = 0;
78135 int referenced = 0;
78136 int UNUSED insn_referenced = abuf->written;
78137 INT in_GRi = -1;
78138 INT in_GRj = -1;
78139 INT in_FRintk = -1;
78140 INT in_FRdoublek = -1;
78141 in_GRi = FLD (in_GRi);
78142 in_GRj = FLD (in_GRj);
78143 in_FRdoublek = FLD (in_FRdoublek);
78144 referenced |= 1 << 0;
78145 referenced |= 1 << 1;
78146 referenced |= 1 << 3;
78147 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78149 return cycles;
78150 #undef FLD
78153 static int
78154 model_fr450_stdc (SIM_CPU *current_cpu, void *sem_arg)
78156 #define FLD(f) abuf->fields.sfmt_stdcu.f
78157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78158 const IDESC * UNUSED idesc = abuf->idesc;
78159 int cycles = 0;
78161 int referenced = 0;
78162 int UNUSED insn_referenced = abuf->written;
78163 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78165 return cycles;
78166 #undef FLD
78169 static int
78170 model_fr450_stq (SIM_CPU *current_cpu, void *sem_arg)
78172 #define FLD(f) abuf->fields.sfmt_smulcc.f
78173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78174 const IDESC * UNUSED idesc = abuf->idesc;
78175 int cycles = 0;
78177 int referenced = 0;
78178 int UNUSED insn_referenced = abuf->written;
78179 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78181 return cycles;
78182 #undef FLD
78185 static int
78186 model_fr450_stqf (SIM_CPU *current_cpu, void *sem_arg)
78188 #define FLD(f) abuf->fields.sfmt_cstdfu.f
78189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78190 const IDESC * UNUSED idesc = abuf->idesc;
78191 int cycles = 0;
78193 int referenced = 0;
78194 int UNUSED insn_referenced = abuf->written;
78195 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78197 return cycles;
78198 #undef FLD
78201 static int
78202 model_fr450_stqc (SIM_CPU *current_cpu, void *sem_arg)
78204 #define FLD(f) abuf->fields.sfmt_stdcu.f
78205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78206 const IDESC * UNUSED idesc = abuf->idesc;
78207 int cycles = 0;
78209 int referenced = 0;
78210 int UNUSED insn_referenced = abuf->written;
78211 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78213 return cycles;
78214 #undef FLD
78217 static int
78218 model_fr450_stbu (SIM_CPU *current_cpu, void *sem_arg)
78220 #define FLD(f) abuf->fields.sfmt_cstbu.f
78221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78222 const IDESC * UNUSED idesc = abuf->idesc;
78223 int cycles = 0;
78225 int referenced = 0;
78226 int UNUSED insn_referenced = abuf->written;
78227 INT in_GRi = -1;
78228 INT in_GRj = -1;
78229 INT in_GRk = -1;
78230 INT in_GRdoublek = -1;
78231 in_GRi = FLD (in_GRi);
78232 in_GRj = FLD (in_GRj);
78233 in_GRk = FLD (in_GRk);
78234 referenced |= 1 << 0;
78235 referenced |= 1 << 1;
78236 referenced |= 1 << 2;
78237 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78239 return cycles;
78240 #undef FLD
78243 static int
78244 model_fr450_sthu (SIM_CPU *current_cpu, void *sem_arg)
78246 #define FLD(f) abuf->fields.sfmt_cstbu.f
78247 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78248 const IDESC * UNUSED idesc = abuf->idesc;
78249 int cycles = 0;
78251 int referenced = 0;
78252 int UNUSED insn_referenced = abuf->written;
78253 INT in_GRi = -1;
78254 INT in_GRj = -1;
78255 INT in_GRk = -1;
78256 INT in_GRdoublek = -1;
78257 in_GRi = FLD (in_GRi);
78258 in_GRj = FLD (in_GRj);
78259 in_GRk = FLD (in_GRk);
78260 referenced |= 1 << 0;
78261 referenced |= 1 << 1;
78262 referenced |= 1 << 2;
78263 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78265 return cycles;
78266 #undef FLD
78269 static int
78270 model_fr450_stu (SIM_CPU *current_cpu, void *sem_arg)
78272 #define FLD(f) abuf->fields.sfmt_cstbu.f
78273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78274 const IDESC * UNUSED idesc = abuf->idesc;
78275 int cycles = 0;
78277 int referenced = 0;
78278 int UNUSED insn_referenced = abuf->written;
78279 INT in_GRi = -1;
78280 INT in_GRj = -1;
78281 INT in_GRk = -1;
78282 INT in_GRdoublek = -1;
78283 in_GRi = FLD (in_GRi);
78284 in_GRj = FLD (in_GRj);
78285 in_GRk = FLD (in_GRk);
78286 referenced |= 1 << 0;
78287 referenced |= 1 << 1;
78288 referenced |= 1 << 2;
78289 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78291 return cycles;
78292 #undef FLD
78295 static int
78296 model_fr450_stbfu (SIM_CPU *current_cpu, void *sem_arg)
78298 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78299 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78300 const IDESC * UNUSED idesc = abuf->idesc;
78301 int cycles = 0;
78303 int referenced = 0;
78304 int UNUSED insn_referenced = abuf->written;
78305 INT in_GRi = -1;
78306 INT in_GRj = -1;
78307 INT in_FRintk = -1;
78308 INT in_FRdoublek = -1;
78309 in_GRi = FLD (in_GRi);
78310 in_GRj = FLD (in_GRj);
78311 in_FRintk = FLD (in_FRintk);
78312 referenced |= 1 << 0;
78313 referenced |= 1 << 1;
78314 referenced |= 1 << 2;
78315 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78317 return cycles;
78318 #undef FLD
78321 static int
78322 model_fr450_sthfu (SIM_CPU *current_cpu, void *sem_arg)
78324 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78326 const IDESC * UNUSED idesc = abuf->idesc;
78327 int cycles = 0;
78329 int referenced = 0;
78330 int UNUSED insn_referenced = abuf->written;
78331 INT in_GRi = -1;
78332 INT in_GRj = -1;
78333 INT in_FRintk = -1;
78334 INT in_FRdoublek = -1;
78335 in_GRi = FLD (in_GRi);
78336 in_GRj = FLD (in_GRj);
78337 in_FRintk = FLD (in_FRintk);
78338 referenced |= 1 << 0;
78339 referenced |= 1 << 1;
78340 referenced |= 1 << 2;
78341 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78343 return cycles;
78344 #undef FLD
78347 static int
78348 model_fr450_stfu (SIM_CPU *current_cpu, void *sem_arg)
78350 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78351 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78352 const IDESC * UNUSED idesc = abuf->idesc;
78353 int cycles = 0;
78355 int referenced = 0;
78356 int UNUSED insn_referenced = abuf->written;
78357 INT in_GRi = -1;
78358 INT in_GRj = -1;
78359 INT in_FRintk = -1;
78360 INT in_FRdoublek = -1;
78361 in_GRi = FLD (in_GRi);
78362 in_GRj = FLD (in_GRj);
78363 in_FRintk = FLD (in_FRintk);
78364 referenced |= 1 << 0;
78365 referenced |= 1 << 1;
78366 referenced |= 1 << 2;
78367 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78369 return cycles;
78370 #undef FLD
78373 static int
78374 model_fr450_stcu (SIM_CPU *current_cpu, void *sem_arg)
78376 #define FLD(f) abuf->fields.sfmt_stcu.f
78377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78378 const IDESC * UNUSED idesc = abuf->idesc;
78379 int cycles = 0;
78381 int referenced = 0;
78382 int UNUSED insn_referenced = abuf->written;
78383 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78385 return cycles;
78386 #undef FLD
78389 static int
78390 model_fr450_stdu (SIM_CPU *current_cpu, void *sem_arg)
78392 #define FLD(f) abuf->fields.sfmt_cstdu.f
78393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78394 const IDESC * UNUSED idesc = abuf->idesc;
78395 int cycles = 0;
78397 int referenced = 0;
78398 int UNUSED insn_referenced = abuf->written;
78399 INT in_GRi = -1;
78400 INT in_GRj = -1;
78401 INT in_GRk = -1;
78402 INT in_GRdoublek = -1;
78403 in_GRi = FLD (in_GRi);
78404 in_GRj = FLD (in_GRj);
78405 in_GRdoublek = FLD (in_GRdoublek);
78406 referenced |= 1 << 0;
78407 referenced |= 1 << 1;
78408 referenced |= 1 << 3;
78409 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78411 return cycles;
78412 #undef FLD
78415 static int
78416 model_fr450_stdfu (SIM_CPU *current_cpu, void *sem_arg)
78418 #define FLD(f) abuf->fields.sfmt_cstdfu.f
78419 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78420 const IDESC * UNUSED idesc = abuf->idesc;
78421 int cycles = 0;
78423 int referenced = 0;
78424 int UNUSED insn_referenced = abuf->written;
78425 INT in_GRi = -1;
78426 INT in_GRj = -1;
78427 INT in_FRintk = -1;
78428 INT in_FRdoublek = -1;
78429 in_GRi = FLD (in_GRi);
78430 in_GRj = FLD (in_GRj);
78431 in_FRdoublek = FLD (in_FRdoublek);
78432 referenced |= 1 << 0;
78433 referenced |= 1 << 1;
78434 referenced |= 1 << 3;
78435 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78437 return cycles;
78438 #undef FLD
78441 static int
78442 model_fr450_stdcu (SIM_CPU *current_cpu, void *sem_arg)
78444 #define FLD(f) abuf->fields.sfmt_stdcu.f
78445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78446 const IDESC * UNUSED idesc = abuf->idesc;
78447 int cycles = 0;
78449 int referenced = 0;
78450 int UNUSED insn_referenced = abuf->written;
78451 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78453 return cycles;
78454 #undef FLD
78457 static int
78458 model_fr450_stqu (SIM_CPU *current_cpu, void *sem_arg)
78460 #define FLD(f) abuf->fields.sfmt_cstdu.f
78461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78462 const IDESC * UNUSED idesc = abuf->idesc;
78463 int cycles = 0;
78465 int referenced = 0;
78466 int UNUSED insn_referenced = abuf->written;
78467 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78469 return cycles;
78470 #undef FLD
78473 static int
78474 model_fr450_stqfu (SIM_CPU *current_cpu, void *sem_arg)
78476 #define FLD(f) abuf->fields.sfmt_cstdfu.f
78477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78478 const IDESC * UNUSED idesc = abuf->idesc;
78479 int cycles = 0;
78481 int referenced = 0;
78482 int UNUSED insn_referenced = abuf->written;
78483 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78485 return cycles;
78486 #undef FLD
78489 static int
78490 model_fr450_stqcu (SIM_CPU *current_cpu, void *sem_arg)
78492 #define FLD(f) abuf->fields.sfmt_stdcu.f
78493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78494 const IDESC * UNUSED idesc = abuf->idesc;
78495 int cycles = 0;
78497 int referenced = 0;
78498 int UNUSED insn_referenced = abuf->written;
78499 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78501 return cycles;
78502 #undef FLD
78505 static int
78506 model_fr450_cldsb (SIM_CPU *current_cpu, void *sem_arg)
78508 #define FLD(f) abuf->fields.sfmt_cswap.f
78509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78510 const IDESC * UNUSED idesc = abuf->idesc;
78511 int cycles = 0;
78513 int referenced = 0;
78514 int UNUSED insn_referenced = abuf->written;
78515 INT in_GRi = -1;
78516 INT in_GRj = -1;
78517 INT out_GRk = -1;
78518 INT out_GRdoublek = -1;
78519 in_GRi = FLD (in_GRi);
78520 in_GRj = FLD (in_GRj);
78521 out_GRk = FLD (out_GRk);
78522 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78523 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78524 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78525 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78527 return cycles;
78528 #undef FLD
78531 static int
78532 model_fr450_cldub (SIM_CPU *current_cpu, void *sem_arg)
78534 #define FLD(f) abuf->fields.sfmt_cswap.f
78535 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78536 const IDESC * UNUSED idesc = abuf->idesc;
78537 int cycles = 0;
78539 int referenced = 0;
78540 int UNUSED insn_referenced = abuf->written;
78541 INT in_GRi = -1;
78542 INT in_GRj = -1;
78543 INT out_GRk = -1;
78544 INT out_GRdoublek = -1;
78545 in_GRi = FLD (in_GRi);
78546 in_GRj = FLD (in_GRj);
78547 out_GRk = FLD (out_GRk);
78548 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78549 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78550 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78551 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78553 return cycles;
78554 #undef FLD
78557 static int
78558 model_fr450_cldsh (SIM_CPU *current_cpu, void *sem_arg)
78560 #define FLD(f) abuf->fields.sfmt_cswap.f
78561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78562 const IDESC * UNUSED idesc = abuf->idesc;
78563 int cycles = 0;
78565 int referenced = 0;
78566 int UNUSED insn_referenced = abuf->written;
78567 INT in_GRi = -1;
78568 INT in_GRj = -1;
78569 INT out_GRk = -1;
78570 INT out_GRdoublek = -1;
78571 in_GRi = FLD (in_GRi);
78572 in_GRj = FLD (in_GRj);
78573 out_GRk = FLD (out_GRk);
78574 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78575 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78576 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78577 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78579 return cycles;
78580 #undef FLD
78583 static int
78584 model_fr450_clduh (SIM_CPU *current_cpu, void *sem_arg)
78586 #define FLD(f) abuf->fields.sfmt_cswap.f
78587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78588 const IDESC * UNUSED idesc = abuf->idesc;
78589 int cycles = 0;
78591 int referenced = 0;
78592 int UNUSED insn_referenced = abuf->written;
78593 INT in_GRi = -1;
78594 INT in_GRj = -1;
78595 INT out_GRk = -1;
78596 INT out_GRdoublek = -1;
78597 in_GRi = FLD (in_GRi);
78598 in_GRj = FLD (in_GRj);
78599 out_GRk = FLD (out_GRk);
78600 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78601 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78602 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78603 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78605 return cycles;
78606 #undef FLD
78609 static int
78610 model_fr450_cld (SIM_CPU *current_cpu, void *sem_arg)
78612 #define FLD(f) abuf->fields.sfmt_cswap.f
78613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78614 const IDESC * UNUSED idesc = abuf->idesc;
78615 int cycles = 0;
78617 int referenced = 0;
78618 int UNUSED insn_referenced = abuf->written;
78619 INT in_GRi = -1;
78620 INT in_GRj = -1;
78621 INT out_GRk = -1;
78622 INT out_GRdoublek = -1;
78623 in_GRi = FLD (in_GRi);
78624 in_GRj = FLD (in_GRj);
78625 out_GRk = FLD (out_GRk);
78626 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78627 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78628 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78629 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78631 return cycles;
78632 #undef FLD
78635 static int
78636 model_fr450_cldbf (SIM_CPU *current_cpu, void *sem_arg)
78638 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78640 const IDESC * UNUSED idesc = abuf->idesc;
78641 int cycles = 0;
78643 int referenced = 0;
78644 int UNUSED insn_referenced = abuf->written;
78645 INT in_GRi = -1;
78646 INT in_GRj = -1;
78647 INT out_FRintk = -1;
78648 INT out_FRdoublek = -1;
78649 in_GRi = FLD (in_GRi);
78650 in_GRj = FLD (in_GRj);
78651 out_FRintk = FLD (out_FRintk);
78652 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78653 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78654 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78655 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78657 return cycles;
78658 #undef FLD
78661 static int
78662 model_fr450_cldhf (SIM_CPU *current_cpu, void *sem_arg)
78664 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78666 const IDESC * UNUSED idesc = abuf->idesc;
78667 int cycles = 0;
78669 int referenced = 0;
78670 int UNUSED insn_referenced = abuf->written;
78671 INT in_GRi = -1;
78672 INT in_GRj = -1;
78673 INT out_FRintk = -1;
78674 INT out_FRdoublek = -1;
78675 in_GRi = FLD (in_GRi);
78676 in_GRj = FLD (in_GRj);
78677 out_FRintk = FLD (out_FRintk);
78678 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78679 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78680 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78681 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78683 return cycles;
78684 #undef FLD
78687 static int
78688 model_fr450_cldf (SIM_CPU *current_cpu, void *sem_arg)
78690 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78691 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78692 const IDESC * UNUSED idesc = abuf->idesc;
78693 int cycles = 0;
78695 int referenced = 0;
78696 int UNUSED insn_referenced = abuf->written;
78697 INT in_GRi = -1;
78698 INT in_GRj = -1;
78699 INT out_FRintk = -1;
78700 INT out_FRdoublek = -1;
78701 in_GRi = FLD (in_GRi);
78702 in_GRj = FLD (in_GRj);
78703 out_FRintk = FLD (out_FRintk);
78704 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78705 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78706 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78707 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78709 return cycles;
78710 #undef FLD
78713 static int
78714 model_fr450_cldd (SIM_CPU *current_cpu, void *sem_arg)
78716 #define FLD(f) abuf->fields.sfmt_clddu.f
78717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78718 const IDESC * UNUSED idesc = abuf->idesc;
78719 int cycles = 0;
78721 int referenced = 0;
78722 int UNUSED insn_referenced = abuf->written;
78723 INT in_GRi = -1;
78724 INT in_GRj = -1;
78725 INT out_GRk = -1;
78726 INT out_GRdoublek = -1;
78727 in_GRi = FLD (in_GRi);
78728 in_GRj = FLD (in_GRj);
78729 out_GRdoublek = FLD (out_GRdoublek);
78730 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78731 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78732 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
78733 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78735 return cycles;
78736 #undef FLD
78739 static int
78740 model_fr450_clddf (SIM_CPU *current_cpu, void *sem_arg)
78742 #define FLD(f) abuf->fields.sfmt_clddfu.f
78743 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78744 const IDESC * UNUSED idesc = abuf->idesc;
78745 int cycles = 0;
78747 int referenced = 0;
78748 int UNUSED insn_referenced = abuf->written;
78749 INT in_GRi = -1;
78750 INT in_GRj = -1;
78751 INT out_GRk = -1;
78752 INT out_GRdoublek = -1;
78753 in_GRi = FLD (in_GRi);
78754 in_GRj = FLD (in_GRj);
78755 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78756 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78757 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78759 return cycles;
78760 #undef FLD
78763 static int
78764 model_fr450_cldq (SIM_CPU *current_cpu, void *sem_arg)
78766 #define FLD(f) abuf->fields.sfmt_cswap.f
78767 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78768 const IDESC * UNUSED idesc = abuf->idesc;
78769 int cycles = 0;
78771 int referenced = 0;
78772 int UNUSED insn_referenced = abuf->written;
78773 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78775 return cycles;
78776 #undef FLD
78779 static int
78780 model_fr450_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
78782 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78783 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78784 const IDESC * UNUSED idesc = abuf->idesc;
78785 int cycles = 0;
78787 int referenced = 0;
78788 int UNUSED insn_referenced = abuf->written;
78789 INT in_GRi = -1;
78790 INT in_GRj = -1;
78791 INT out_GRk = -1;
78792 INT out_GRdoublek = -1;
78793 in_GRi = FLD (in_GRi);
78794 in_GRj = FLD (in_GRj);
78795 out_GRk = FLD (out_GRk);
78796 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78797 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78798 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78799 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78801 return cycles;
78802 #undef FLD
78805 static int
78806 model_fr450_cldubu (SIM_CPU *current_cpu, void *sem_arg)
78808 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78810 const IDESC * UNUSED idesc = abuf->idesc;
78811 int cycles = 0;
78813 int referenced = 0;
78814 int UNUSED insn_referenced = abuf->written;
78815 INT in_GRi = -1;
78816 INT in_GRj = -1;
78817 INT out_GRk = -1;
78818 INT out_GRdoublek = -1;
78819 in_GRi = FLD (in_GRi);
78820 in_GRj = FLD (in_GRj);
78821 out_GRk = FLD (out_GRk);
78822 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78823 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78824 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78825 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78827 return cycles;
78828 #undef FLD
78831 static int
78832 model_fr450_cldshu (SIM_CPU *current_cpu, void *sem_arg)
78834 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78835 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78836 const IDESC * UNUSED idesc = abuf->idesc;
78837 int cycles = 0;
78839 int referenced = 0;
78840 int UNUSED insn_referenced = abuf->written;
78841 INT in_GRi = -1;
78842 INT in_GRj = -1;
78843 INT out_GRk = -1;
78844 INT out_GRdoublek = -1;
78845 in_GRi = FLD (in_GRi);
78846 in_GRj = FLD (in_GRj);
78847 out_GRk = FLD (out_GRk);
78848 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78849 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78850 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78851 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78853 return cycles;
78854 #undef FLD
78857 static int
78858 model_fr450_clduhu (SIM_CPU *current_cpu, void *sem_arg)
78860 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78862 const IDESC * UNUSED idesc = abuf->idesc;
78863 int cycles = 0;
78865 int referenced = 0;
78866 int UNUSED insn_referenced = abuf->written;
78867 INT in_GRi = -1;
78868 INT in_GRj = -1;
78869 INT out_GRk = -1;
78870 INT out_GRdoublek = -1;
78871 in_GRi = FLD (in_GRi);
78872 in_GRj = FLD (in_GRj);
78873 out_GRk = FLD (out_GRk);
78874 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78875 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78876 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78877 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78879 return cycles;
78880 #undef FLD
78883 static int
78884 model_fr450_cldu (SIM_CPU *current_cpu, void *sem_arg)
78886 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78888 const IDESC * UNUSED idesc = abuf->idesc;
78889 int cycles = 0;
78891 int referenced = 0;
78892 int UNUSED insn_referenced = abuf->written;
78893 INT in_GRi = -1;
78894 INT in_GRj = -1;
78895 INT out_GRk = -1;
78896 INT out_GRdoublek = -1;
78897 in_GRi = FLD (in_GRi);
78898 in_GRj = FLD (in_GRj);
78899 out_GRk = FLD (out_GRk);
78900 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78901 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78902 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78903 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78905 return cycles;
78906 #undef FLD
78909 static int
78910 model_fr450_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
78912 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78914 const IDESC * UNUSED idesc = abuf->idesc;
78915 int cycles = 0;
78917 int referenced = 0;
78918 int UNUSED insn_referenced = abuf->written;
78919 INT in_GRi = -1;
78920 INT in_GRj = -1;
78921 INT out_FRintk = -1;
78922 INT out_FRdoublek = -1;
78923 in_GRi = FLD (in_GRi);
78924 in_GRj = FLD (in_GRj);
78925 out_FRintk = FLD (out_FRintk);
78926 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78927 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78928 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78929 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78931 return cycles;
78932 #undef FLD
78935 static int
78936 model_fr450_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
78938 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78939 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78940 const IDESC * UNUSED idesc = abuf->idesc;
78941 int cycles = 0;
78943 int referenced = 0;
78944 int UNUSED insn_referenced = abuf->written;
78945 INT in_GRi = -1;
78946 INT in_GRj = -1;
78947 INT out_FRintk = -1;
78948 INT out_FRdoublek = -1;
78949 in_GRi = FLD (in_GRi);
78950 in_GRj = FLD (in_GRj);
78951 out_FRintk = FLD (out_FRintk);
78952 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78953 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78954 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78955 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78957 return cycles;
78958 #undef FLD
78961 static int
78962 model_fr450_cldfu (SIM_CPU *current_cpu, void *sem_arg)
78964 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78966 const IDESC * UNUSED idesc = abuf->idesc;
78967 int cycles = 0;
78969 int referenced = 0;
78970 int UNUSED insn_referenced = abuf->written;
78971 INT in_GRi = -1;
78972 INT in_GRj = -1;
78973 INT out_FRintk = -1;
78974 INT out_FRdoublek = -1;
78975 in_GRi = FLD (in_GRi);
78976 in_GRj = FLD (in_GRj);
78977 out_FRintk = FLD (out_FRintk);
78978 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78979 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78980 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78981 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78983 return cycles;
78984 #undef FLD
78987 static int
78988 model_fr450_clddu (SIM_CPU *current_cpu, void *sem_arg)
78990 #define FLD(f) abuf->fields.sfmt_clddu.f
78991 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78992 const IDESC * UNUSED idesc = abuf->idesc;
78993 int cycles = 0;
78995 int referenced = 0;
78996 int UNUSED insn_referenced = abuf->written;
78997 INT in_GRi = -1;
78998 INT in_GRj = -1;
78999 INT out_GRk = -1;
79000 INT out_GRdoublek = -1;
79001 in_GRi = FLD (in_GRi);
79002 in_GRj = FLD (in_GRj);
79003 out_GRdoublek = FLD (out_GRdoublek);
79004 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79005 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79006 if (insn_referenced & (1 << 7)) referenced |= 1 << 3;
79007 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
79009 return cycles;
79010 #undef FLD
79013 static int
79014 model_fr450_clddfu (SIM_CPU *current_cpu, void *sem_arg)
79016 #define FLD(f) abuf->fields.sfmt_clddfu.f
79017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79018 const IDESC * UNUSED idesc = abuf->idesc;
79019 int cycles = 0;
79021 int referenced = 0;
79022 int UNUSED insn_referenced = abuf->written;
79023 INT in_GRi = -1;
79024 INT in_GRj = -1;
79025 INT out_FRintk = -1;
79026 INT out_FRdoublek = -1;
79027 in_GRi = FLD (in_GRi);
79028 in_GRj = FLD (in_GRj);
79029 out_FRdoublek = FLD (out_FRdoublek);
79030 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79031 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79032 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
79033 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
79035 return cycles;
79036 #undef FLD
79039 static int
79040 model_fr450_cldqu (SIM_CPU *current_cpu, void *sem_arg)
79042 #define FLD(f) abuf->fields.sfmt_cstdu.f
79043 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79044 const IDESC * UNUSED idesc = abuf->idesc;
79045 int cycles = 0;
79047 int referenced = 0;
79048 int UNUSED insn_referenced = abuf->written;
79049 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79051 return cycles;
79052 #undef FLD
79055 static int
79056 model_fr450_cstb (SIM_CPU *current_cpu, void *sem_arg)
79058 #define FLD(f) abuf->fields.sfmt_cswap.f
79059 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79060 const IDESC * UNUSED idesc = abuf->idesc;
79061 int cycles = 0;
79063 int referenced = 0;
79064 int UNUSED insn_referenced = abuf->written;
79065 INT in_GRi = -1;
79066 INT in_GRj = -1;
79067 INT in_GRk = -1;
79068 INT in_GRdoublek = -1;
79069 in_GRi = FLD (in_GRi);
79070 in_GRj = FLD (in_GRj);
79071 in_GRk = FLD (in_GRk);
79072 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79073 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79074 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79075 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79077 return cycles;
79078 #undef FLD
79081 static int
79082 model_fr450_csth (SIM_CPU *current_cpu, void *sem_arg)
79084 #define FLD(f) abuf->fields.sfmt_cswap.f
79085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79086 const IDESC * UNUSED idesc = abuf->idesc;
79087 int cycles = 0;
79089 int referenced = 0;
79090 int UNUSED insn_referenced = abuf->written;
79091 INT in_GRi = -1;
79092 INT in_GRj = -1;
79093 INT in_GRk = -1;
79094 INT in_GRdoublek = -1;
79095 in_GRi = FLD (in_GRi);
79096 in_GRj = FLD (in_GRj);
79097 in_GRk = FLD (in_GRk);
79098 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79099 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79100 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79101 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79103 return cycles;
79104 #undef FLD
79107 static int
79108 model_fr450_cst (SIM_CPU *current_cpu, void *sem_arg)
79110 #define FLD(f) abuf->fields.sfmt_cswap.f
79111 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79112 const IDESC * UNUSED idesc = abuf->idesc;
79113 int cycles = 0;
79115 int referenced = 0;
79116 int UNUSED insn_referenced = abuf->written;
79117 INT in_GRi = -1;
79118 INT in_GRj = -1;
79119 INT in_GRk = -1;
79120 INT in_GRdoublek = -1;
79121 in_GRi = FLD (in_GRi);
79122 in_GRj = FLD (in_GRj);
79123 in_GRk = FLD (in_GRk);
79124 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79125 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79126 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79127 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79129 return cycles;
79130 #undef FLD
79133 static int
79134 model_fr450_cstbf (SIM_CPU *current_cpu, void *sem_arg)
79136 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79138 const IDESC * UNUSED idesc = abuf->idesc;
79139 int cycles = 0;
79141 int referenced = 0;
79142 int UNUSED insn_referenced = abuf->written;
79143 INT in_GRi = -1;
79144 INT in_GRj = -1;
79145 INT in_FRintk = -1;
79146 INT in_FRdoublek = -1;
79147 in_GRi = FLD (in_GRi);
79148 in_GRj = FLD (in_GRj);
79149 in_FRintk = FLD (in_FRintk);
79150 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79151 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79152 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79153 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79155 return cycles;
79156 #undef FLD
79159 static int
79160 model_fr450_csthf (SIM_CPU *current_cpu, void *sem_arg)
79162 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79163 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79164 const IDESC * UNUSED idesc = abuf->idesc;
79165 int cycles = 0;
79167 int referenced = 0;
79168 int UNUSED insn_referenced = abuf->written;
79169 INT in_GRi = -1;
79170 INT in_GRj = -1;
79171 INT in_FRintk = -1;
79172 INT in_FRdoublek = -1;
79173 in_GRi = FLD (in_GRi);
79174 in_GRj = FLD (in_GRj);
79175 in_FRintk = FLD (in_FRintk);
79176 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79177 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79178 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79179 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79181 return cycles;
79182 #undef FLD
79185 static int
79186 model_fr450_cstf (SIM_CPU *current_cpu, void *sem_arg)
79188 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79190 const IDESC * UNUSED idesc = abuf->idesc;
79191 int cycles = 0;
79193 int referenced = 0;
79194 int UNUSED insn_referenced = abuf->written;
79195 INT in_GRi = -1;
79196 INT in_GRj = -1;
79197 INT in_FRintk = -1;
79198 INT in_FRdoublek = -1;
79199 in_GRi = FLD (in_GRi);
79200 in_GRj = FLD (in_GRj);
79201 in_FRintk = FLD (in_FRintk);
79202 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79203 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79204 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79205 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79207 return cycles;
79208 #undef FLD
79211 static int
79212 model_fr450_cstd (SIM_CPU *current_cpu, void *sem_arg)
79214 #define FLD(f) abuf->fields.sfmt_cstdu.f
79215 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79216 const IDESC * UNUSED idesc = abuf->idesc;
79217 int cycles = 0;
79219 int referenced = 0;
79220 int UNUSED insn_referenced = abuf->written;
79221 INT in_GRi = -1;
79222 INT in_GRj = -1;
79223 INT in_GRk = -1;
79224 INT in_GRdoublek = -1;
79225 in_GRi = FLD (in_GRi);
79226 in_GRj = FLD (in_GRj);
79227 in_GRdoublek = FLD (in_GRdoublek);
79228 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79229 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79230 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
79231 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79233 return cycles;
79234 #undef FLD
79237 static int
79238 model_fr450_cstdf (SIM_CPU *current_cpu, void *sem_arg)
79240 #define FLD(f) abuf->fields.sfmt_cstdfu.f
79241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79242 const IDESC * UNUSED idesc = abuf->idesc;
79243 int cycles = 0;
79245 int referenced = 0;
79246 int UNUSED insn_referenced = abuf->written;
79247 INT in_GRi = -1;
79248 INT in_GRj = -1;
79249 INT in_FRintk = -1;
79250 INT in_FRdoublek = -1;
79251 in_GRi = FLD (in_GRi);
79252 in_GRj = FLD (in_GRj);
79253 in_FRdoublek = FLD (in_FRdoublek);
79254 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79255 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79256 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
79257 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79259 return cycles;
79260 #undef FLD
79263 static int
79264 model_fr450_cstq (SIM_CPU *current_cpu, void *sem_arg)
79266 #define FLD(f) abuf->fields.sfmt_cswap.f
79267 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79268 const IDESC * UNUSED idesc = abuf->idesc;
79269 int cycles = 0;
79271 int referenced = 0;
79272 int UNUSED insn_referenced = abuf->written;
79273 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79275 return cycles;
79276 #undef FLD
79279 static int
79280 model_fr450_cstbu (SIM_CPU *current_cpu, void *sem_arg)
79282 #define FLD(f) abuf->fields.sfmt_cstbu.f
79283 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79284 const IDESC * UNUSED idesc = abuf->idesc;
79285 int cycles = 0;
79287 int referenced = 0;
79288 int UNUSED insn_referenced = abuf->written;
79289 INT in_GRi = -1;
79290 INT in_GRj = -1;
79291 INT in_GRk = -1;
79292 INT in_GRdoublek = -1;
79293 in_GRi = FLD (in_GRi);
79294 in_GRj = FLD (in_GRj);
79295 in_GRk = FLD (in_GRk);
79296 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79297 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79298 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79299 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79301 return cycles;
79302 #undef FLD
79305 static int
79306 model_fr450_csthu (SIM_CPU *current_cpu, void *sem_arg)
79308 #define FLD(f) abuf->fields.sfmt_cstbu.f
79309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79310 const IDESC * UNUSED idesc = abuf->idesc;
79311 int cycles = 0;
79313 int referenced = 0;
79314 int UNUSED insn_referenced = abuf->written;
79315 INT in_GRi = -1;
79316 INT in_GRj = -1;
79317 INT in_GRk = -1;
79318 INT in_GRdoublek = -1;
79319 in_GRi = FLD (in_GRi);
79320 in_GRj = FLD (in_GRj);
79321 in_GRk = FLD (in_GRk);
79322 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79323 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79324 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79325 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79327 return cycles;
79328 #undef FLD
79331 static int
79332 model_fr450_cstu (SIM_CPU *current_cpu, void *sem_arg)
79334 #define FLD(f) abuf->fields.sfmt_cstbu.f
79335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79336 const IDESC * UNUSED idesc = abuf->idesc;
79337 int cycles = 0;
79339 int referenced = 0;
79340 int UNUSED insn_referenced = abuf->written;
79341 INT in_GRi = -1;
79342 INT in_GRj = -1;
79343 INT in_GRk = -1;
79344 INT in_GRdoublek = -1;
79345 in_GRi = FLD (in_GRi);
79346 in_GRj = FLD (in_GRj);
79347 in_GRk = FLD (in_GRk);
79348 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79349 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79350 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79351 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79353 return cycles;
79354 #undef FLD
79357 static int
79358 model_fr450_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
79360 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79362 const IDESC * UNUSED idesc = abuf->idesc;
79363 int cycles = 0;
79365 int referenced = 0;
79366 int UNUSED insn_referenced = abuf->written;
79367 INT in_GRi = -1;
79368 INT in_GRj = -1;
79369 INT in_FRintk = -1;
79370 INT in_FRdoublek = -1;
79371 in_GRi = FLD (in_GRi);
79372 in_GRj = FLD (in_GRj);
79373 in_FRintk = FLD (in_FRintk);
79374 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79375 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79376 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79377 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79379 return cycles;
79380 #undef FLD
79383 static int
79384 model_fr450_csthfu (SIM_CPU *current_cpu, void *sem_arg)
79386 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79387 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79388 const IDESC * UNUSED idesc = abuf->idesc;
79389 int cycles = 0;
79391 int referenced = 0;
79392 int UNUSED insn_referenced = abuf->written;
79393 INT in_GRi = -1;
79394 INT in_GRj = -1;
79395 INT in_FRintk = -1;
79396 INT in_FRdoublek = -1;
79397 in_GRi = FLD (in_GRi);
79398 in_GRj = FLD (in_GRj);
79399 in_FRintk = FLD (in_FRintk);
79400 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79401 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79402 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79403 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79405 return cycles;
79406 #undef FLD
79409 static int
79410 model_fr450_cstfu (SIM_CPU *current_cpu, void *sem_arg)
79412 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79414 const IDESC * UNUSED idesc = abuf->idesc;
79415 int cycles = 0;
79417 int referenced = 0;
79418 int UNUSED insn_referenced = abuf->written;
79419 INT in_GRi = -1;
79420 INT in_GRj = -1;
79421 INT in_FRintk = -1;
79422 INT in_FRdoublek = -1;
79423 in_GRi = FLD (in_GRi);
79424 in_GRj = FLD (in_GRj);
79425 in_FRintk = FLD (in_FRintk);
79426 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79427 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79428 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79429 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79431 return cycles;
79432 #undef FLD
79435 static int
79436 model_fr450_cstdu (SIM_CPU *current_cpu, void *sem_arg)
79438 #define FLD(f) abuf->fields.sfmt_cstdu.f
79439 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79440 const IDESC * UNUSED idesc = abuf->idesc;
79441 int cycles = 0;
79443 int referenced = 0;
79444 int UNUSED insn_referenced = abuf->written;
79445 INT in_GRi = -1;
79446 INT in_GRj = -1;
79447 INT in_GRk = -1;
79448 INT in_GRdoublek = -1;
79449 in_GRi = FLD (in_GRi);
79450 in_GRj = FLD (in_GRj);
79451 in_GRdoublek = FLD (in_GRdoublek);
79452 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79453 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79454 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
79455 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79457 return cycles;
79458 #undef FLD
79461 static int
79462 model_fr450_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
79464 #define FLD(f) abuf->fields.sfmt_cstdfu.f
79465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79466 const IDESC * UNUSED idesc = abuf->idesc;
79467 int cycles = 0;
79469 int referenced = 0;
79470 int UNUSED insn_referenced = abuf->written;
79471 INT in_GRi = -1;
79472 INT in_GRj = -1;
79473 INT in_FRintk = -1;
79474 INT in_FRdoublek = -1;
79475 in_GRi = FLD (in_GRi);
79476 in_GRj = FLD (in_GRj);
79477 in_FRdoublek = FLD (in_FRdoublek);
79478 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79479 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79480 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
79481 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79483 return cycles;
79484 #undef FLD
79487 static int
79488 model_fr450_stbi (SIM_CPU *current_cpu, void *sem_arg)
79490 #define FLD(f) abuf->fields.sfmt_swapi.f
79491 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79492 const IDESC * UNUSED idesc = abuf->idesc;
79493 int cycles = 0;
79495 int referenced = 0;
79496 int UNUSED insn_referenced = abuf->written;
79497 INT in_GRi = -1;
79498 INT in_GRj = -1;
79499 INT in_GRk = -1;
79500 INT in_GRdoublek = -1;
79501 in_GRi = FLD (in_GRi);
79502 in_GRk = FLD (in_GRk);
79503 referenced |= 1 << 0;
79504 referenced |= 1 << 2;
79505 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79507 return cycles;
79508 #undef FLD
79511 static int
79512 model_fr450_sthi (SIM_CPU *current_cpu, void *sem_arg)
79514 #define FLD(f) abuf->fields.sfmt_swapi.f
79515 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79516 const IDESC * UNUSED idesc = abuf->idesc;
79517 int cycles = 0;
79519 int referenced = 0;
79520 int UNUSED insn_referenced = abuf->written;
79521 INT in_GRi = -1;
79522 INT in_GRj = -1;
79523 INT in_GRk = -1;
79524 INT in_GRdoublek = -1;
79525 in_GRi = FLD (in_GRi);
79526 in_GRk = FLD (in_GRk);
79527 referenced |= 1 << 0;
79528 referenced |= 1 << 2;
79529 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79531 return cycles;
79532 #undef FLD
79535 static int
79536 model_fr450_sti (SIM_CPU *current_cpu, void *sem_arg)
79538 #define FLD(f) abuf->fields.sfmt_swapi.f
79539 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79540 const IDESC * UNUSED idesc = abuf->idesc;
79541 int cycles = 0;
79543 int referenced = 0;
79544 int UNUSED insn_referenced = abuf->written;
79545 INT in_GRi = -1;
79546 INT in_GRj = -1;
79547 INT in_GRk = -1;
79548 INT in_GRdoublek = -1;
79549 in_GRi = FLD (in_GRi);
79550 in_GRk = FLD (in_GRk);
79551 referenced |= 1 << 0;
79552 referenced |= 1 << 2;
79553 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79555 return cycles;
79556 #undef FLD
79559 static int
79560 model_fr450_stbfi (SIM_CPU *current_cpu, void *sem_arg)
79562 #define FLD(f) abuf->fields.sfmt_stbfi.f
79563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79564 const IDESC * UNUSED idesc = abuf->idesc;
79565 int cycles = 0;
79567 int referenced = 0;
79568 int UNUSED insn_referenced = abuf->written;
79569 INT in_GRi = -1;
79570 INT in_GRj = -1;
79571 INT in_FRintk = -1;
79572 INT in_FRdoublek = -1;
79573 in_GRi = FLD (in_GRi);
79574 in_FRintk = FLD (in_FRintk);
79575 referenced |= 1 << 0;
79576 referenced |= 1 << 2;
79577 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79579 return cycles;
79580 #undef FLD
79583 static int
79584 model_fr450_sthfi (SIM_CPU *current_cpu, void *sem_arg)
79586 #define FLD(f) abuf->fields.sfmt_stbfi.f
79587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79588 const IDESC * UNUSED idesc = abuf->idesc;
79589 int cycles = 0;
79591 int referenced = 0;
79592 int UNUSED insn_referenced = abuf->written;
79593 INT in_GRi = -1;
79594 INT in_GRj = -1;
79595 INT in_FRintk = -1;
79596 INT in_FRdoublek = -1;
79597 in_GRi = FLD (in_GRi);
79598 in_FRintk = FLD (in_FRintk);
79599 referenced |= 1 << 0;
79600 referenced |= 1 << 2;
79601 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79603 return cycles;
79604 #undef FLD
79607 static int
79608 model_fr450_stfi (SIM_CPU *current_cpu, void *sem_arg)
79610 #define FLD(f) abuf->fields.sfmt_stbfi.f
79611 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79612 const IDESC * UNUSED idesc = abuf->idesc;
79613 int cycles = 0;
79615 int referenced = 0;
79616 int UNUSED insn_referenced = abuf->written;
79617 INT in_GRi = -1;
79618 INT in_GRj = -1;
79619 INT in_FRintk = -1;
79620 INT in_FRdoublek = -1;
79621 in_GRi = FLD (in_GRi);
79622 in_FRintk = FLD (in_FRintk);
79623 referenced |= 1 << 0;
79624 referenced |= 1 << 2;
79625 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79627 return cycles;
79628 #undef FLD
79631 static int
79632 model_fr450_stdi (SIM_CPU *current_cpu, void *sem_arg)
79634 #define FLD(f) abuf->fields.sfmt_stdi.f
79635 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79636 const IDESC * UNUSED idesc = abuf->idesc;
79637 int cycles = 0;
79639 int referenced = 0;
79640 int UNUSED insn_referenced = abuf->written;
79641 INT in_GRi = -1;
79642 INT in_GRj = -1;
79643 INT in_GRk = -1;
79644 INT in_GRdoublek = -1;
79645 in_GRi = FLD (in_GRi);
79646 in_GRdoublek = FLD (in_GRdoublek);
79647 referenced |= 1 << 0;
79648 referenced |= 1 << 3;
79649 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79651 return cycles;
79652 #undef FLD
79655 static int
79656 model_fr450_stdfi (SIM_CPU *current_cpu, void *sem_arg)
79658 #define FLD(f) abuf->fields.sfmt_stdfi.f
79659 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79660 const IDESC * UNUSED idesc = abuf->idesc;
79661 int cycles = 0;
79663 int referenced = 0;
79664 int UNUSED insn_referenced = abuf->written;
79665 INT in_GRi = -1;
79666 INT in_GRj = -1;
79667 INT in_FRintk = -1;
79668 INT in_FRdoublek = -1;
79669 in_GRi = FLD (in_GRi);
79670 in_FRdoublek = FLD (in_FRdoublek);
79671 referenced |= 1 << 0;
79672 referenced |= 1 << 3;
79673 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79675 return cycles;
79676 #undef FLD
79679 static int
79680 model_fr450_stqi (SIM_CPU *current_cpu, void *sem_arg)
79682 #define FLD(f) abuf->fields.sfmt_stdi.f
79683 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79684 const IDESC * UNUSED idesc = abuf->idesc;
79685 int cycles = 0;
79687 int referenced = 0;
79688 int UNUSED insn_referenced = abuf->written;
79689 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79691 return cycles;
79692 #undef FLD
79695 static int
79696 model_fr450_stqfi (SIM_CPU *current_cpu, void *sem_arg)
79698 #define FLD(f) abuf->fields.sfmt_stdfi.f
79699 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79700 const IDESC * UNUSED idesc = abuf->idesc;
79701 int cycles = 0;
79703 int referenced = 0;
79704 int UNUSED insn_referenced = abuf->written;
79705 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79707 return cycles;
79708 #undef FLD
79711 static int
79712 model_fr450_swap (SIM_CPU *current_cpu, void *sem_arg)
79714 #define FLD(f) abuf->fields.sfmt_cswap.f
79715 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79716 const IDESC * UNUSED idesc = abuf->idesc;
79717 int cycles = 0;
79719 int referenced = 0;
79720 int UNUSED insn_referenced = abuf->written;
79721 INT in_GRi = -1;
79722 INT in_GRj = -1;
79723 INT out_GRk = -1;
79724 in_GRi = FLD (in_GRi);
79725 in_GRj = FLD (in_GRj);
79726 out_GRk = FLD (out_GRk);
79727 referenced |= 1 << 0;
79728 referenced |= 1 << 1;
79729 referenced |= 1 << 2;
79730 cycles += frvbf_model_fr450_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
79732 return cycles;
79733 #undef FLD
79736 static int
79737 model_fr450_swapi (SIM_CPU *current_cpu, void *sem_arg)
79739 #define FLD(f) abuf->fields.sfmt_swapi.f
79740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79741 const IDESC * UNUSED idesc = abuf->idesc;
79742 int cycles = 0;
79744 int referenced = 0;
79745 int UNUSED insn_referenced = abuf->written;
79746 INT in_GRi = -1;
79747 INT in_GRj = -1;
79748 INT out_GRk = -1;
79749 in_GRi = FLD (in_GRi);
79750 out_GRk = FLD (out_GRk);
79751 referenced |= 1 << 0;
79752 referenced |= 1 << 2;
79753 cycles += frvbf_model_fr450_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
79755 return cycles;
79756 #undef FLD
79759 static int
79760 model_fr450_cswap (SIM_CPU *current_cpu, void *sem_arg)
79762 #define FLD(f) abuf->fields.sfmt_cswap.f
79763 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79764 const IDESC * UNUSED idesc = abuf->idesc;
79765 int cycles = 0;
79767 int referenced = 0;
79768 int UNUSED insn_referenced = abuf->written;
79769 INT in_GRi = -1;
79770 INT in_GRj = -1;
79771 INT out_GRk = -1;
79772 in_GRi = FLD (in_GRi);
79773 in_GRj = FLD (in_GRj);
79774 out_GRk = FLD (out_GRk);
79775 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79776 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79777 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
79778 cycles += frvbf_model_fr450_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
79780 return cycles;
79781 #undef FLD
79784 static int
79785 model_fr450_movgf (SIM_CPU *current_cpu, void *sem_arg)
79787 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
79788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79789 const IDESC * UNUSED idesc = abuf->idesc;
79790 int cycles = 0;
79792 int referenced = 0;
79793 int UNUSED insn_referenced = abuf->written;
79794 INT in_GRj = -1;
79795 INT out_FRintk = -1;
79796 in_GRj = FLD (in_GRj);
79797 out_FRintk = FLD (out_FRintk);
79798 referenced |= 1 << 0;
79799 referenced |= 1 << 1;
79800 cycles += frvbf_model_fr450_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
79802 return cycles;
79803 #undef FLD
79806 static int
79807 model_fr450_movfg (SIM_CPU *current_cpu, void *sem_arg)
79809 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
79810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79811 const IDESC * UNUSED idesc = abuf->idesc;
79812 int cycles = 0;
79814 int referenced = 0;
79815 int UNUSED insn_referenced = abuf->written;
79816 INT in_FRintk = -1;
79817 INT out_GRj = -1;
79818 in_FRintk = FLD (in_FRintk);
79819 out_GRj = FLD (out_GRj);
79820 referenced |= 1 << 0;
79821 referenced |= 1 << 1;
79822 cycles += frvbf_model_fr450_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
79824 return cycles;
79825 #undef FLD
79828 static int
79829 model_fr450_movgfd (SIM_CPU *current_cpu, void *sem_arg)
79831 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
79832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79833 const IDESC * UNUSED idesc = abuf->idesc;
79834 int cycles = 0;
79836 int referenced = 0;
79837 int UNUSED insn_referenced = abuf->written;
79838 INT in_GRj = -1;
79839 INT out_FRintk = -1;
79840 in_GRj = FLD (in_GRj);
79841 out_FRintk = FLD (out_FRintk);
79842 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
79843 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
79844 cycles += frvbf_model_fr450_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
79846 return cycles;
79847 #undef FLD
79850 static int
79851 model_fr450_movfgd (SIM_CPU *current_cpu, void *sem_arg)
79853 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
79854 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79855 const IDESC * UNUSED idesc = abuf->idesc;
79856 int cycles = 0;
79858 int referenced = 0;
79859 int UNUSED insn_referenced = abuf->written;
79860 INT in_FRintk = -1;
79861 INT out_GRj = -1;
79862 in_FRintk = FLD (in_FRintk);
79863 out_GRj = FLD (out_GRj);
79864 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
79865 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
79866 cycles += frvbf_model_fr450_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
79868 return cycles;
79869 #undef FLD
79872 static int
79873 model_fr450_movgfq (SIM_CPU *current_cpu, void *sem_arg)
79875 #define FLD(f) abuf->fields.sfmt_movgfq.f
79876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79877 const IDESC * UNUSED idesc = abuf->idesc;
79878 int cycles = 0;
79880 int referenced = 0;
79881 int UNUSED insn_referenced = abuf->written;
79882 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79884 return cycles;
79885 #undef FLD
79888 static int
79889 model_fr450_movfgq (SIM_CPU *current_cpu, void *sem_arg)
79891 #define FLD(f) abuf->fields.sfmt_movfgq.f
79892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79893 const IDESC * UNUSED idesc = abuf->idesc;
79894 int cycles = 0;
79896 int referenced = 0;
79897 int UNUSED insn_referenced = abuf->written;
79898 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79900 return cycles;
79901 #undef FLD
79904 static int
79905 model_fr450_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
79907 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
79908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79909 const IDESC * UNUSED idesc = abuf->idesc;
79910 int cycles = 0;
79912 int referenced = 0;
79913 int UNUSED insn_referenced = abuf->written;
79914 INT in_GRj = -1;
79915 INT out_FRintk = -1;
79916 in_GRj = FLD (in_GRj);
79917 out_FRintk = FLD (out_FRintk);
79918 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79919 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79920 cycles += frvbf_model_fr450_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
79922 return cycles;
79923 #undef FLD
79926 static int
79927 model_fr450_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
79929 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
79930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79931 const IDESC * UNUSED idesc = abuf->idesc;
79932 int cycles = 0;
79934 int referenced = 0;
79935 int UNUSED insn_referenced = abuf->written;
79936 INT in_FRintk = -1;
79937 INT out_GRj = -1;
79938 in_FRintk = FLD (in_FRintk);
79939 out_GRj = FLD (out_GRj);
79940 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79941 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79942 cycles += frvbf_model_fr450_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
79944 return cycles;
79945 #undef FLD
79948 static int
79949 model_fr450_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
79951 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
79952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79953 const IDESC * UNUSED idesc = abuf->idesc;
79954 int cycles = 0;
79956 int referenced = 0;
79957 int UNUSED insn_referenced = abuf->written;
79958 INT in_GRj = -1;
79959 INT out_FRintk = -1;
79960 in_GRj = FLD (in_GRj);
79961 out_FRintk = FLD (out_FRintk);
79962 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79963 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
79964 cycles += frvbf_model_fr450_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
79966 return cycles;
79967 #undef FLD
79970 static int
79971 model_fr450_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
79973 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
79974 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79975 const IDESC * UNUSED idesc = abuf->idesc;
79976 int cycles = 0;
79978 int referenced = 0;
79979 int UNUSED insn_referenced = abuf->written;
79980 INT in_FRintk = -1;
79981 INT out_GRj = -1;
79982 in_FRintk = FLD (in_FRintk);
79983 out_GRj = FLD (out_GRj);
79984 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79985 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
79986 cycles += frvbf_model_fr450_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
79988 return cycles;
79989 #undef FLD
79992 static int
79993 model_fr450_movgs (SIM_CPU *current_cpu, void *sem_arg)
79995 #define FLD(f) abuf->fields.sfmt_movgs.f
79996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79997 const IDESC * UNUSED idesc = abuf->idesc;
79998 int cycles = 0;
80000 int referenced = 0;
80001 int UNUSED insn_referenced = abuf->written;
80002 INT in_GRj = -1;
80003 INT out_spr = -1;
80004 in_GRj = FLD (in_GRj);
80005 out_spr = FLD (out_spr);
80006 referenced |= 1 << 0;
80007 referenced |= 1 << 1;
80008 cycles += frvbf_model_fr450_u_gr2spr (current_cpu, idesc, 0, referenced, in_GRj, out_spr);
80010 return cycles;
80011 #undef FLD
80014 static int
80015 model_fr450_movsg (SIM_CPU *current_cpu, void *sem_arg)
80017 #define FLD(f) abuf->fields.sfmt_movsg.f
80018 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80019 const IDESC * UNUSED idesc = abuf->idesc;
80020 int cycles = 0;
80022 int referenced = 0;
80023 int UNUSED insn_referenced = abuf->written;
80024 INT in_spr = -1;
80025 INT out_GRj = -1;
80026 in_spr = FLD (in_spr);
80027 out_GRj = FLD (out_GRj);
80028 referenced |= 1 << 0;
80029 referenced |= 1 << 1;
80030 cycles += frvbf_model_fr450_u_spr2gr (current_cpu, idesc, 0, referenced, in_spr, out_GRj);
80032 return cycles;
80033 #undef FLD
80036 static int
80037 model_fr450_bra (SIM_CPU *current_cpu, void *sem_arg)
80039 #define FLD(f) abuf->fields.sfmt_fbne.f
80040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80041 const IDESC * UNUSED idesc = abuf->idesc;
80042 int cycles = 0;
80044 int referenced = 0;
80045 int UNUSED insn_referenced = abuf->written;
80046 INT in_GRi = -1;
80047 INT in_GRj = -1;
80048 INT in_ICCi_2 = -1;
80049 INT in_FCCi_2 = -1;
80050 referenced |= 1 << 4;
80051 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80053 return cycles;
80054 #undef FLD
80057 static int
80058 model_fr450_bno (SIM_CPU *current_cpu, void *sem_arg)
80060 #define FLD(f) abuf->fields.sfmt_fbne.f
80061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80062 const IDESC * UNUSED idesc = abuf->idesc;
80063 int cycles = 0;
80065 int referenced = 0;
80066 int UNUSED insn_referenced = abuf->written;
80067 INT in_GRi = -1;
80068 INT in_GRj = -1;
80069 INT in_ICCi_2 = -1;
80070 INT in_FCCi_2 = -1;
80071 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80073 return cycles;
80074 #undef FLD
80077 static int
80078 model_fr450_beq (SIM_CPU *current_cpu, void *sem_arg)
80080 #define FLD(f) abuf->fields.sfmt_beq.f
80081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80082 const IDESC * UNUSED idesc = abuf->idesc;
80083 int cycles = 0;
80085 int referenced = 0;
80086 int UNUSED insn_referenced = abuf->written;
80087 INT in_GRi = -1;
80088 INT in_GRj = -1;
80089 INT in_ICCi_2 = -1;
80090 INT in_FCCi_2 = -1;
80091 in_ICCi_2 = FLD (in_ICCi_2);
80092 referenced |= 1 << 2;
80093 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80094 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80096 return cycles;
80097 #undef FLD
80100 static int
80101 model_fr450_bne (SIM_CPU *current_cpu, void *sem_arg)
80103 #define FLD(f) abuf->fields.sfmt_beq.f
80104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80105 const IDESC * UNUSED idesc = abuf->idesc;
80106 int cycles = 0;
80108 int referenced = 0;
80109 int UNUSED insn_referenced = abuf->written;
80110 INT in_GRi = -1;
80111 INT in_GRj = -1;
80112 INT in_ICCi_2 = -1;
80113 INT in_FCCi_2 = -1;
80114 in_ICCi_2 = FLD (in_ICCi_2);
80115 referenced |= 1 << 2;
80116 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80117 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80119 return cycles;
80120 #undef FLD
80123 static int
80124 model_fr450_ble (SIM_CPU *current_cpu, void *sem_arg)
80126 #define FLD(f) abuf->fields.sfmt_beq.f
80127 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80128 const IDESC * UNUSED idesc = abuf->idesc;
80129 int cycles = 0;
80131 int referenced = 0;
80132 int UNUSED insn_referenced = abuf->written;
80133 INT in_GRi = -1;
80134 INT in_GRj = -1;
80135 INT in_ICCi_2 = -1;
80136 INT in_FCCi_2 = -1;
80137 in_ICCi_2 = FLD (in_ICCi_2);
80138 referenced |= 1 << 2;
80139 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80140 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80142 return cycles;
80143 #undef FLD
80146 static int
80147 model_fr450_bgt (SIM_CPU *current_cpu, void *sem_arg)
80149 #define FLD(f) abuf->fields.sfmt_beq.f
80150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80151 const IDESC * UNUSED idesc = abuf->idesc;
80152 int cycles = 0;
80154 int referenced = 0;
80155 int UNUSED insn_referenced = abuf->written;
80156 INT in_GRi = -1;
80157 INT in_GRj = -1;
80158 INT in_ICCi_2 = -1;
80159 INT in_FCCi_2 = -1;
80160 in_ICCi_2 = FLD (in_ICCi_2);
80161 referenced |= 1 << 2;
80162 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80163 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80165 return cycles;
80166 #undef FLD
80169 static int
80170 model_fr450_blt (SIM_CPU *current_cpu, void *sem_arg)
80172 #define FLD(f) abuf->fields.sfmt_beq.f
80173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80174 const IDESC * UNUSED idesc = abuf->idesc;
80175 int cycles = 0;
80177 int referenced = 0;
80178 int UNUSED insn_referenced = abuf->written;
80179 INT in_GRi = -1;
80180 INT in_GRj = -1;
80181 INT in_ICCi_2 = -1;
80182 INT in_FCCi_2 = -1;
80183 in_ICCi_2 = FLD (in_ICCi_2);
80184 referenced |= 1 << 2;
80185 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80186 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80188 return cycles;
80189 #undef FLD
80192 static int
80193 model_fr450_bge (SIM_CPU *current_cpu, void *sem_arg)
80195 #define FLD(f) abuf->fields.sfmt_beq.f
80196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80197 const IDESC * UNUSED idesc = abuf->idesc;
80198 int cycles = 0;
80200 int referenced = 0;
80201 int UNUSED insn_referenced = abuf->written;
80202 INT in_GRi = -1;
80203 INT in_GRj = -1;
80204 INT in_ICCi_2 = -1;
80205 INT in_FCCi_2 = -1;
80206 in_ICCi_2 = FLD (in_ICCi_2);
80207 referenced |= 1 << 2;
80208 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80209 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80211 return cycles;
80212 #undef FLD
80215 static int
80216 model_fr450_bls (SIM_CPU *current_cpu, void *sem_arg)
80218 #define FLD(f) abuf->fields.sfmt_beq.f
80219 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80220 const IDESC * UNUSED idesc = abuf->idesc;
80221 int cycles = 0;
80223 int referenced = 0;
80224 int UNUSED insn_referenced = abuf->written;
80225 INT in_GRi = -1;
80226 INT in_GRj = -1;
80227 INT in_ICCi_2 = -1;
80228 INT in_FCCi_2 = -1;
80229 in_ICCi_2 = FLD (in_ICCi_2);
80230 referenced |= 1 << 2;
80231 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80232 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80234 return cycles;
80235 #undef FLD
80238 static int
80239 model_fr450_bhi (SIM_CPU *current_cpu, void *sem_arg)
80241 #define FLD(f) abuf->fields.sfmt_beq.f
80242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80243 const IDESC * UNUSED idesc = abuf->idesc;
80244 int cycles = 0;
80246 int referenced = 0;
80247 int UNUSED insn_referenced = abuf->written;
80248 INT in_GRi = -1;
80249 INT in_GRj = -1;
80250 INT in_ICCi_2 = -1;
80251 INT in_FCCi_2 = -1;
80252 in_ICCi_2 = FLD (in_ICCi_2);
80253 referenced |= 1 << 2;
80254 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80255 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80257 return cycles;
80258 #undef FLD
80261 static int
80262 model_fr450_bc (SIM_CPU *current_cpu, void *sem_arg)
80264 #define FLD(f) abuf->fields.sfmt_beq.f
80265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80266 const IDESC * UNUSED idesc = abuf->idesc;
80267 int cycles = 0;
80269 int referenced = 0;
80270 int UNUSED insn_referenced = abuf->written;
80271 INT in_GRi = -1;
80272 INT in_GRj = -1;
80273 INT in_ICCi_2 = -1;
80274 INT in_FCCi_2 = -1;
80275 in_ICCi_2 = FLD (in_ICCi_2);
80276 referenced |= 1 << 2;
80277 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80278 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80280 return cycles;
80281 #undef FLD
80284 static int
80285 model_fr450_bnc (SIM_CPU *current_cpu, void *sem_arg)
80287 #define FLD(f) abuf->fields.sfmt_beq.f
80288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80289 const IDESC * UNUSED idesc = abuf->idesc;
80290 int cycles = 0;
80292 int referenced = 0;
80293 int UNUSED insn_referenced = abuf->written;
80294 INT in_GRi = -1;
80295 INT in_GRj = -1;
80296 INT in_ICCi_2 = -1;
80297 INT in_FCCi_2 = -1;
80298 in_ICCi_2 = FLD (in_ICCi_2);
80299 referenced |= 1 << 2;
80300 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80301 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80303 return cycles;
80304 #undef FLD
80307 static int
80308 model_fr450_bn (SIM_CPU *current_cpu, void *sem_arg)
80310 #define FLD(f) abuf->fields.sfmt_beq.f
80311 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80312 const IDESC * UNUSED idesc = abuf->idesc;
80313 int cycles = 0;
80315 int referenced = 0;
80316 int UNUSED insn_referenced = abuf->written;
80317 INT in_GRi = -1;
80318 INT in_GRj = -1;
80319 INT in_ICCi_2 = -1;
80320 INT in_FCCi_2 = -1;
80321 in_ICCi_2 = FLD (in_ICCi_2);
80322 referenced |= 1 << 2;
80323 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80324 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80326 return cycles;
80327 #undef FLD
80330 static int
80331 model_fr450_bp (SIM_CPU *current_cpu, void *sem_arg)
80333 #define FLD(f) abuf->fields.sfmt_beq.f
80334 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80335 const IDESC * UNUSED idesc = abuf->idesc;
80336 int cycles = 0;
80338 int referenced = 0;
80339 int UNUSED insn_referenced = abuf->written;
80340 INT in_GRi = -1;
80341 INT in_GRj = -1;
80342 INT in_ICCi_2 = -1;
80343 INT in_FCCi_2 = -1;
80344 in_ICCi_2 = FLD (in_ICCi_2);
80345 referenced |= 1 << 2;
80346 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80347 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80349 return cycles;
80350 #undef FLD
80353 static int
80354 model_fr450_bv (SIM_CPU *current_cpu, void *sem_arg)
80356 #define FLD(f) abuf->fields.sfmt_beq.f
80357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80358 const IDESC * UNUSED idesc = abuf->idesc;
80359 int cycles = 0;
80361 int referenced = 0;
80362 int UNUSED insn_referenced = abuf->written;
80363 INT in_GRi = -1;
80364 INT in_GRj = -1;
80365 INT in_ICCi_2 = -1;
80366 INT in_FCCi_2 = -1;
80367 in_ICCi_2 = FLD (in_ICCi_2);
80368 referenced |= 1 << 2;
80369 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80370 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80372 return cycles;
80373 #undef FLD
80376 static int
80377 model_fr450_bnv (SIM_CPU *current_cpu, void *sem_arg)
80379 #define FLD(f) abuf->fields.sfmt_beq.f
80380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80381 const IDESC * UNUSED idesc = abuf->idesc;
80382 int cycles = 0;
80384 int referenced = 0;
80385 int UNUSED insn_referenced = abuf->written;
80386 INT in_GRi = -1;
80387 INT in_GRj = -1;
80388 INT in_ICCi_2 = -1;
80389 INT in_FCCi_2 = -1;
80390 in_ICCi_2 = FLD (in_ICCi_2);
80391 referenced |= 1 << 2;
80392 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80393 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80395 return cycles;
80396 #undef FLD
80399 static int
80400 model_fr450_fbra (SIM_CPU *current_cpu, void *sem_arg)
80402 #define FLD(f) abuf->fields.sfmt_fbne.f
80403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80404 const IDESC * UNUSED idesc = abuf->idesc;
80405 int cycles = 0;
80407 int referenced = 0;
80408 int UNUSED insn_referenced = abuf->written;
80409 INT in_GRi = -1;
80410 INT in_GRj = -1;
80411 INT in_ICCi_2 = -1;
80412 INT in_FCCi_2 = -1;
80413 referenced |= 1 << 4;
80414 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80416 return cycles;
80417 #undef FLD
80420 static int
80421 model_fr450_fbno (SIM_CPU *current_cpu, void *sem_arg)
80423 #define FLD(f) abuf->fields.sfmt_fbne.f
80424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80425 const IDESC * UNUSED idesc = abuf->idesc;
80426 int cycles = 0;
80428 int referenced = 0;
80429 int UNUSED insn_referenced = abuf->written;
80430 INT in_GRi = -1;
80431 INT in_GRj = -1;
80432 INT in_ICCi_2 = -1;
80433 INT in_FCCi_2 = -1;
80434 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80436 return cycles;
80437 #undef FLD
80440 static int
80441 model_fr450_fbne (SIM_CPU *current_cpu, void *sem_arg)
80443 #define FLD(f) abuf->fields.sfmt_fbne.f
80444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80445 const IDESC * UNUSED idesc = abuf->idesc;
80446 int cycles = 0;
80448 int referenced = 0;
80449 int UNUSED insn_referenced = abuf->written;
80450 INT in_GRi = -1;
80451 INT in_GRj = -1;
80452 INT in_ICCi_2 = -1;
80453 INT in_FCCi_2 = -1;
80454 in_FCCi_2 = FLD (in_FCCi_2);
80455 referenced |= 1 << 3;
80456 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80457 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80459 return cycles;
80460 #undef FLD
80463 static int
80464 model_fr450_fbeq (SIM_CPU *current_cpu, void *sem_arg)
80466 #define FLD(f) abuf->fields.sfmt_fbne.f
80467 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80468 const IDESC * UNUSED idesc = abuf->idesc;
80469 int cycles = 0;
80471 int referenced = 0;
80472 int UNUSED insn_referenced = abuf->written;
80473 INT in_GRi = -1;
80474 INT in_GRj = -1;
80475 INT in_ICCi_2 = -1;
80476 INT in_FCCi_2 = -1;
80477 in_FCCi_2 = FLD (in_FCCi_2);
80478 referenced |= 1 << 3;
80479 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80480 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80482 return cycles;
80483 #undef FLD
80486 static int
80487 model_fr450_fblg (SIM_CPU *current_cpu, void *sem_arg)
80489 #define FLD(f) abuf->fields.sfmt_fbne.f
80490 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80491 const IDESC * UNUSED idesc = abuf->idesc;
80492 int cycles = 0;
80494 int referenced = 0;
80495 int UNUSED insn_referenced = abuf->written;
80496 INT in_GRi = -1;
80497 INT in_GRj = -1;
80498 INT in_ICCi_2 = -1;
80499 INT in_FCCi_2 = -1;
80500 in_FCCi_2 = FLD (in_FCCi_2);
80501 referenced |= 1 << 3;
80502 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80503 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80505 return cycles;
80506 #undef FLD
80509 static int
80510 model_fr450_fbue (SIM_CPU *current_cpu, void *sem_arg)
80512 #define FLD(f) abuf->fields.sfmt_fbne.f
80513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80514 const IDESC * UNUSED idesc = abuf->idesc;
80515 int cycles = 0;
80517 int referenced = 0;
80518 int UNUSED insn_referenced = abuf->written;
80519 INT in_GRi = -1;
80520 INT in_GRj = -1;
80521 INT in_ICCi_2 = -1;
80522 INT in_FCCi_2 = -1;
80523 in_FCCi_2 = FLD (in_FCCi_2);
80524 referenced |= 1 << 3;
80525 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80526 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80528 return cycles;
80529 #undef FLD
80532 static int
80533 model_fr450_fbul (SIM_CPU *current_cpu, void *sem_arg)
80535 #define FLD(f) abuf->fields.sfmt_fbne.f
80536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80537 const IDESC * UNUSED idesc = abuf->idesc;
80538 int cycles = 0;
80540 int referenced = 0;
80541 int UNUSED insn_referenced = abuf->written;
80542 INT in_GRi = -1;
80543 INT in_GRj = -1;
80544 INT in_ICCi_2 = -1;
80545 INT in_FCCi_2 = -1;
80546 in_FCCi_2 = FLD (in_FCCi_2);
80547 referenced |= 1 << 3;
80548 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80549 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80551 return cycles;
80552 #undef FLD
80555 static int
80556 model_fr450_fbge (SIM_CPU *current_cpu, void *sem_arg)
80558 #define FLD(f) abuf->fields.sfmt_fbne.f
80559 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80560 const IDESC * UNUSED idesc = abuf->idesc;
80561 int cycles = 0;
80563 int referenced = 0;
80564 int UNUSED insn_referenced = abuf->written;
80565 INT in_GRi = -1;
80566 INT in_GRj = -1;
80567 INT in_ICCi_2 = -1;
80568 INT in_FCCi_2 = -1;
80569 in_FCCi_2 = FLD (in_FCCi_2);
80570 referenced |= 1 << 3;
80571 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80572 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80574 return cycles;
80575 #undef FLD
80578 static int
80579 model_fr450_fblt (SIM_CPU *current_cpu, void *sem_arg)
80581 #define FLD(f) abuf->fields.sfmt_fbne.f
80582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80583 const IDESC * UNUSED idesc = abuf->idesc;
80584 int cycles = 0;
80586 int referenced = 0;
80587 int UNUSED insn_referenced = abuf->written;
80588 INT in_GRi = -1;
80589 INT in_GRj = -1;
80590 INT in_ICCi_2 = -1;
80591 INT in_FCCi_2 = -1;
80592 in_FCCi_2 = FLD (in_FCCi_2);
80593 referenced |= 1 << 3;
80594 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80595 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80597 return cycles;
80598 #undef FLD
80601 static int
80602 model_fr450_fbuge (SIM_CPU *current_cpu, void *sem_arg)
80604 #define FLD(f) abuf->fields.sfmt_fbne.f
80605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80606 const IDESC * UNUSED idesc = abuf->idesc;
80607 int cycles = 0;
80609 int referenced = 0;
80610 int UNUSED insn_referenced = abuf->written;
80611 INT in_GRi = -1;
80612 INT in_GRj = -1;
80613 INT in_ICCi_2 = -1;
80614 INT in_FCCi_2 = -1;
80615 in_FCCi_2 = FLD (in_FCCi_2);
80616 referenced |= 1 << 3;
80617 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80618 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80620 return cycles;
80621 #undef FLD
80624 static int
80625 model_fr450_fbug (SIM_CPU *current_cpu, void *sem_arg)
80627 #define FLD(f) abuf->fields.sfmt_fbne.f
80628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80629 const IDESC * UNUSED idesc = abuf->idesc;
80630 int cycles = 0;
80632 int referenced = 0;
80633 int UNUSED insn_referenced = abuf->written;
80634 INT in_GRi = -1;
80635 INT in_GRj = -1;
80636 INT in_ICCi_2 = -1;
80637 INT in_FCCi_2 = -1;
80638 in_FCCi_2 = FLD (in_FCCi_2);
80639 referenced |= 1 << 3;
80640 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80641 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80643 return cycles;
80644 #undef FLD
80647 static int
80648 model_fr450_fble (SIM_CPU *current_cpu, void *sem_arg)
80650 #define FLD(f) abuf->fields.sfmt_fbne.f
80651 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80652 const IDESC * UNUSED idesc = abuf->idesc;
80653 int cycles = 0;
80655 int referenced = 0;
80656 int UNUSED insn_referenced = abuf->written;
80657 INT in_GRi = -1;
80658 INT in_GRj = -1;
80659 INT in_ICCi_2 = -1;
80660 INT in_FCCi_2 = -1;
80661 in_FCCi_2 = FLD (in_FCCi_2);
80662 referenced |= 1 << 3;
80663 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80664 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80666 return cycles;
80667 #undef FLD
80670 static int
80671 model_fr450_fbgt (SIM_CPU *current_cpu, void *sem_arg)
80673 #define FLD(f) abuf->fields.sfmt_fbne.f
80674 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80675 const IDESC * UNUSED idesc = abuf->idesc;
80676 int cycles = 0;
80678 int referenced = 0;
80679 int UNUSED insn_referenced = abuf->written;
80680 INT in_GRi = -1;
80681 INT in_GRj = -1;
80682 INT in_ICCi_2 = -1;
80683 INT in_FCCi_2 = -1;
80684 in_FCCi_2 = FLD (in_FCCi_2);
80685 referenced |= 1 << 3;
80686 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80687 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80689 return cycles;
80690 #undef FLD
80693 static int
80694 model_fr450_fbule (SIM_CPU *current_cpu, void *sem_arg)
80696 #define FLD(f) abuf->fields.sfmt_fbne.f
80697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80698 const IDESC * UNUSED idesc = abuf->idesc;
80699 int cycles = 0;
80701 int referenced = 0;
80702 int UNUSED insn_referenced = abuf->written;
80703 INT in_GRi = -1;
80704 INT in_GRj = -1;
80705 INT in_ICCi_2 = -1;
80706 INT in_FCCi_2 = -1;
80707 in_FCCi_2 = FLD (in_FCCi_2);
80708 referenced |= 1 << 3;
80709 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80710 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80712 return cycles;
80713 #undef FLD
80716 static int
80717 model_fr450_fbu (SIM_CPU *current_cpu, void *sem_arg)
80719 #define FLD(f) abuf->fields.sfmt_fbne.f
80720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80721 const IDESC * UNUSED idesc = abuf->idesc;
80722 int cycles = 0;
80724 int referenced = 0;
80725 int UNUSED insn_referenced = abuf->written;
80726 INT in_GRi = -1;
80727 INT in_GRj = -1;
80728 INT in_ICCi_2 = -1;
80729 INT in_FCCi_2 = -1;
80730 in_FCCi_2 = FLD (in_FCCi_2);
80731 referenced |= 1 << 3;
80732 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80733 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80735 return cycles;
80736 #undef FLD
80739 static int
80740 model_fr450_fbo (SIM_CPU *current_cpu, void *sem_arg)
80742 #define FLD(f) abuf->fields.sfmt_fbne.f
80743 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80744 const IDESC * UNUSED idesc = abuf->idesc;
80745 int cycles = 0;
80747 int referenced = 0;
80748 int UNUSED insn_referenced = abuf->written;
80749 INT in_GRi = -1;
80750 INT in_GRj = -1;
80751 INT in_ICCi_2 = -1;
80752 INT in_FCCi_2 = -1;
80753 in_FCCi_2 = FLD (in_FCCi_2);
80754 referenced |= 1 << 3;
80755 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80756 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80758 return cycles;
80759 #undef FLD
80762 static int
80763 model_fr450_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
80765 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
80766 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80767 const IDESC * UNUSED idesc = abuf->idesc;
80768 int cycles = 0;
80770 int referenced = 0;
80771 int UNUSED insn_referenced = abuf->written;
80772 INT in_GRi = -1;
80773 INT in_GRj = -1;
80774 INT in_ICCi_2 = -1;
80775 INT in_FCCi_2 = -1;
80776 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
80777 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80779 return cycles;
80780 #undef FLD
80783 static int
80784 model_fr450_bralr (SIM_CPU *current_cpu, void *sem_arg)
80786 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
80787 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80788 const IDESC * UNUSED idesc = abuf->idesc;
80789 int cycles = 0;
80791 int referenced = 0;
80792 int UNUSED insn_referenced = abuf->written;
80793 INT in_GRi = -1;
80794 INT in_GRj = -1;
80795 INT in_ICCi_2 = -1;
80796 INT in_FCCi_2 = -1;
80797 referenced |= 1 << 4;
80798 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80800 return cycles;
80801 #undef FLD
80804 static int
80805 model_fr450_bnolr (SIM_CPU *current_cpu, void *sem_arg)
80807 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
80808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80809 const IDESC * UNUSED idesc = abuf->idesc;
80810 int cycles = 0;
80812 int referenced = 0;
80813 int UNUSED insn_referenced = abuf->written;
80814 INT in_GRi = -1;
80815 INT in_GRj = -1;
80816 INT in_ICCi_2 = -1;
80817 INT in_FCCi_2 = -1;
80818 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80820 return cycles;
80821 #undef FLD
80824 static int
80825 model_fr450_beqlr (SIM_CPU *current_cpu, void *sem_arg)
80827 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80829 const IDESC * UNUSED idesc = abuf->idesc;
80830 int cycles = 0;
80832 int referenced = 0;
80833 int UNUSED insn_referenced = abuf->written;
80834 INT in_GRi = -1;
80835 INT in_GRj = -1;
80836 INT in_ICCi_2 = -1;
80837 INT in_FCCi_2 = -1;
80838 in_ICCi_2 = FLD (in_ICCi_2);
80839 referenced |= 1 << 2;
80840 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80841 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80843 return cycles;
80844 #undef FLD
80847 static int
80848 model_fr450_bnelr (SIM_CPU *current_cpu, void *sem_arg)
80850 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80852 const IDESC * UNUSED idesc = abuf->idesc;
80853 int cycles = 0;
80855 int referenced = 0;
80856 int UNUSED insn_referenced = abuf->written;
80857 INT in_GRi = -1;
80858 INT in_GRj = -1;
80859 INT in_ICCi_2 = -1;
80860 INT in_FCCi_2 = -1;
80861 in_ICCi_2 = FLD (in_ICCi_2);
80862 referenced |= 1 << 2;
80863 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80864 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80866 return cycles;
80867 #undef FLD
80870 static int
80871 model_fr450_blelr (SIM_CPU *current_cpu, void *sem_arg)
80873 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80875 const IDESC * UNUSED idesc = abuf->idesc;
80876 int cycles = 0;
80878 int referenced = 0;
80879 int UNUSED insn_referenced = abuf->written;
80880 INT in_GRi = -1;
80881 INT in_GRj = -1;
80882 INT in_ICCi_2 = -1;
80883 INT in_FCCi_2 = -1;
80884 in_ICCi_2 = FLD (in_ICCi_2);
80885 referenced |= 1 << 2;
80886 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80887 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80889 return cycles;
80890 #undef FLD
80893 static int
80894 model_fr450_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
80896 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80898 const IDESC * UNUSED idesc = abuf->idesc;
80899 int cycles = 0;
80901 int referenced = 0;
80902 int UNUSED insn_referenced = abuf->written;
80903 INT in_GRi = -1;
80904 INT in_GRj = -1;
80905 INT in_ICCi_2 = -1;
80906 INT in_FCCi_2 = -1;
80907 in_ICCi_2 = FLD (in_ICCi_2);
80908 referenced |= 1 << 2;
80909 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80910 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80912 return cycles;
80913 #undef FLD
80916 static int
80917 model_fr450_bltlr (SIM_CPU *current_cpu, void *sem_arg)
80919 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80921 const IDESC * UNUSED idesc = abuf->idesc;
80922 int cycles = 0;
80924 int referenced = 0;
80925 int UNUSED insn_referenced = abuf->written;
80926 INT in_GRi = -1;
80927 INT in_GRj = -1;
80928 INT in_ICCi_2 = -1;
80929 INT in_FCCi_2 = -1;
80930 in_ICCi_2 = FLD (in_ICCi_2);
80931 referenced |= 1 << 2;
80932 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80933 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80935 return cycles;
80936 #undef FLD
80939 static int
80940 model_fr450_bgelr (SIM_CPU *current_cpu, void *sem_arg)
80942 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80943 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80944 const IDESC * UNUSED idesc = abuf->idesc;
80945 int cycles = 0;
80947 int referenced = 0;
80948 int UNUSED insn_referenced = abuf->written;
80949 INT in_GRi = -1;
80950 INT in_GRj = -1;
80951 INT in_ICCi_2 = -1;
80952 INT in_FCCi_2 = -1;
80953 in_ICCi_2 = FLD (in_ICCi_2);
80954 referenced |= 1 << 2;
80955 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80956 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80958 return cycles;
80959 #undef FLD
80962 static int
80963 model_fr450_blslr (SIM_CPU *current_cpu, void *sem_arg)
80965 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80967 const IDESC * UNUSED idesc = abuf->idesc;
80968 int cycles = 0;
80970 int referenced = 0;
80971 int UNUSED insn_referenced = abuf->written;
80972 INT in_GRi = -1;
80973 INT in_GRj = -1;
80974 INT in_ICCi_2 = -1;
80975 INT in_FCCi_2 = -1;
80976 in_ICCi_2 = FLD (in_ICCi_2);
80977 referenced |= 1 << 2;
80978 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80979 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80981 return cycles;
80982 #undef FLD
80985 static int
80986 model_fr450_bhilr (SIM_CPU *current_cpu, void *sem_arg)
80988 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80990 const IDESC * UNUSED idesc = abuf->idesc;
80991 int cycles = 0;
80993 int referenced = 0;
80994 int UNUSED insn_referenced = abuf->written;
80995 INT in_GRi = -1;
80996 INT in_GRj = -1;
80997 INT in_ICCi_2 = -1;
80998 INT in_FCCi_2 = -1;
80999 in_ICCi_2 = FLD (in_ICCi_2);
81000 referenced |= 1 << 2;
81001 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81002 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81004 return cycles;
81005 #undef FLD
81008 static int
81009 model_fr450_bclr (SIM_CPU *current_cpu, void *sem_arg)
81011 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81013 const IDESC * UNUSED idesc = abuf->idesc;
81014 int cycles = 0;
81016 int referenced = 0;
81017 int UNUSED insn_referenced = abuf->written;
81018 INT in_GRi = -1;
81019 INT in_GRj = -1;
81020 INT in_ICCi_2 = -1;
81021 INT in_FCCi_2 = -1;
81022 in_ICCi_2 = FLD (in_ICCi_2);
81023 referenced |= 1 << 2;
81024 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81025 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81027 return cycles;
81028 #undef FLD
81031 static int
81032 model_fr450_bnclr (SIM_CPU *current_cpu, void *sem_arg)
81034 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81035 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81036 const IDESC * UNUSED idesc = abuf->idesc;
81037 int cycles = 0;
81039 int referenced = 0;
81040 int UNUSED insn_referenced = abuf->written;
81041 INT in_GRi = -1;
81042 INT in_GRj = -1;
81043 INT in_ICCi_2 = -1;
81044 INT in_FCCi_2 = -1;
81045 in_ICCi_2 = FLD (in_ICCi_2);
81046 referenced |= 1 << 2;
81047 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81048 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81050 return cycles;
81051 #undef FLD
81054 static int
81055 model_fr450_bnlr (SIM_CPU *current_cpu, void *sem_arg)
81057 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81058 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81059 const IDESC * UNUSED idesc = abuf->idesc;
81060 int cycles = 0;
81062 int referenced = 0;
81063 int UNUSED insn_referenced = abuf->written;
81064 INT in_GRi = -1;
81065 INT in_GRj = -1;
81066 INT in_ICCi_2 = -1;
81067 INT in_FCCi_2 = -1;
81068 in_ICCi_2 = FLD (in_ICCi_2);
81069 referenced |= 1 << 2;
81070 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81071 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81073 return cycles;
81074 #undef FLD
81077 static int
81078 model_fr450_bplr (SIM_CPU *current_cpu, void *sem_arg)
81080 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81082 const IDESC * UNUSED idesc = abuf->idesc;
81083 int cycles = 0;
81085 int referenced = 0;
81086 int UNUSED insn_referenced = abuf->written;
81087 INT in_GRi = -1;
81088 INT in_GRj = -1;
81089 INT in_ICCi_2 = -1;
81090 INT in_FCCi_2 = -1;
81091 in_ICCi_2 = FLD (in_ICCi_2);
81092 referenced |= 1 << 2;
81093 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81094 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81096 return cycles;
81097 #undef FLD
81100 static int
81101 model_fr450_bvlr (SIM_CPU *current_cpu, void *sem_arg)
81103 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81105 const IDESC * UNUSED idesc = abuf->idesc;
81106 int cycles = 0;
81108 int referenced = 0;
81109 int UNUSED insn_referenced = abuf->written;
81110 INT in_GRi = -1;
81111 INT in_GRj = -1;
81112 INT in_ICCi_2 = -1;
81113 INT in_FCCi_2 = -1;
81114 in_ICCi_2 = FLD (in_ICCi_2);
81115 referenced |= 1 << 2;
81116 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81117 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81119 return cycles;
81120 #undef FLD
81123 static int
81124 model_fr450_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
81126 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81127 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81128 const IDESC * UNUSED idesc = abuf->idesc;
81129 int cycles = 0;
81131 int referenced = 0;
81132 int UNUSED insn_referenced = abuf->written;
81133 INT in_GRi = -1;
81134 INT in_GRj = -1;
81135 INT in_ICCi_2 = -1;
81136 INT in_FCCi_2 = -1;
81137 in_ICCi_2 = FLD (in_ICCi_2);
81138 referenced |= 1 << 2;
81139 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81140 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81142 return cycles;
81143 #undef FLD
81146 static int
81147 model_fr450_fbralr (SIM_CPU *current_cpu, void *sem_arg)
81149 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81151 const IDESC * UNUSED idesc = abuf->idesc;
81152 int cycles = 0;
81154 int referenced = 0;
81155 int UNUSED insn_referenced = abuf->written;
81156 INT in_GRi = -1;
81157 INT in_GRj = -1;
81158 INT in_ICCi_2 = -1;
81159 INT in_FCCi_2 = -1;
81160 referenced |= 1 << 4;
81161 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81163 return cycles;
81164 #undef FLD
81167 static int
81168 model_fr450_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
81170 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81171 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81172 const IDESC * UNUSED idesc = abuf->idesc;
81173 int cycles = 0;
81175 int referenced = 0;
81176 int UNUSED insn_referenced = abuf->written;
81177 INT in_GRi = -1;
81178 INT in_GRj = -1;
81179 INT in_ICCi_2 = -1;
81180 INT in_FCCi_2 = -1;
81181 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81183 return cycles;
81184 #undef FLD
81187 static int
81188 model_fr450_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
81190 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81191 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81192 const IDESC * UNUSED idesc = abuf->idesc;
81193 int cycles = 0;
81195 int referenced = 0;
81196 int UNUSED insn_referenced = abuf->written;
81197 INT in_GRi = -1;
81198 INT in_GRj = -1;
81199 INT in_ICCi_2 = -1;
81200 INT in_FCCi_2 = -1;
81201 in_FCCi_2 = FLD (in_FCCi_2);
81202 referenced |= 1 << 3;
81203 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81204 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81206 return cycles;
81207 #undef FLD
81210 static int
81211 model_fr450_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
81213 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81214 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81215 const IDESC * UNUSED idesc = abuf->idesc;
81216 int cycles = 0;
81218 int referenced = 0;
81219 int UNUSED insn_referenced = abuf->written;
81220 INT in_GRi = -1;
81221 INT in_GRj = -1;
81222 INT in_ICCi_2 = -1;
81223 INT in_FCCi_2 = -1;
81224 in_FCCi_2 = FLD (in_FCCi_2);
81225 referenced |= 1 << 3;
81226 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81227 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81229 return cycles;
81230 #undef FLD
81233 static int
81234 model_fr450_fblglr (SIM_CPU *current_cpu, void *sem_arg)
81236 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81238 const IDESC * UNUSED idesc = abuf->idesc;
81239 int cycles = 0;
81241 int referenced = 0;
81242 int UNUSED insn_referenced = abuf->written;
81243 INT in_GRi = -1;
81244 INT in_GRj = -1;
81245 INT in_ICCi_2 = -1;
81246 INT in_FCCi_2 = -1;
81247 in_FCCi_2 = FLD (in_FCCi_2);
81248 referenced |= 1 << 3;
81249 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81250 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81252 return cycles;
81253 #undef FLD
81256 static int
81257 model_fr450_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
81259 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81261 const IDESC * UNUSED idesc = abuf->idesc;
81262 int cycles = 0;
81264 int referenced = 0;
81265 int UNUSED insn_referenced = abuf->written;
81266 INT in_GRi = -1;
81267 INT in_GRj = -1;
81268 INT in_ICCi_2 = -1;
81269 INT in_FCCi_2 = -1;
81270 in_FCCi_2 = FLD (in_FCCi_2);
81271 referenced |= 1 << 3;
81272 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81273 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81275 return cycles;
81276 #undef FLD
81279 static int
81280 model_fr450_fbullr (SIM_CPU *current_cpu, void *sem_arg)
81282 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81283 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81284 const IDESC * UNUSED idesc = abuf->idesc;
81285 int cycles = 0;
81287 int referenced = 0;
81288 int UNUSED insn_referenced = abuf->written;
81289 INT in_GRi = -1;
81290 INT in_GRj = -1;
81291 INT in_ICCi_2 = -1;
81292 INT in_FCCi_2 = -1;
81293 in_FCCi_2 = FLD (in_FCCi_2);
81294 referenced |= 1 << 3;
81295 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81296 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81298 return cycles;
81299 #undef FLD
81302 static int
81303 model_fr450_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
81305 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81306 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81307 const IDESC * UNUSED idesc = abuf->idesc;
81308 int cycles = 0;
81310 int referenced = 0;
81311 int UNUSED insn_referenced = abuf->written;
81312 INT in_GRi = -1;
81313 INT in_GRj = -1;
81314 INT in_ICCi_2 = -1;
81315 INT in_FCCi_2 = -1;
81316 in_FCCi_2 = FLD (in_FCCi_2);
81317 referenced |= 1 << 3;
81318 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81319 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81321 return cycles;
81322 #undef FLD
81325 static int
81326 model_fr450_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
81328 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81330 const IDESC * UNUSED idesc = abuf->idesc;
81331 int cycles = 0;
81333 int referenced = 0;
81334 int UNUSED insn_referenced = abuf->written;
81335 INT in_GRi = -1;
81336 INT in_GRj = -1;
81337 INT in_ICCi_2 = -1;
81338 INT in_FCCi_2 = -1;
81339 in_FCCi_2 = FLD (in_FCCi_2);
81340 referenced |= 1 << 3;
81341 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81342 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81344 return cycles;
81345 #undef FLD
81348 static int
81349 model_fr450_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
81351 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81353 const IDESC * UNUSED idesc = abuf->idesc;
81354 int cycles = 0;
81356 int referenced = 0;
81357 int UNUSED insn_referenced = abuf->written;
81358 INT in_GRi = -1;
81359 INT in_GRj = -1;
81360 INT in_ICCi_2 = -1;
81361 INT in_FCCi_2 = -1;
81362 in_FCCi_2 = FLD (in_FCCi_2);
81363 referenced |= 1 << 3;
81364 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81365 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81367 return cycles;
81368 #undef FLD
81371 static int
81372 model_fr450_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
81374 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81375 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81376 const IDESC * UNUSED idesc = abuf->idesc;
81377 int cycles = 0;
81379 int referenced = 0;
81380 int UNUSED insn_referenced = abuf->written;
81381 INT in_GRi = -1;
81382 INT in_GRj = -1;
81383 INT in_ICCi_2 = -1;
81384 INT in_FCCi_2 = -1;
81385 in_FCCi_2 = FLD (in_FCCi_2);
81386 referenced |= 1 << 3;
81387 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81388 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81390 return cycles;
81391 #undef FLD
81394 static int
81395 model_fr450_fblelr (SIM_CPU *current_cpu, void *sem_arg)
81397 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81398 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81399 const IDESC * UNUSED idesc = abuf->idesc;
81400 int cycles = 0;
81402 int referenced = 0;
81403 int UNUSED insn_referenced = abuf->written;
81404 INT in_GRi = -1;
81405 INT in_GRj = -1;
81406 INT in_ICCi_2 = -1;
81407 INT in_FCCi_2 = -1;
81408 in_FCCi_2 = FLD (in_FCCi_2);
81409 referenced |= 1 << 3;
81410 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81411 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81413 return cycles;
81414 #undef FLD
81417 static int
81418 model_fr450_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
81420 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81422 const IDESC * UNUSED idesc = abuf->idesc;
81423 int cycles = 0;
81425 int referenced = 0;
81426 int UNUSED insn_referenced = abuf->written;
81427 INT in_GRi = -1;
81428 INT in_GRj = -1;
81429 INT in_ICCi_2 = -1;
81430 INT in_FCCi_2 = -1;
81431 in_FCCi_2 = FLD (in_FCCi_2);
81432 referenced |= 1 << 3;
81433 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81434 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81436 return cycles;
81437 #undef FLD
81440 static int
81441 model_fr450_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
81443 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81445 const IDESC * UNUSED idesc = abuf->idesc;
81446 int cycles = 0;
81448 int referenced = 0;
81449 int UNUSED insn_referenced = abuf->written;
81450 INT in_GRi = -1;
81451 INT in_GRj = -1;
81452 INT in_ICCi_2 = -1;
81453 INT in_FCCi_2 = -1;
81454 in_FCCi_2 = FLD (in_FCCi_2);
81455 referenced |= 1 << 3;
81456 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81457 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81459 return cycles;
81460 #undef FLD
81463 static int
81464 model_fr450_fbulr (SIM_CPU *current_cpu, void *sem_arg)
81466 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81467 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81468 const IDESC * UNUSED idesc = abuf->idesc;
81469 int cycles = 0;
81471 int referenced = 0;
81472 int UNUSED insn_referenced = abuf->written;
81473 INT in_GRi = -1;
81474 INT in_GRj = -1;
81475 INT in_ICCi_2 = -1;
81476 INT in_FCCi_2 = -1;
81477 in_FCCi_2 = FLD (in_FCCi_2);
81478 referenced |= 1 << 3;
81479 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81480 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81482 return cycles;
81483 #undef FLD
81486 static int
81487 model_fr450_fbolr (SIM_CPU *current_cpu, void *sem_arg)
81489 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81490 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81491 const IDESC * UNUSED idesc = abuf->idesc;
81492 int cycles = 0;
81494 int referenced = 0;
81495 int UNUSED insn_referenced = abuf->written;
81496 INT in_GRi = -1;
81497 INT in_GRj = -1;
81498 INT in_ICCi_2 = -1;
81499 INT in_FCCi_2 = -1;
81500 in_FCCi_2 = FLD (in_FCCi_2);
81501 referenced |= 1 << 3;
81502 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81503 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81505 return cycles;
81506 #undef FLD
81509 static int
81510 model_fr450_bcralr (SIM_CPU *current_cpu, void *sem_arg)
81512 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81514 const IDESC * UNUSED idesc = abuf->idesc;
81515 int cycles = 0;
81517 int referenced = 0;
81518 int UNUSED insn_referenced = abuf->written;
81519 INT in_GRi = -1;
81520 INT in_GRj = -1;
81521 INT in_ICCi_2 = -1;
81522 INT in_FCCi_2 = -1;
81523 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
81524 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81526 return cycles;
81527 #undef FLD
81530 static int
81531 model_fr450_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
81533 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81534 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81535 const IDESC * UNUSED idesc = abuf->idesc;
81536 int cycles = 0;
81538 int referenced = 0;
81539 int UNUSED insn_referenced = abuf->written;
81540 INT in_GRi = -1;
81541 INT in_GRj = -1;
81542 INT in_ICCi_2 = -1;
81543 INT in_FCCi_2 = -1;
81544 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81546 return cycles;
81547 #undef FLD
81550 static int
81551 model_fr450_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
81553 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81554 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81555 const IDESC * UNUSED idesc = abuf->idesc;
81556 int cycles = 0;
81558 int referenced = 0;
81559 int UNUSED insn_referenced = abuf->written;
81560 INT in_GRi = -1;
81561 INT in_GRj = -1;
81562 INT in_ICCi_2 = -1;
81563 INT in_FCCi_2 = -1;
81564 in_ICCi_2 = FLD (in_ICCi_2);
81565 referenced |= 1 << 2;
81566 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81567 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81569 return cycles;
81570 #undef FLD
81573 static int
81574 model_fr450_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
81576 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81578 const IDESC * UNUSED idesc = abuf->idesc;
81579 int cycles = 0;
81581 int referenced = 0;
81582 int UNUSED insn_referenced = abuf->written;
81583 INT in_GRi = -1;
81584 INT in_GRj = -1;
81585 INT in_ICCi_2 = -1;
81586 INT in_FCCi_2 = -1;
81587 in_ICCi_2 = FLD (in_ICCi_2);
81588 referenced |= 1 << 2;
81589 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81590 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81592 return cycles;
81593 #undef FLD
81596 static int
81597 model_fr450_bclelr (SIM_CPU *current_cpu, void *sem_arg)
81599 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81601 const IDESC * UNUSED idesc = abuf->idesc;
81602 int cycles = 0;
81604 int referenced = 0;
81605 int UNUSED insn_referenced = abuf->written;
81606 INT in_GRi = -1;
81607 INT in_GRj = -1;
81608 INT in_ICCi_2 = -1;
81609 INT in_FCCi_2 = -1;
81610 in_ICCi_2 = FLD (in_ICCi_2);
81611 referenced |= 1 << 2;
81612 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81613 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81615 return cycles;
81616 #undef FLD
81619 static int
81620 model_fr450_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
81622 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81623 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81624 const IDESC * UNUSED idesc = abuf->idesc;
81625 int cycles = 0;
81627 int referenced = 0;
81628 int UNUSED insn_referenced = abuf->written;
81629 INT in_GRi = -1;
81630 INT in_GRj = -1;
81631 INT in_ICCi_2 = -1;
81632 INT in_FCCi_2 = -1;
81633 in_ICCi_2 = FLD (in_ICCi_2);
81634 referenced |= 1 << 2;
81635 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81636 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81638 return cycles;
81639 #undef FLD
81642 static int
81643 model_fr450_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
81645 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81646 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81647 const IDESC * UNUSED idesc = abuf->idesc;
81648 int cycles = 0;
81650 int referenced = 0;
81651 int UNUSED insn_referenced = abuf->written;
81652 INT in_GRi = -1;
81653 INT in_GRj = -1;
81654 INT in_ICCi_2 = -1;
81655 INT in_FCCi_2 = -1;
81656 in_ICCi_2 = FLD (in_ICCi_2);
81657 referenced |= 1 << 2;
81658 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81659 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81661 return cycles;
81662 #undef FLD
81665 static int
81666 model_fr450_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
81668 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81670 const IDESC * UNUSED idesc = abuf->idesc;
81671 int cycles = 0;
81673 int referenced = 0;
81674 int UNUSED insn_referenced = abuf->written;
81675 INT in_GRi = -1;
81676 INT in_GRj = -1;
81677 INT in_ICCi_2 = -1;
81678 INT in_FCCi_2 = -1;
81679 in_ICCi_2 = FLD (in_ICCi_2);
81680 referenced |= 1 << 2;
81681 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81682 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81684 return cycles;
81685 #undef FLD
81688 static int
81689 model_fr450_bclslr (SIM_CPU *current_cpu, void *sem_arg)
81691 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81693 const IDESC * UNUSED idesc = abuf->idesc;
81694 int cycles = 0;
81696 int referenced = 0;
81697 int UNUSED insn_referenced = abuf->written;
81698 INT in_GRi = -1;
81699 INT in_GRj = -1;
81700 INT in_ICCi_2 = -1;
81701 INT in_FCCi_2 = -1;
81702 in_ICCi_2 = FLD (in_ICCi_2);
81703 referenced |= 1 << 2;
81704 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81705 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81707 return cycles;
81708 #undef FLD
81711 static int
81712 model_fr450_bchilr (SIM_CPU *current_cpu, void *sem_arg)
81714 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81715 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81716 const IDESC * UNUSED idesc = abuf->idesc;
81717 int cycles = 0;
81719 int referenced = 0;
81720 int UNUSED insn_referenced = abuf->written;
81721 INT in_GRi = -1;
81722 INT in_GRj = -1;
81723 INT in_ICCi_2 = -1;
81724 INT in_FCCi_2 = -1;
81725 in_ICCi_2 = FLD (in_ICCi_2);
81726 referenced |= 1 << 2;
81727 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81728 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81730 return cycles;
81731 #undef FLD
81734 static int
81735 model_fr450_bcclr (SIM_CPU *current_cpu, void *sem_arg)
81737 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81739 const IDESC * UNUSED idesc = abuf->idesc;
81740 int cycles = 0;
81742 int referenced = 0;
81743 int UNUSED insn_referenced = abuf->written;
81744 INT in_GRi = -1;
81745 INT in_GRj = -1;
81746 INT in_ICCi_2 = -1;
81747 INT in_FCCi_2 = -1;
81748 in_ICCi_2 = FLD (in_ICCi_2);
81749 referenced |= 1 << 2;
81750 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81751 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81753 return cycles;
81754 #undef FLD
81757 static int
81758 model_fr450_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
81760 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81762 const IDESC * UNUSED idesc = abuf->idesc;
81763 int cycles = 0;
81765 int referenced = 0;
81766 int UNUSED insn_referenced = abuf->written;
81767 INT in_GRi = -1;
81768 INT in_GRj = -1;
81769 INT in_ICCi_2 = -1;
81770 INT in_FCCi_2 = -1;
81771 in_ICCi_2 = FLD (in_ICCi_2);
81772 referenced |= 1 << 2;
81773 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81774 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81776 return cycles;
81777 #undef FLD
81780 static int
81781 model_fr450_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
81783 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81785 const IDESC * UNUSED idesc = abuf->idesc;
81786 int cycles = 0;
81788 int referenced = 0;
81789 int UNUSED insn_referenced = abuf->written;
81790 INT in_GRi = -1;
81791 INT in_GRj = -1;
81792 INT in_ICCi_2 = -1;
81793 INT in_FCCi_2 = -1;
81794 in_ICCi_2 = FLD (in_ICCi_2);
81795 referenced |= 1 << 2;
81796 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81797 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81799 return cycles;
81800 #undef FLD
81803 static int
81804 model_fr450_bcplr (SIM_CPU *current_cpu, void *sem_arg)
81806 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81807 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81808 const IDESC * UNUSED idesc = abuf->idesc;
81809 int cycles = 0;
81811 int referenced = 0;
81812 int UNUSED insn_referenced = abuf->written;
81813 INT in_GRi = -1;
81814 INT in_GRj = -1;
81815 INT in_ICCi_2 = -1;
81816 INT in_FCCi_2 = -1;
81817 in_ICCi_2 = FLD (in_ICCi_2);
81818 referenced |= 1 << 2;
81819 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81820 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81822 return cycles;
81823 #undef FLD
81826 static int
81827 model_fr450_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
81829 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81831 const IDESC * UNUSED idesc = abuf->idesc;
81832 int cycles = 0;
81834 int referenced = 0;
81835 int UNUSED insn_referenced = abuf->written;
81836 INT in_GRi = -1;
81837 INT in_GRj = -1;
81838 INT in_ICCi_2 = -1;
81839 INT in_FCCi_2 = -1;
81840 in_ICCi_2 = FLD (in_ICCi_2);
81841 referenced |= 1 << 2;
81842 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81843 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81845 return cycles;
81846 #undef FLD
81849 static int
81850 model_fr450_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
81852 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81854 const IDESC * UNUSED idesc = abuf->idesc;
81855 int cycles = 0;
81857 int referenced = 0;
81858 int UNUSED insn_referenced = abuf->written;
81859 INT in_GRi = -1;
81860 INT in_GRj = -1;
81861 INT in_ICCi_2 = -1;
81862 INT in_FCCi_2 = -1;
81863 in_ICCi_2 = FLD (in_ICCi_2);
81864 referenced |= 1 << 2;
81865 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81866 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81868 return cycles;
81869 #undef FLD
81872 static int
81873 model_fr450_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
81875 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81877 const IDESC * UNUSED idesc = abuf->idesc;
81878 int cycles = 0;
81880 int referenced = 0;
81881 int UNUSED insn_referenced = abuf->written;
81882 INT in_GRi = -1;
81883 INT in_GRj = -1;
81884 INT in_ICCi_2 = -1;
81885 INT in_FCCi_2 = -1;
81886 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
81887 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81889 return cycles;
81890 #undef FLD
81893 static int
81894 model_fr450_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
81896 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81898 const IDESC * UNUSED idesc = abuf->idesc;
81899 int cycles = 0;
81901 int referenced = 0;
81902 int UNUSED insn_referenced = abuf->written;
81903 INT in_GRi = -1;
81904 INT in_GRj = -1;
81905 INT in_ICCi_2 = -1;
81906 INT in_FCCi_2 = -1;
81907 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81909 return cycles;
81910 #undef FLD
81913 static int
81914 model_fr450_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
81916 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81918 const IDESC * UNUSED idesc = abuf->idesc;
81919 int cycles = 0;
81921 int referenced = 0;
81922 int UNUSED insn_referenced = abuf->written;
81923 INT in_GRi = -1;
81924 INT in_GRj = -1;
81925 INT in_ICCi_2 = -1;
81926 INT in_FCCi_2 = -1;
81927 in_FCCi_2 = FLD (in_FCCi_2);
81928 referenced |= 1 << 3;
81929 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81930 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81932 return cycles;
81933 #undef FLD
81936 static int
81937 model_fr450_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
81939 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81941 const IDESC * UNUSED idesc = abuf->idesc;
81942 int cycles = 0;
81944 int referenced = 0;
81945 int UNUSED insn_referenced = abuf->written;
81946 INT in_GRi = -1;
81947 INT in_GRj = -1;
81948 INT in_ICCi_2 = -1;
81949 INT in_FCCi_2 = -1;
81950 in_FCCi_2 = FLD (in_FCCi_2);
81951 referenced |= 1 << 3;
81952 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81953 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81955 return cycles;
81956 #undef FLD
81959 static int
81960 model_fr450_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
81962 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81963 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81964 const IDESC * UNUSED idesc = abuf->idesc;
81965 int cycles = 0;
81967 int referenced = 0;
81968 int UNUSED insn_referenced = abuf->written;
81969 INT in_GRi = -1;
81970 INT in_GRj = -1;
81971 INT in_ICCi_2 = -1;
81972 INT in_FCCi_2 = -1;
81973 in_FCCi_2 = FLD (in_FCCi_2);
81974 referenced |= 1 << 3;
81975 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81976 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81978 return cycles;
81979 #undef FLD
81982 static int
81983 model_fr450_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
81985 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81986 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81987 const IDESC * UNUSED idesc = abuf->idesc;
81988 int cycles = 0;
81990 int referenced = 0;
81991 int UNUSED insn_referenced = abuf->written;
81992 INT in_GRi = -1;
81993 INT in_GRj = -1;
81994 INT in_ICCi_2 = -1;
81995 INT in_FCCi_2 = -1;
81996 in_FCCi_2 = FLD (in_FCCi_2);
81997 referenced |= 1 << 3;
81998 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81999 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82001 return cycles;
82002 #undef FLD
82005 static int
82006 model_fr450_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
82008 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82010 const IDESC * UNUSED idesc = abuf->idesc;
82011 int cycles = 0;
82013 int referenced = 0;
82014 int UNUSED insn_referenced = abuf->written;
82015 INT in_GRi = -1;
82016 INT in_GRj = -1;
82017 INT in_ICCi_2 = -1;
82018 INT in_FCCi_2 = -1;
82019 in_FCCi_2 = FLD (in_FCCi_2);
82020 referenced |= 1 << 3;
82021 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82022 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82024 return cycles;
82025 #undef FLD
82028 static int
82029 model_fr450_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
82031 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82033 const IDESC * UNUSED idesc = abuf->idesc;
82034 int cycles = 0;
82036 int referenced = 0;
82037 int UNUSED insn_referenced = abuf->written;
82038 INT in_GRi = -1;
82039 INT in_GRj = -1;
82040 INT in_ICCi_2 = -1;
82041 INT in_FCCi_2 = -1;
82042 in_FCCi_2 = FLD (in_FCCi_2);
82043 referenced |= 1 << 3;
82044 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82045 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82047 return cycles;
82048 #undef FLD
82051 static int
82052 model_fr450_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
82054 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82056 const IDESC * UNUSED idesc = abuf->idesc;
82057 int cycles = 0;
82059 int referenced = 0;
82060 int UNUSED insn_referenced = abuf->written;
82061 INT in_GRi = -1;
82062 INT in_GRj = -1;
82063 INT in_ICCi_2 = -1;
82064 INT in_FCCi_2 = -1;
82065 in_FCCi_2 = FLD (in_FCCi_2);
82066 referenced |= 1 << 3;
82067 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82068 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82070 return cycles;
82071 #undef FLD
82074 static int
82075 model_fr450_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
82077 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82078 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82079 const IDESC * UNUSED idesc = abuf->idesc;
82080 int cycles = 0;
82082 int referenced = 0;
82083 int UNUSED insn_referenced = abuf->written;
82084 INT in_GRi = -1;
82085 INT in_GRj = -1;
82086 INT in_ICCi_2 = -1;
82087 INT in_FCCi_2 = -1;
82088 in_FCCi_2 = FLD (in_FCCi_2);
82089 referenced |= 1 << 3;
82090 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82091 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82093 return cycles;
82094 #undef FLD
82097 static int
82098 model_fr450_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
82100 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82102 const IDESC * UNUSED idesc = abuf->idesc;
82103 int cycles = 0;
82105 int referenced = 0;
82106 int UNUSED insn_referenced = abuf->written;
82107 INT in_GRi = -1;
82108 INT in_GRj = -1;
82109 INT in_ICCi_2 = -1;
82110 INT in_FCCi_2 = -1;
82111 in_FCCi_2 = FLD (in_FCCi_2);
82112 referenced |= 1 << 3;
82113 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82114 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82116 return cycles;
82117 #undef FLD
82120 static int
82121 model_fr450_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
82123 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82125 const IDESC * UNUSED idesc = abuf->idesc;
82126 int cycles = 0;
82128 int referenced = 0;
82129 int UNUSED insn_referenced = abuf->written;
82130 INT in_GRi = -1;
82131 INT in_GRj = -1;
82132 INT in_ICCi_2 = -1;
82133 INT in_FCCi_2 = -1;
82134 in_FCCi_2 = FLD (in_FCCi_2);
82135 referenced |= 1 << 3;
82136 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82137 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82139 return cycles;
82140 #undef FLD
82143 static int
82144 model_fr450_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
82146 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82148 const IDESC * UNUSED idesc = abuf->idesc;
82149 int cycles = 0;
82151 int referenced = 0;
82152 int UNUSED insn_referenced = abuf->written;
82153 INT in_GRi = -1;
82154 INT in_GRj = -1;
82155 INT in_ICCi_2 = -1;
82156 INT in_FCCi_2 = -1;
82157 in_FCCi_2 = FLD (in_FCCi_2);
82158 referenced |= 1 << 3;
82159 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82160 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82162 return cycles;
82163 #undef FLD
82166 static int
82167 model_fr450_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
82169 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82170 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82171 const IDESC * UNUSED idesc = abuf->idesc;
82172 int cycles = 0;
82174 int referenced = 0;
82175 int UNUSED insn_referenced = abuf->written;
82176 INT in_GRi = -1;
82177 INT in_GRj = -1;
82178 INT in_ICCi_2 = -1;
82179 INT in_FCCi_2 = -1;
82180 in_FCCi_2 = FLD (in_FCCi_2);
82181 referenced |= 1 << 3;
82182 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82183 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82185 return cycles;
82186 #undef FLD
82189 static int
82190 model_fr450_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
82192 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82194 const IDESC * UNUSED idesc = abuf->idesc;
82195 int cycles = 0;
82197 int referenced = 0;
82198 int UNUSED insn_referenced = abuf->written;
82199 INT in_GRi = -1;
82200 INT in_GRj = -1;
82201 INT in_ICCi_2 = -1;
82202 INT in_FCCi_2 = -1;
82203 in_FCCi_2 = FLD (in_FCCi_2);
82204 referenced |= 1 << 3;
82205 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82206 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82208 return cycles;
82209 #undef FLD
82212 static int
82213 model_fr450_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
82215 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82217 const IDESC * UNUSED idesc = abuf->idesc;
82218 int cycles = 0;
82220 int referenced = 0;
82221 int UNUSED insn_referenced = abuf->written;
82222 INT in_GRi = -1;
82223 INT in_GRj = -1;
82224 INT in_ICCi_2 = -1;
82225 INT in_FCCi_2 = -1;
82226 in_FCCi_2 = FLD (in_FCCi_2);
82227 referenced |= 1 << 3;
82228 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82229 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82231 return cycles;
82232 #undef FLD
82235 static int
82236 model_fr450_jmpl (SIM_CPU *current_cpu, void *sem_arg)
82238 #define FLD(f) abuf->fields.sfmt_cjmpl.f
82239 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82240 const IDESC * UNUSED idesc = abuf->idesc;
82241 int cycles = 0;
82243 int referenced = 0;
82244 int UNUSED insn_referenced = abuf->written;
82245 INT in_GRi = -1;
82246 INT in_GRj = -1;
82247 INT in_ICCi_2 = -1;
82248 INT in_FCCi_2 = -1;
82249 in_GRi = FLD (in_GRi);
82250 in_GRj = FLD (in_GRj);
82251 referenced |= 1 << 0;
82252 referenced |= 1 << 1;
82253 referenced |= 1 << 4;
82254 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82256 return cycles;
82257 #undef FLD
82260 static int
82261 model_fr450_calll (SIM_CPU *current_cpu, void *sem_arg)
82263 #define FLD(f) abuf->fields.sfmt_cjmpl.f
82264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82265 const IDESC * UNUSED idesc = abuf->idesc;
82266 int cycles = 0;
82268 int referenced = 0;
82269 int UNUSED insn_referenced = abuf->written;
82270 INT in_GRi = -1;
82271 INT in_GRj = -1;
82272 INT in_ICCi_2 = -1;
82273 INT in_FCCi_2 = -1;
82274 in_GRi = FLD (in_GRi);
82275 in_GRj = FLD (in_GRj);
82276 referenced |= 1 << 0;
82277 referenced |= 1 << 1;
82278 referenced |= 1 << 4;
82279 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82281 return cycles;
82282 #undef FLD
82285 static int
82286 model_fr450_jmpil (SIM_CPU *current_cpu, void *sem_arg)
82288 #define FLD(f) abuf->fields.sfmt_jmpil.f
82289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82290 const IDESC * UNUSED idesc = abuf->idesc;
82291 int cycles = 0;
82293 int referenced = 0;
82294 int UNUSED insn_referenced = abuf->written;
82295 INT in_GRi = -1;
82296 INT in_GRj = -1;
82297 INT in_ICCi_2 = -1;
82298 INT in_FCCi_2 = -1;
82299 in_GRi = FLD (in_GRi);
82300 referenced |= 1 << 0;
82301 referenced |= 1 << 4;
82302 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82304 return cycles;
82305 #undef FLD
82308 static int
82309 model_fr450_callil (SIM_CPU *current_cpu, void *sem_arg)
82311 #define FLD(f) abuf->fields.sfmt_jmpil.f
82312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82313 const IDESC * UNUSED idesc = abuf->idesc;
82314 int cycles = 0;
82316 int referenced = 0;
82317 int UNUSED insn_referenced = abuf->written;
82318 INT in_GRi = -1;
82319 INT in_GRj = -1;
82320 INT in_ICCi_2 = -1;
82321 INT in_FCCi_2 = -1;
82322 in_GRi = FLD (in_GRi);
82323 referenced |= 1 << 0;
82324 referenced |= 1 << 4;
82325 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82327 return cycles;
82328 #undef FLD
82331 static int
82332 model_fr450_call (SIM_CPU *current_cpu, void *sem_arg)
82334 #define FLD(f) abuf->fields.sfmt_call.f
82335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82336 const IDESC * UNUSED idesc = abuf->idesc;
82337 int cycles = 0;
82339 int referenced = 0;
82340 int UNUSED insn_referenced = abuf->written;
82341 INT in_GRi = -1;
82342 INT in_GRj = -1;
82343 INT in_ICCi_2 = -1;
82344 INT in_FCCi_2 = -1;
82345 referenced |= 1 << 4;
82346 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82348 return cycles;
82349 #undef FLD
82352 static int
82353 model_fr450_rett (SIM_CPU *current_cpu, void *sem_arg)
82355 #define FLD(f) abuf->fields.sfmt_rett.f
82356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82357 const IDESC * UNUSED idesc = abuf->idesc;
82358 int cycles = 0;
82360 int referenced = 0;
82361 int UNUSED insn_referenced = abuf->written;
82362 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
82364 return cycles;
82365 #undef FLD
82368 static int
82369 model_fr450_rei (SIM_CPU *current_cpu, void *sem_arg)
82371 #define FLD(f) abuf->fields.sfmt_empty.f
82372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82373 const IDESC * UNUSED idesc = abuf->idesc;
82374 int cycles = 0;
82376 int referenced = 0;
82377 int UNUSED insn_referenced = abuf->written;
82378 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
82380 return cycles;
82381 #undef FLD
82384 static int
82385 model_fr450_tra (SIM_CPU *current_cpu, void *sem_arg)
82387 #define FLD(f) abuf->fields.sfmt_ftne.f
82388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82389 const IDESC * UNUSED idesc = abuf->idesc;
82390 int cycles = 0;
82392 int referenced = 0;
82393 int UNUSED insn_referenced = abuf->written;
82394 INT in_GRi = -1;
82395 INT in_GRj = -1;
82396 INT in_ICCi_2 = -1;
82397 INT in_FCCi_2 = -1;
82398 in_GRi = FLD (in_GRi);
82399 in_GRj = FLD (in_GRj);
82400 referenced |= 1 << 0;
82401 referenced |= 1 << 1;
82402 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82404 return cycles;
82405 #undef FLD
82408 static int
82409 model_fr450_tno (SIM_CPU *current_cpu, void *sem_arg)
82411 #define FLD(f) abuf->fields.sfmt_empty.f
82412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82413 const IDESC * UNUSED idesc = abuf->idesc;
82414 int cycles = 0;
82416 int referenced = 0;
82417 int UNUSED insn_referenced = abuf->written;
82418 INT in_GRi = -1;
82419 INT in_GRj = -1;
82420 INT in_ICCi_2 = -1;
82421 INT in_FCCi_2 = -1;
82422 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82424 return cycles;
82425 #undef FLD
82428 static int
82429 model_fr450_teq (SIM_CPU *current_cpu, void *sem_arg)
82431 #define FLD(f) abuf->fields.sfmt_teq.f
82432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82433 const IDESC * UNUSED idesc = abuf->idesc;
82434 int cycles = 0;
82436 int referenced = 0;
82437 int UNUSED insn_referenced = abuf->written;
82438 INT in_GRi = -1;
82439 INT in_GRj = -1;
82440 INT in_ICCi_2 = -1;
82441 INT in_FCCi_2 = -1;
82442 in_GRi = FLD (in_GRi);
82443 in_GRj = FLD (in_GRj);
82444 in_ICCi_2 = FLD (in_ICCi_2);
82445 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82446 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82447 referenced |= 1 << 2;
82448 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82450 return cycles;
82451 #undef FLD
82454 static int
82455 model_fr450_tne (SIM_CPU *current_cpu, void *sem_arg)
82457 #define FLD(f) abuf->fields.sfmt_teq.f
82458 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82459 const IDESC * UNUSED idesc = abuf->idesc;
82460 int cycles = 0;
82462 int referenced = 0;
82463 int UNUSED insn_referenced = abuf->written;
82464 INT in_GRi = -1;
82465 INT in_GRj = -1;
82466 INT in_ICCi_2 = -1;
82467 INT in_FCCi_2 = -1;
82468 in_GRi = FLD (in_GRi);
82469 in_GRj = FLD (in_GRj);
82470 in_ICCi_2 = FLD (in_ICCi_2);
82471 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82472 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82473 referenced |= 1 << 2;
82474 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82476 return cycles;
82477 #undef FLD
82480 static int
82481 model_fr450_tle (SIM_CPU *current_cpu, void *sem_arg)
82483 #define FLD(f) abuf->fields.sfmt_teq.f
82484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82485 const IDESC * UNUSED idesc = abuf->idesc;
82486 int cycles = 0;
82488 int referenced = 0;
82489 int UNUSED insn_referenced = abuf->written;
82490 INT in_GRi = -1;
82491 INT in_GRj = -1;
82492 INT in_ICCi_2 = -1;
82493 INT in_FCCi_2 = -1;
82494 in_GRi = FLD (in_GRi);
82495 in_GRj = FLD (in_GRj);
82496 in_ICCi_2 = FLD (in_ICCi_2);
82497 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82498 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82499 referenced |= 1 << 2;
82500 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82502 return cycles;
82503 #undef FLD
82506 static int
82507 model_fr450_tgt (SIM_CPU *current_cpu, void *sem_arg)
82509 #define FLD(f) abuf->fields.sfmt_teq.f
82510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82511 const IDESC * UNUSED idesc = abuf->idesc;
82512 int cycles = 0;
82514 int referenced = 0;
82515 int UNUSED insn_referenced = abuf->written;
82516 INT in_GRi = -1;
82517 INT in_GRj = -1;
82518 INT in_ICCi_2 = -1;
82519 INT in_FCCi_2 = -1;
82520 in_GRi = FLD (in_GRi);
82521 in_GRj = FLD (in_GRj);
82522 in_ICCi_2 = FLD (in_ICCi_2);
82523 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82524 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82525 referenced |= 1 << 2;
82526 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82528 return cycles;
82529 #undef FLD
82532 static int
82533 model_fr450_tlt (SIM_CPU *current_cpu, void *sem_arg)
82535 #define FLD(f) abuf->fields.sfmt_teq.f
82536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82537 const IDESC * UNUSED idesc = abuf->idesc;
82538 int cycles = 0;
82540 int referenced = 0;
82541 int UNUSED insn_referenced = abuf->written;
82542 INT in_GRi = -1;
82543 INT in_GRj = -1;
82544 INT in_ICCi_2 = -1;
82545 INT in_FCCi_2 = -1;
82546 in_GRi = FLD (in_GRi);
82547 in_GRj = FLD (in_GRj);
82548 in_ICCi_2 = FLD (in_ICCi_2);
82549 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82550 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82551 referenced |= 1 << 2;
82552 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82554 return cycles;
82555 #undef FLD
82558 static int
82559 model_fr450_tge (SIM_CPU *current_cpu, void *sem_arg)
82561 #define FLD(f) abuf->fields.sfmt_teq.f
82562 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82563 const IDESC * UNUSED idesc = abuf->idesc;
82564 int cycles = 0;
82566 int referenced = 0;
82567 int UNUSED insn_referenced = abuf->written;
82568 INT in_GRi = -1;
82569 INT in_GRj = -1;
82570 INT in_ICCi_2 = -1;
82571 INT in_FCCi_2 = -1;
82572 in_GRi = FLD (in_GRi);
82573 in_GRj = FLD (in_GRj);
82574 in_ICCi_2 = FLD (in_ICCi_2);
82575 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82576 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82577 referenced |= 1 << 2;
82578 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82580 return cycles;
82581 #undef FLD
82584 static int
82585 model_fr450_tls (SIM_CPU *current_cpu, void *sem_arg)
82587 #define FLD(f) abuf->fields.sfmt_teq.f
82588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82589 const IDESC * UNUSED idesc = abuf->idesc;
82590 int cycles = 0;
82592 int referenced = 0;
82593 int UNUSED insn_referenced = abuf->written;
82594 INT in_GRi = -1;
82595 INT in_GRj = -1;
82596 INT in_ICCi_2 = -1;
82597 INT in_FCCi_2 = -1;
82598 in_GRi = FLD (in_GRi);
82599 in_GRj = FLD (in_GRj);
82600 in_ICCi_2 = FLD (in_ICCi_2);
82601 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82602 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82603 referenced |= 1 << 2;
82604 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82606 return cycles;
82607 #undef FLD
82610 static int
82611 model_fr450_thi (SIM_CPU *current_cpu, void *sem_arg)
82613 #define FLD(f) abuf->fields.sfmt_teq.f
82614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82615 const IDESC * UNUSED idesc = abuf->idesc;
82616 int cycles = 0;
82618 int referenced = 0;
82619 int UNUSED insn_referenced = abuf->written;
82620 INT in_GRi = -1;
82621 INT in_GRj = -1;
82622 INT in_ICCi_2 = -1;
82623 INT in_FCCi_2 = -1;
82624 in_GRi = FLD (in_GRi);
82625 in_GRj = FLD (in_GRj);
82626 in_ICCi_2 = FLD (in_ICCi_2);
82627 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82628 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82629 referenced |= 1 << 2;
82630 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82632 return cycles;
82633 #undef FLD
82636 static int
82637 model_fr450_tc (SIM_CPU *current_cpu, void *sem_arg)
82639 #define FLD(f) abuf->fields.sfmt_teq.f
82640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82641 const IDESC * UNUSED idesc = abuf->idesc;
82642 int cycles = 0;
82644 int referenced = 0;
82645 int UNUSED insn_referenced = abuf->written;
82646 INT in_GRi = -1;
82647 INT in_GRj = -1;
82648 INT in_ICCi_2 = -1;
82649 INT in_FCCi_2 = -1;
82650 in_GRi = FLD (in_GRi);
82651 in_GRj = FLD (in_GRj);
82652 in_ICCi_2 = FLD (in_ICCi_2);
82653 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82654 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82655 referenced |= 1 << 2;
82656 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82658 return cycles;
82659 #undef FLD
82662 static int
82663 model_fr450_tnc (SIM_CPU *current_cpu, void *sem_arg)
82665 #define FLD(f) abuf->fields.sfmt_teq.f
82666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82667 const IDESC * UNUSED idesc = abuf->idesc;
82668 int cycles = 0;
82670 int referenced = 0;
82671 int UNUSED insn_referenced = abuf->written;
82672 INT in_GRi = -1;
82673 INT in_GRj = -1;
82674 INT in_ICCi_2 = -1;
82675 INT in_FCCi_2 = -1;
82676 in_GRi = FLD (in_GRi);
82677 in_GRj = FLD (in_GRj);
82678 in_ICCi_2 = FLD (in_ICCi_2);
82679 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82680 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82681 referenced |= 1 << 2;
82682 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82684 return cycles;
82685 #undef FLD
82688 static int
82689 model_fr450_tn (SIM_CPU *current_cpu, void *sem_arg)
82691 #define FLD(f) abuf->fields.sfmt_teq.f
82692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82693 const IDESC * UNUSED idesc = abuf->idesc;
82694 int cycles = 0;
82696 int referenced = 0;
82697 int UNUSED insn_referenced = abuf->written;
82698 INT in_GRi = -1;
82699 INT in_GRj = -1;
82700 INT in_ICCi_2 = -1;
82701 INT in_FCCi_2 = -1;
82702 in_GRi = FLD (in_GRi);
82703 in_GRj = FLD (in_GRj);
82704 in_ICCi_2 = FLD (in_ICCi_2);
82705 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82706 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82707 referenced |= 1 << 2;
82708 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82710 return cycles;
82711 #undef FLD
82714 static int
82715 model_fr450_tp (SIM_CPU *current_cpu, void *sem_arg)
82717 #define FLD(f) abuf->fields.sfmt_teq.f
82718 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82719 const IDESC * UNUSED idesc = abuf->idesc;
82720 int cycles = 0;
82722 int referenced = 0;
82723 int UNUSED insn_referenced = abuf->written;
82724 INT in_GRi = -1;
82725 INT in_GRj = -1;
82726 INT in_ICCi_2 = -1;
82727 INT in_FCCi_2 = -1;
82728 in_GRi = FLD (in_GRi);
82729 in_GRj = FLD (in_GRj);
82730 in_ICCi_2 = FLD (in_ICCi_2);
82731 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82732 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82733 referenced |= 1 << 2;
82734 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82736 return cycles;
82737 #undef FLD
82740 static int
82741 model_fr450_tv (SIM_CPU *current_cpu, void *sem_arg)
82743 #define FLD(f) abuf->fields.sfmt_teq.f
82744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82745 const IDESC * UNUSED idesc = abuf->idesc;
82746 int cycles = 0;
82748 int referenced = 0;
82749 int UNUSED insn_referenced = abuf->written;
82750 INT in_GRi = -1;
82751 INT in_GRj = -1;
82752 INT in_ICCi_2 = -1;
82753 INT in_FCCi_2 = -1;
82754 in_GRi = FLD (in_GRi);
82755 in_GRj = FLD (in_GRj);
82756 in_ICCi_2 = FLD (in_ICCi_2);
82757 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82758 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82759 referenced |= 1 << 2;
82760 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82762 return cycles;
82763 #undef FLD
82766 static int
82767 model_fr450_tnv (SIM_CPU *current_cpu, void *sem_arg)
82769 #define FLD(f) abuf->fields.sfmt_teq.f
82770 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82771 const IDESC * UNUSED idesc = abuf->idesc;
82772 int cycles = 0;
82774 int referenced = 0;
82775 int UNUSED insn_referenced = abuf->written;
82776 INT in_GRi = -1;
82777 INT in_GRj = -1;
82778 INT in_ICCi_2 = -1;
82779 INT in_FCCi_2 = -1;
82780 in_GRi = FLD (in_GRi);
82781 in_GRj = FLD (in_GRj);
82782 in_ICCi_2 = FLD (in_ICCi_2);
82783 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82784 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82785 referenced |= 1 << 2;
82786 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82788 return cycles;
82789 #undef FLD
82792 static int
82793 model_fr450_ftra (SIM_CPU *current_cpu, void *sem_arg)
82795 #define FLD(f) abuf->fields.sfmt_ftne.f
82796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82797 const IDESC * UNUSED idesc = abuf->idesc;
82798 int cycles = 0;
82800 int referenced = 0;
82801 int UNUSED insn_referenced = abuf->written;
82802 INT in_GRi = -1;
82803 INT in_GRj = -1;
82804 INT in_ICCi_2 = -1;
82805 INT in_FCCi_2 = -1;
82806 in_GRi = FLD (in_GRi);
82807 in_GRj = FLD (in_GRj);
82808 referenced |= 1 << 0;
82809 referenced |= 1 << 1;
82810 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82812 return cycles;
82813 #undef FLD
82816 static int
82817 model_fr450_ftno (SIM_CPU *current_cpu, void *sem_arg)
82819 #define FLD(f) abuf->fields.sfmt_empty.f
82820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82821 const IDESC * UNUSED idesc = abuf->idesc;
82822 int cycles = 0;
82824 int referenced = 0;
82825 int UNUSED insn_referenced = abuf->written;
82826 INT in_GRi = -1;
82827 INT in_GRj = -1;
82828 INT in_ICCi_2 = -1;
82829 INT in_FCCi_2 = -1;
82830 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82832 return cycles;
82833 #undef FLD
82836 static int
82837 model_fr450_ftne (SIM_CPU *current_cpu, void *sem_arg)
82839 #define FLD(f) abuf->fields.sfmt_ftne.f
82840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82841 const IDESC * UNUSED idesc = abuf->idesc;
82842 int cycles = 0;
82844 int referenced = 0;
82845 int UNUSED insn_referenced = abuf->written;
82846 INT in_GRi = -1;
82847 INT in_GRj = -1;
82848 INT in_ICCi_2 = -1;
82849 INT in_FCCi_2 = -1;
82850 in_GRi = FLD (in_GRi);
82851 in_GRj = FLD (in_GRj);
82852 in_FCCi_2 = FLD (in_FCCi_2);
82853 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82854 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82855 referenced |= 1 << 3;
82856 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82858 return cycles;
82859 #undef FLD
82862 static int
82863 model_fr450_fteq (SIM_CPU *current_cpu, void *sem_arg)
82865 #define FLD(f) abuf->fields.sfmt_ftne.f
82866 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82867 const IDESC * UNUSED idesc = abuf->idesc;
82868 int cycles = 0;
82870 int referenced = 0;
82871 int UNUSED insn_referenced = abuf->written;
82872 INT in_GRi = -1;
82873 INT in_GRj = -1;
82874 INT in_ICCi_2 = -1;
82875 INT in_FCCi_2 = -1;
82876 in_GRi = FLD (in_GRi);
82877 in_GRj = FLD (in_GRj);
82878 in_FCCi_2 = FLD (in_FCCi_2);
82879 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82880 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82881 referenced |= 1 << 3;
82882 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82884 return cycles;
82885 #undef FLD
82888 static int
82889 model_fr450_ftlg (SIM_CPU *current_cpu, void *sem_arg)
82891 #define FLD(f) abuf->fields.sfmt_ftne.f
82892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82893 const IDESC * UNUSED idesc = abuf->idesc;
82894 int cycles = 0;
82896 int referenced = 0;
82897 int UNUSED insn_referenced = abuf->written;
82898 INT in_GRi = -1;
82899 INT in_GRj = -1;
82900 INT in_ICCi_2 = -1;
82901 INT in_FCCi_2 = -1;
82902 in_GRi = FLD (in_GRi);
82903 in_GRj = FLD (in_GRj);
82904 in_FCCi_2 = FLD (in_FCCi_2);
82905 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82906 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82907 referenced |= 1 << 3;
82908 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82910 return cycles;
82911 #undef FLD
82914 static int
82915 model_fr450_ftue (SIM_CPU *current_cpu, void *sem_arg)
82917 #define FLD(f) abuf->fields.sfmt_ftne.f
82918 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82919 const IDESC * UNUSED idesc = abuf->idesc;
82920 int cycles = 0;
82922 int referenced = 0;
82923 int UNUSED insn_referenced = abuf->written;
82924 INT in_GRi = -1;
82925 INT in_GRj = -1;
82926 INT in_ICCi_2 = -1;
82927 INT in_FCCi_2 = -1;
82928 in_GRi = FLD (in_GRi);
82929 in_GRj = FLD (in_GRj);
82930 in_FCCi_2 = FLD (in_FCCi_2);
82931 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82932 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82933 referenced |= 1 << 3;
82934 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82936 return cycles;
82937 #undef FLD
82940 static int
82941 model_fr450_ftul (SIM_CPU *current_cpu, void *sem_arg)
82943 #define FLD(f) abuf->fields.sfmt_ftne.f
82944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82945 const IDESC * UNUSED idesc = abuf->idesc;
82946 int cycles = 0;
82948 int referenced = 0;
82949 int UNUSED insn_referenced = abuf->written;
82950 INT in_GRi = -1;
82951 INT in_GRj = -1;
82952 INT in_ICCi_2 = -1;
82953 INT in_FCCi_2 = -1;
82954 in_GRi = FLD (in_GRi);
82955 in_GRj = FLD (in_GRj);
82956 in_FCCi_2 = FLD (in_FCCi_2);
82957 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82958 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82959 referenced |= 1 << 3;
82960 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82962 return cycles;
82963 #undef FLD
82966 static int
82967 model_fr450_ftge (SIM_CPU *current_cpu, void *sem_arg)
82969 #define FLD(f) abuf->fields.sfmt_ftne.f
82970 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82971 const IDESC * UNUSED idesc = abuf->idesc;
82972 int cycles = 0;
82974 int referenced = 0;
82975 int UNUSED insn_referenced = abuf->written;
82976 INT in_GRi = -1;
82977 INT in_GRj = -1;
82978 INT in_ICCi_2 = -1;
82979 INT in_FCCi_2 = -1;
82980 in_GRi = FLD (in_GRi);
82981 in_GRj = FLD (in_GRj);
82982 in_FCCi_2 = FLD (in_FCCi_2);
82983 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82984 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82985 referenced |= 1 << 3;
82986 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82988 return cycles;
82989 #undef FLD
82992 static int
82993 model_fr450_ftlt (SIM_CPU *current_cpu, void *sem_arg)
82995 #define FLD(f) abuf->fields.sfmt_ftne.f
82996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82997 const IDESC * UNUSED idesc = abuf->idesc;
82998 int cycles = 0;
83000 int referenced = 0;
83001 int UNUSED insn_referenced = abuf->written;
83002 INT in_GRi = -1;
83003 INT in_GRj = -1;
83004 INT in_ICCi_2 = -1;
83005 INT in_FCCi_2 = -1;
83006 in_GRi = FLD (in_GRi);
83007 in_GRj = FLD (in_GRj);
83008 in_FCCi_2 = FLD (in_FCCi_2);
83009 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83010 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83011 referenced |= 1 << 3;
83012 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83014 return cycles;
83015 #undef FLD
83018 static int
83019 model_fr450_ftuge (SIM_CPU *current_cpu, void *sem_arg)
83021 #define FLD(f) abuf->fields.sfmt_ftne.f
83022 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83023 const IDESC * UNUSED idesc = abuf->idesc;
83024 int cycles = 0;
83026 int referenced = 0;
83027 int UNUSED insn_referenced = abuf->written;
83028 INT in_GRi = -1;
83029 INT in_GRj = -1;
83030 INT in_ICCi_2 = -1;
83031 INT in_FCCi_2 = -1;
83032 in_GRi = FLD (in_GRi);
83033 in_GRj = FLD (in_GRj);
83034 in_FCCi_2 = FLD (in_FCCi_2);
83035 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83036 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83037 referenced |= 1 << 3;
83038 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83040 return cycles;
83041 #undef FLD
83044 static int
83045 model_fr450_ftug (SIM_CPU *current_cpu, void *sem_arg)
83047 #define FLD(f) abuf->fields.sfmt_ftne.f
83048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83049 const IDESC * UNUSED idesc = abuf->idesc;
83050 int cycles = 0;
83052 int referenced = 0;
83053 int UNUSED insn_referenced = abuf->written;
83054 INT in_GRi = -1;
83055 INT in_GRj = -1;
83056 INT in_ICCi_2 = -1;
83057 INT in_FCCi_2 = -1;
83058 in_GRi = FLD (in_GRi);
83059 in_GRj = FLD (in_GRj);
83060 in_FCCi_2 = FLD (in_FCCi_2);
83061 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83062 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83063 referenced |= 1 << 3;
83064 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83066 return cycles;
83067 #undef FLD
83070 static int
83071 model_fr450_ftle (SIM_CPU *current_cpu, void *sem_arg)
83073 #define FLD(f) abuf->fields.sfmt_ftne.f
83074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83075 const IDESC * UNUSED idesc = abuf->idesc;
83076 int cycles = 0;
83078 int referenced = 0;
83079 int UNUSED insn_referenced = abuf->written;
83080 INT in_GRi = -1;
83081 INT in_GRj = -1;
83082 INT in_ICCi_2 = -1;
83083 INT in_FCCi_2 = -1;
83084 in_GRi = FLD (in_GRi);
83085 in_GRj = FLD (in_GRj);
83086 in_FCCi_2 = FLD (in_FCCi_2);
83087 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83088 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83089 referenced |= 1 << 3;
83090 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83092 return cycles;
83093 #undef FLD
83096 static int
83097 model_fr450_ftgt (SIM_CPU *current_cpu, void *sem_arg)
83099 #define FLD(f) abuf->fields.sfmt_ftne.f
83100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83101 const IDESC * UNUSED idesc = abuf->idesc;
83102 int cycles = 0;
83104 int referenced = 0;
83105 int UNUSED insn_referenced = abuf->written;
83106 INT in_GRi = -1;
83107 INT in_GRj = -1;
83108 INT in_ICCi_2 = -1;
83109 INT in_FCCi_2 = -1;
83110 in_GRi = FLD (in_GRi);
83111 in_GRj = FLD (in_GRj);
83112 in_FCCi_2 = FLD (in_FCCi_2);
83113 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83114 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83115 referenced |= 1 << 3;
83116 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83118 return cycles;
83119 #undef FLD
83122 static int
83123 model_fr450_ftule (SIM_CPU *current_cpu, void *sem_arg)
83125 #define FLD(f) abuf->fields.sfmt_ftne.f
83126 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83127 const IDESC * UNUSED idesc = abuf->idesc;
83128 int cycles = 0;
83130 int referenced = 0;
83131 int UNUSED insn_referenced = abuf->written;
83132 INT in_GRi = -1;
83133 INT in_GRj = -1;
83134 INT in_ICCi_2 = -1;
83135 INT in_FCCi_2 = -1;
83136 in_GRi = FLD (in_GRi);
83137 in_GRj = FLD (in_GRj);
83138 in_FCCi_2 = FLD (in_FCCi_2);
83139 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83140 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83141 referenced |= 1 << 3;
83142 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83144 return cycles;
83145 #undef FLD
83148 static int
83149 model_fr450_ftu (SIM_CPU *current_cpu, void *sem_arg)
83151 #define FLD(f) abuf->fields.sfmt_ftne.f
83152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83153 const IDESC * UNUSED idesc = abuf->idesc;
83154 int cycles = 0;
83156 int referenced = 0;
83157 int UNUSED insn_referenced = abuf->written;
83158 INT in_GRi = -1;
83159 INT in_GRj = -1;
83160 INT in_ICCi_2 = -1;
83161 INT in_FCCi_2 = -1;
83162 in_GRi = FLD (in_GRi);
83163 in_GRj = FLD (in_GRj);
83164 in_FCCi_2 = FLD (in_FCCi_2);
83165 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83166 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83167 referenced |= 1 << 3;
83168 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83170 return cycles;
83171 #undef FLD
83174 static int
83175 model_fr450_fto (SIM_CPU *current_cpu, void *sem_arg)
83177 #define FLD(f) abuf->fields.sfmt_ftne.f
83178 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83179 const IDESC * UNUSED idesc = abuf->idesc;
83180 int cycles = 0;
83182 int referenced = 0;
83183 int UNUSED insn_referenced = abuf->written;
83184 INT in_GRi = -1;
83185 INT in_GRj = -1;
83186 INT in_ICCi_2 = -1;
83187 INT in_FCCi_2 = -1;
83188 in_GRi = FLD (in_GRi);
83189 in_GRj = FLD (in_GRj);
83190 in_FCCi_2 = FLD (in_FCCi_2);
83191 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83192 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83193 referenced |= 1 << 3;
83194 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83196 return cycles;
83197 #undef FLD
83200 static int
83201 model_fr450_tira (SIM_CPU *current_cpu, void *sem_arg)
83203 #define FLD(f) abuf->fields.sfmt_ftine.f
83204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83205 const IDESC * UNUSED idesc = abuf->idesc;
83206 int cycles = 0;
83208 int referenced = 0;
83209 int UNUSED insn_referenced = abuf->written;
83210 INT in_GRi = -1;
83211 INT in_GRj = -1;
83212 INT in_ICCi_2 = -1;
83213 INT in_FCCi_2 = -1;
83214 in_GRi = FLD (in_GRi);
83215 referenced |= 1 << 0;
83216 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83218 return cycles;
83219 #undef FLD
83222 static int
83223 model_fr450_tino (SIM_CPU *current_cpu, void *sem_arg)
83225 #define FLD(f) abuf->fields.sfmt_empty.f
83226 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83227 const IDESC * UNUSED idesc = abuf->idesc;
83228 int cycles = 0;
83230 int referenced = 0;
83231 int UNUSED insn_referenced = abuf->written;
83232 INT in_GRi = -1;
83233 INT in_GRj = -1;
83234 INT in_ICCi_2 = -1;
83235 INT in_FCCi_2 = -1;
83236 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83238 return cycles;
83239 #undef FLD
83242 static int
83243 model_fr450_tieq (SIM_CPU *current_cpu, void *sem_arg)
83245 #define FLD(f) abuf->fields.sfmt_tieq.f
83246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83247 const IDESC * UNUSED idesc = abuf->idesc;
83248 int cycles = 0;
83250 int referenced = 0;
83251 int UNUSED insn_referenced = abuf->written;
83252 INT in_GRi = -1;
83253 INT in_GRj = -1;
83254 INT in_ICCi_2 = -1;
83255 INT in_FCCi_2 = -1;
83256 in_GRi = FLD (in_GRi);
83257 in_ICCi_2 = FLD (in_ICCi_2);
83258 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83259 referenced |= 1 << 2;
83260 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83262 return cycles;
83263 #undef FLD
83266 static int
83267 model_fr450_tine (SIM_CPU *current_cpu, void *sem_arg)
83269 #define FLD(f) abuf->fields.sfmt_tieq.f
83270 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83271 const IDESC * UNUSED idesc = abuf->idesc;
83272 int cycles = 0;
83274 int referenced = 0;
83275 int UNUSED insn_referenced = abuf->written;
83276 INT in_GRi = -1;
83277 INT in_GRj = -1;
83278 INT in_ICCi_2 = -1;
83279 INT in_FCCi_2 = -1;
83280 in_GRi = FLD (in_GRi);
83281 in_ICCi_2 = FLD (in_ICCi_2);
83282 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83283 referenced |= 1 << 2;
83284 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83286 return cycles;
83287 #undef FLD
83290 static int
83291 model_fr450_tile (SIM_CPU *current_cpu, void *sem_arg)
83293 #define FLD(f) abuf->fields.sfmt_tieq.f
83294 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83295 const IDESC * UNUSED idesc = abuf->idesc;
83296 int cycles = 0;
83298 int referenced = 0;
83299 int UNUSED insn_referenced = abuf->written;
83300 INT in_GRi = -1;
83301 INT in_GRj = -1;
83302 INT in_ICCi_2 = -1;
83303 INT in_FCCi_2 = -1;
83304 in_GRi = FLD (in_GRi);
83305 in_ICCi_2 = FLD (in_ICCi_2);
83306 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83307 referenced |= 1 << 2;
83308 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83310 return cycles;
83311 #undef FLD
83314 static int
83315 model_fr450_tigt (SIM_CPU *current_cpu, void *sem_arg)
83317 #define FLD(f) abuf->fields.sfmt_tieq.f
83318 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83319 const IDESC * UNUSED idesc = abuf->idesc;
83320 int cycles = 0;
83322 int referenced = 0;
83323 int UNUSED insn_referenced = abuf->written;
83324 INT in_GRi = -1;
83325 INT in_GRj = -1;
83326 INT in_ICCi_2 = -1;
83327 INT in_FCCi_2 = -1;
83328 in_GRi = FLD (in_GRi);
83329 in_ICCi_2 = FLD (in_ICCi_2);
83330 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83331 referenced |= 1 << 2;
83332 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83334 return cycles;
83335 #undef FLD
83338 static int
83339 model_fr450_tilt (SIM_CPU *current_cpu, void *sem_arg)
83341 #define FLD(f) abuf->fields.sfmt_tieq.f
83342 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83343 const IDESC * UNUSED idesc = abuf->idesc;
83344 int cycles = 0;
83346 int referenced = 0;
83347 int UNUSED insn_referenced = abuf->written;
83348 INT in_GRi = -1;
83349 INT in_GRj = -1;
83350 INT in_ICCi_2 = -1;
83351 INT in_FCCi_2 = -1;
83352 in_GRi = FLD (in_GRi);
83353 in_ICCi_2 = FLD (in_ICCi_2);
83354 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83355 referenced |= 1 << 2;
83356 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83358 return cycles;
83359 #undef FLD
83362 static int
83363 model_fr450_tige (SIM_CPU *current_cpu, void *sem_arg)
83365 #define FLD(f) abuf->fields.sfmt_tieq.f
83366 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83367 const IDESC * UNUSED idesc = abuf->idesc;
83368 int cycles = 0;
83370 int referenced = 0;
83371 int UNUSED insn_referenced = abuf->written;
83372 INT in_GRi = -1;
83373 INT in_GRj = -1;
83374 INT in_ICCi_2 = -1;
83375 INT in_FCCi_2 = -1;
83376 in_GRi = FLD (in_GRi);
83377 in_ICCi_2 = FLD (in_ICCi_2);
83378 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83379 referenced |= 1 << 2;
83380 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83382 return cycles;
83383 #undef FLD
83386 static int
83387 model_fr450_tils (SIM_CPU *current_cpu, void *sem_arg)
83389 #define FLD(f) abuf->fields.sfmt_tieq.f
83390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83391 const IDESC * UNUSED idesc = abuf->idesc;
83392 int cycles = 0;
83394 int referenced = 0;
83395 int UNUSED insn_referenced = abuf->written;
83396 INT in_GRi = -1;
83397 INT in_GRj = -1;
83398 INT in_ICCi_2 = -1;
83399 INT in_FCCi_2 = -1;
83400 in_GRi = FLD (in_GRi);
83401 in_ICCi_2 = FLD (in_ICCi_2);
83402 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83403 referenced |= 1 << 2;
83404 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83406 return cycles;
83407 #undef FLD
83410 static int
83411 model_fr450_tihi (SIM_CPU *current_cpu, void *sem_arg)
83413 #define FLD(f) abuf->fields.sfmt_tieq.f
83414 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83415 const IDESC * UNUSED idesc = abuf->idesc;
83416 int cycles = 0;
83418 int referenced = 0;
83419 int UNUSED insn_referenced = abuf->written;
83420 INT in_GRi = -1;
83421 INT in_GRj = -1;
83422 INT in_ICCi_2 = -1;
83423 INT in_FCCi_2 = -1;
83424 in_GRi = FLD (in_GRi);
83425 in_ICCi_2 = FLD (in_ICCi_2);
83426 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83427 referenced |= 1 << 2;
83428 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83430 return cycles;
83431 #undef FLD
83434 static int
83435 model_fr450_tic (SIM_CPU *current_cpu, void *sem_arg)
83437 #define FLD(f) abuf->fields.sfmt_tieq.f
83438 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83439 const IDESC * UNUSED idesc = abuf->idesc;
83440 int cycles = 0;
83442 int referenced = 0;
83443 int UNUSED insn_referenced = abuf->written;
83444 INT in_GRi = -1;
83445 INT in_GRj = -1;
83446 INT in_ICCi_2 = -1;
83447 INT in_FCCi_2 = -1;
83448 in_GRi = FLD (in_GRi);
83449 in_ICCi_2 = FLD (in_ICCi_2);
83450 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83451 referenced |= 1 << 2;
83452 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83454 return cycles;
83455 #undef FLD
83458 static int
83459 model_fr450_tinc (SIM_CPU *current_cpu, void *sem_arg)
83461 #define FLD(f) abuf->fields.sfmt_tieq.f
83462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83463 const IDESC * UNUSED idesc = abuf->idesc;
83464 int cycles = 0;
83466 int referenced = 0;
83467 int UNUSED insn_referenced = abuf->written;
83468 INT in_GRi = -1;
83469 INT in_GRj = -1;
83470 INT in_ICCi_2 = -1;
83471 INT in_FCCi_2 = -1;
83472 in_GRi = FLD (in_GRi);
83473 in_ICCi_2 = FLD (in_ICCi_2);
83474 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83475 referenced |= 1 << 2;
83476 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83478 return cycles;
83479 #undef FLD
83482 static int
83483 model_fr450_tin (SIM_CPU *current_cpu, void *sem_arg)
83485 #define FLD(f) abuf->fields.sfmt_tieq.f
83486 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83487 const IDESC * UNUSED idesc = abuf->idesc;
83488 int cycles = 0;
83490 int referenced = 0;
83491 int UNUSED insn_referenced = abuf->written;
83492 INT in_GRi = -1;
83493 INT in_GRj = -1;
83494 INT in_ICCi_2 = -1;
83495 INT in_FCCi_2 = -1;
83496 in_GRi = FLD (in_GRi);
83497 in_ICCi_2 = FLD (in_ICCi_2);
83498 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83499 referenced |= 1 << 2;
83500 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83502 return cycles;
83503 #undef FLD
83506 static int
83507 model_fr450_tip (SIM_CPU *current_cpu, void *sem_arg)
83509 #define FLD(f) abuf->fields.sfmt_tieq.f
83510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83511 const IDESC * UNUSED idesc = abuf->idesc;
83512 int cycles = 0;
83514 int referenced = 0;
83515 int UNUSED insn_referenced = abuf->written;
83516 INT in_GRi = -1;
83517 INT in_GRj = -1;
83518 INT in_ICCi_2 = -1;
83519 INT in_FCCi_2 = -1;
83520 in_GRi = FLD (in_GRi);
83521 in_ICCi_2 = FLD (in_ICCi_2);
83522 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83523 referenced |= 1 << 2;
83524 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83526 return cycles;
83527 #undef FLD
83530 static int
83531 model_fr450_tiv (SIM_CPU *current_cpu, void *sem_arg)
83533 #define FLD(f) abuf->fields.sfmt_tieq.f
83534 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83535 const IDESC * UNUSED idesc = abuf->idesc;
83536 int cycles = 0;
83538 int referenced = 0;
83539 int UNUSED insn_referenced = abuf->written;
83540 INT in_GRi = -1;
83541 INT in_GRj = -1;
83542 INT in_ICCi_2 = -1;
83543 INT in_FCCi_2 = -1;
83544 in_GRi = FLD (in_GRi);
83545 in_ICCi_2 = FLD (in_ICCi_2);
83546 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83547 referenced |= 1 << 2;
83548 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83550 return cycles;
83551 #undef FLD
83554 static int
83555 model_fr450_tinv (SIM_CPU *current_cpu, void *sem_arg)
83557 #define FLD(f) abuf->fields.sfmt_tieq.f
83558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83559 const IDESC * UNUSED idesc = abuf->idesc;
83560 int cycles = 0;
83562 int referenced = 0;
83563 int UNUSED insn_referenced = abuf->written;
83564 INT in_GRi = -1;
83565 INT in_GRj = -1;
83566 INT in_ICCi_2 = -1;
83567 INT in_FCCi_2 = -1;
83568 in_GRi = FLD (in_GRi);
83569 in_ICCi_2 = FLD (in_ICCi_2);
83570 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83571 referenced |= 1 << 2;
83572 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83574 return cycles;
83575 #undef FLD
83578 static int
83579 model_fr450_ftira (SIM_CPU *current_cpu, void *sem_arg)
83581 #define FLD(f) abuf->fields.sfmt_ftine.f
83582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83583 const IDESC * UNUSED idesc = abuf->idesc;
83584 int cycles = 0;
83586 int referenced = 0;
83587 int UNUSED insn_referenced = abuf->written;
83588 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
83590 return cycles;
83591 #undef FLD
83594 static int
83595 model_fr450_ftino (SIM_CPU *current_cpu, void *sem_arg)
83597 #define FLD(f) abuf->fields.sfmt_empty.f
83598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83599 const IDESC * UNUSED idesc = abuf->idesc;
83600 int cycles = 0;
83602 int referenced = 0;
83603 int UNUSED insn_referenced = abuf->written;
83604 INT in_GRi = -1;
83605 INT in_GRj = -1;
83606 INT in_ICCi_2 = -1;
83607 INT in_FCCi_2 = -1;
83608 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83610 return cycles;
83611 #undef FLD
83614 static int
83615 model_fr450_ftine (SIM_CPU *current_cpu, void *sem_arg)
83617 #define FLD(f) abuf->fields.sfmt_ftine.f
83618 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83619 const IDESC * UNUSED idesc = abuf->idesc;
83620 int cycles = 0;
83622 int referenced = 0;
83623 int UNUSED insn_referenced = abuf->written;
83624 INT in_GRi = -1;
83625 INT in_GRj = -1;
83626 INT in_ICCi_2 = -1;
83627 INT in_FCCi_2 = -1;
83628 in_GRi = FLD (in_GRi);
83629 in_FCCi_2 = FLD (in_FCCi_2);
83630 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83631 referenced |= 1 << 3;
83632 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83634 return cycles;
83635 #undef FLD
83638 static int
83639 model_fr450_ftieq (SIM_CPU *current_cpu, void *sem_arg)
83641 #define FLD(f) abuf->fields.sfmt_ftine.f
83642 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83643 const IDESC * UNUSED idesc = abuf->idesc;
83644 int cycles = 0;
83646 int referenced = 0;
83647 int UNUSED insn_referenced = abuf->written;
83648 INT in_GRi = -1;
83649 INT in_GRj = -1;
83650 INT in_ICCi_2 = -1;
83651 INT in_FCCi_2 = -1;
83652 in_GRi = FLD (in_GRi);
83653 in_FCCi_2 = FLD (in_FCCi_2);
83654 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83655 referenced |= 1 << 3;
83656 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83658 return cycles;
83659 #undef FLD
83662 static int
83663 model_fr450_ftilg (SIM_CPU *current_cpu, void *sem_arg)
83665 #define FLD(f) abuf->fields.sfmt_ftine.f
83666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83667 const IDESC * UNUSED idesc = abuf->idesc;
83668 int cycles = 0;
83670 int referenced = 0;
83671 int UNUSED insn_referenced = abuf->written;
83672 INT in_GRi = -1;
83673 INT in_GRj = -1;
83674 INT in_ICCi_2 = -1;
83675 INT in_FCCi_2 = -1;
83676 in_GRi = FLD (in_GRi);
83677 in_FCCi_2 = FLD (in_FCCi_2);
83678 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83679 referenced |= 1 << 3;
83680 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83682 return cycles;
83683 #undef FLD
83686 static int
83687 model_fr450_ftiue (SIM_CPU *current_cpu, void *sem_arg)
83689 #define FLD(f) abuf->fields.sfmt_ftine.f
83690 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83691 const IDESC * UNUSED idesc = abuf->idesc;
83692 int cycles = 0;
83694 int referenced = 0;
83695 int UNUSED insn_referenced = abuf->written;
83696 INT in_GRi = -1;
83697 INT in_GRj = -1;
83698 INT in_ICCi_2 = -1;
83699 INT in_FCCi_2 = -1;
83700 in_GRi = FLD (in_GRi);
83701 in_FCCi_2 = FLD (in_FCCi_2);
83702 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83703 referenced |= 1 << 3;
83704 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83706 return cycles;
83707 #undef FLD
83710 static int
83711 model_fr450_ftiul (SIM_CPU *current_cpu, void *sem_arg)
83713 #define FLD(f) abuf->fields.sfmt_ftine.f
83714 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83715 const IDESC * UNUSED idesc = abuf->idesc;
83716 int cycles = 0;
83718 int referenced = 0;
83719 int UNUSED insn_referenced = abuf->written;
83720 INT in_GRi = -1;
83721 INT in_GRj = -1;
83722 INT in_ICCi_2 = -1;
83723 INT in_FCCi_2 = -1;
83724 in_GRi = FLD (in_GRi);
83725 in_FCCi_2 = FLD (in_FCCi_2);
83726 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83727 referenced |= 1 << 3;
83728 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83730 return cycles;
83731 #undef FLD
83734 static int
83735 model_fr450_ftige (SIM_CPU *current_cpu, void *sem_arg)
83737 #define FLD(f) abuf->fields.sfmt_ftine.f
83738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83739 const IDESC * UNUSED idesc = abuf->idesc;
83740 int cycles = 0;
83742 int referenced = 0;
83743 int UNUSED insn_referenced = abuf->written;
83744 INT in_GRi = -1;
83745 INT in_GRj = -1;
83746 INT in_ICCi_2 = -1;
83747 INT in_FCCi_2 = -1;
83748 in_GRi = FLD (in_GRi);
83749 in_FCCi_2 = FLD (in_FCCi_2);
83750 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83751 referenced |= 1 << 3;
83752 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83754 return cycles;
83755 #undef FLD
83758 static int
83759 model_fr450_ftilt (SIM_CPU *current_cpu, void *sem_arg)
83761 #define FLD(f) abuf->fields.sfmt_ftine.f
83762 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83763 const IDESC * UNUSED idesc = abuf->idesc;
83764 int cycles = 0;
83766 int referenced = 0;
83767 int UNUSED insn_referenced = abuf->written;
83768 INT in_GRi = -1;
83769 INT in_GRj = -1;
83770 INT in_ICCi_2 = -1;
83771 INT in_FCCi_2 = -1;
83772 in_GRi = FLD (in_GRi);
83773 in_FCCi_2 = FLD (in_FCCi_2);
83774 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83775 referenced |= 1 << 3;
83776 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83778 return cycles;
83779 #undef FLD
83782 static int
83783 model_fr450_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
83785 #define FLD(f) abuf->fields.sfmt_ftine.f
83786 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83787 const IDESC * UNUSED idesc = abuf->idesc;
83788 int cycles = 0;
83790 int referenced = 0;
83791 int UNUSED insn_referenced = abuf->written;
83792 INT in_GRi = -1;
83793 INT in_GRj = -1;
83794 INT in_ICCi_2 = -1;
83795 INT in_FCCi_2 = -1;
83796 in_GRi = FLD (in_GRi);
83797 in_FCCi_2 = FLD (in_FCCi_2);
83798 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83799 referenced |= 1 << 3;
83800 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83802 return cycles;
83803 #undef FLD
83806 static int
83807 model_fr450_ftiug (SIM_CPU *current_cpu, void *sem_arg)
83809 #define FLD(f) abuf->fields.sfmt_ftine.f
83810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83811 const IDESC * UNUSED idesc = abuf->idesc;
83812 int cycles = 0;
83814 int referenced = 0;
83815 int UNUSED insn_referenced = abuf->written;
83816 INT in_GRi = -1;
83817 INT in_GRj = -1;
83818 INT in_ICCi_2 = -1;
83819 INT in_FCCi_2 = -1;
83820 in_GRi = FLD (in_GRi);
83821 in_FCCi_2 = FLD (in_FCCi_2);
83822 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83823 referenced |= 1 << 3;
83824 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83826 return cycles;
83827 #undef FLD
83830 static int
83831 model_fr450_ftile (SIM_CPU *current_cpu, void *sem_arg)
83833 #define FLD(f) abuf->fields.sfmt_ftine.f
83834 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83835 const IDESC * UNUSED idesc = abuf->idesc;
83836 int cycles = 0;
83838 int referenced = 0;
83839 int UNUSED insn_referenced = abuf->written;
83840 INT in_GRi = -1;
83841 INT in_GRj = -1;
83842 INT in_ICCi_2 = -1;
83843 INT in_FCCi_2 = -1;
83844 in_GRi = FLD (in_GRi);
83845 in_FCCi_2 = FLD (in_FCCi_2);
83846 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83847 referenced |= 1 << 3;
83848 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83850 return cycles;
83851 #undef FLD
83854 static int
83855 model_fr450_ftigt (SIM_CPU *current_cpu, void *sem_arg)
83857 #define FLD(f) abuf->fields.sfmt_ftine.f
83858 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83859 const IDESC * UNUSED idesc = abuf->idesc;
83860 int cycles = 0;
83862 int referenced = 0;
83863 int UNUSED insn_referenced = abuf->written;
83864 INT in_GRi = -1;
83865 INT in_GRj = -1;
83866 INT in_ICCi_2 = -1;
83867 INT in_FCCi_2 = -1;
83868 in_GRi = FLD (in_GRi);
83869 in_FCCi_2 = FLD (in_FCCi_2);
83870 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83871 referenced |= 1 << 3;
83872 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83874 return cycles;
83875 #undef FLD
83878 static int
83879 model_fr450_ftiule (SIM_CPU *current_cpu, void *sem_arg)
83881 #define FLD(f) abuf->fields.sfmt_ftine.f
83882 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83883 const IDESC * UNUSED idesc = abuf->idesc;
83884 int cycles = 0;
83886 int referenced = 0;
83887 int UNUSED insn_referenced = abuf->written;
83888 INT in_GRi = -1;
83889 INT in_GRj = -1;
83890 INT in_ICCi_2 = -1;
83891 INT in_FCCi_2 = -1;
83892 in_GRi = FLD (in_GRi);
83893 in_FCCi_2 = FLD (in_FCCi_2);
83894 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83895 referenced |= 1 << 3;
83896 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83898 return cycles;
83899 #undef FLD
83902 static int
83903 model_fr450_ftiu (SIM_CPU *current_cpu, void *sem_arg)
83905 #define FLD(f) abuf->fields.sfmt_ftine.f
83906 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83907 const IDESC * UNUSED idesc = abuf->idesc;
83908 int cycles = 0;
83910 int referenced = 0;
83911 int UNUSED insn_referenced = abuf->written;
83912 INT in_GRi = -1;
83913 INT in_GRj = -1;
83914 INT in_ICCi_2 = -1;
83915 INT in_FCCi_2 = -1;
83916 in_GRi = FLD (in_GRi);
83917 in_FCCi_2 = FLD (in_FCCi_2);
83918 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83919 referenced |= 1 << 3;
83920 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83922 return cycles;
83923 #undef FLD
83926 static int
83927 model_fr450_ftio (SIM_CPU *current_cpu, void *sem_arg)
83929 #define FLD(f) abuf->fields.sfmt_ftine.f
83930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83931 const IDESC * UNUSED idesc = abuf->idesc;
83932 int cycles = 0;
83934 int referenced = 0;
83935 int UNUSED insn_referenced = abuf->written;
83936 INT in_GRi = -1;
83937 INT in_GRj = -1;
83938 INT in_ICCi_2 = -1;
83939 INT in_FCCi_2 = -1;
83940 in_GRi = FLD (in_GRi);
83941 in_FCCi_2 = FLD (in_FCCi_2);
83942 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83943 referenced |= 1 << 3;
83944 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83946 return cycles;
83947 #undef FLD
83950 static int
83951 model_fr450_break (SIM_CPU *current_cpu, void *sem_arg)
83953 #define FLD(f) abuf->fields.sfmt_break.f
83954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83955 const IDESC * UNUSED idesc = abuf->idesc;
83956 int cycles = 0;
83958 int referenced = 0;
83959 int UNUSED insn_referenced = abuf->written;
83960 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
83962 return cycles;
83963 #undef FLD
83966 static int
83967 model_fr450_mtrap (SIM_CPU *current_cpu, void *sem_arg)
83969 #define FLD(f) abuf->fields.sfmt_empty.f
83970 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83971 const IDESC * UNUSED idesc = abuf->idesc;
83972 int cycles = 0;
83974 int referenced = 0;
83975 int UNUSED insn_referenced = abuf->written;
83976 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
83978 return cycles;
83979 #undef FLD
83982 static int
83983 model_fr450_andcr (SIM_CPU *current_cpu, void *sem_arg)
83985 #define FLD(f) abuf->fields.sfmt_andcr.f
83986 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83987 const IDESC * UNUSED idesc = abuf->idesc;
83988 int cycles = 0;
83990 int referenced = 0;
83991 int UNUSED insn_referenced = abuf->written;
83992 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
83994 return cycles;
83995 #undef FLD
83998 static int
83999 model_fr450_orcr (SIM_CPU *current_cpu, void *sem_arg)
84001 #define FLD(f) abuf->fields.sfmt_andcr.f
84002 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84003 const IDESC * UNUSED idesc = abuf->idesc;
84004 int cycles = 0;
84006 int referenced = 0;
84007 int UNUSED insn_referenced = abuf->written;
84008 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84010 return cycles;
84011 #undef FLD
84014 static int
84015 model_fr450_xorcr (SIM_CPU *current_cpu, void *sem_arg)
84017 #define FLD(f) abuf->fields.sfmt_andcr.f
84018 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84019 const IDESC * UNUSED idesc = abuf->idesc;
84020 int cycles = 0;
84022 int referenced = 0;
84023 int UNUSED insn_referenced = abuf->written;
84024 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84026 return cycles;
84027 #undef FLD
84030 static int
84031 model_fr450_nandcr (SIM_CPU *current_cpu, void *sem_arg)
84033 #define FLD(f) abuf->fields.sfmt_andcr.f
84034 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84035 const IDESC * UNUSED idesc = abuf->idesc;
84036 int cycles = 0;
84038 int referenced = 0;
84039 int UNUSED insn_referenced = abuf->written;
84040 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84042 return cycles;
84043 #undef FLD
84046 static int
84047 model_fr450_norcr (SIM_CPU *current_cpu, void *sem_arg)
84049 #define FLD(f) abuf->fields.sfmt_andcr.f
84050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84051 const IDESC * UNUSED idesc = abuf->idesc;
84052 int cycles = 0;
84054 int referenced = 0;
84055 int UNUSED insn_referenced = abuf->written;
84056 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84058 return cycles;
84059 #undef FLD
84062 static int
84063 model_fr450_andncr (SIM_CPU *current_cpu, void *sem_arg)
84065 #define FLD(f) abuf->fields.sfmt_andcr.f
84066 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84067 const IDESC * UNUSED idesc = abuf->idesc;
84068 int cycles = 0;
84070 int referenced = 0;
84071 int UNUSED insn_referenced = abuf->written;
84072 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84074 return cycles;
84075 #undef FLD
84078 static int
84079 model_fr450_orncr (SIM_CPU *current_cpu, void *sem_arg)
84081 #define FLD(f) abuf->fields.sfmt_andcr.f
84082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84083 const IDESC * UNUSED idesc = abuf->idesc;
84084 int cycles = 0;
84086 int referenced = 0;
84087 int UNUSED insn_referenced = abuf->written;
84088 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84090 return cycles;
84091 #undef FLD
84094 static int
84095 model_fr450_nandncr (SIM_CPU *current_cpu, void *sem_arg)
84097 #define FLD(f) abuf->fields.sfmt_andcr.f
84098 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84099 const IDESC * UNUSED idesc = abuf->idesc;
84100 int cycles = 0;
84102 int referenced = 0;
84103 int UNUSED insn_referenced = abuf->written;
84104 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84106 return cycles;
84107 #undef FLD
84110 static int
84111 model_fr450_norncr (SIM_CPU *current_cpu, void *sem_arg)
84113 #define FLD(f) abuf->fields.sfmt_andcr.f
84114 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84115 const IDESC * UNUSED idesc = abuf->idesc;
84116 int cycles = 0;
84118 int referenced = 0;
84119 int UNUSED insn_referenced = abuf->written;
84120 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84122 return cycles;
84123 #undef FLD
84126 static int
84127 model_fr450_notcr (SIM_CPU *current_cpu, void *sem_arg)
84129 #define FLD(f) abuf->fields.sfmt_andcr.f
84130 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84131 const IDESC * UNUSED idesc = abuf->idesc;
84132 int cycles = 0;
84134 int referenced = 0;
84135 int UNUSED insn_referenced = abuf->written;
84136 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84138 return cycles;
84139 #undef FLD
84142 static int
84143 model_fr450_ckra (SIM_CPU *current_cpu, void *sem_arg)
84145 #define FLD(f) abuf->fields.sfmt_cckeq.f
84146 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84147 const IDESC * UNUSED idesc = abuf->idesc;
84148 int cycles = 0;
84150 int referenced = 0;
84151 int UNUSED insn_referenced = abuf->written;
84152 INT in_ICCi_3 = -1;
84153 INT in_FCCi_3 = -1;
84154 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84156 return cycles;
84157 #undef FLD
84160 static int
84161 model_fr450_ckno (SIM_CPU *current_cpu, void *sem_arg)
84163 #define FLD(f) abuf->fields.sfmt_cckeq.f
84164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84165 const IDESC * UNUSED idesc = abuf->idesc;
84166 int cycles = 0;
84168 int referenced = 0;
84169 int UNUSED insn_referenced = abuf->written;
84170 INT in_ICCi_3 = -1;
84171 INT in_FCCi_3 = -1;
84172 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84174 return cycles;
84175 #undef FLD
84178 static int
84179 model_fr450_ckeq (SIM_CPU *current_cpu, void *sem_arg)
84181 #define FLD(f) abuf->fields.sfmt_cckeq.f
84182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84183 const IDESC * UNUSED idesc = abuf->idesc;
84184 int cycles = 0;
84186 int referenced = 0;
84187 int UNUSED insn_referenced = abuf->written;
84188 INT in_ICCi_3 = -1;
84189 INT in_FCCi_3 = -1;
84190 in_ICCi_3 = FLD (in_ICCi_3);
84191 referenced |= 1 << 0;
84192 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84194 return cycles;
84195 #undef FLD
84198 static int
84199 model_fr450_ckne (SIM_CPU *current_cpu, void *sem_arg)
84201 #define FLD(f) abuf->fields.sfmt_cckeq.f
84202 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84203 const IDESC * UNUSED idesc = abuf->idesc;
84204 int cycles = 0;
84206 int referenced = 0;
84207 int UNUSED insn_referenced = abuf->written;
84208 INT in_ICCi_3 = -1;
84209 INT in_FCCi_3 = -1;
84210 in_ICCi_3 = FLD (in_ICCi_3);
84211 referenced |= 1 << 0;
84212 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84214 return cycles;
84215 #undef FLD
84218 static int
84219 model_fr450_ckle (SIM_CPU *current_cpu, void *sem_arg)
84221 #define FLD(f) abuf->fields.sfmt_cckeq.f
84222 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84223 const IDESC * UNUSED idesc = abuf->idesc;
84224 int cycles = 0;
84226 int referenced = 0;
84227 int UNUSED insn_referenced = abuf->written;
84228 INT in_ICCi_3 = -1;
84229 INT in_FCCi_3 = -1;
84230 in_ICCi_3 = FLD (in_ICCi_3);
84231 referenced |= 1 << 0;
84232 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84234 return cycles;
84235 #undef FLD
84238 static int
84239 model_fr450_ckgt (SIM_CPU *current_cpu, void *sem_arg)
84241 #define FLD(f) abuf->fields.sfmt_cckeq.f
84242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84243 const IDESC * UNUSED idesc = abuf->idesc;
84244 int cycles = 0;
84246 int referenced = 0;
84247 int UNUSED insn_referenced = abuf->written;
84248 INT in_ICCi_3 = -1;
84249 INT in_FCCi_3 = -1;
84250 in_ICCi_3 = FLD (in_ICCi_3);
84251 referenced |= 1 << 0;
84252 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84254 return cycles;
84255 #undef FLD
84258 static int
84259 model_fr450_cklt (SIM_CPU *current_cpu, void *sem_arg)
84261 #define FLD(f) abuf->fields.sfmt_cckeq.f
84262 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84263 const IDESC * UNUSED idesc = abuf->idesc;
84264 int cycles = 0;
84266 int referenced = 0;
84267 int UNUSED insn_referenced = abuf->written;
84268 INT in_ICCi_3 = -1;
84269 INT in_FCCi_3 = -1;
84270 in_ICCi_3 = FLD (in_ICCi_3);
84271 referenced |= 1 << 0;
84272 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84274 return cycles;
84275 #undef FLD
84278 static int
84279 model_fr450_ckge (SIM_CPU *current_cpu, void *sem_arg)
84281 #define FLD(f) abuf->fields.sfmt_cckeq.f
84282 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84283 const IDESC * UNUSED idesc = abuf->idesc;
84284 int cycles = 0;
84286 int referenced = 0;
84287 int UNUSED insn_referenced = abuf->written;
84288 INT in_ICCi_3 = -1;
84289 INT in_FCCi_3 = -1;
84290 in_ICCi_3 = FLD (in_ICCi_3);
84291 referenced |= 1 << 0;
84292 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84294 return cycles;
84295 #undef FLD
84298 static int
84299 model_fr450_ckls (SIM_CPU *current_cpu, void *sem_arg)
84301 #define FLD(f) abuf->fields.sfmt_cckeq.f
84302 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84303 const IDESC * UNUSED idesc = abuf->idesc;
84304 int cycles = 0;
84306 int referenced = 0;
84307 int UNUSED insn_referenced = abuf->written;
84308 INT in_ICCi_3 = -1;
84309 INT in_FCCi_3 = -1;
84310 in_ICCi_3 = FLD (in_ICCi_3);
84311 referenced |= 1 << 0;
84312 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84314 return cycles;
84315 #undef FLD
84318 static int
84319 model_fr450_ckhi (SIM_CPU *current_cpu, void *sem_arg)
84321 #define FLD(f) abuf->fields.sfmt_cckeq.f
84322 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84323 const IDESC * UNUSED idesc = abuf->idesc;
84324 int cycles = 0;
84326 int referenced = 0;
84327 int UNUSED insn_referenced = abuf->written;
84328 INT in_ICCi_3 = -1;
84329 INT in_FCCi_3 = -1;
84330 in_ICCi_3 = FLD (in_ICCi_3);
84331 referenced |= 1 << 0;
84332 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84334 return cycles;
84335 #undef FLD
84338 static int
84339 model_fr450_ckc (SIM_CPU *current_cpu, void *sem_arg)
84341 #define FLD(f) abuf->fields.sfmt_cckeq.f
84342 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84343 const IDESC * UNUSED idesc = abuf->idesc;
84344 int cycles = 0;
84346 int referenced = 0;
84347 int UNUSED insn_referenced = abuf->written;
84348 INT in_ICCi_3 = -1;
84349 INT in_FCCi_3 = -1;
84350 in_ICCi_3 = FLD (in_ICCi_3);
84351 referenced |= 1 << 0;
84352 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84354 return cycles;
84355 #undef FLD
84358 static int
84359 model_fr450_cknc (SIM_CPU *current_cpu, void *sem_arg)
84361 #define FLD(f) abuf->fields.sfmt_cckeq.f
84362 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84363 const IDESC * UNUSED idesc = abuf->idesc;
84364 int cycles = 0;
84366 int referenced = 0;
84367 int UNUSED insn_referenced = abuf->written;
84368 INT in_ICCi_3 = -1;
84369 INT in_FCCi_3 = -1;
84370 in_ICCi_3 = FLD (in_ICCi_3);
84371 referenced |= 1 << 0;
84372 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84374 return cycles;
84375 #undef FLD
84378 static int
84379 model_fr450_ckn (SIM_CPU *current_cpu, void *sem_arg)
84381 #define FLD(f) abuf->fields.sfmt_cckeq.f
84382 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84383 const IDESC * UNUSED idesc = abuf->idesc;
84384 int cycles = 0;
84386 int referenced = 0;
84387 int UNUSED insn_referenced = abuf->written;
84388 INT in_ICCi_3 = -1;
84389 INT in_FCCi_3 = -1;
84390 in_ICCi_3 = FLD (in_ICCi_3);
84391 referenced |= 1 << 0;
84392 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84394 return cycles;
84395 #undef FLD
84398 static int
84399 model_fr450_ckp (SIM_CPU *current_cpu, void *sem_arg)
84401 #define FLD(f) abuf->fields.sfmt_cckeq.f
84402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84403 const IDESC * UNUSED idesc = abuf->idesc;
84404 int cycles = 0;
84406 int referenced = 0;
84407 int UNUSED insn_referenced = abuf->written;
84408 INT in_ICCi_3 = -1;
84409 INT in_FCCi_3 = -1;
84410 in_ICCi_3 = FLD (in_ICCi_3);
84411 referenced |= 1 << 0;
84412 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84414 return cycles;
84415 #undef FLD
84418 static int
84419 model_fr450_ckv (SIM_CPU *current_cpu, void *sem_arg)
84421 #define FLD(f) abuf->fields.sfmt_cckeq.f
84422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84423 const IDESC * UNUSED idesc = abuf->idesc;
84424 int cycles = 0;
84426 int referenced = 0;
84427 int UNUSED insn_referenced = abuf->written;
84428 INT in_ICCi_3 = -1;
84429 INT in_FCCi_3 = -1;
84430 in_ICCi_3 = FLD (in_ICCi_3);
84431 referenced |= 1 << 0;
84432 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84434 return cycles;
84435 #undef FLD
84438 static int
84439 model_fr450_cknv (SIM_CPU *current_cpu, void *sem_arg)
84441 #define FLD(f) abuf->fields.sfmt_cckeq.f
84442 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84443 const IDESC * UNUSED idesc = abuf->idesc;
84444 int cycles = 0;
84446 int referenced = 0;
84447 int UNUSED insn_referenced = abuf->written;
84448 INT in_ICCi_3 = -1;
84449 INT in_FCCi_3 = -1;
84450 in_ICCi_3 = FLD (in_ICCi_3);
84451 referenced |= 1 << 0;
84452 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84454 return cycles;
84455 #undef FLD
84458 static int
84459 model_fr450_fckra (SIM_CPU *current_cpu, void *sem_arg)
84461 #define FLD(f) abuf->fields.sfmt_cfckne.f
84462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84463 const IDESC * UNUSED idesc = abuf->idesc;
84464 int cycles = 0;
84466 int referenced = 0;
84467 int UNUSED insn_referenced = abuf->written;
84468 INT in_ICCi_3 = -1;
84469 INT in_FCCi_3 = -1;
84470 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84472 return cycles;
84473 #undef FLD
84476 static int
84477 model_fr450_fckno (SIM_CPU *current_cpu, void *sem_arg)
84479 #define FLD(f) abuf->fields.sfmt_cfckne.f
84480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84481 const IDESC * UNUSED idesc = abuf->idesc;
84482 int cycles = 0;
84484 int referenced = 0;
84485 int UNUSED insn_referenced = abuf->written;
84486 INT in_ICCi_3 = -1;
84487 INT in_FCCi_3 = -1;
84488 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84490 return cycles;
84491 #undef FLD
84494 static int
84495 model_fr450_fckne (SIM_CPU *current_cpu, void *sem_arg)
84497 #define FLD(f) abuf->fields.sfmt_cfckne.f
84498 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84499 const IDESC * UNUSED idesc = abuf->idesc;
84500 int cycles = 0;
84502 int referenced = 0;
84503 int UNUSED insn_referenced = abuf->written;
84504 INT in_ICCi_3 = -1;
84505 INT in_FCCi_3 = -1;
84506 in_FCCi_3 = FLD (in_FCCi_3);
84507 referenced |= 1 << 1;
84508 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84510 return cycles;
84511 #undef FLD
84514 static int
84515 model_fr450_fckeq (SIM_CPU *current_cpu, void *sem_arg)
84517 #define FLD(f) abuf->fields.sfmt_cfckne.f
84518 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84519 const IDESC * UNUSED idesc = abuf->idesc;
84520 int cycles = 0;
84522 int referenced = 0;
84523 int UNUSED insn_referenced = abuf->written;
84524 INT in_ICCi_3 = -1;
84525 INT in_FCCi_3 = -1;
84526 in_FCCi_3 = FLD (in_FCCi_3);
84527 referenced |= 1 << 1;
84528 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84530 return cycles;
84531 #undef FLD
84534 static int
84535 model_fr450_fcklg (SIM_CPU *current_cpu, void *sem_arg)
84537 #define FLD(f) abuf->fields.sfmt_cfckne.f
84538 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84539 const IDESC * UNUSED idesc = abuf->idesc;
84540 int cycles = 0;
84542 int referenced = 0;
84543 int UNUSED insn_referenced = abuf->written;
84544 INT in_ICCi_3 = -1;
84545 INT in_FCCi_3 = -1;
84546 in_FCCi_3 = FLD (in_FCCi_3);
84547 referenced |= 1 << 1;
84548 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84550 return cycles;
84551 #undef FLD
84554 static int
84555 model_fr450_fckue (SIM_CPU *current_cpu, void *sem_arg)
84557 #define FLD(f) abuf->fields.sfmt_cfckne.f
84558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84559 const IDESC * UNUSED idesc = abuf->idesc;
84560 int cycles = 0;
84562 int referenced = 0;
84563 int UNUSED insn_referenced = abuf->written;
84564 INT in_ICCi_3 = -1;
84565 INT in_FCCi_3 = -1;
84566 in_FCCi_3 = FLD (in_FCCi_3);
84567 referenced |= 1 << 1;
84568 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84570 return cycles;
84571 #undef FLD
84574 static int
84575 model_fr450_fckul (SIM_CPU *current_cpu, void *sem_arg)
84577 #define FLD(f) abuf->fields.sfmt_cfckne.f
84578 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84579 const IDESC * UNUSED idesc = abuf->idesc;
84580 int cycles = 0;
84582 int referenced = 0;
84583 int UNUSED insn_referenced = abuf->written;
84584 INT in_ICCi_3 = -1;
84585 INT in_FCCi_3 = -1;
84586 in_FCCi_3 = FLD (in_FCCi_3);
84587 referenced |= 1 << 1;
84588 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84590 return cycles;
84591 #undef FLD
84594 static int
84595 model_fr450_fckge (SIM_CPU *current_cpu, void *sem_arg)
84597 #define FLD(f) abuf->fields.sfmt_cfckne.f
84598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84599 const IDESC * UNUSED idesc = abuf->idesc;
84600 int cycles = 0;
84602 int referenced = 0;
84603 int UNUSED insn_referenced = abuf->written;
84604 INT in_ICCi_3 = -1;
84605 INT in_FCCi_3 = -1;
84606 in_FCCi_3 = FLD (in_FCCi_3);
84607 referenced |= 1 << 1;
84608 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84610 return cycles;
84611 #undef FLD
84614 static int
84615 model_fr450_fcklt (SIM_CPU *current_cpu, void *sem_arg)
84617 #define FLD(f) abuf->fields.sfmt_cfckne.f
84618 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84619 const IDESC * UNUSED idesc = abuf->idesc;
84620 int cycles = 0;
84622 int referenced = 0;
84623 int UNUSED insn_referenced = abuf->written;
84624 INT in_ICCi_3 = -1;
84625 INT in_FCCi_3 = -1;
84626 in_FCCi_3 = FLD (in_FCCi_3);
84627 referenced |= 1 << 1;
84628 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84630 return cycles;
84631 #undef FLD
84634 static int
84635 model_fr450_fckuge (SIM_CPU *current_cpu, void *sem_arg)
84637 #define FLD(f) abuf->fields.sfmt_cfckne.f
84638 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84639 const IDESC * UNUSED idesc = abuf->idesc;
84640 int cycles = 0;
84642 int referenced = 0;
84643 int UNUSED insn_referenced = abuf->written;
84644 INT in_ICCi_3 = -1;
84645 INT in_FCCi_3 = -1;
84646 in_FCCi_3 = FLD (in_FCCi_3);
84647 referenced |= 1 << 1;
84648 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84650 return cycles;
84651 #undef FLD
84654 static int
84655 model_fr450_fckug (SIM_CPU *current_cpu, void *sem_arg)
84657 #define FLD(f) abuf->fields.sfmt_cfckne.f
84658 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84659 const IDESC * UNUSED idesc = abuf->idesc;
84660 int cycles = 0;
84662 int referenced = 0;
84663 int UNUSED insn_referenced = abuf->written;
84664 INT in_ICCi_3 = -1;
84665 INT in_FCCi_3 = -1;
84666 in_FCCi_3 = FLD (in_FCCi_3);
84667 referenced |= 1 << 1;
84668 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84670 return cycles;
84671 #undef FLD
84674 static int
84675 model_fr450_fckle (SIM_CPU *current_cpu, void *sem_arg)
84677 #define FLD(f) abuf->fields.sfmt_cfckne.f
84678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84679 const IDESC * UNUSED idesc = abuf->idesc;
84680 int cycles = 0;
84682 int referenced = 0;
84683 int UNUSED insn_referenced = abuf->written;
84684 INT in_ICCi_3 = -1;
84685 INT in_FCCi_3 = -1;
84686 in_FCCi_3 = FLD (in_FCCi_3);
84687 referenced |= 1 << 1;
84688 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84690 return cycles;
84691 #undef FLD
84694 static int
84695 model_fr450_fckgt (SIM_CPU *current_cpu, void *sem_arg)
84697 #define FLD(f) abuf->fields.sfmt_cfckne.f
84698 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84699 const IDESC * UNUSED idesc = abuf->idesc;
84700 int cycles = 0;
84702 int referenced = 0;
84703 int UNUSED insn_referenced = abuf->written;
84704 INT in_ICCi_3 = -1;
84705 INT in_FCCi_3 = -1;
84706 in_FCCi_3 = FLD (in_FCCi_3);
84707 referenced |= 1 << 1;
84708 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84710 return cycles;
84711 #undef FLD
84714 static int
84715 model_fr450_fckule (SIM_CPU *current_cpu, void *sem_arg)
84717 #define FLD(f) abuf->fields.sfmt_cfckne.f
84718 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84719 const IDESC * UNUSED idesc = abuf->idesc;
84720 int cycles = 0;
84722 int referenced = 0;
84723 int UNUSED insn_referenced = abuf->written;
84724 INT in_ICCi_3 = -1;
84725 INT in_FCCi_3 = -1;
84726 in_FCCi_3 = FLD (in_FCCi_3);
84727 referenced |= 1 << 1;
84728 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84730 return cycles;
84731 #undef FLD
84734 static int
84735 model_fr450_fcku (SIM_CPU *current_cpu, void *sem_arg)
84737 #define FLD(f) abuf->fields.sfmt_cfckne.f
84738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84739 const IDESC * UNUSED idesc = abuf->idesc;
84740 int cycles = 0;
84742 int referenced = 0;
84743 int UNUSED insn_referenced = abuf->written;
84744 INT in_ICCi_3 = -1;
84745 INT in_FCCi_3 = -1;
84746 in_FCCi_3 = FLD (in_FCCi_3);
84747 referenced |= 1 << 1;
84748 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84750 return cycles;
84751 #undef FLD
84754 static int
84755 model_fr450_fcko (SIM_CPU *current_cpu, void *sem_arg)
84757 #define FLD(f) abuf->fields.sfmt_cfckne.f
84758 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84759 const IDESC * UNUSED idesc = abuf->idesc;
84760 int cycles = 0;
84762 int referenced = 0;
84763 int UNUSED insn_referenced = abuf->written;
84764 INT in_ICCi_3 = -1;
84765 INT in_FCCi_3 = -1;
84766 in_FCCi_3 = FLD (in_FCCi_3);
84767 referenced |= 1 << 1;
84768 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84770 return cycles;
84771 #undef FLD
84774 static int
84775 model_fr450_cckra (SIM_CPU *current_cpu, void *sem_arg)
84777 #define FLD(f) abuf->fields.sfmt_cckeq.f
84778 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84779 const IDESC * UNUSED idesc = abuf->idesc;
84780 int cycles = 0;
84782 int referenced = 0;
84783 int UNUSED insn_referenced = abuf->written;
84784 INT in_ICCi_3 = -1;
84785 INT in_FCCi_3 = -1;
84786 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84788 return cycles;
84789 #undef FLD
84792 static int
84793 model_fr450_cckno (SIM_CPU *current_cpu, void *sem_arg)
84795 #define FLD(f) abuf->fields.sfmt_cckeq.f
84796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84797 const IDESC * UNUSED idesc = abuf->idesc;
84798 int cycles = 0;
84800 int referenced = 0;
84801 int UNUSED insn_referenced = abuf->written;
84802 INT in_ICCi_3 = -1;
84803 INT in_FCCi_3 = -1;
84804 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84806 return cycles;
84807 #undef FLD
84810 static int
84811 model_fr450_cckeq (SIM_CPU *current_cpu, void *sem_arg)
84813 #define FLD(f) abuf->fields.sfmt_cckeq.f
84814 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84815 const IDESC * UNUSED idesc = abuf->idesc;
84816 int cycles = 0;
84818 int referenced = 0;
84819 int UNUSED insn_referenced = abuf->written;
84820 INT in_ICCi_3 = -1;
84821 INT in_FCCi_3 = -1;
84822 in_ICCi_3 = FLD (in_ICCi_3);
84823 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84824 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84826 return cycles;
84827 #undef FLD
84830 static int
84831 model_fr450_cckne (SIM_CPU *current_cpu, void *sem_arg)
84833 #define FLD(f) abuf->fields.sfmt_cckeq.f
84834 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84835 const IDESC * UNUSED idesc = abuf->idesc;
84836 int cycles = 0;
84838 int referenced = 0;
84839 int UNUSED insn_referenced = abuf->written;
84840 INT in_ICCi_3 = -1;
84841 INT in_FCCi_3 = -1;
84842 in_ICCi_3 = FLD (in_ICCi_3);
84843 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84844 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84846 return cycles;
84847 #undef FLD
84850 static int
84851 model_fr450_cckle (SIM_CPU *current_cpu, void *sem_arg)
84853 #define FLD(f) abuf->fields.sfmt_cckeq.f
84854 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84855 const IDESC * UNUSED idesc = abuf->idesc;
84856 int cycles = 0;
84858 int referenced = 0;
84859 int UNUSED insn_referenced = abuf->written;
84860 INT in_ICCi_3 = -1;
84861 INT in_FCCi_3 = -1;
84862 in_ICCi_3 = FLD (in_ICCi_3);
84863 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84864 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84866 return cycles;
84867 #undef FLD
84870 static int
84871 model_fr450_cckgt (SIM_CPU *current_cpu, void *sem_arg)
84873 #define FLD(f) abuf->fields.sfmt_cckeq.f
84874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84875 const IDESC * UNUSED idesc = abuf->idesc;
84876 int cycles = 0;
84878 int referenced = 0;
84879 int UNUSED insn_referenced = abuf->written;
84880 INT in_ICCi_3 = -1;
84881 INT in_FCCi_3 = -1;
84882 in_ICCi_3 = FLD (in_ICCi_3);
84883 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84884 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84886 return cycles;
84887 #undef FLD
84890 static int
84891 model_fr450_ccklt (SIM_CPU *current_cpu, void *sem_arg)
84893 #define FLD(f) abuf->fields.sfmt_cckeq.f
84894 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84895 const IDESC * UNUSED idesc = abuf->idesc;
84896 int cycles = 0;
84898 int referenced = 0;
84899 int UNUSED insn_referenced = abuf->written;
84900 INT in_ICCi_3 = -1;
84901 INT in_FCCi_3 = -1;
84902 in_ICCi_3 = FLD (in_ICCi_3);
84903 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84904 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84906 return cycles;
84907 #undef FLD
84910 static int
84911 model_fr450_cckge (SIM_CPU *current_cpu, void *sem_arg)
84913 #define FLD(f) abuf->fields.sfmt_cckeq.f
84914 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84915 const IDESC * UNUSED idesc = abuf->idesc;
84916 int cycles = 0;
84918 int referenced = 0;
84919 int UNUSED insn_referenced = abuf->written;
84920 INT in_ICCi_3 = -1;
84921 INT in_FCCi_3 = -1;
84922 in_ICCi_3 = FLD (in_ICCi_3);
84923 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84924 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84926 return cycles;
84927 #undef FLD
84930 static int
84931 model_fr450_cckls (SIM_CPU *current_cpu, void *sem_arg)
84933 #define FLD(f) abuf->fields.sfmt_cckeq.f
84934 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84935 const IDESC * UNUSED idesc = abuf->idesc;
84936 int cycles = 0;
84938 int referenced = 0;
84939 int UNUSED insn_referenced = abuf->written;
84940 INT in_ICCi_3 = -1;
84941 INT in_FCCi_3 = -1;
84942 in_ICCi_3 = FLD (in_ICCi_3);
84943 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84944 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84946 return cycles;
84947 #undef FLD
84950 static int
84951 model_fr450_cckhi (SIM_CPU *current_cpu, void *sem_arg)
84953 #define FLD(f) abuf->fields.sfmt_cckeq.f
84954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84955 const IDESC * UNUSED idesc = abuf->idesc;
84956 int cycles = 0;
84958 int referenced = 0;
84959 int UNUSED insn_referenced = abuf->written;
84960 INT in_ICCi_3 = -1;
84961 INT in_FCCi_3 = -1;
84962 in_ICCi_3 = FLD (in_ICCi_3);
84963 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84964 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84966 return cycles;
84967 #undef FLD
84970 static int
84971 model_fr450_cckc (SIM_CPU *current_cpu, void *sem_arg)
84973 #define FLD(f) abuf->fields.sfmt_cckeq.f
84974 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84975 const IDESC * UNUSED idesc = abuf->idesc;
84976 int cycles = 0;
84978 int referenced = 0;
84979 int UNUSED insn_referenced = abuf->written;
84980 INT in_ICCi_3 = -1;
84981 INT in_FCCi_3 = -1;
84982 in_ICCi_3 = FLD (in_ICCi_3);
84983 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84984 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84986 return cycles;
84987 #undef FLD
84990 static int
84991 model_fr450_ccknc (SIM_CPU *current_cpu, void *sem_arg)
84993 #define FLD(f) abuf->fields.sfmt_cckeq.f
84994 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84995 const IDESC * UNUSED idesc = abuf->idesc;
84996 int cycles = 0;
84998 int referenced = 0;
84999 int UNUSED insn_referenced = abuf->written;
85000 INT in_ICCi_3 = -1;
85001 INT in_FCCi_3 = -1;
85002 in_ICCi_3 = FLD (in_ICCi_3);
85003 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85004 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85006 return cycles;
85007 #undef FLD
85010 static int
85011 model_fr450_cckn (SIM_CPU *current_cpu, void *sem_arg)
85013 #define FLD(f) abuf->fields.sfmt_cckeq.f
85014 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85015 const IDESC * UNUSED idesc = abuf->idesc;
85016 int cycles = 0;
85018 int referenced = 0;
85019 int UNUSED insn_referenced = abuf->written;
85020 INT in_ICCi_3 = -1;
85021 INT in_FCCi_3 = -1;
85022 in_ICCi_3 = FLD (in_ICCi_3);
85023 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85024 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85026 return cycles;
85027 #undef FLD
85030 static int
85031 model_fr450_cckp (SIM_CPU *current_cpu, void *sem_arg)
85033 #define FLD(f) abuf->fields.sfmt_cckeq.f
85034 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85035 const IDESC * UNUSED idesc = abuf->idesc;
85036 int cycles = 0;
85038 int referenced = 0;
85039 int UNUSED insn_referenced = abuf->written;
85040 INT in_ICCi_3 = -1;
85041 INT in_FCCi_3 = -1;
85042 in_ICCi_3 = FLD (in_ICCi_3);
85043 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85044 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85046 return cycles;
85047 #undef FLD
85050 static int
85051 model_fr450_cckv (SIM_CPU *current_cpu, void *sem_arg)
85053 #define FLD(f) abuf->fields.sfmt_cckeq.f
85054 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85055 const IDESC * UNUSED idesc = abuf->idesc;
85056 int cycles = 0;
85058 int referenced = 0;
85059 int UNUSED insn_referenced = abuf->written;
85060 INT in_ICCi_3 = -1;
85061 INT in_FCCi_3 = -1;
85062 in_ICCi_3 = FLD (in_ICCi_3);
85063 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85064 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85066 return cycles;
85067 #undef FLD
85070 static int
85071 model_fr450_ccknv (SIM_CPU *current_cpu, void *sem_arg)
85073 #define FLD(f) abuf->fields.sfmt_cckeq.f
85074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85075 const IDESC * UNUSED idesc = abuf->idesc;
85076 int cycles = 0;
85078 int referenced = 0;
85079 int UNUSED insn_referenced = abuf->written;
85080 INT in_ICCi_3 = -1;
85081 INT in_FCCi_3 = -1;
85082 in_ICCi_3 = FLD (in_ICCi_3);
85083 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85084 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85086 return cycles;
85087 #undef FLD
85090 static int
85091 model_fr450_cfckra (SIM_CPU *current_cpu, void *sem_arg)
85093 #define FLD(f) abuf->fields.sfmt_cfckne.f
85094 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85095 const IDESC * UNUSED idesc = abuf->idesc;
85096 int cycles = 0;
85098 int referenced = 0;
85099 int UNUSED insn_referenced = abuf->written;
85100 INT in_ICCi_3 = -1;
85101 INT in_FCCi_3 = -1;
85102 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85104 return cycles;
85105 #undef FLD
85108 static int
85109 model_fr450_cfckno (SIM_CPU *current_cpu, void *sem_arg)
85111 #define FLD(f) abuf->fields.sfmt_cfckne.f
85112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85113 const IDESC * UNUSED idesc = abuf->idesc;
85114 int cycles = 0;
85116 int referenced = 0;
85117 int UNUSED insn_referenced = abuf->written;
85118 INT in_ICCi_3 = -1;
85119 INT in_FCCi_3 = -1;
85120 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85122 return cycles;
85123 #undef FLD
85126 static int
85127 model_fr450_cfckne (SIM_CPU *current_cpu, void *sem_arg)
85129 #define FLD(f) abuf->fields.sfmt_cfckne.f
85130 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85131 const IDESC * UNUSED idesc = abuf->idesc;
85132 int cycles = 0;
85134 int referenced = 0;
85135 int UNUSED insn_referenced = abuf->written;
85136 INT in_ICCi_3 = -1;
85137 INT in_FCCi_3 = -1;
85138 in_FCCi_3 = FLD (in_FCCi_3);
85139 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85140 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85142 return cycles;
85143 #undef FLD
85146 static int
85147 model_fr450_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
85149 #define FLD(f) abuf->fields.sfmt_cfckne.f
85150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85151 const IDESC * UNUSED idesc = abuf->idesc;
85152 int cycles = 0;
85154 int referenced = 0;
85155 int UNUSED insn_referenced = abuf->written;
85156 INT in_ICCi_3 = -1;
85157 INT in_FCCi_3 = -1;
85158 in_FCCi_3 = FLD (in_FCCi_3);
85159 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85160 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85162 return cycles;
85163 #undef FLD
85166 static int
85167 model_fr450_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
85169 #define FLD(f) abuf->fields.sfmt_cfckne.f
85170 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85171 const IDESC * UNUSED idesc = abuf->idesc;
85172 int cycles = 0;
85174 int referenced = 0;
85175 int UNUSED insn_referenced = abuf->written;
85176 INT in_ICCi_3 = -1;
85177 INT in_FCCi_3 = -1;
85178 in_FCCi_3 = FLD (in_FCCi_3);
85179 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85180 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85182 return cycles;
85183 #undef FLD
85186 static int
85187 model_fr450_cfckue (SIM_CPU *current_cpu, void *sem_arg)
85189 #define FLD(f) abuf->fields.sfmt_cfckne.f
85190 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85191 const IDESC * UNUSED idesc = abuf->idesc;
85192 int cycles = 0;
85194 int referenced = 0;
85195 int UNUSED insn_referenced = abuf->written;
85196 INT in_ICCi_3 = -1;
85197 INT in_FCCi_3 = -1;
85198 in_FCCi_3 = FLD (in_FCCi_3);
85199 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85200 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85202 return cycles;
85203 #undef FLD
85206 static int
85207 model_fr450_cfckul (SIM_CPU *current_cpu, void *sem_arg)
85209 #define FLD(f) abuf->fields.sfmt_cfckne.f
85210 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85211 const IDESC * UNUSED idesc = abuf->idesc;
85212 int cycles = 0;
85214 int referenced = 0;
85215 int UNUSED insn_referenced = abuf->written;
85216 INT in_ICCi_3 = -1;
85217 INT in_FCCi_3 = -1;
85218 in_FCCi_3 = FLD (in_FCCi_3);
85219 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85220 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85222 return cycles;
85223 #undef FLD
85226 static int
85227 model_fr450_cfckge (SIM_CPU *current_cpu, void *sem_arg)
85229 #define FLD(f) abuf->fields.sfmt_cfckne.f
85230 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85231 const IDESC * UNUSED idesc = abuf->idesc;
85232 int cycles = 0;
85234 int referenced = 0;
85235 int UNUSED insn_referenced = abuf->written;
85236 INT in_ICCi_3 = -1;
85237 INT in_FCCi_3 = -1;
85238 in_FCCi_3 = FLD (in_FCCi_3);
85239 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85240 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85242 return cycles;
85243 #undef FLD
85246 static int
85247 model_fr450_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
85249 #define FLD(f) abuf->fields.sfmt_cfckne.f
85250 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85251 const IDESC * UNUSED idesc = abuf->idesc;
85252 int cycles = 0;
85254 int referenced = 0;
85255 int UNUSED insn_referenced = abuf->written;
85256 INT in_ICCi_3 = -1;
85257 INT in_FCCi_3 = -1;
85258 in_FCCi_3 = FLD (in_FCCi_3);
85259 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85260 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85262 return cycles;
85263 #undef FLD
85266 static int
85267 model_fr450_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
85269 #define FLD(f) abuf->fields.sfmt_cfckne.f
85270 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85271 const IDESC * UNUSED idesc = abuf->idesc;
85272 int cycles = 0;
85274 int referenced = 0;
85275 int UNUSED insn_referenced = abuf->written;
85276 INT in_ICCi_3 = -1;
85277 INT in_FCCi_3 = -1;
85278 in_FCCi_3 = FLD (in_FCCi_3);
85279 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85280 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85282 return cycles;
85283 #undef FLD
85286 static int
85287 model_fr450_cfckug (SIM_CPU *current_cpu, void *sem_arg)
85289 #define FLD(f) abuf->fields.sfmt_cfckne.f
85290 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85291 const IDESC * UNUSED idesc = abuf->idesc;
85292 int cycles = 0;
85294 int referenced = 0;
85295 int UNUSED insn_referenced = abuf->written;
85296 INT in_ICCi_3 = -1;
85297 INT in_FCCi_3 = -1;
85298 in_FCCi_3 = FLD (in_FCCi_3);
85299 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85300 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85302 return cycles;
85303 #undef FLD
85306 static int
85307 model_fr450_cfckle (SIM_CPU *current_cpu, void *sem_arg)
85309 #define FLD(f) abuf->fields.sfmt_cfckne.f
85310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85311 const IDESC * UNUSED idesc = abuf->idesc;
85312 int cycles = 0;
85314 int referenced = 0;
85315 int UNUSED insn_referenced = abuf->written;
85316 INT in_ICCi_3 = -1;
85317 INT in_FCCi_3 = -1;
85318 in_FCCi_3 = FLD (in_FCCi_3);
85319 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85320 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85322 return cycles;
85323 #undef FLD
85326 static int
85327 model_fr450_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
85329 #define FLD(f) abuf->fields.sfmt_cfckne.f
85330 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85331 const IDESC * UNUSED idesc = abuf->idesc;
85332 int cycles = 0;
85334 int referenced = 0;
85335 int UNUSED insn_referenced = abuf->written;
85336 INT in_ICCi_3 = -1;
85337 INT in_FCCi_3 = -1;
85338 in_FCCi_3 = FLD (in_FCCi_3);
85339 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85340 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85342 return cycles;
85343 #undef FLD
85346 static int
85347 model_fr450_cfckule (SIM_CPU *current_cpu, void *sem_arg)
85349 #define FLD(f) abuf->fields.sfmt_cfckne.f
85350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85351 const IDESC * UNUSED idesc = abuf->idesc;
85352 int cycles = 0;
85354 int referenced = 0;
85355 int UNUSED insn_referenced = abuf->written;
85356 INT in_ICCi_3 = -1;
85357 INT in_FCCi_3 = -1;
85358 in_FCCi_3 = FLD (in_FCCi_3);
85359 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85360 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85362 return cycles;
85363 #undef FLD
85366 static int
85367 model_fr450_cfcku (SIM_CPU *current_cpu, void *sem_arg)
85369 #define FLD(f) abuf->fields.sfmt_cfckne.f
85370 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85371 const IDESC * UNUSED idesc = abuf->idesc;
85372 int cycles = 0;
85374 int referenced = 0;
85375 int UNUSED insn_referenced = abuf->written;
85376 INT in_ICCi_3 = -1;
85377 INT in_FCCi_3 = -1;
85378 in_FCCi_3 = FLD (in_FCCi_3);
85379 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85380 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85382 return cycles;
85383 #undef FLD
85386 static int
85387 model_fr450_cfcko (SIM_CPU *current_cpu, void *sem_arg)
85389 #define FLD(f) abuf->fields.sfmt_cfckne.f
85390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85391 const IDESC * UNUSED idesc = abuf->idesc;
85392 int cycles = 0;
85394 int referenced = 0;
85395 int UNUSED insn_referenced = abuf->written;
85396 INT in_ICCi_3 = -1;
85397 INT in_FCCi_3 = -1;
85398 in_FCCi_3 = FLD (in_FCCi_3);
85399 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85400 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85402 return cycles;
85403 #undef FLD
85406 static int
85407 model_fr450_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
85409 #define FLD(f) abuf->fields.sfmt_cjmpl.f
85410 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85411 const IDESC * UNUSED idesc = abuf->idesc;
85412 int cycles = 0;
85414 int referenced = 0;
85415 int UNUSED insn_referenced = abuf->written;
85416 INT in_GRi = -1;
85417 INT in_GRj = -1;
85418 INT in_ICCi_2 = -1;
85419 INT in_FCCi_2 = -1;
85420 in_GRi = FLD (in_GRi);
85421 in_GRj = FLD (in_GRj);
85422 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85423 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
85424 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
85425 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
85427 return cycles;
85428 #undef FLD
85431 static int
85432 model_fr450_ccalll (SIM_CPU *current_cpu, void *sem_arg)
85434 #define FLD(f) abuf->fields.sfmt_cjmpl.f
85435 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85436 const IDESC * UNUSED idesc = abuf->idesc;
85437 int cycles = 0;
85439 int referenced = 0;
85440 int UNUSED insn_referenced = abuf->written;
85441 INT in_GRi = -1;
85442 INT in_GRj = -1;
85443 INT in_ICCi_2 = -1;
85444 INT in_FCCi_2 = -1;
85445 in_GRi = FLD (in_GRi);
85446 in_GRj = FLD (in_GRj);
85447 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85448 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
85449 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
85450 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
85452 return cycles;
85453 #undef FLD
85456 static int
85457 model_fr450_ici (SIM_CPU *current_cpu, void *sem_arg)
85459 #define FLD(f) abuf->fields.sfmt_icpl.f
85460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85461 const IDESC * UNUSED idesc = abuf->idesc;
85462 int cycles = 0;
85464 int referenced = 0;
85465 int UNUSED insn_referenced = abuf->written;
85466 INT in_GRi = -1;
85467 INT in_GRj = -1;
85468 in_GRi = FLD (in_GRi);
85469 in_GRj = FLD (in_GRj);
85470 referenced |= 1 << 0;
85471 referenced |= 1 << 1;
85472 cycles += frvbf_model_fr450_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85474 return cycles;
85475 #undef FLD
85478 static int
85479 model_fr450_dci (SIM_CPU *current_cpu, void *sem_arg)
85481 #define FLD(f) abuf->fields.sfmt_icpl.f
85482 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85483 const IDESC * UNUSED idesc = abuf->idesc;
85484 int cycles = 0;
85486 int referenced = 0;
85487 int UNUSED insn_referenced = abuf->written;
85488 INT in_GRi = -1;
85489 INT in_GRj = -1;
85490 in_GRi = FLD (in_GRi);
85491 in_GRj = FLD (in_GRj);
85492 referenced |= 1 << 0;
85493 referenced |= 1 << 1;
85494 cycles += frvbf_model_fr450_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85496 return cycles;
85497 #undef FLD
85500 static int
85501 model_fr450_icei (SIM_CPU *current_cpu, void *sem_arg)
85503 #define FLD(f) abuf->fields.sfmt_icei.f
85504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85505 const IDESC * UNUSED idesc = abuf->idesc;
85506 int cycles = 0;
85508 int referenced = 0;
85509 int UNUSED insn_referenced = abuf->written;
85510 INT in_GRi = -1;
85511 INT in_GRj = -1;
85512 in_GRi = FLD (in_GRi);
85513 in_GRj = FLD (in_GRj);
85514 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
85515 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85516 cycles += frvbf_model_fr450_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85518 return cycles;
85519 #undef FLD
85522 static int
85523 model_fr450_dcei (SIM_CPU *current_cpu, void *sem_arg)
85525 #define FLD(f) abuf->fields.sfmt_icei.f
85526 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85527 const IDESC * UNUSED idesc = abuf->idesc;
85528 int cycles = 0;
85530 int referenced = 0;
85531 int UNUSED insn_referenced = abuf->written;
85532 INT in_GRi = -1;
85533 INT in_GRj = -1;
85534 in_GRi = FLD (in_GRi);
85535 in_GRj = FLD (in_GRj);
85536 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
85537 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85538 cycles += frvbf_model_fr450_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85540 return cycles;
85541 #undef FLD
85544 static int
85545 model_fr450_dcf (SIM_CPU *current_cpu, void *sem_arg)
85547 #define FLD(f) abuf->fields.sfmt_icpl.f
85548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85549 const IDESC * UNUSED idesc = abuf->idesc;
85550 int cycles = 0;
85552 int referenced = 0;
85553 int UNUSED insn_referenced = abuf->written;
85554 INT in_GRi = -1;
85555 INT in_GRj = -1;
85556 in_GRi = FLD (in_GRi);
85557 in_GRj = FLD (in_GRj);
85558 referenced |= 1 << 0;
85559 referenced |= 1 << 1;
85560 cycles += frvbf_model_fr450_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85562 return cycles;
85563 #undef FLD
85566 static int
85567 model_fr450_dcef (SIM_CPU *current_cpu, void *sem_arg)
85569 #define FLD(f) abuf->fields.sfmt_icei.f
85570 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85571 const IDESC * UNUSED idesc = abuf->idesc;
85572 int cycles = 0;
85574 int referenced = 0;
85575 int UNUSED insn_referenced = abuf->written;
85576 INT in_GRi = -1;
85577 INT in_GRj = -1;
85578 in_GRi = FLD (in_GRi);
85579 in_GRj = FLD (in_GRj);
85580 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
85581 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85582 cycles += frvbf_model_fr450_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85584 return cycles;
85585 #undef FLD
85588 static int
85589 model_fr450_witlb (SIM_CPU *current_cpu, void *sem_arg)
85591 #define FLD(f) abuf->fields.sfmt_empty.f
85592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85593 const IDESC * UNUSED idesc = abuf->idesc;
85594 int cycles = 0;
85596 int referenced = 0;
85597 int UNUSED insn_referenced = abuf->written;
85598 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85600 return cycles;
85601 #undef FLD
85604 static int
85605 model_fr450_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
85607 #define FLD(f) abuf->fields.sfmt_empty.f
85608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85609 const IDESC * UNUSED idesc = abuf->idesc;
85610 int cycles = 0;
85612 int referenced = 0;
85613 int UNUSED insn_referenced = abuf->written;
85614 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85616 return cycles;
85617 #undef FLD
85620 static int
85621 model_fr450_itlbi (SIM_CPU *current_cpu, void *sem_arg)
85623 #define FLD(f) abuf->fields.sfmt_empty.f
85624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85625 const IDESC * UNUSED idesc = abuf->idesc;
85626 int cycles = 0;
85628 int referenced = 0;
85629 int UNUSED insn_referenced = abuf->written;
85630 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85632 return cycles;
85633 #undef FLD
85636 static int
85637 model_fr450_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
85639 #define FLD(f) abuf->fields.sfmt_empty.f
85640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85641 const IDESC * UNUSED idesc = abuf->idesc;
85642 int cycles = 0;
85644 int referenced = 0;
85645 int UNUSED insn_referenced = abuf->written;
85646 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85648 return cycles;
85649 #undef FLD
85652 static int
85653 model_fr450_icpl (SIM_CPU *current_cpu, void *sem_arg)
85655 #define FLD(f) abuf->fields.sfmt_icpl.f
85656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85657 const IDESC * UNUSED idesc = abuf->idesc;
85658 int cycles = 0;
85660 int referenced = 0;
85661 int UNUSED insn_referenced = abuf->written;
85662 INT in_GRi = -1;
85663 INT in_GRj = -1;
85664 in_GRi = FLD (in_GRi);
85665 in_GRj = FLD (in_GRj);
85666 referenced |= 1 << 0;
85667 referenced |= 1 << 1;
85668 cycles += frvbf_model_fr450_u_icpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85670 return cycles;
85671 #undef FLD
85674 static int
85675 model_fr450_dcpl (SIM_CPU *current_cpu, void *sem_arg)
85677 #define FLD(f) abuf->fields.sfmt_icpl.f
85678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85679 const IDESC * UNUSED idesc = abuf->idesc;
85680 int cycles = 0;
85682 int referenced = 0;
85683 int UNUSED insn_referenced = abuf->written;
85684 INT in_GRi = -1;
85685 INT in_GRj = -1;
85686 in_GRi = FLD (in_GRi);
85687 in_GRj = FLD (in_GRj);
85688 referenced |= 1 << 0;
85689 referenced |= 1 << 1;
85690 cycles += frvbf_model_fr450_u_dcpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85692 return cycles;
85693 #undef FLD
85696 static int
85697 model_fr450_icul (SIM_CPU *current_cpu, void *sem_arg)
85699 #define FLD(f) abuf->fields.sfmt_jmpil.f
85700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85701 const IDESC * UNUSED idesc = abuf->idesc;
85702 int cycles = 0;
85704 int referenced = 0;
85705 int UNUSED insn_referenced = abuf->written;
85706 INT in_GRi = -1;
85707 INT in_GRj = -1;
85708 in_GRi = FLD (in_GRi);
85709 referenced |= 1 << 0;
85710 cycles += frvbf_model_fr450_u_icul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85712 return cycles;
85713 #undef FLD
85716 static int
85717 model_fr450_dcul (SIM_CPU *current_cpu, void *sem_arg)
85719 #define FLD(f) abuf->fields.sfmt_jmpil.f
85720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85721 const IDESC * UNUSED idesc = abuf->idesc;
85722 int cycles = 0;
85724 int referenced = 0;
85725 int UNUSED insn_referenced = abuf->written;
85726 INT in_GRi = -1;
85727 INT in_GRj = -1;
85728 in_GRi = FLD (in_GRi);
85729 referenced |= 1 << 0;
85730 cycles += frvbf_model_fr450_u_dcul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85732 return cycles;
85733 #undef FLD
85736 static int
85737 model_fr450_bar (SIM_CPU *current_cpu, void *sem_arg)
85739 #define FLD(f) abuf->fields.sfmt_empty.f
85740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85741 const IDESC * UNUSED idesc = abuf->idesc;
85742 int cycles = 0;
85744 int referenced = 0;
85745 int UNUSED insn_referenced = abuf->written;
85746 cycles += frvbf_model_fr450_u_barrier (current_cpu, idesc, 0, referenced);
85748 return cycles;
85749 #undef FLD
85752 static int
85753 model_fr450_membar (SIM_CPU *current_cpu, void *sem_arg)
85755 #define FLD(f) abuf->fields.sfmt_empty.f
85756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85757 const IDESC * UNUSED idesc = abuf->idesc;
85758 int cycles = 0;
85760 int referenced = 0;
85761 int UNUSED insn_referenced = abuf->written;
85762 cycles += frvbf_model_fr450_u_membar (current_cpu, idesc, 0, referenced);
85764 return cycles;
85765 #undef FLD
85768 static int
85769 model_fr450_lrai (SIM_CPU *current_cpu, void *sem_arg)
85771 #define FLD(f) abuf->fields.sfmt_empty.f
85772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85773 const IDESC * UNUSED idesc = abuf->idesc;
85774 int cycles = 0;
85776 int referenced = 0;
85777 int UNUSED insn_referenced = abuf->written;
85778 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85780 return cycles;
85781 #undef FLD
85784 static int
85785 model_fr450_lrad (SIM_CPU *current_cpu, void *sem_arg)
85787 #define FLD(f) abuf->fields.sfmt_empty.f
85788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85789 const IDESC * UNUSED idesc = abuf->idesc;
85790 int cycles = 0;
85792 int referenced = 0;
85793 int UNUSED insn_referenced = abuf->written;
85794 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85796 return cycles;
85797 #undef FLD
85800 static int
85801 model_fr450_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
85803 #define FLD(f) abuf->fields.sfmt_empty.f
85804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85805 const IDESC * UNUSED idesc = abuf->idesc;
85806 int cycles = 0;
85808 int referenced = 0;
85809 int UNUSED insn_referenced = abuf->written;
85810 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85812 return cycles;
85813 #undef FLD
85816 static int
85817 model_fr450_cop1 (SIM_CPU *current_cpu, void *sem_arg)
85819 #define FLD(f) abuf->fields.sfmt_empty.f
85820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85821 const IDESC * UNUSED idesc = abuf->idesc;
85822 int cycles = 0;
85824 int referenced = 0;
85825 int UNUSED insn_referenced = abuf->written;
85826 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85828 return cycles;
85829 #undef FLD
85832 static int
85833 model_fr450_cop2 (SIM_CPU *current_cpu, void *sem_arg)
85835 #define FLD(f) abuf->fields.sfmt_empty.f
85836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85837 const IDESC * UNUSED idesc = abuf->idesc;
85838 int cycles = 0;
85840 int referenced = 0;
85841 int UNUSED insn_referenced = abuf->written;
85842 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85844 return cycles;
85845 #undef FLD
85848 static int
85849 model_fr450_clrgr (SIM_CPU *current_cpu, void *sem_arg)
85851 #define FLD(f) abuf->fields.sfmt_swapi.f
85852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85853 const IDESC * UNUSED idesc = abuf->idesc;
85854 int cycles = 0;
85856 int referenced = 0;
85857 int UNUSED insn_referenced = abuf->written;
85858 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85860 return cycles;
85861 #undef FLD
85864 static int
85865 model_fr450_clrfr (SIM_CPU *current_cpu, void *sem_arg)
85867 #define FLD(f) abuf->fields.sfmt_cfmadds.f
85868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85869 const IDESC * UNUSED idesc = abuf->idesc;
85870 int cycles = 0;
85872 int referenced = 0;
85873 int UNUSED insn_referenced = abuf->written;
85874 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85876 return cycles;
85877 #undef FLD
85880 static int
85881 model_fr450_clrga (SIM_CPU *current_cpu, void *sem_arg)
85883 #define FLD(f) abuf->fields.sfmt_empty.f
85884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85885 const IDESC * UNUSED idesc = abuf->idesc;
85886 int cycles = 0;
85888 int referenced = 0;
85889 int UNUSED insn_referenced = abuf->written;
85890 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85892 return cycles;
85893 #undef FLD
85896 static int
85897 model_fr450_clrfa (SIM_CPU *current_cpu, void *sem_arg)
85899 #define FLD(f) abuf->fields.sfmt_empty.f
85900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85901 const IDESC * UNUSED idesc = abuf->idesc;
85902 int cycles = 0;
85904 int referenced = 0;
85905 int UNUSED insn_referenced = abuf->written;
85906 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85908 return cycles;
85909 #undef FLD
85912 static int
85913 model_fr450_commitgr (SIM_CPU *current_cpu, void *sem_arg)
85915 #define FLD(f) abuf->fields.sfmt_setlos.f
85916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85917 const IDESC * UNUSED idesc = abuf->idesc;
85918 int cycles = 0;
85920 int referenced = 0;
85921 int UNUSED insn_referenced = abuf->written;
85922 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85924 return cycles;
85925 #undef FLD
85928 static int
85929 model_fr450_commitfr (SIM_CPU *current_cpu, void *sem_arg)
85931 #define FLD(f) abuf->fields.sfmt_mhsethis.f
85932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85933 const IDESC * UNUSED idesc = abuf->idesc;
85934 int cycles = 0;
85936 int referenced = 0;
85937 int UNUSED insn_referenced = abuf->written;
85938 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85940 return cycles;
85941 #undef FLD
85944 static int
85945 model_fr450_commitga (SIM_CPU *current_cpu, void *sem_arg)
85947 #define FLD(f) abuf->fields.sfmt_empty.f
85948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85949 const IDESC * UNUSED idesc = abuf->idesc;
85950 int cycles = 0;
85952 int referenced = 0;
85953 int UNUSED insn_referenced = abuf->written;
85954 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85956 return cycles;
85957 #undef FLD
85960 static int
85961 model_fr450_commitfa (SIM_CPU *current_cpu, void *sem_arg)
85963 #define FLD(f) abuf->fields.sfmt_empty.f
85964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85965 const IDESC * UNUSED idesc = abuf->idesc;
85966 int cycles = 0;
85968 int referenced = 0;
85969 int UNUSED insn_referenced = abuf->written;
85970 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85972 return cycles;
85973 #undef FLD
85976 static int
85977 model_fr450_fitos (SIM_CPU *current_cpu, void *sem_arg)
85979 #define FLD(f) abuf->fields.sfmt_fditos.f
85980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85981 const IDESC * UNUSED idesc = abuf->idesc;
85982 int cycles = 0;
85984 int referenced = 0;
85985 int UNUSED insn_referenced = abuf->written;
85986 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85988 return cycles;
85989 #undef FLD
85992 static int
85993 model_fr450_fstoi (SIM_CPU *current_cpu, void *sem_arg)
85995 #define FLD(f) abuf->fields.sfmt_fdstoi.f
85996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85997 const IDESC * UNUSED idesc = abuf->idesc;
85998 int cycles = 0;
86000 int referenced = 0;
86001 int UNUSED insn_referenced = abuf->written;
86002 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86004 return cycles;
86005 #undef FLD
86008 static int
86009 model_fr450_fitod (SIM_CPU *current_cpu, void *sem_arg)
86011 #define FLD(f) abuf->fields.sfmt_fitod.f
86012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86013 const IDESC * UNUSED idesc = abuf->idesc;
86014 int cycles = 0;
86016 int referenced = 0;
86017 int UNUSED insn_referenced = abuf->written;
86018 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86020 return cycles;
86021 #undef FLD
86024 static int
86025 model_fr450_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
86027 #define FLD(f) abuf->fields.sfmt_fdtoi.f
86028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86029 const IDESC * UNUSED idesc = abuf->idesc;
86030 int cycles = 0;
86032 int referenced = 0;
86033 int UNUSED insn_referenced = abuf->written;
86034 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86036 return cycles;
86037 #undef FLD
86040 static int
86041 model_fr450_fditos (SIM_CPU *current_cpu, void *sem_arg)
86043 #define FLD(f) abuf->fields.sfmt_fditos.f
86044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86045 const IDESC * UNUSED idesc = abuf->idesc;
86046 int cycles = 0;
86048 int referenced = 0;
86049 int UNUSED insn_referenced = abuf->written;
86050 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86052 return cycles;
86053 #undef FLD
86056 static int
86057 model_fr450_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
86059 #define FLD(f) abuf->fields.sfmt_fdstoi.f
86060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86061 const IDESC * UNUSED idesc = abuf->idesc;
86062 int cycles = 0;
86064 int referenced = 0;
86065 int UNUSED insn_referenced = abuf->written;
86066 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86068 return cycles;
86069 #undef FLD
86072 static int
86073 model_fr450_nfditos (SIM_CPU *current_cpu, void *sem_arg)
86075 #define FLD(f) abuf->fields.sfmt_fditos.f
86076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86077 const IDESC * UNUSED idesc = abuf->idesc;
86078 int cycles = 0;
86080 int referenced = 0;
86081 int UNUSED insn_referenced = abuf->written;
86082 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86084 return cycles;
86085 #undef FLD
86088 static int
86089 model_fr450_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
86091 #define FLD(f) abuf->fields.sfmt_fdstoi.f
86092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86093 const IDESC * UNUSED idesc = abuf->idesc;
86094 int cycles = 0;
86096 int referenced = 0;
86097 int UNUSED insn_referenced = abuf->written;
86098 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86100 return cycles;
86101 #undef FLD
86104 static int
86105 model_fr450_cfitos (SIM_CPU *current_cpu, void *sem_arg)
86107 #define FLD(f) abuf->fields.sfmt_cfitos.f
86108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86109 const IDESC * UNUSED idesc = abuf->idesc;
86110 int cycles = 0;
86112 int referenced = 0;
86113 int UNUSED insn_referenced = abuf->written;
86114 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86116 return cycles;
86117 #undef FLD
86120 static int
86121 model_fr450_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
86123 #define FLD(f) abuf->fields.sfmt_cfstoi.f
86124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86125 const IDESC * UNUSED idesc = abuf->idesc;
86126 int cycles = 0;
86128 int referenced = 0;
86129 int UNUSED insn_referenced = abuf->written;
86130 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86132 return cycles;
86133 #undef FLD
86136 static int
86137 model_fr450_nfitos (SIM_CPU *current_cpu, void *sem_arg)
86139 #define FLD(f) abuf->fields.sfmt_fditos.f
86140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86141 const IDESC * UNUSED idesc = abuf->idesc;
86142 int cycles = 0;
86144 int referenced = 0;
86145 int UNUSED insn_referenced = abuf->written;
86146 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86148 return cycles;
86149 #undef FLD
86152 static int
86153 model_fr450_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
86155 #define FLD(f) abuf->fields.sfmt_fdstoi.f
86156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86157 const IDESC * UNUSED idesc = abuf->idesc;
86158 int cycles = 0;
86160 int referenced = 0;
86161 int UNUSED insn_referenced = abuf->written;
86162 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86164 return cycles;
86165 #undef FLD
86168 static int
86169 model_fr450_fmovs (SIM_CPU *current_cpu, void *sem_arg)
86171 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86173 const IDESC * UNUSED idesc = abuf->idesc;
86174 int cycles = 0;
86176 int referenced = 0;
86177 int UNUSED insn_referenced = abuf->written;
86178 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86180 return cycles;
86181 #undef FLD
86184 static int
86185 model_fr450_fmovd (SIM_CPU *current_cpu, void *sem_arg)
86187 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86189 const IDESC * UNUSED idesc = abuf->idesc;
86190 int cycles = 0;
86192 int referenced = 0;
86193 int UNUSED insn_referenced = abuf->written;
86194 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86196 return cycles;
86197 #undef FLD
86200 static int
86201 model_fr450_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
86203 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86205 const IDESC * UNUSED idesc = abuf->idesc;
86206 int cycles = 0;
86208 int referenced = 0;
86209 int UNUSED insn_referenced = abuf->written;
86210 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86212 return cycles;
86213 #undef FLD
86216 static int
86217 model_fr450_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
86219 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86221 const IDESC * UNUSED idesc = abuf->idesc;
86222 int cycles = 0;
86224 int referenced = 0;
86225 int UNUSED insn_referenced = abuf->written;
86226 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86228 return cycles;
86229 #undef FLD
86232 static int
86233 model_fr450_fnegs (SIM_CPU *current_cpu, void *sem_arg)
86235 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86237 const IDESC * UNUSED idesc = abuf->idesc;
86238 int cycles = 0;
86240 int referenced = 0;
86241 int UNUSED insn_referenced = abuf->written;
86242 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86244 return cycles;
86245 #undef FLD
86248 static int
86249 model_fr450_fnegd (SIM_CPU *current_cpu, void *sem_arg)
86251 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86253 const IDESC * UNUSED idesc = abuf->idesc;
86254 int cycles = 0;
86256 int referenced = 0;
86257 int UNUSED insn_referenced = abuf->written;
86258 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86260 return cycles;
86261 #undef FLD
86264 static int
86265 model_fr450_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
86267 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86269 const IDESC * UNUSED idesc = abuf->idesc;
86270 int cycles = 0;
86272 int referenced = 0;
86273 int UNUSED insn_referenced = abuf->written;
86274 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86276 return cycles;
86277 #undef FLD
86280 static int
86281 model_fr450_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
86283 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86285 const IDESC * UNUSED idesc = abuf->idesc;
86286 int cycles = 0;
86288 int referenced = 0;
86289 int UNUSED insn_referenced = abuf->written;
86290 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86292 return cycles;
86293 #undef FLD
86296 static int
86297 model_fr450_fabss (SIM_CPU *current_cpu, void *sem_arg)
86299 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86301 const IDESC * UNUSED idesc = abuf->idesc;
86302 int cycles = 0;
86304 int referenced = 0;
86305 int UNUSED insn_referenced = abuf->written;
86306 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86308 return cycles;
86309 #undef FLD
86312 static int
86313 model_fr450_fabsd (SIM_CPU *current_cpu, void *sem_arg)
86315 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86317 const IDESC * UNUSED idesc = abuf->idesc;
86318 int cycles = 0;
86320 int referenced = 0;
86321 int UNUSED insn_referenced = abuf->written;
86322 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86324 return cycles;
86325 #undef FLD
86328 static int
86329 model_fr450_fdabss (SIM_CPU *current_cpu, void *sem_arg)
86331 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86333 const IDESC * UNUSED idesc = abuf->idesc;
86334 int cycles = 0;
86336 int referenced = 0;
86337 int UNUSED insn_referenced = abuf->written;
86338 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86340 return cycles;
86341 #undef FLD
86344 static int
86345 model_fr450_cfabss (SIM_CPU *current_cpu, void *sem_arg)
86347 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86349 const IDESC * UNUSED idesc = abuf->idesc;
86350 int cycles = 0;
86352 int referenced = 0;
86353 int UNUSED insn_referenced = abuf->written;
86354 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86356 return cycles;
86357 #undef FLD
86360 static int
86361 model_fr450_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
86363 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86365 const IDESC * UNUSED idesc = abuf->idesc;
86366 int cycles = 0;
86368 int referenced = 0;
86369 int UNUSED insn_referenced = abuf->written;
86370 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86372 return cycles;
86373 #undef FLD
86376 static int
86377 model_fr450_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
86379 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86381 const IDESC * UNUSED idesc = abuf->idesc;
86382 int cycles = 0;
86384 int referenced = 0;
86385 int UNUSED insn_referenced = abuf->written;
86386 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86388 return cycles;
86389 #undef FLD
86392 static int
86393 model_fr450_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
86395 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86397 const IDESC * UNUSED idesc = abuf->idesc;
86398 int cycles = 0;
86400 int referenced = 0;
86401 int UNUSED insn_referenced = abuf->written;
86402 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86404 return cycles;
86405 #undef FLD
86408 static int
86409 model_fr450_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
86411 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86413 const IDESC * UNUSED idesc = abuf->idesc;
86414 int cycles = 0;
86416 int referenced = 0;
86417 int UNUSED insn_referenced = abuf->written;
86418 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86420 return cycles;
86421 #undef FLD
86424 static int
86425 model_fr450_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
86427 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86429 const IDESC * UNUSED idesc = abuf->idesc;
86430 int cycles = 0;
86432 int referenced = 0;
86433 int UNUSED insn_referenced = abuf->written;
86434 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86436 return cycles;
86437 #undef FLD
86440 static int
86441 model_fr450_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
86443 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86445 const IDESC * UNUSED idesc = abuf->idesc;
86446 int cycles = 0;
86448 int referenced = 0;
86449 int UNUSED insn_referenced = abuf->written;
86450 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86452 return cycles;
86453 #undef FLD
86456 static int
86457 model_fr450_fadds (SIM_CPU *current_cpu, void *sem_arg)
86459 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86461 const IDESC * UNUSED idesc = abuf->idesc;
86462 int cycles = 0;
86464 int referenced = 0;
86465 int UNUSED insn_referenced = abuf->written;
86466 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86468 return cycles;
86469 #undef FLD
86472 static int
86473 model_fr450_fsubs (SIM_CPU *current_cpu, void *sem_arg)
86475 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86477 const IDESC * UNUSED idesc = abuf->idesc;
86478 int cycles = 0;
86480 int referenced = 0;
86481 int UNUSED insn_referenced = abuf->written;
86482 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86484 return cycles;
86485 #undef FLD
86488 static int
86489 model_fr450_fmuls (SIM_CPU *current_cpu, void *sem_arg)
86491 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86493 const IDESC * UNUSED idesc = abuf->idesc;
86494 int cycles = 0;
86496 int referenced = 0;
86497 int UNUSED insn_referenced = abuf->written;
86498 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86500 return cycles;
86501 #undef FLD
86504 static int
86505 model_fr450_fdivs (SIM_CPU *current_cpu, void *sem_arg)
86507 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86509 const IDESC * UNUSED idesc = abuf->idesc;
86510 int cycles = 0;
86512 int referenced = 0;
86513 int UNUSED insn_referenced = abuf->written;
86514 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86516 return cycles;
86517 #undef FLD
86520 static int
86521 model_fr450_faddd (SIM_CPU *current_cpu, void *sem_arg)
86523 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86525 const IDESC * UNUSED idesc = abuf->idesc;
86526 int cycles = 0;
86528 int referenced = 0;
86529 int UNUSED insn_referenced = abuf->written;
86530 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86532 return cycles;
86533 #undef FLD
86536 static int
86537 model_fr450_fsubd (SIM_CPU *current_cpu, void *sem_arg)
86539 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86541 const IDESC * UNUSED idesc = abuf->idesc;
86542 int cycles = 0;
86544 int referenced = 0;
86545 int UNUSED insn_referenced = abuf->written;
86546 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86548 return cycles;
86549 #undef FLD
86552 static int
86553 model_fr450_fmuld (SIM_CPU *current_cpu, void *sem_arg)
86555 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86557 const IDESC * UNUSED idesc = abuf->idesc;
86558 int cycles = 0;
86560 int referenced = 0;
86561 int UNUSED insn_referenced = abuf->written;
86562 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86564 return cycles;
86565 #undef FLD
86568 static int
86569 model_fr450_fdivd (SIM_CPU *current_cpu, void *sem_arg)
86571 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86573 const IDESC * UNUSED idesc = abuf->idesc;
86574 int cycles = 0;
86576 int referenced = 0;
86577 int UNUSED insn_referenced = abuf->written;
86578 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86580 return cycles;
86581 #undef FLD
86584 static int
86585 model_fr450_cfadds (SIM_CPU *current_cpu, void *sem_arg)
86587 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86589 const IDESC * UNUSED idesc = abuf->idesc;
86590 int cycles = 0;
86592 int referenced = 0;
86593 int UNUSED insn_referenced = abuf->written;
86594 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86596 return cycles;
86597 #undef FLD
86600 static int
86601 model_fr450_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
86603 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86605 const IDESC * UNUSED idesc = abuf->idesc;
86606 int cycles = 0;
86608 int referenced = 0;
86609 int UNUSED insn_referenced = abuf->written;
86610 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86612 return cycles;
86613 #undef FLD
86616 static int
86617 model_fr450_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
86619 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86621 const IDESC * UNUSED idesc = abuf->idesc;
86622 int cycles = 0;
86624 int referenced = 0;
86625 int UNUSED insn_referenced = abuf->written;
86626 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86628 return cycles;
86629 #undef FLD
86632 static int
86633 model_fr450_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
86635 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86637 const IDESC * UNUSED idesc = abuf->idesc;
86638 int cycles = 0;
86640 int referenced = 0;
86641 int UNUSED insn_referenced = abuf->written;
86642 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86644 return cycles;
86645 #undef FLD
86648 static int
86649 model_fr450_nfadds (SIM_CPU *current_cpu, void *sem_arg)
86651 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86653 const IDESC * UNUSED idesc = abuf->idesc;
86654 int cycles = 0;
86656 int referenced = 0;
86657 int UNUSED insn_referenced = abuf->written;
86658 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86660 return cycles;
86661 #undef FLD
86664 static int
86665 model_fr450_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
86667 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86669 const IDESC * UNUSED idesc = abuf->idesc;
86670 int cycles = 0;
86672 int referenced = 0;
86673 int UNUSED insn_referenced = abuf->written;
86674 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86676 return cycles;
86677 #undef FLD
86680 static int
86681 model_fr450_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
86683 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86685 const IDESC * UNUSED idesc = abuf->idesc;
86686 int cycles = 0;
86688 int referenced = 0;
86689 int UNUSED insn_referenced = abuf->written;
86690 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86692 return cycles;
86693 #undef FLD
86696 static int
86697 model_fr450_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
86699 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86701 const IDESC * UNUSED idesc = abuf->idesc;
86702 int cycles = 0;
86704 int referenced = 0;
86705 int UNUSED insn_referenced = abuf->written;
86706 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86708 return cycles;
86709 #undef FLD
86712 static int
86713 model_fr450_fcmps (SIM_CPU *current_cpu, void *sem_arg)
86715 #define FLD(f) abuf->fields.sfmt_cfcmps.f
86716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86717 const IDESC * UNUSED idesc = abuf->idesc;
86718 int cycles = 0;
86720 int referenced = 0;
86721 int UNUSED insn_referenced = abuf->written;
86722 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86724 return cycles;
86725 #undef FLD
86728 static int
86729 model_fr450_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
86731 #define FLD(f) abuf->fields.sfmt_fcmpd.f
86732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86733 const IDESC * UNUSED idesc = abuf->idesc;
86734 int cycles = 0;
86736 int referenced = 0;
86737 int UNUSED insn_referenced = abuf->written;
86738 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86740 return cycles;
86741 #undef FLD
86744 static int
86745 model_fr450_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
86747 #define FLD(f) abuf->fields.sfmt_cfcmps.f
86748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86749 const IDESC * UNUSED idesc = abuf->idesc;
86750 int cycles = 0;
86752 int referenced = 0;
86753 int UNUSED insn_referenced = abuf->written;
86754 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86756 return cycles;
86757 #undef FLD
86760 static int
86761 model_fr450_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
86763 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
86764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86765 const IDESC * UNUSED idesc = abuf->idesc;
86766 int cycles = 0;
86768 int referenced = 0;
86769 int UNUSED insn_referenced = abuf->written;
86770 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86772 return cycles;
86773 #undef FLD
86776 static int
86777 model_fr450_fmadds (SIM_CPU *current_cpu, void *sem_arg)
86779 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86781 const IDESC * UNUSED idesc = abuf->idesc;
86782 int cycles = 0;
86784 int referenced = 0;
86785 int UNUSED insn_referenced = abuf->written;
86786 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86788 return cycles;
86789 #undef FLD
86792 static int
86793 model_fr450_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
86795 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86797 const IDESC * UNUSED idesc = abuf->idesc;
86798 int cycles = 0;
86800 int referenced = 0;
86801 int UNUSED insn_referenced = abuf->written;
86802 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86804 return cycles;
86805 #undef FLD
86808 static int
86809 model_fr450_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
86811 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86813 const IDESC * UNUSED idesc = abuf->idesc;
86814 int cycles = 0;
86816 int referenced = 0;
86817 int UNUSED insn_referenced = abuf->written;
86818 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86820 return cycles;
86821 #undef FLD
86824 static int
86825 model_fr450_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
86827 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86829 const IDESC * UNUSED idesc = abuf->idesc;
86830 int cycles = 0;
86832 int referenced = 0;
86833 int UNUSED insn_referenced = abuf->written;
86834 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86836 return cycles;
86837 #undef FLD
86840 static int
86841 model_fr450_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
86843 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86845 const IDESC * UNUSED idesc = abuf->idesc;
86846 int cycles = 0;
86848 int referenced = 0;
86849 int UNUSED insn_referenced = abuf->written;
86850 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86852 return cycles;
86853 #undef FLD
86856 static int
86857 model_fr450_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
86859 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86861 const IDESC * UNUSED idesc = abuf->idesc;
86862 int cycles = 0;
86864 int referenced = 0;
86865 int UNUSED insn_referenced = abuf->written;
86866 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86868 return cycles;
86869 #undef FLD
86872 static int
86873 model_fr450_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
86875 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86877 const IDESC * UNUSED idesc = abuf->idesc;
86878 int cycles = 0;
86880 int referenced = 0;
86881 int UNUSED insn_referenced = abuf->written;
86882 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86884 return cycles;
86885 #undef FLD
86888 static int
86889 model_fr450_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
86891 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86893 const IDESC * UNUSED idesc = abuf->idesc;
86894 int cycles = 0;
86896 int referenced = 0;
86897 int UNUSED insn_referenced = abuf->written;
86898 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86900 return cycles;
86901 #undef FLD
86904 static int
86905 model_fr450_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
86907 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86909 const IDESC * UNUSED idesc = abuf->idesc;
86910 int cycles = 0;
86912 int referenced = 0;
86913 int UNUSED insn_referenced = abuf->written;
86914 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86916 return cycles;
86917 #undef FLD
86920 static int
86921 model_fr450_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
86923 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86925 const IDESC * UNUSED idesc = abuf->idesc;
86926 int cycles = 0;
86928 int referenced = 0;
86929 int UNUSED insn_referenced = abuf->written;
86930 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86932 return cycles;
86933 #undef FLD
86936 static int
86937 model_fr450_fmas (SIM_CPU *current_cpu, void *sem_arg)
86939 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86941 const IDESC * UNUSED idesc = abuf->idesc;
86942 int cycles = 0;
86944 int referenced = 0;
86945 int UNUSED insn_referenced = abuf->written;
86946 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86948 return cycles;
86949 #undef FLD
86952 static int
86953 model_fr450_fmss (SIM_CPU *current_cpu, void *sem_arg)
86955 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86957 const IDESC * UNUSED idesc = abuf->idesc;
86958 int cycles = 0;
86960 int referenced = 0;
86961 int UNUSED insn_referenced = abuf->written;
86962 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86964 return cycles;
86965 #undef FLD
86968 static int
86969 model_fr450_fdmas (SIM_CPU *current_cpu, void *sem_arg)
86971 #define FLD(f) abuf->fields.sfmt_fdmas.f
86972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86973 const IDESC * UNUSED idesc = abuf->idesc;
86974 int cycles = 0;
86976 int referenced = 0;
86977 int UNUSED insn_referenced = abuf->written;
86978 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86980 return cycles;
86981 #undef FLD
86984 static int
86985 model_fr450_fdmss (SIM_CPU *current_cpu, void *sem_arg)
86987 #define FLD(f) abuf->fields.sfmt_fdmas.f
86988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86989 const IDESC * UNUSED idesc = abuf->idesc;
86990 int cycles = 0;
86992 int referenced = 0;
86993 int UNUSED insn_referenced = abuf->written;
86994 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86996 return cycles;
86997 #undef FLD
87000 static int
87001 model_fr450_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
87003 #define FLD(f) abuf->fields.sfmt_fdmas.f
87004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87005 const IDESC * UNUSED idesc = abuf->idesc;
87006 int cycles = 0;
87008 int referenced = 0;
87009 int UNUSED insn_referenced = abuf->written;
87010 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87012 return cycles;
87013 #undef FLD
87016 static int
87017 model_fr450_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
87019 #define FLD(f) abuf->fields.sfmt_fdmas.f
87020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87021 const IDESC * UNUSED idesc = abuf->idesc;
87022 int cycles = 0;
87024 int referenced = 0;
87025 int UNUSED insn_referenced = abuf->written;
87026 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87028 return cycles;
87029 #undef FLD
87032 static int
87033 model_fr450_cfmas (SIM_CPU *current_cpu, void *sem_arg)
87035 #define FLD(f) abuf->fields.sfmt_cfmas.f
87036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87037 const IDESC * UNUSED idesc = abuf->idesc;
87038 int cycles = 0;
87040 int referenced = 0;
87041 int UNUSED insn_referenced = abuf->written;
87042 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87044 return cycles;
87045 #undef FLD
87048 static int
87049 model_fr450_cfmss (SIM_CPU *current_cpu, void *sem_arg)
87051 #define FLD(f) abuf->fields.sfmt_cfmas.f
87052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87053 const IDESC * UNUSED idesc = abuf->idesc;
87054 int cycles = 0;
87056 int referenced = 0;
87057 int UNUSED insn_referenced = abuf->written;
87058 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87060 return cycles;
87061 #undef FLD
87064 static int
87065 model_fr450_fmad (SIM_CPU *current_cpu, void *sem_arg)
87067 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87069 const IDESC * UNUSED idesc = abuf->idesc;
87070 int cycles = 0;
87072 int referenced = 0;
87073 int UNUSED insn_referenced = abuf->written;
87074 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87076 return cycles;
87077 #undef FLD
87080 static int
87081 model_fr450_fmsd (SIM_CPU *current_cpu, void *sem_arg)
87083 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87085 const IDESC * UNUSED idesc = abuf->idesc;
87086 int cycles = 0;
87088 int referenced = 0;
87089 int UNUSED insn_referenced = abuf->written;
87090 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87092 return cycles;
87093 #undef FLD
87096 static int
87097 model_fr450_nfmas (SIM_CPU *current_cpu, void *sem_arg)
87099 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87101 const IDESC * UNUSED idesc = abuf->idesc;
87102 int cycles = 0;
87104 int referenced = 0;
87105 int UNUSED insn_referenced = abuf->written;
87106 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87108 return cycles;
87109 #undef FLD
87112 static int
87113 model_fr450_nfmss (SIM_CPU *current_cpu, void *sem_arg)
87115 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87117 const IDESC * UNUSED idesc = abuf->idesc;
87118 int cycles = 0;
87120 int referenced = 0;
87121 int UNUSED insn_referenced = abuf->written;
87122 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87124 return cycles;
87125 #undef FLD
87128 static int
87129 model_fr450_fdadds (SIM_CPU *current_cpu, void *sem_arg)
87131 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87133 const IDESC * UNUSED idesc = abuf->idesc;
87134 int cycles = 0;
87136 int referenced = 0;
87137 int UNUSED insn_referenced = abuf->written;
87138 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87140 return cycles;
87141 #undef FLD
87144 static int
87145 model_fr450_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
87147 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87149 const IDESC * UNUSED idesc = abuf->idesc;
87150 int cycles = 0;
87152 int referenced = 0;
87153 int UNUSED insn_referenced = abuf->written;
87154 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87156 return cycles;
87157 #undef FLD
87160 static int
87161 model_fr450_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
87163 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87165 const IDESC * UNUSED idesc = abuf->idesc;
87166 int cycles = 0;
87168 int referenced = 0;
87169 int UNUSED insn_referenced = abuf->written;
87170 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87172 return cycles;
87173 #undef FLD
87176 static int
87177 model_fr450_fddivs (SIM_CPU *current_cpu, void *sem_arg)
87179 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87181 const IDESC * UNUSED idesc = abuf->idesc;
87182 int cycles = 0;
87184 int referenced = 0;
87185 int UNUSED insn_referenced = abuf->written;
87186 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87188 return cycles;
87189 #undef FLD
87192 static int
87193 model_fr450_fdsads (SIM_CPU *current_cpu, void *sem_arg)
87195 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87197 const IDESC * UNUSED idesc = abuf->idesc;
87198 int cycles = 0;
87200 int referenced = 0;
87201 int UNUSED insn_referenced = abuf->written;
87202 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87204 return cycles;
87205 #undef FLD
87208 static int
87209 model_fr450_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
87211 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87213 const IDESC * UNUSED idesc = abuf->idesc;
87214 int cycles = 0;
87216 int referenced = 0;
87217 int UNUSED insn_referenced = abuf->written;
87218 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87220 return cycles;
87221 #undef FLD
87224 static int
87225 model_fr450_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
87227 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87229 const IDESC * UNUSED idesc = abuf->idesc;
87230 int cycles = 0;
87232 int referenced = 0;
87233 int UNUSED insn_referenced = abuf->written;
87234 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87236 return cycles;
87237 #undef FLD
87240 static int
87241 model_fr450_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
87243 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87245 const IDESC * UNUSED idesc = abuf->idesc;
87246 int cycles = 0;
87248 int referenced = 0;
87249 int UNUSED insn_referenced = abuf->written;
87250 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87252 return cycles;
87253 #undef FLD
87256 static int
87257 model_fr450_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
87259 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87261 const IDESC * UNUSED idesc = abuf->idesc;
87262 int cycles = 0;
87264 int referenced = 0;
87265 int UNUSED insn_referenced = abuf->written;
87266 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87268 return cycles;
87269 #undef FLD
87272 static int
87273 model_fr450_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
87275 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87277 const IDESC * UNUSED idesc = abuf->idesc;
87278 int cycles = 0;
87280 int referenced = 0;
87281 int UNUSED insn_referenced = abuf->written;
87282 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87284 return cycles;
87285 #undef FLD
87288 static int
87289 model_fr450_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
87291 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87293 const IDESC * UNUSED idesc = abuf->idesc;
87294 int cycles = 0;
87296 int referenced = 0;
87297 int UNUSED insn_referenced = abuf->written;
87298 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87300 return cycles;
87301 #undef FLD
87304 static int
87305 model_fr450_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
87307 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87309 const IDESC * UNUSED idesc = abuf->idesc;
87310 int cycles = 0;
87312 int referenced = 0;
87313 int UNUSED insn_referenced = abuf->written;
87314 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87316 return cycles;
87317 #undef FLD
87320 static int
87321 model_fr450_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
87323 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
87324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87325 const IDESC * UNUSED idesc = abuf->idesc;
87326 int cycles = 0;
87328 int referenced = 0;
87329 int UNUSED insn_referenced = abuf->written;
87330 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87332 return cycles;
87333 #undef FLD
87336 static int
87337 model_fr450_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
87339 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
87340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87341 const IDESC * UNUSED idesc = abuf->idesc;
87342 int cycles = 0;
87344 int referenced = 0;
87345 int UNUSED insn_referenced = abuf->written;
87346 INT out_FRkhi = -1;
87347 INT out_FRklo = -1;
87348 out_FRklo = FLD (out_FRklo);
87349 referenced |= 1 << 1;
87350 cycles += frvbf_model_fr450_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
87352 return cycles;
87353 #undef FLD
87356 static int
87357 model_fr450_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
87359 #define FLD(f) abuf->fields.sfmt_mhsethis.f
87360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87361 const IDESC * UNUSED idesc = abuf->idesc;
87362 int cycles = 0;
87364 int referenced = 0;
87365 int UNUSED insn_referenced = abuf->written;
87366 INT out_FRkhi = -1;
87367 INT out_FRklo = -1;
87368 out_FRkhi = FLD (out_FRkhi);
87369 referenced |= 1 << 0;
87370 cycles += frvbf_model_fr450_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
87372 return cycles;
87373 #undef FLD
87376 static int
87377 model_fr450_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
87379 #define FLD(f) abuf->fields.sfmt_mhdsets.f
87380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87381 const IDESC * UNUSED idesc = abuf->idesc;
87382 int cycles = 0;
87384 int referenced = 0;
87385 int UNUSED insn_referenced = abuf->written;
87386 INT in_FRinti = -1;
87387 INT in_FRintj = -1;
87388 INT out_FRintk = -1;
87389 out_FRintk = FLD (out_FRintk);
87390 referenced |= 1 << 2;
87391 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87393 return cycles;
87394 #undef FLD
87397 static int
87398 model_fr450_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
87400 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
87401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87402 const IDESC * UNUSED idesc = abuf->idesc;
87403 int cycles = 0;
87405 int referenced = 0;
87406 int UNUSED insn_referenced = abuf->written;
87407 INT out_FRkhi = -1;
87408 INT out_FRklo = -1;
87409 out_FRklo = FLD (out_FRklo);
87410 referenced |= 1 << 1;
87411 cycles += frvbf_model_fr450_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
87413 return cycles;
87414 #undef FLD
87417 static int
87418 model_fr450_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
87420 #define FLD(f) abuf->fields.sfmt_mhsethih.f
87421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87422 const IDESC * UNUSED idesc = abuf->idesc;
87423 int cycles = 0;
87425 int referenced = 0;
87426 int UNUSED insn_referenced = abuf->written;
87427 INT out_FRkhi = -1;
87428 INT out_FRklo = -1;
87429 out_FRkhi = FLD (out_FRkhi);
87430 referenced |= 1 << 0;
87431 cycles += frvbf_model_fr450_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
87433 return cycles;
87434 #undef FLD
87437 static int
87438 model_fr450_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
87440 #define FLD(f) abuf->fields.sfmt_mhdseth.f
87441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87442 const IDESC * UNUSED idesc = abuf->idesc;
87443 int cycles = 0;
87445 int referenced = 0;
87446 int UNUSED insn_referenced = abuf->written;
87447 INT in_FRinti = -1;
87448 INT in_FRintj = -1;
87449 INT out_FRintk = -1;
87450 out_FRintk = FLD (out_FRintk);
87451 referenced |= 1 << 2;
87452 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87454 return cycles;
87455 #undef FLD
87458 static int
87459 model_fr450_mand (SIM_CPU *current_cpu, void *sem_arg)
87461 #define FLD(f) abuf->fields.sfmt_mwcut.f
87462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87463 const IDESC * UNUSED idesc = abuf->idesc;
87464 int cycles = 0;
87466 int referenced = 0;
87467 int UNUSED insn_referenced = abuf->written;
87468 INT in_FRinti = -1;
87469 INT in_FRintj = -1;
87470 INT out_FRintk = -1;
87471 in_FRinti = FLD (in_FRinti);
87472 in_FRintj = FLD (in_FRintj);
87473 out_FRintk = FLD (out_FRintk);
87474 referenced |= 1 << 0;
87475 referenced |= 1 << 1;
87476 referenced |= 1 << 2;
87477 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87479 return cycles;
87480 #undef FLD
87483 static int
87484 model_fr450_mor (SIM_CPU *current_cpu, void *sem_arg)
87486 #define FLD(f) abuf->fields.sfmt_mwcut.f
87487 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87488 const IDESC * UNUSED idesc = abuf->idesc;
87489 int cycles = 0;
87491 int referenced = 0;
87492 int UNUSED insn_referenced = abuf->written;
87493 INT in_FRinti = -1;
87494 INT in_FRintj = -1;
87495 INT out_FRintk = -1;
87496 in_FRinti = FLD (in_FRinti);
87497 in_FRintj = FLD (in_FRintj);
87498 out_FRintk = FLD (out_FRintk);
87499 referenced |= 1 << 0;
87500 referenced |= 1 << 1;
87501 referenced |= 1 << 2;
87502 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87504 return cycles;
87505 #undef FLD
87508 static int
87509 model_fr450_mxor (SIM_CPU *current_cpu, void *sem_arg)
87511 #define FLD(f) abuf->fields.sfmt_mwcut.f
87512 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87513 const IDESC * UNUSED idesc = abuf->idesc;
87514 int cycles = 0;
87516 int referenced = 0;
87517 int UNUSED insn_referenced = abuf->written;
87518 INT in_FRinti = -1;
87519 INT in_FRintj = -1;
87520 INT out_FRintk = -1;
87521 in_FRinti = FLD (in_FRinti);
87522 in_FRintj = FLD (in_FRintj);
87523 out_FRintk = FLD (out_FRintk);
87524 referenced |= 1 << 0;
87525 referenced |= 1 << 1;
87526 referenced |= 1 << 2;
87527 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87529 return cycles;
87530 #undef FLD
87533 static int
87534 model_fr450_cmand (SIM_CPU *current_cpu, void *sem_arg)
87536 #define FLD(f) abuf->fields.sfmt_cmand.f
87537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87538 const IDESC * UNUSED idesc = abuf->idesc;
87539 int cycles = 0;
87541 int referenced = 0;
87542 int UNUSED insn_referenced = abuf->written;
87543 INT in_FRinti = -1;
87544 INT in_FRintj = -1;
87545 INT out_FRintk = -1;
87546 in_FRinti = FLD (in_FRinti);
87547 in_FRintj = FLD (in_FRintj);
87548 out_FRintk = FLD (out_FRintk);
87549 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
87550 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
87551 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
87552 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87554 return cycles;
87555 #undef FLD
87558 static int
87559 model_fr450_cmor (SIM_CPU *current_cpu, void *sem_arg)
87561 #define FLD(f) abuf->fields.sfmt_cmand.f
87562 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87563 const IDESC * UNUSED idesc = abuf->idesc;
87564 int cycles = 0;
87566 int referenced = 0;
87567 int UNUSED insn_referenced = abuf->written;
87568 INT in_FRinti = -1;
87569 INT in_FRintj = -1;
87570 INT out_FRintk = -1;
87571 in_FRinti = FLD (in_FRinti);
87572 in_FRintj = FLD (in_FRintj);
87573 out_FRintk = FLD (out_FRintk);
87574 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
87575 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
87576 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
87577 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87579 return cycles;
87580 #undef FLD
87583 static int
87584 model_fr450_cmxor (SIM_CPU *current_cpu, void *sem_arg)
87586 #define FLD(f) abuf->fields.sfmt_cmand.f
87587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87588 const IDESC * UNUSED idesc = abuf->idesc;
87589 int cycles = 0;
87591 int referenced = 0;
87592 int UNUSED insn_referenced = abuf->written;
87593 INT in_FRinti = -1;
87594 INT in_FRintj = -1;
87595 INT out_FRintk = -1;
87596 in_FRinti = FLD (in_FRinti);
87597 in_FRintj = FLD (in_FRintj);
87598 out_FRintk = FLD (out_FRintk);
87599 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
87600 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
87601 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
87602 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87604 return cycles;
87605 #undef FLD
87608 static int
87609 model_fr450_mnot (SIM_CPU *current_cpu, void *sem_arg)
87611 #define FLD(f) abuf->fields.sfmt_mcut.f
87612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87613 const IDESC * UNUSED idesc = abuf->idesc;
87614 int cycles = 0;
87616 int referenced = 0;
87617 int UNUSED insn_referenced = abuf->written;
87618 INT in_FRinti = -1;
87619 INT in_FRintj = -1;
87620 INT out_FRintk = -1;
87621 in_FRintj = FLD (in_FRintj);
87622 out_FRintk = FLD (out_FRintk);
87623 referenced |= 1 << 1;
87624 referenced |= 1 << 2;
87625 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87627 return cycles;
87628 #undef FLD
87631 static int
87632 model_fr450_cmnot (SIM_CPU *current_cpu, void *sem_arg)
87634 #define FLD(f) abuf->fields.sfmt_cmand.f
87635 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87636 const IDESC * UNUSED idesc = abuf->idesc;
87637 int cycles = 0;
87639 int referenced = 0;
87640 int UNUSED insn_referenced = abuf->written;
87641 INT in_FRinti = -1;
87642 INT in_FRintj = -1;
87643 INT out_FRintk = -1;
87644 in_FRintj = FLD (in_FRintj);
87645 out_FRintk = FLD (out_FRintk);
87646 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
87647 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
87648 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87650 return cycles;
87651 #undef FLD
87654 static int
87655 model_fr450_mrotli (SIM_CPU *current_cpu, void *sem_arg)
87657 #define FLD(f) abuf->fields.sfmt_mwcuti.f
87658 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87659 const IDESC * UNUSED idesc = abuf->idesc;
87660 int cycles = 0;
87662 int referenced = 0;
87663 int UNUSED insn_referenced = abuf->written;
87664 INT in_FRinti = -1;
87665 INT in_FRintj = -1;
87666 INT out_FRintk = -1;
87667 in_FRinti = FLD (in_FRinti);
87668 out_FRintk = FLD (out_FRintk);
87669 referenced |= 1 << 0;
87670 referenced |= 1 << 2;
87671 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87673 return cycles;
87674 #undef FLD
87677 static int
87678 model_fr450_mrotri (SIM_CPU *current_cpu, void *sem_arg)
87680 #define FLD(f) abuf->fields.sfmt_mwcuti.f
87681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87682 const IDESC * UNUSED idesc = abuf->idesc;
87683 int cycles = 0;
87685 int referenced = 0;
87686 int UNUSED insn_referenced = abuf->written;
87687 INT in_FRinti = -1;
87688 INT in_FRintj = -1;
87689 INT out_FRintk = -1;
87690 in_FRinti = FLD (in_FRinti);
87691 out_FRintk = FLD (out_FRintk);
87692 referenced |= 1 << 0;
87693 referenced |= 1 << 2;
87694 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87696 return cycles;
87697 #undef FLD
87700 static int
87701 model_fr450_mwcut (SIM_CPU *current_cpu, void *sem_arg)
87703 #define FLD(f) abuf->fields.sfmt_mwcut.f
87704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87705 const IDESC * UNUSED idesc = abuf->idesc;
87706 int cycles = 0;
87708 int referenced = 0;
87709 int UNUSED insn_referenced = abuf->written;
87710 INT in_FRinti = -1;
87711 INT in_FRintj = -1;
87712 INT out_FRintk = -1;
87713 in_FRinti = FLD (in_FRinti);
87714 in_FRintj = FLD (in_FRintj);
87715 out_FRintk = FLD (out_FRintk);
87716 referenced |= 1 << 0;
87717 referenced |= 1 << 1;
87718 referenced |= 1 << 2;
87719 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87721 return cycles;
87722 #undef FLD
87725 static int
87726 model_fr450_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
87728 #define FLD(f) abuf->fields.sfmt_mwcuti.f
87729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87730 const IDESC * UNUSED idesc = abuf->idesc;
87731 int cycles = 0;
87733 int referenced = 0;
87734 int UNUSED insn_referenced = abuf->written;
87735 INT in_FRinti = -1;
87736 INT in_FRintj = -1;
87737 INT out_FRintk = -1;
87738 in_FRinti = FLD (in_FRinti);
87739 out_FRintk = FLD (out_FRintk);
87740 referenced |= 1 << 0;
87741 referenced |= 1 << 2;
87742 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87744 return cycles;
87745 #undef FLD
87748 static int
87749 model_fr450_mcut (SIM_CPU *current_cpu, void *sem_arg)
87751 #define FLD(f) abuf->fields.sfmt_mcut.f
87752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87753 const IDESC * UNUSED idesc = abuf->idesc;
87754 int cycles = 0;
87756 int referenced = 0;
87757 int UNUSED insn_referenced = abuf->written;
87758 INT in_ACC40Si = -1;
87759 INT in_FRintj = -1;
87760 INT out_ACC40Sk = -1;
87761 INT out_FRintk = -1;
87762 in_ACC40Si = FLD (in_ACC40Si);
87763 in_FRintj = FLD (in_FRintj);
87764 out_FRintk = FLD (out_FRintk);
87765 referenced |= 1 << 0;
87766 referenced |= 1 << 1;
87767 referenced |= 1 << 3;
87768 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
87770 return cycles;
87771 #undef FLD
87774 static int
87775 model_fr450_mcuti (SIM_CPU *current_cpu, void *sem_arg)
87777 #define FLD(f) abuf->fields.sfmt_mcuti.f
87778 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87779 const IDESC * UNUSED idesc = abuf->idesc;
87780 int cycles = 0;
87782 int referenced = 0;
87783 int UNUSED insn_referenced = abuf->written;
87784 INT in_ACC40Si = -1;
87785 INT in_FRintj = -1;
87786 INT out_ACC40Sk = -1;
87787 INT out_FRintk = -1;
87788 in_ACC40Si = FLD (in_ACC40Si);
87789 out_FRintk = FLD (out_FRintk);
87790 referenced |= 1 << 0;
87791 referenced |= 1 << 3;
87792 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
87794 return cycles;
87795 #undef FLD
87798 static int
87799 model_fr450_mcutss (SIM_CPU *current_cpu, void *sem_arg)
87801 #define FLD(f) abuf->fields.sfmt_mcut.f
87802 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87803 const IDESC * UNUSED idesc = abuf->idesc;
87804 int cycles = 0;
87806 int referenced = 0;
87807 int UNUSED insn_referenced = abuf->written;
87808 INT in_ACC40Si = -1;
87809 INT in_FRintj = -1;
87810 INT out_ACC40Sk = -1;
87811 INT out_FRintk = -1;
87812 in_ACC40Si = FLD (in_ACC40Si);
87813 in_FRintj = FLD (in_FRintj);
87814 out_FRintk = FLD (out_FRintk);
87815 referenced |= 1 << 0;
87816 referenced |= 1 << 1;
87817 referenced |= 1 << 3;
87818 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
87820 return cycles;
87821 #undef FLD
87824 static int
87825 model_fr450_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
87827 #define FLD(f) abuf->fields.sfmt_mcuti.f
87828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87829 const IDESC * UNUSED idesc = abuf->idesc;
87830 int cycles = 0;
87832 int referenced = 0;
87833 int UNUSED insn_referenced = abuf->written;
87834 INT in_ACC40Si = -1;
87835 INT in_FRintj = -1;
87836 INT out_ACC40Sk = -1;
87837 INT out_FRintk = -1;
87838 in_ACC40Si = FLD (in_ACC40Si);
87839 out_FRintk = FLD (out_FRintk);
87840 referenced |= 1 << 0;
87841 referenced |= 1 << 3;
87842 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
87844 return cycles;
87845 #undef FLD
87848 static int
87849 model_fr450_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
87851 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
87852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87853 const IDESC * UNUSED idesc = abuf->idesc;
87854 int cycles = 0;
87856 int referenced = 0;
87857 int UNUSED insn_referenced = abuf->written;
87858 INT in_ACC40Si = -1;
87859 INT out_FRintk = -1;
87860 in_ACC40Si = FLD (in_ACC40Si);
87861 out_FRintk = FLD (out_FRintkeven);
87862 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
87863 cycles += frvbf_model_fr450_u_media_4_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_FRintk);
87865 return cycles;
87866 #undef FLD
87869 static int
87870 model_fr450_maveh (SIM_CPU *current_cpu, void *sem_arg)
87872 #define FLD(f) abuf->fields.sfmt_mwcut.f
87873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87874 const IDESC * UNUSED idesc = abuf->idesc;
87875 int cycles = 0;
87877 int referenced = 0;
87878 int UNUSED insn_referenced = abuf->written;
87879 INT in_FRinti = -1;
87880 INT in_FRintj = -1;
87881 INT out_FRintk = -1;
87882 in_FRinti = FLD (in_FRinti);
87883 in_FRintj = FLD (in_FRintj);
87884 out_FRintk = FLD (out_FRintk);
87885 referenced |= 1 << 0;
87886 referenced |= 1 << 1;
87887 referenced |= 1 << 2;
87888 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87890 return cycles;
87891 #undef FLD
87894 static int
87895 model_fr450_msllhi (SIM_CPU *current_cpu, void *sem_arg)
87897 #define FLD(f) abuf->fields.sfmt_msllhi.f
87898 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87899 const IDESC * UNUSED idesc = abuf->idesc;
87900 int cycles = 0;
87902 int referenced = 0;
87903 int UNUSED insn_referenced = abuf->written;
87904 INT in_FRinti = -1;
87905 INT in_FRintj = -1;
87906 INT out_FRintk = -1;
87907 in_FRinti = FLD (in_FRinti);
87908 out_FRintk = FLD (out_FRintk);
87909 referenced |= 1 << 0;
87910 referenced |= 1 << 2;
87911 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87913 return cycles;
87914 #undef FLD
87917 static int
87918 model_fr450_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
87920 #define FLD(f) abuf->fields.sfmt_msllhi.f
87921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87922 const IDESC * UNUSED idesc = abuf->idesc;
87923 int cycles = 0;
87925 int referenced = 0;
87926 int UNUSED insn_referenced = abuf->written;
87927 INT in_FRinti = -1;
87928 INT in_FRintj = -1;
87929 INT out_FRintk = -1;
87930 in_FRinti = FLD (in_FRinti);
87931 out_FRintk = FLD (out_FRintk);
87932 referenced |= 1 << 0;
87933 referenced |= 1 << 2;
87934 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87936 return cycles;
87937 #undef FLD
87940 static int
87941 model_fr450_msrahi (SIM_CPU *current_cpu, void *sem_arg)
87943 #define FLD(f) abuf->fields.sfmt_msllhi.f
87944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87945 const IDESC * UNUSED idesc = abuf->idesc;
87946 int cycles = 0;
87948 int referenced = 0;
87949 int UNUSED insn_referenced = abuf->written;
87950 INT in_FRinti = -1;
87951 INT out_FRintk = -1;
87952 in_FRinti = FLD (in_FRinti);
87953 out_FRintk = FLD (out_FRintk);
87954 referenced |= 1 << 0;
87955 referenced |= 1 << 1;
87956 cycles += frvbf_model_fr450_u_media_6 (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
87958 return cycles;
87959 #undef FLD
87962 static int
87963 model_fr450_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
87965 #define FLD(f) abuf->fields.sfmt_mdrotli.f
87966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87967 const IDESC * UNUSED idesc = abuf->idesc;
87968 int cycles = 0;
87970 int referenced = 0;
87971 int UNUSED insn_referenced = abuf->written;
87972 INT in_FRinti = -1;
87973 INT in_FRintj = -1;
87974 INT out_FRintk = -1;
87975 in_FRinti = FLD (in_FRintieven);
87976 out_FRintk = FLD (out_FRintkeven);
87977 cycles += frvbf_model_fr450_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87979 return cycles;
87980 #undef FLD
87983 static int
87984 model_fr450_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
87986 #define FLD(f) abuf->fields.sfmt_mcplhi.f
87987 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87988 const IDESC * UNUSED idesc = abuf->idesc;
87989 int cycles = 0;
87991 int referenced = 0;
87992 int UNUSED insn_referenced = abuf->written;
87993 INT in_FRinti = -1;
87994 INT out_FRintk = -1;
87995 in_FRinti = FLD (in_FRinti);
87996 out_FRintk = FLD (out_FRintk);
87997 referenced |= 1 << 0;
87998 referenced |= 1 << 1;
87999 cycles += frvbf_model_fr450_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
88001 return cycles;
88002 #undef FLD
88005 static int
88006 model_fr450_mcpli (SIM_CPU *current_cpu, void *sem_arg)
88008 #define FLD(f) abuf->fields.sfmt_mwcuti.f
88009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88010 const IDESC * UNUSED idesc = abuf->idesc;
88011 int cycles = 0;
88013 int referenced = 0;
88014 int UNUSED insn_referenced = abuf->written;
88015 INT in_FRinti = -1;
88016 INT out_FRintk = -1;
88017 in_FRinti = FLD (in_FRinti);
88018 out_FRintk = FLD (out_FRintk);
88019 referenced |= 1 << 0;
88020 referenced |= 1 << 1;
88021 cycles += frvbf_model_fr450_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
88023 return cycles;
88024 #undef FLD
88027 static int
88028 model_fr450_msaths (SIM_CPU *current_cpu, void *sem_arg)
88030 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88031 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88032 const IDESC * UNUSED idesc = abuf->idesc;
88033 int cycles = 0;
88035 int referenced = 0;
88036 int UNUSED insn_referenced = abuf->written;
88037 INT in_FRinti = -1;
88038 INT in_FRintj = -1;
88039 INT out_FRintk = -1;
88040 in_FRinti = FLD (in_FRinti);
88041 in_FRintj = FLD (in_FRintj);
88042 referenced |= 1 << 0;
88043 referenced |= 1 << 1;
88044 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88046 return cycles;
88047 #undef FLD
88050 static int
88051 model_fr450_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
88053 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88054 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88055 const IDESC * UNUSED idesc = abuf->idesc;
88056 int cycles = 0;
88058 int referenced = 0;
88059 int UNUSED insn_referenced = abuf->written;
88060 INT in_FRinti = -1;
88061 INT in_FRintj = -1;
88062 INT out_FRintk = -1;
88063 in_FRinti = FLD (in_FRintieven);
88064 in_FRintj = FLD (in_FRintjeven);
88065 out_FRintk = FLD (out_FRintkeven);
88066 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88068 return cycles;
88069 #undef FLD
88072 static int
88073 model_fr450_msathu (SIM_CPU *current_cpu, void *sem_arg)
88075 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88077 const IDESC * UNUSED idesc = abuf->idesc;
88078 int cycles = 0;
88080 int referenced = 0;
88081 int UNUSED insn_referenced = abuf->written;
88082 INT in_FRinti = -1;
88083 INT in_FRintj = -1;
88084 INT out_FRintk = -1;
88085 in_FRinti = FLD (in_FRinti);
88086 in_FRintj = FLD (in_FRintj);
88087 referenced |= 1 << 0;
88088 referenced |= 1 << 1;
88089 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88091 return cycles;
88092 #undef FLD
88095 static int
88096 model_fr450_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
88098 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
88099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88100 const IDESC * UNUSED idesc = abuf->idesc;
88101 int cycles = 0;
88103 int referenced = 0;
88104 int UNUSED insn_referenced = abuf->written;
88105 INT in_FRinti = -1;
88106 INT in_FRintj = -1;
88107 INT out_FCCk = -1;
88108 in_FRinti = FLD (in_FRinti);
88109 in_FRintj = FLD (in_FRintj);
88110 out_FCCk = FLD (out_FCCk);
88111 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88112 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88113 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88114 cycles += frvbf_model_fr450_u_media_7 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FCCk);
88116 return cycles;
88117 #undef FLD
88120 static int
88121 model_fr450_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
88123 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
88124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88125 const IDESC * UNUSED idesc = abuf->idesc;
88126 int cycles = 0;
88128 int referenced = 0;
88129 int UNUSED insn_referenced = abuf->written;
88130 INT in_FRinti = -1;
88131 INT in_FRintj = -1;
88132 INT out_FCCk = -1;
88133 in_FRinti = FLD (in_FRinti);
88134 in_FRintj = FLD (in_FRintj);
88135 out_FCCk = FLD (out_FCCk);
88136 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88137 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88138 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88139 cycles += frvbf_model_fr450_u_media_7 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FCCk);
88141 return cycles;
88142 #undef FLD
88145 static int
88146 model_fr450_mabshs (SIM_CPU *current_cpu, void *sem_arg)
88148 #define FLD(f) abuf->fields.sfmt_mabshs.f
88149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88150 const IDESC * UNUSED idesc = abuf->idesc;
88151 int cycles = 0;
88153 int referenced = 0;
88154 int UNUSED insn_referenced = abuf->written;
88155 INT in_FRinti = -1;
88156 INT in_FRintj = -1;
88157 INT out_FRintk = -1;
88158 in_FRintj = FLD (in_FRintj);
88159 out_FRintk = FLD (out_FRintk);
88160 referenced |= 1 << 1;
88161 referenced |= 1 << 2;
88162 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88164 return cycles;
88165 #undef FLD
88168 static int
88169 model_fr450_maddhss (SIM_CPU *current_cpu, void *sem_arg)
88171 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88173 const IDESC * UNUSED idesc = abuf->idesc;
88174 int cycles = 0;
88176 int referenced = 0;
88177 int UNUSED insn_referenced = abuf->written;
88178 INT in_FRinti = -1;
88179 INT in_FRintj = -1;
88180 INT out_FRintk = -1;
88181 in_FRinti = FLD (in_FRinti);
88182 in_FRintj = FLD (in_FRintj);
88183 referenced |= 1 << 0;
88184 referenced |= 1 << 1;
88185 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88187 return cycles;
88188 #undef FLD
88191 static int
88192 model_fr450_maddhus (SIM_CPU *current_cpu, void *sem_arg)
88194 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88195 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88196 const IDESC * UNUSED idesc = abuf->idesc;
88197 int cycles = 0;
88199 int referenced = 0;
88200 int UNUSED insn_referenced = abuf->written;
88201 INT in_FRinti = -1;
88202 INT in_FRintj = -1;
88203 INT out_FRintk = -1;
88204 in_FRinti = FLD (in_FRinti);
88205 in_FRintj = FLD (in_FRintj);
88206 referenced |= 1 << 0;
88207 referenced |= 1 << 1;
88208 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88210 return cycles;
88211 #undef FLD
88214 static int
88215 model_fr450_msubhss (SIM_CPU *current_cpu, void *sem_arg)
88217 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88218 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88219 const IDESC * UNUSED idesc = abuf->idesc;
88220 int cycles = 0;
88222 int referenced = 0;
88223 int UNUSED insn_referenced = abuf->written;
88224 INT in_FRinti = -1;
88225 INT in_FRintj = -1;
88226 INT out_FRintk = -1;
88227 in_FRinti = FLD (in_FRinti);
88228 in_FRintj = FLD (in_FRintj);
88229 referenced |= 1 << 0;
88230 referenced |= 1 << 1;
88231 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88233 return cycles;
88234 #undef FLD
88237 static int
88238 model_fr450_msubhus (SIM_CPU *current_cpu, void *sem_arg)
88240 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88242 const IDESC * UNUSED idesc = abuf->idesc;
88243 int cycles = 0;
88245 int referenced = 0;
88246 int UNUSED insn_referenced = abuf->written;
88247 INT in_FRinti = -1;
88248 INT in_FRintj = -1;
88249 INT out_FRintk = -1;
88250 in_FRinti = FLD (in_FRinti);
88251 in_FRintj = FLD (in_FRintj);
88252 referenced |= 1 << 0;
88253 referenced |= 1 << 1;
88254 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88256 return cycles;
88257 #undef FLD
88260 static int
88261 model_fr450_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
88263 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88265 const IDESC * UNUSED idesc = abuf->idesc;
88266 int cycles = 0;
88268 int referenced = 0;
88269 int UNUSED insn_referenced = abuf->written;
88270 INT in_FRinti = -1;
88271 INT in_FRintj = -1;
88272 INT out_FRintk = -1;
88273 in_FRinti = FLD (in_FRinti);
88274 in_FRintj = FLD (in_FRintj);
88275 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88276 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88277 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88279 return cycles;
88280 #undef FLD
88283 static int
88284 model_fr450_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
88286 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88287 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88288 const IDESC * UNUSED idesc = abuf->idesc;
88289 int cycles = 0;
88291 int referenced = 0;
88292 int UNUSED insn_referenced = abuf->written;
88293 INT in_FRinti = -1;
88294 INT in_FRintj = -1;
88295 INT out_FRintk = -1;
88296 in_FRinti = FLD (in_FRinti);
88297 in_FRintj = FLD (in_FRintj);
88298 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88299 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88300 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88302 return cycles;
88303 #undef FLD
88306 static int
88307 model_fr450_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
88309 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88311 const IDESC * UNUSED idesc = abuf->idesc;
88312 int cycles = 0;
88314 int referenced = 0;
88315 int UNUSED insn_referenced = abuf->written;
88316 INT in_FRinti = -1;
88317 INT in_FRintj = -1;
88318 INT out_FRintk = -1;
88319 in_FRinti = FLD (in_FRinti);
88320 in_FRintj = FLD (in_FRintj);
88321 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88322 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88323 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88325 return cycles;
88326 #undef FLD
88329 static int
88330 model_fr450_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
88332 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88334 const IDESC * UNUSED idesc = abuf->idesc;
88335 int cycles = 0;
88337 int referenced = 0;
88338 int UNUSED insn_referenced = abuf->written;
88339 INT in_FRinti = -1;
88340 INT in_FRintj = -1;
88341 INT out_FRintk = -1;
88342 in_FRinti = FLD (in_FRinti);
88343 in_FRintj = FLD (in_FRintj);
88344 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88345 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88346 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88348 return cycles;
88349 #undef FLD
88352 static int
88353 model_fr450_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
88355 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88357 const IDESC * UNUSED idesc = abuf->idesc;
88358 int cycles = 0;
88360 int referenced = 0;
88361 int UNUSED insn_referenced = abuf->written;
88362 INT in_FRinti = -1;
88363 INT in_FRintj = -1;
88364 INT out_FRintk = -1;
88365 in_FRinti = FLD (in_FRintieven);
88366 in_FRintj = FLD (in_FRintjeven);
88367 out_FRintk = FLD (out_FRintkeven);
88368 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88370 return cycles;
88371 #undef FLD
88374 static int
88375 model_fr450_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
88377 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88378 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88379 const IDESC * UNUSED idesc = abuf->idesc;
88380 int cycles = 0;
88382 int referenced = 0;
88383 int UNUSED insn_referenced = abuf->written;
88384 INT in_FRinti = -1;
88385 INT in_FRintj = -1;
88386 INT out_FRintk = -1;
88387 in_FRinti = FLD (in_FRintieven);
88388 in_FRintj = FLD (in_FRintjeven);
88389 out_FRintk = FLD (out_FRintkeven);
88390 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88392 return cycles;
88393 #undef FLD
88396 static int
88397 model_fr450_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
88399 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88401 const IDESC * UNUSED idesc = abuf->idesc;
88402 int cycles = 0;
88404 int referenced = 0;
88405 int UNUSED insn_referenced = abuf->written;
88406 INT in_FRinti = -1;
88407 INT in_FRintj = -1;
88408 INT out_FRintk = -1;
88409 in_FRinti = FLD (in_FRintieven);
88410 in_FRintj = FLD (in_FRintjeven);
88411 out_FRintk = FLD (out_FRintkeven);
88412 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88414 return cycles;
88415 #undef FLD
88418 static int
88419 model_fr450_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
88421 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88423 const IDESC * UNUSED idesc = abuf->idesc;
88424 int cycles = 0;
88426 int referenced = 0;
88427 int UNUSED insn_referenced = abuf->written;
88428 INT in_FRinti = -1;
88429 INT in_FRintj = -1;
88430 INT out_FRintk = -1;
88431 in_FRinti = FLD (in_FRintieven);
88432 in_FRintj = FLD (in_FRintjeven);
88433 out_FRintk = FLD (out_FRintkeven);
88434 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88436 return cycles;
88437 #undef FLD
88440 static int
88441 model_fr450_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
88443 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88445 const IDESC * UNUSED idesc = abuf->idesc;
88446 int cycles = 0;
88448 int referenced = 0;
88449 int UNUSED insn_referenced = abuf->written;
88450 INT in_FRinti = -1;
88451 INT in_FRintj = -1;
88452 INT out_FRintk = -1;
88453 in_FRinti = FLD (in_FRintieven);
88454 in_FRintj = FLD (in_FRintjeven);
88455 out_FRintk = FLD (out_FRintkeven);
88456 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88458 return cycles;
88459 #undef FLD
88462 static int
88463 model_fr450_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
88465 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88466 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88467 const IDESC * UNUSED idesc = abuf->idesc;
88468 int cycles = 0;
88470 int referenced = 0;
88471 int UNUSED insn_referenced = abuf->written;
88472 INT in_FRinti = -1;
88473 INT in_FRintj = -1;
88474 INT out_FRintk = -1;
88475 in_FRinti = FLD (in_FRintieven);
88476 in_FRintj = FLD (in_FRintjeven);
88477 out_FRintk = FLD (out_FRintkeven);
88478 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88480 return cycles;
88481 #undef FLD
88484 static int
88485 model_fr450_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
88487 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88489 const IDESC * UNUSED idesc = abuf->idesc;
88490 int cycles = 0;
88492 int referenced = 0;
88493 int UNUSED insn_referenced = abuf->written;
88494 INT in_FRinti = -1;
88495 INT in_FRintj = -1;
88496 INT out_FRintk = -1;
88497 in_FRinti = FLD (in_FRintieven);
88498 in_FRintj = FLD (in_FRintjeven);
88499 out_FRintk = FLD (out_FRintkeven);
88500 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88502 return cycles;
88503 #undef FLD
88506 static int
88507 model_fr450_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
88509 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88511 const IDESC * UNUSED idesc = abuf->idesc;
88512 int cycles = 0;
88514 int referenced = 0;
88515 int UNUSED insn_referenced = abuf->written;
88516 INT in_FRinti = -1;
88517 INT in_FRintj = -1;
88518 INT out_FRintk = -1;
88519 in_FRinti = FLD (in_FRintieven);
88520 in_FRintj = FLD (in_FRintjeven);
88521 out_FRintk = FLD (out_FRintkeven);
88522 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88524 return cycles;
88525 #undef FLD
88528 static int
88529 model_fr450_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
88531 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88533 const IDESC * UNUSED idesc = abuf->idesc;
88534 int cycles = 0;
88536 int referenced = 0;
88537 int UNUSED insn_referenced = abuf->written;
88538 INT in_FRinti = -1;
88539 INT in_FRintj = -1;
88540 INT out_FRintk = -1;
88541 in_FRinti = FLD (in_FRintieven);
88542 in_FRintj = FLD (in_FRintjeven);
88543 out_FRintk = FLD (out_FRintkeven);
88544 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88546 return cycles;
88547 #undef FLD
88550 static int
88551 model_fr450_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
88553 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88554 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88555 const IDESC * UNUSED idesc = abuf->idesc;
88556 int cycles = 0;
88558 int referenced = 0;
88559 int UNUSED insn_referenced = abuf->written;
88560 INT in_FRinti = -1;
88561 INT in_FRintj = -1;
88562 INT out_FRintk = -1;
88563 in_FRinti = FLD (in_FRintieven);
88564 in_FRintj = FLD (in_FRintjeven);
88565 out_FRintk = FLD (out_FRintkeven);
88566 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88568 return cycles;
88569 #undef FLD
88572 static int
88573 model_fr450_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
88575 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
88576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88577 const IDESC * UNUSED idesc = abuf->idesc;
88578 int cycles = 0;
88580 int referenced = 0;
88581 int UNUSED insn_referenced = abuf->written;
88582 INT in_FRinti = -1;
88583 INT in_FRintj = -1;
88584 INT out_FRintk = -1;
88585 in_FRinti = FLD (in_FRintieven);
88586 in_FRintj = FLD (in_FRintieven);
88587 out_FRintk = FLD (out_FRintkeven);
88588 cycles += frvbf_model_fr450_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88590 return cycles;
88591 #undef FLD
88594 static int
88595 model_fr450_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
88597 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
88598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88599 const IDESC * UNUSED idesc = abuf->idesc;
88600 int cycles = 0;
88602 int referenced = 0;
88603 int UNUSED insn_referenced = abuf->written;
88604 INT in_FRinti = -1;
88605 INT in_FRintj = -1;
88606 INT out_FRintk = -1;
88607 in_FRinti = FLD (in_FRintieven);
88608 in_FRintj = FLD (in_FRintieven);
88609 out_FRintk = FLD (out_FRintkeven);
88610 cycles += frvbf_model_fr450_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88612 return cycles;
88613 #undef FLD
88616 static int
88617 model_fr450_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
88619 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88621 const IDESC * UNUSED idesc = abuf->idesc;
88622 int cycles = 0;
88624 int referenced = 0;
88625 int UNUSED insn_referenced = abuf->written;
88626 INT in_ACC40Si = -1;
88627 INT out_ACC40Sk = -1;
88628 in_ACC40Si = FLD (in_ACC40Si);
88629 out_ACC40Sk = FLD (out_ACC40Sk);
88630 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88631 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
88632 cycles += frvbf_model_fr450_u_media_2_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88634 return cycles;
88635 #undef FLD
88638 static int
88639 model_fr450_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
88641 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88642 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88643 const IDESC * UNUSED idesc = abuf->idesc;
88644 int cycles = 0;
88646 int referenced = 0;
88647 int UNUSED insn_referenced = abuf->written;
88648 INT in_ACC40Si = -1;
88649 INT out_ACC40Sk = -1;
88650 in_ACC40Si = FLD (in_ACC40Si);
88651 out_ACC40Sk = FLD (out_ACC40Sk);
88652 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88653 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
88654 cycles += frvbf_model_fr450_u_media_2_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88656 return cycles;
88657 #undef FLD
88660 static int
88661 model_fr450_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
88663 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88665 const IDESC * UNUSED idesc = abuf->idesc;
88666 int cycles = 0;
88668 int referenced = 0;
88669 int UNUSED insn_referenced = abuf->written;
88670 INT in_ACC40Si = -1;
88671 INT out_ACC40Sk = -1;
88672 in_ACC40Si = FLD (in_ACC40Si);
88673 out_ACC40Sk = FLD (out_ACC40Sk);
88674 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88675 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
88676 cycles += frvbf_model_fr450_u_media_2_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88678 return cycles;
88679 #undef FLD
88682 static int
88683 model_fr450_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
88685 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88686 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88687 const IDESC * UNUSED idesc = abuf->idesc;
88688 int cycles = 0;
88690 int referenced = 0;
88691 int UNUSED insn_referenced = abuf->written;
88692 INT in_ACC40Si = -1;
88693 INT out_ACC40Sk = -1;
88694 in_ACC40Si = FLD (in_ACC40Si);
88695 out_ACC40Sk = FLD (out_ACC40Sk);
88696 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88697 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
88698 cycles += frvbf_model_fr450_u_media_2_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88700 return cycles;
88701 #undef FLD
88704 static int
88705 model_fr450_masaccs (SIM_CPU *current_cpu, void *sem_arg)
88707 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88709 const IDESC * UNUSED idesc = abuf->idesc;
88710 int cycles = 0;
88712 int referenced = 0;
88713 int UNUSED insn_referenced = abuf->written;
88714 INT in_ACC40Si = -1;
88715 INT out_ACC40Sk = -1;
88716 in_ACC40Si = FLD (in_ACC40Si);
88717 out_ACC40Sk = FLD (out_ACC40Sk);
88718 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88719 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
88720 cycles += frvbf_model_fr450_u_media_2_add_sub (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88722 return cycles;
88723 #undef FLD
88726 static int
88727 model_fr450_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
88729 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88730 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88731 const IDESC * UNUSED idesc = abuf->idesc;
88732 int cycles = 0;
88734 int referenced = 0;
88735 int UNUSED insn_referenced = abuf->written;
88736 INT in_ACC40Si = -1;
88737 INT out_ACC40Sk = -1;
88738 in_ACC40Si = FLD (in_ACC40Si);
88739 out_ACC40Sk = FLD (out_ACC40Sk);
88740 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88741 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
88742 cycles += frvbf_model_fr450_u_media_2_add_sub_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88744 return cycles;
88745 #undef FLD
88748 static int
88749 model_fr450_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
88751 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88753 const IDESC * UNUSED idesc = abuf->idesc;
88754 int cycles = 0;
88756 int referenced = 0;
88757 int UNUSED insn_referenced = abuf->written;
88758 INT in_FRinti = -1;
88759 INT in_FRintj = -1;
88760 INT out_ACC40Sk = -1;
88761 INT out_ACC40Uk = -1;
88762 in_FRinti = FLD (in_FRinti);
88763 in_FRintj = FLD (in_FRintj);
88764 out_ACC40Sk = FLD (out_ACC40Sk);
88765 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88766 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88767 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88768 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88770 return cycles;
88771 #undef FLD
88774 static int
88775 model_fr450_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
88777 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88778 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88779 const IDESC * UNUSED idesc = abuf->idesc;
88780 int cycles = 0;
88782 int referenced = 0;
88783 int UNUSED insn_referenced = abuf->written;
88784 INT in_FRinti = -1;
88785 INT in_FRintj = -1;
88786 INT out_ACC40Sk = -1;
88787 INT out_ACC40Uk = -1;
88788 in_FRinti = FLD (in_FRinti);
88789 in_FRintj = FLD (in_FRintj);
88790 out_ACC40Sk = FLD (out_ACC40Sk);
88791 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88792 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88793 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88794 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88796 return cycles;
88797 #undef FLD
88800 static int
88801 model_fr450_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
88803 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88805 const IDESC * UNUSED idesc = abuf->idesc;
88806 int cycles = 0;
88808 int referenced = 0;
88809 int UNUSED insn_referenced = abuf->written;
88810 INT in_FRinti = -1;
88811 INT in_FRintj = -1;
88812 INT out_ACC40Sk = -1;
88813 INT out_ACC40Uk = -1;
88814 in_FRinti = FLD (in_FRinti);
88815 in_FRintj = FLD (in_FRintj);
88816 out_ACC40Sk = FLD (out_ACC40Sk);
88817 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88818 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88819 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88820 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88822 return cycles;
88823 #undef FLD
88826 static int
88827 model_fr450_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
88829 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88831 const IDESC * UNUSED idesc = abuf->idesc;
88832 int cycles = 0;
88834 int referenced = 0;
88835 int UNUSED insn_referenced = abuf->written;
88836 INT in_FRinti = -1;
88837 INT in_FRintj = -1;
88838 INT out_ACC40Sk = -1;
88839 INT out_ACC40Uk = -1;
88840 in_FRinti = FLD (in_FRinti);
88841 in_FRintj = FLD (in_FRintj);
88842 out_ACC40Sk = FLD (out_ACC40Sk);
88843 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88844 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88845 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88846 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88848 return cycles;
88849 #undef FLD
88852 static int
88853 model_fr450_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
88855 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88857 const IDESC * UNUSED idesc = abuf->idesc;
88858 int cycles = 0;
88860 int referenced = 0;
88861 int UNUSED insn_referenced = abuf->written;
88862 INT in_FRinti = -1;
88863 INT in_FRintj = -1;
88864 INT out_ACC40Sk = -1;
88865 INT out_ACC40Uk = -1;
88866 in_FRinti = FLD (in_FRinti);
88867 in_FRintj = FLD (in_FRintj);
88868 out_ACC40Sk = FLD (out_ACC40Sk);
88869 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88870 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88871 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
88872 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88874 return cycles;
88875 #undef FLD
88878 static int
88879 model_fr450_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
88881 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88882 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88883 const IDESC * UNUSED idesc = abuf->idesc;
88884 int cycles = 0;
88886 int referenced = 0;
88887 int UNUSED insn_referenced = abuf->written;
88888 INT in_FRinti = -1;
88889 INT in_FRintj = -1;
88890 INT out_ACC40Sk = -1;
88891 INT out_ACC40Uk = -1;
88892 in_FRinti = FLD (in_FRinti);
88893 in_FRintj = FLD (in_FRintj);
88894 out_ACC40Sk = FLD (out_ACC40Sk);
88895 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88896 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88897 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
88898 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88900 return cycles;
88901 #undef FLD
88904 static int
88905 model_fr450_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
88907 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
88908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88909 const IDESC * UNUSED idesc = abuf->idesc;
88910 int cycles = 0;
88912 int referenced = 0;
88913 int UNUSED insn_referenced = abuf->written;
88914 INT in_FRinti = -1;
88915 INT in_FRintj = -1;
88916 INT out_ACC40Sk = -1;
88917 INT out_ACC40Uk = -1;
88918 out_ACC40Sk = FLD (out_ACC40Sk);
88919 in_FRinti = FLD (in_FRintieven);
88920 in_FRintj = FLD (in_FRintjeven);
88921 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
88922 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88924 return cycles;
88925 #undef FLD
88928 static int
88929 model_fr450_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
88931 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
88932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88933 const IDESC * UNUSED idesc = abuf->idesc;
88934 int cycles = 0;
88936 int referenced = 0;
88937 int UNUSED insn_referenced = abuf->written;
88938 INT in_FRinti = -1;
88939 INT in_FRintj = -1;
88940 INT out_ACC40Sk = -1;
88941 INT out_ACC40Uk = -1;
88942 out_ACC40Sk = FLD (out_ACC40Sk);
88943 in_FRinti = FLD (in_FRintieven);
88944 in_FRintj = FLD (in_FRintjeven);
88945 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
88946 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88948 return cycles;
88949 #undef FLD
88952 static int
88953 model_fr450_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
88955 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
88956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88957 const IDESC * UNUSED idesc = abuf->idesc;
88958 int cycles = 0;
88960 int referenced = 0;
88961 int UNUSED insn_referenced = abuf->written;
88962 INT in_FRinti = -1;
88963 INT in_FRintj = -1;
88964 INT out_ACC40Sk = -1;
88965 INT out_ACC40Uk = -1;
88966 out_ACC40Sk = FLD (out_ACC40Sk);
88967 in_FRinti = FLD (in_FRintieven);
88968 in_FRintj = FLD (in_FRintjeven);
88969 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
88970 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88972 return cycles;
88973 #undef FLD
88976 static int
88977 model_fr450_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
88979 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
88980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88981 const IDESC * UNUSED idesc = abuf->idesc;
88982 int cycles = 0;
88984 int referenced = 0;
88985 int UNUSED insn_referenced = abuf->written;
88986 INT in_FRinti = -1;
88987 INT in_FRintj = -1;
88988 INT out_ACC40Sk = -1;
88989 INT out_ACC40Uk = -1;
88990 out_ACC40Sk = FLD (out_ACC40Sk);
88991 in_FRinti = FLD (in_FRintieven);
88992 in_FRintj = FLD (in_FRintjeven);
88993 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
88994 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88996 return cycles;
88997 #undef FLD
89000 static int
89001 model_fr450_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
89003 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89005 const IDESC * UNUSED idesc = abuf->idesc;
89006 int cycles = 0;
89008 int referenced = 0;
89009 int UNUSED insn_referenced = abuf->written;
89010 INT in_FRinti = -1;
89011 INT in_FRintj = -1;
89012 INT out_ACC40Sk = -1;
89013 INT out_ACC40Uk = -1;
89014 out_ACC40Sk = FLD (out_ACC40Sk);
89015 in_FRinti = FLD (in_FRintieven);
89016 in_FRintj = FLD (in_FRintjeven);
89017 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
89018 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89020 return cycles;
89021 #undef FLD
89024 static int
89025 model_fr450_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
89027 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89029 const IDESC * UNUSED idesc = abuf->idesc;
89030 int cycles = 0;
89032 int referenced = 0;
89033 int UNUSED insn_referenced = abuf->written;
89034 INT in_FRinti = -1;
89035 INT in_FRintj = -1;
89036 INT out_ACC40Sk = -1;
89037 INT out_ACC40Uk = -1;
89038 out_ACC40Sk = FLD (out_ACC40Sk);
89039 in_FRinti = FLD (in_FRintieven);
89040 in_FRintj = FLD (in_FRintjeven);
89041 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
89042 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89044 return cycles;
89045 #undef FLD
89048 static int
89049 model_fr450_mmachs (SIM_CPU *current_cpu, void *sem_arg)
89051 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89053 const IDESC * UNUSED idesc = abuf->idesc;
89054 int cycles = 0;
89056 int referenced = 0;
89057 int UNUSED insn_referenced = abuf->written;
89058 INT in_FRinti = -1;
89059 INT in_FRintj = -1;
89060 INT out_ACC40Sk = -1;
89061 INT out_ACC40Uk = -1;
89062 in_FRinti = FLD (in_FRinti);
89063 in_FRintj = FLD (in_FRintj);
89064 out_ACC40Sk = FLD (out_ACC40Sk);
89065 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89066 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89067 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89068 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89070 return cycles;
89071 #undef FLD
89074 static int
89075 model_fr450_mmachu (SIM_CPU *current_cpu, void *sem_arg)
89077 #define FLD(f) abuf->fields.sfmt_cmmachu.f
89078 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89079 const IDESC * UNUSED idesc = abuf->idesc;
89080 int cycles = 0;
89082 int referenced = 0;
89083 int UNUSED insn_referenced = abuf->written;
89084 INT in_FRinti = -1;
89085 INT in_FRintj = -1;
89086 INT out_ACC40Sk = -1;
89087 INT out_ACC40Uk = -1;
89088 in_FRinti = FLD (in_FRinti);
89089 in_FRintj = FLD (in_FRintj);
89090 out_ACC40Uk = FLD (out_ACC40Uk);
89091 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89092 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89093 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
89094 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89096 return cycles;
89097 #undef FLD
89100 static int
89101 model_fr450_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
89103 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89105 const IDESC * UNUSED idesc = abuf->idesc;
89106 int cycles = 0;
89108 int referenced = 0;
89109 int UNUSED insn_referenced = abuf->written;
89110 INT in_FRinti = -1;
89111 INT in_FRintj = -1;
89112 INT out_ACC40Sk = -1;
89113 INT out_ACC40Uk = -1;
89114 in_FRinti = FLD (in_FRinti);
89115 in_FRintj = FLD (in_FRintj);
89116 out_ACC40Sk = FLD (out_ACC40Sk);
89117 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89118 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89119 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89120 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89122 return cycles;
89123 #undef FLD
89126 static int
89127 model_fr450_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
89129 #define FLD(f) abuf->fields.sfmt_cmmachu.f
89130 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89131 const IDESC * UNUSED idesc = abuf->idesc;
89132 int cycles = 0;
89134 int referenced = 0;
89135 int UNUSED insn_referenced = abuf->written;
89136 INT in_FRinti = -1;
89137 INT in_FRintj = -1;
89138 INT out_ACC40Sk = -1;
89139 INT out_ACC40Uk = -1;
89140 in_FRinti = FLD (in_FRinti);
89141 in_FRintj = FLD (in_FRintj);
89142 out_ACC40Uk = FLD (out_ACC40Uk);
89143 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89144 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89145 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
89146 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89148 return cycles;
89149 #undef FLD
89152 static int
89153 model_fr450_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
89155 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89157 const IDESC * UNUSED idesc = abuf->idesc;
89158 int cycles = 0;
89160 int referenced = 0;
89161 int UNUSED insn_referenced = abuf->written;
89162 INT in_FRinti = -1;
89163 INT in_FRintj = -1;
89164 INT out_ACC40Sk = -1;
89165 INT out_ACC40Uk = -1;
89166 in_FRinti = FLD (in_FRinti);
89167 in_FRintj = FLD (in_FRintj);
89168 out_ACC40Sk = FLD (out_ACC40Sk);
89169 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
89170 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
89171 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89172 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89174 return cycles;
89175 #undef FLD
89178 static int
89179 model_fr450_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
89181 #define FLD(f) abuf->fields.sfmt_cmmachu.f
89182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89183 const IDESC * UNUSED idesc = abuf->idesc;
89184 int cycles = 0;
89186 int referenced = 0;
89187 int UNUSED insn_referenced = abuf->written;
89188 INT in_FRinti = -1;
89189 INT in_FRintj = -1;
89190 INT out_ACC40Sk = -1;
89191 INT out_ACC40Uk = -1;
89192 in_FRinti = FLD (in_FRinti);
89193 in_FRintj = FLD (in_FRintj);
89194 out_ACC40Uk = FLD (out_ACC40Uk);
89195 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
89196 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
89197 if (insn_referenced & (1 << 13)) referenced |= 1 << 3;
89198 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89200 return cycles;
89201 #undef FLD
89204 static int
89205 model_fr450_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
89207 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89209 const IDESC * UNUSED idesc = abuf->idesc;
89210 int cycles = 0;
89212 int referenced = 0;
89213 int UNUSED insn_referenced = abuf->written;
89214 INT in_FRinti = -1;
89215 INT in_FRintj = -1;
89216 INT out_ACC40Sk = -1;
89217 INT out_ACC40Uk = -1;
89218 out_ACC40Sk = FLD (out_ACC40Sk);
89219 in_FRinti = FLD (in_FRintieven);
89220 in_FRintj = FLD (in_FRintjeven);
89221 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
89222 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89224 return cycles;
89225 #undef FLD
89228 static int
89229 model_fr450_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
89231 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
89232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89233 const IDESC * UNUSED idesc = abuf->idesc;
89234 int cycles = 0;
89236 int referenced = 0;
89237 int UNUSED insn_referenced = abuf->written;
89238 INT in_FRinti = -1;
89239 INT in_FRintj = -1;
89240 INT out_ACC40Sk = -1;
89241 INT out_ACC40Uk = -1;
89242 out_ACC40Uk = FLD (out_ACC40Uk);
89243 in_FRinti = FLD (in_FRintieven);
89244 in_FRintj = FLD (in_FRintjeven);
89245 if (insn_referenced & (1 << 17)) referenced |= 1 << 3;
89246 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89248 return cycles;
89249 #undef FLD
89252 static int
89253 model_fr450_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
89255 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89257 const IDESC * UNUSED idesc = abuf->idesc;
89258 int cycles = 0;
89260 int referenced = 0;
89261 int UNUSED insn_referenced = abuf->written;
89262 INT in_FRinti = -1;
89263 INT in_FRintj = -1;
89264 INT out_ACC40Sk = -1;
89265 INT out_ACC40Uk = -1;
89266 out_ACC40Sk = FLD (out_ACC40Sk);
89267 in_FRinti = FLD (in_FRintieven);
89268 in_FRintj = FLD (in_FRintjeven);
89269 if (insn_referenced & (1 << 19)) referenced |= 1 << 2;
89270 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89272 return cycles;
89273 #undef FLD
89276 static int
89277 model_fr450_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
89279 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
89280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89281 const IDESC * UNUSED idesc = abuf->idesc;
89282 int cycles = 0;
89284 int referenced = 0;
89285 int UNUSED insn_referenced = abuf->written;
89286 INT in_FRinti = -1;
89287 INT in_FRintj = -1;
89288 INT out_ACC40Sk = -1;
89289 INT out_ACC40Uk = -1;
89290 out_ACC40Uk = FLD (out_ACC40Uk);
89291 in_FRinti = FLD (in_FRintieven);
89292 in_FRintj = FLD (in_FRintjeven);
89293 if (insn_referenced & (1 << 19)) referenced |= 1 << 3;
89294 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89296 return cycles;
89297 #undef FLD
89300 static int
89301 model_fr450_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
89303 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89305 const IDESC * UNUSED idesc = abuf->idesc;
89306 int cycles = 0;
89308 int referenced = 0;
89309 int UNUSED insn_referenced = abuf->written;
89310 INT in_FRinti = -1;
89311 INT in_FRintj = -1;
89312 INT out_ACC40Sk = -1;
89313 INT out_ACC40Uk = -1;
89314 out_ACC40Sk = FLD (out_ACC40Sk);
89315 in_FRinti = FLD (in_FRintieven);
89316 in_FRintj = FLD (in_FRintjeven);
89317 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
89318 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89320 return cycles;
89321 #undef FLD
89324 static int
89325 model_fr450_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
89327 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89329 const IDESC * UNUSED idesc = abuf->idesc;
89330 int cycles = 0;
89332 int referenced = 0;
89333 int UNUSED insn_referenced = abuf->written;
89334 INT in_FRinti = -1;
89335 INT in_FRintj = -1;
89336 INT out_ACC40Sk = -1;
89337 INT out_ACC40Uk = -1;
89338 out_ACC40Sk = FLD (out_ACC40Sk);
89339 in_FRinti = FLD (in_FRintieven);
89340 in_FRintj = FLD (in_FRintjeven);
89341 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
89342 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89344 return cycles;
89345 #undef FLD
89348 static int
89349 model_fr450_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
89351 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89353 const IDESC * UNUSED idesc = abuf->idesc;
89354 int cycles = 0;
89356 int referenced = 0;
89357 int UNUSED insn_referenced = abuf->written;
89358 INT in_FRinti = -1;
89359 INT in_FRintj = -1;
89360 INT out_ACC40Sk = -1;
89361 INT out_ACC40Uk = -1;
89362 out_ACC40Sk = FLD (out_ACC40Sk);
89363 in_FRinti = FLD (in_FRintieven);
89364 in_FRintj = FLD (in_FRintjeven);
89365 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
89366 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89368 return cycles;
89369 #undef FLD
89372 static int
89373 model_fr450_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
89375 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89377 const IDESC * UNUSED idesc = abuf->idesc;
89378 int cycles = 0;
89380 int referenced = 0;
89381 int UNUSED insn_referenced = abuf->written;
89382 INT in_FRinti = -1;
89383 INT in_FRintj = -1;
89384 INT out_ACC40Sk = -1;
89385 INT out_ACC40Uk = -1;
89386 in_FRinti = FLD (in_FRinti);
89387 in_FRintj = FLD (in_FRintj);
89388 out_ACC40Sk = FLD (out_ACC40Sk);
89389 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89390 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
89391 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
89392 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89394 return cycles;
89395 #undef FLD
89398 static int
89399 model_fr450_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
89401 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89403 const IDESC * UNUSED idesc = abuf->idesc;
89404 int cycles = 0;
89406 int referenced = 0;
89407 int UNUSED insn_referenced = abuf->written;
89408 INT in_FRinti = -1;
89409 INT in_FRintj = -1;
89410 INT out_ACC40Sk = -1;
89411 INT out_ACC40Uk = -1;
89412 in_FRinti = FLD (in_FRinti);
89413 in_FRintj = FLD (in_FRintj);
89414 out_ACC40Sk = FLD (out_ACC40Sk);
89415 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89416 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
89417 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
89418 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89420 return cycles;
89421 #undef FLD
89424 static int
89425 model_fr450_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
89427 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89429 const IDESC * UNUSED idesc = abuf->idesc;
89430 int cycles = 0;
89432 int referenced = 0;
89433 int UNUSED insn_referenced = abuf->written;
89434 INT in_FRinti = -1;
89435 INT in_FRintj = -1;
89436 INT out_ACC40Sk = -1;
89437 INT out_ACC40Uk = -1;
89438 in_FRinti = FLD (in_FRinti);
89439 in_FRintj = FLD (in_FRintj);
89440 out_ACC40Sk = FLD (out_ACC40Sk);
89441 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89442 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
89443 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
89444 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89446 return cycles;
89447 #undef FLD
89450 static int
89451 model_fr450_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
89453 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89454 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89455 const IDESC * UNUSED idesc = abuf->idesc;
89456 int cycles = 0;
89458 int referenced = 0;
89459 int UNUSED insn_referenced = abuf->written;
89460 INT in_FRinti = -1;
89461 INT in_FRintj = -1;
89462 INT out_ACC40Sk = -1;
89463 INT out_ACC40Uk = -1;
89464 in_FRinti = FLD (in_FRinti);
89465 in_FRintj = FLD (in_FRintj);
89466 out_ACC40Sk = FLD (out_ACC40Sk);
89467 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89468 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
89469 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
89470 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89472 return cycles;
89473 #undef FLD
89476 static int
89477 model_fr450_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
89479 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89481 const IDESC * UNUSED idesc = abuf->idesc;
89482 int cycles = 0;
89484 int referenced = 0;
89485 int UNUSED insn_referenced = abuf->written;
89486 INT in_FRinti = -1;
89487 INT in_FRintj = -1;
89488 INT out_ACC40Sk = -1;
89489 INT out_ACC40Uk = -1;
89490 in_FRinti = FLD (in_FRinti);
89491 in_FRintj = FLD (in_FRintj);
89492 out_ACC40Sk = FLD (out_ACC40Sk);
89493 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89494 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89495 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89496 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89498 return cycles;
89499 #undef FLD
89502 static int
89503 model_fr450_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
89505 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89506 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89507 const IDESC * UNUSED idesc = abuf->idesc;
89508 int cycles = 0;
89510 int referenced = 0;
89511 int UNUSED insn_referenced = abuf->written;
89512 INT in_FRinti = -1;
89513 INT in_FRintj = -1;
89514 INT out_ACC40Sk = -1;
89515 INT out_ACC40Uk = -1;
89516 in_FRinti = FLD (in_FRinti);
89517 in_FRintj = FLD (in_FRintj);
89518 out_ACC40Sk = FLD (out_ACC40Sk);
89519 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89520 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89521 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89522 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89524 return cycles;
89525 #undef FLD
89528 static int
89529 model_fr450_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
89531 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89533 const IDESC * UNUSED idesc = abuf->idesc;
89534 int cycles = 0;
89536 int referenced = 0;
89537 int UNUSED insn_referenced = abuf->written;
89538 INT in_FRinti = -1;
89539 INT in_FRintj = -1;
89540 INT out_ACC40Sk = -1;
89541 INT out_ACC40Uk = -1;
89542 in_FRinti = FLD (in_FRinti);
89543 in_FRintj = FLD (in_FRintj);
89544 out_ACC40Sk = FLD (out_ACC40Sk);
89545 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89546 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89547 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89548 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89550 return cycles;
89551 #undef FLD
89554 static int
89555 model_fr450_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
89557 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89559 const IDESC * UNUSED idesc = abuf->idesc;
89560 int cycles = 0;
89562 int referenced = 0;
89563 int UNUSED insn_referenced = abuf->written;
89564 INT in_FRinti = -1;
89565 INT in_FRintj = -1;
89566 INT out_ACC40Sk = -1;
89567 INT out_ACC40Uk = -1;
89568 in_FRinti = FLD (in_FRinti);
89569 in_FRintj = FLD (in_FRintj);
89570 out_ACC40Sk = FLD (out_ACC40Sk);
89571 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89572 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89573 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89574 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89576 return cycles;
89577 #undef FLD
89580 static int
89581 model_fr450_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
89583 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89585 const IDESC * UNUSED idesc = abuf->idesc;
89586 int cycles = 0;
89588 int referenced = 0;
89589 int UNUSED insn_referenced = abuf->written;
89590 INT in_FRinti = -1;
89591 INT in_FRintj = -1;
89592 INT out_ACC40Sk = -1;
89593 INT out_ACC40Uk = -1;
89594 out_ACC40Sk = FLD (out_ACC40Sk);
89595 in_FRinti = FLD (in_FRintieven);
89596 in_FRintj = FLD (in_FRintjeven);
89597 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89598 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89600 return cycles;
89601 #undef FLD
89604 static int
89605 model_fr450_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
89607 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89609 const IDESC * UNUSED idesc = abuf->idesc;
89610 int cycles = 0;
89612 int referenced = 0;
89613 int UNUSED insn_referenced = abuf->written;
89614 INT in_FRinti = -1;
89615 INT in_FRintj = -1;
89616 INT out_ACC40Sk = -1;
89617 INT out_ACC40Uk = -1;
89618 out_ACC40Sk = FLD (out_ACC40Sk);
89619 in_FRinti = FLD (in_FRintieven);
89620 in_FRintj = FLD (in_FRintjeven);
89621 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89622 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89624 return cycles;
89625 #undef FLD
89628 static int
89629 model_fr450_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
89631 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89633 const IDESC * UNUSED idesc = abuf->idesc;
89634 int cycles = 0;
89636 int referenced = 0;
89637 int UNUSED insn_referenced = abuf->written;
89638 INT in_FRinti = -1;
89639 INT in_FRintj = -1;
89640 INT out_ACC40Sk = -1;
89641 INT out_ACC40Uk = -1;
89642 out_ACC40Sk = FLD (out_ACC40Sk);
89643 in_FRinti = FLD (in_FRintieven);
89644 in_FRintj = FLD (in_FRintjeven);
89645 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89646 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89648 return cycles;
89649 #undef FLD
89652 static int
89653 model_fr450_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
89655 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89657 const IDESC * UNUSED idesc = abuf->idesc;
89658 int cycles = 0;
89660 int referenced = 0;
89661 int UNUSED insn_referenced = abuf->written;
89662 INT in_FRinti = -1;
89663 INT in_FRintj = -1;
89664 INT out_ACC40Sk = -1;
89665 INT out_ACC40Uk = -1;
89666 out_ACC40Sk = FLD (out_ACC40Sk);
89667 in_FRinti = FLD (in_FRintieven);
89668 in_FRintj = FLD (in_FRintjeven);
89669 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89670 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89672 return cycles;
89673 #undef FLD
89676 static int
89677 model_fr450_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
89679 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
89680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89681 const IDESC * UNUSED idesc = abuf->idesc;
89682 int cycles = 0;
89684 int referenced = 0;
89685 int UNUSED insn_referenced = abuf->written;
89686 INT in_FRinti = -1;
89687 INT in_FRintj = -1;
89688 INT out_FRintk = -1;
89689 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
89691 return cycles;
89692 #undef FLD
89695 static int
89696 model_fr450_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
89698 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
89699 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89700 const IDESC * UNUSED idesc = abuf->idesc;
89701 int cycles = 0;
89703 int referenced = 0;
89704 int UNUSED insn_referenced = abuf->written;
89705 INT in_FRinti = -1;
89706 INT in_FRintj = -1;
89707 INT out_FRintk = -1;
89708 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
89710 return cycles;
89711 #undef FLD
89714 static int
89715 model_fr450_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
89717 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
89718 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89719 const IDESC * UNUSED idesc = abuf->idesc;
89720 int cycles = 0;
89722 int referenced = 0;
89723 int UNUSED insn_referenced = abuf->written;
89724 INT in_FRinti = -1;
89725 INT out_FRintk = -1;
89726 out_FRintk = FLD (out_FRintkeven);
89727 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89729 return cycles;
89730 #undef FLD
89733 static int
89734 model_fr450_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
89736 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
89737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89738 const IDESC * UNUSED idesc = abuf->idesc;
89739 int cycles = 0;
89741 int referenced = 0;
89742 int UNUSED insn_referenced = abuf->written;
89743 INT in_FRinti = -1;
89744 INT out_FRintk = -1;
89745 out_FRintk = FLD (out_FRintkeven);
89746 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89748 return cycles;
89749 #undef FLD
89752 static int
89753 model_fr450_mpackh (SIM_CPU *current_cpu, void *sem_arg)
89755 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
89756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89757 const IDESC * UNUSED idesc = abuf->idesc;
89758 int cycles = 0;
89760 int referenced = 0;
89761 int UNUSED insn_referenced = abuf->written;
89762 INT in_FRinti = -1;
89763 INT in_FRintj = -1;
89764 INT out_FRintk = -1;
89765 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
89767 return cycles;
89768 #undef FLD
89771 static int
89772 model_fr450_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
89774 #define FLD(f) abuf->fields.sfmt_mdpackh.f
89775 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89776 const IDESC * UNUSED idesc = abuf->idesc;
89777 int cycles = 0;
89779 int referenced = 0;
89780 int UNUSED insn_referenced = abuf->written;
89781 INT in_FRinti = -1;
89782 INT in_FRintj = -1;
89783 INT out_FRintk = -1;
89784 in_FRinti = FLD (in_FRintieven);
89785 in_FRintj = FLD (in_FRintjeven);
89786 out_FRintk = FLD (out_FRintkeven);
89787 cycles += frvbf_model_fr450_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
89789 return cycles;
89790 #undef FLD
89793 static int
89794 model_fr450_munpackh (SIM_CPU *current_cpu, void *sem_arg)
89796 #define FLD(f) abuf->fields.sfmt_munpackh.f
89797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89798 const IDESC * UNUSED idesc = abuf->idesc;
89799 int cycles = 0;
89801 int referenced = 0;
89802 int UNUSED insn_referenced = abuf->written;
89803 INT in_FRinti = -1;
89804 INT out_FRintk = -1;
89805 in_FRinti = FLD (in_FRinti);
89806 out_FRintk = FLD (out_FRintkeven);
89807 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89808 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89810 return cycles;
89811 #undef FLD
89814 static int
89815 model_fr450_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
89817 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
89818 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89819 const IDESC * UNUSED idesc = abuf->idesc;
89820 int cycles = 0;
89822 int referenced = 0;
89823 int UNUSED insn_referenced = abuf->written;
89824 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
89826 return cycles;
89827 #undef FLD
89830 static int
89831 model_fr450_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
89833 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
89834 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89835 const IDESC * UNUSED idesc = abuf->idesc;
89836 int cycles = 0;
89838 int referenced = 0;
89839 int UNUSED insn_referenced = abuf->written;
89840 INT in_FRinti = -1;
89841 INT out_FRintk = -1;
89842 out_FRintk = FLD (out_FRintkeven);
89843 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89845 return cycles;
89846 #undef FLD
89849 static int
89850 model_fr450_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
89852 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
89853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89854 const IDESC * UNUSED idesc = abuf->idesc;
89855 int cycles = 0;
89857 int referenced = 0;
89858 int UNUSED insn_referenced = abuf->written;
89859 INT in_FRinti = -1;
89860 INT out_FRintk = -1;
89861 out_FRintk = FLD (out_FRintkeven);
89862 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89864 return cycles;
89865 #undef FLD
89868 static int
89869 model_fr450_mhtob (SIM_CPU *current_cpu, void *sem_arg)
89871 #define FLD(f) abuf->fields.sfmt_cmhtob.f
89872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89873 const IDESC * UNUSED idesc = abuf->idesc;
89874 int cycles = 0;
89876 int referenced = 0;
89877 int UNUSED insn_referenced = abuf->written;
89878 INT in_FRintj = -1;
89879 INT out_FRintk = -1;
89880 out_FRintk = FLD (out_FRintk);
89881 in_FRintj = FLD (in_FRintjeven);
89882 referenced |= 1 << 1;
89883 cycles += frvbf_model_fr450_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
89885 return cycles;
89886 #undef FLD
89889 static int
89890 model_fr450_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
89892 #define FLD(f) abuf->fields.sfmt_cmhtob.f
89893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89894 const IDESC * UNUSED idesc = abuf->idesc;
89895 int cycles = 0;
89897 int referenced = 0;
89898 int UNUSED insn_referenced = abuf->written;
89899 INT in_FRintj = -1;
89900 INT out_FRintk = -1;
89901 out_FRintk = FLD (out_FRintk);
89902 in_FRintj = FLD (in_FRintjeven);
89903 referenced |= 1 << 1;
89904 cycles += frvbf_model_fr450_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
89906 return cycles;
89907 #undef FLD
89910 static int
89911 model_fr450_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
89913 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
89914 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89915 const IDESC * UNUSED idesc = abuf->idesc;
89916 int cycles = 0;
89918 int referenced = 0;
89919 int UNUSED insn_referenced = abuf->written;
89920 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
89922 return cycles;
89923 #undef FLD
89926 static int
89927 model_fr450_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
89929 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
89930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89931 const IDESC * UNUSED idesc = abuf->idesc;
89932 int cycles = 0;
89934 int referenced = 0;
89935 int UNUSED insn_referenced = abuf->written;
89936 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
89938 return cycles;
89939 #undef FLD
89942 static int
89943 model_fr450_mnop (SIM_CPU *current_cpu, void *sem_arg)
89945 #define FLD(f) abuf->fields.sfmt_empty.f
89946 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89947 const IDESC * UNUSED idesc = abuf->idesc;
89948 int cycles = 0;
89950 int referenced = 0;
89951 int UNUSED insn_referenced = abuf->written;
89952 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
89954 return cycles;
89955 #undef FLD
89958 static int
89959 model_fr450_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
89961 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
89962 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89963 const IDESC * UNUSED idesc = abuf->idesc;
89964 int cycles = 0;
89966 int referenced = 0;
89967 int UNUSED insn_referenced = abuf->written;
89968 INT in_ACC40Si = -1;
89969 INT in_FRintj = -1;
89970 INT out_ACC40Sk = -1;
89971 INT out_FRintk = -1;
89972 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
89974 return cycles;
89975 #undef FLD
89978 static int
89979 model_fr450_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
89981 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
89982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89983 const IDESC * UNUSED idesc = abuf->idesc;
89984 int cycles = 0;
89986 int referenced = 0;
89987 int UNUSED insn_referenced = abuf->written;
89988 cycles += frvbf_model_fr450_u_media_4_mclracca (current_cpu, idesc, 0, referenced);
89990 return cycles;
89991 #undef FLD
89994 static int
89995 model_fr450_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
89997 #define FLD(f) abuf->fields.sfmt_mcuti.f
89998 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89999 const IDESC * UNUSED idesc = abuf->idesc;
90000 int cycles = 0;
90002 int referenced = 0;
90003 int UNUSED insn_referenced = abuf->written;
90004 INT in_ACC40Si = -1;
90005 INT in_FRintj = -1;
90006 INT out_ACC40Sk = -1;
90007 INT out_FRintk = -1;
90008 in_ACC40Si = FLD (in_ACC40Si);
90009 out_FRintk = FLD (out_FRintk);
90010 referenced |= 1 << 0;
90011 referenced |= 1 << 3;
90012 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
90014 return cycles;
90015 #undef FLD
90018 static int
90019 model_fr450_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
90021 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
90022 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90023 const IDESC * UNUSED idesc = abuf->idesc;
90024 int cycles = 0;
90026 int referenced = 0;
90027 int UNUSED insn_referenced = abuf->written;
90028 INT in_ACCGi = -1;
90029 INT in_FRinti = -1;
90030 INT out_ACCGk = -1;
90031 INT out_FRintk = -1;
90032 in_ACCGi = FLD (in_ACCGi);
90033 out_FRintk = FLD (out_FRintk);
90034 referenced |= 1 << 0;
90035 referenced |= 1 << 3;
90036 cycles += frvbf_model_fr450_u_media_4_accg (current_cpu, idesc, 0, referenced, in_ACCGi, in_FRinti, out_ACCGk, out_FRintk);
90038 return cycles;
90039 #undef FLD
90042 static int
90043 model_fr450_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
90045 #define FLD(f) abuf->fields.sfmt_cmmachs.f
90046 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90047 const IDESC * UNUSED idesc = abuf->idesc;
90048 int cycles = 0;
90050 int referenced = 0;
90051 int UNUSED insn_referenced = abuf->written;
90052 INT in_ACC40Si = -1;
90053 INT in_FRintj = -1;
90054 INT out_ACC40Sk = -1;
90055 INT out_FRintk = -1;
90056 out_ACC40Sk = FLD (out_ACC40Sk);
90057 referenced |= 1 << 2;
90058 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
90060 return cycles;
90061 #undef FLD
90064 static int
90065 model_fr450_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
90067 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
90068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90069 const IDESC * UNUSED idesc = abuf->idesc;
90070 int cycles = 0;
90072 int referenced = 0;
90073 int UNUSED insn_referenced = abuf->written;
90074 INT in_ACCGi = -1;
90075 INT in_FRinti = -1;
90076 INT out_ACCGk = -1;
90077 INT out_FRintk = -1;
90078 in_FRinti = FLD (in_FRinti);
90079 out_ACCGk = FLD (out_ACCGk);
90080 referenced |= 1 << 1;
90081 referenced |= 1 << 2;
90082 cycles += frvbf_model_fr450_u_media_4_accg (current_cpu, idesc, 0, referenced, in_ACCGi, in_FRinti, out_ACCGk, out_FRintk);
90084 return cycles;
90085 #undef FLD
90088 static int
90089 model_fr450_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
90091 #define FLD(f) abuf->fields.sfmt_empty.f
90092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90093 const IDESC * UNUSED idesc = abuf->idesc;
90094 int cycles = 0;
90096 int referenced = 0;
90097 int UNUSED insn_referenced = abuf->written;
90098 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
90100 return cycles;
90101 #undef FLD
90104 static int
90105 model_fr450_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
90107 #define FLD(f) abuf->fields.sfmt_empty.f
90108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90109 const IDESC * UNUSED idesc = abuf->idesc;
90110 int cycles = 0;
90112 int referenced = 0;
90113 int UNUSED insn_referenced = abuf->written;
90114 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
90116 return cycles;
90117 #undef FLD
90120 static int
90121 model_fr450_fnop (SIM_CPU *current_cpu, void *sem_arg)
90123 #define FLD(f) abuf->fields.sfmt_empty.f
90124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90125 const IDESC * UNUSED idesc = abuf->idesc;
90126 int cycles = 0;
90128 int referenced = 0;
90129 int UNUSED insn_referenced = abuf->written;
90130 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
90132 return cycles;
90133 #undef FLD
90136 static int
90137 model_simple_add (SIM_CPU *current_cpu, void *sem_arg)
90139 #define FLD(f) abuf->fields.sfmt_addcc.f
90140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90141 const IDESC * UNUSED idesc = abuf->idesc;
90142 int cycles = 0;
90144 int referenced = 0;
90145 int UNUSED insn_referenced = abuf->written;
90146 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90148 return cycles;
90149 #undef FLD
90152 static int
90153 model_simple_sub (SIM_CPU *current_cpu, void *sem_arg)
90155 #define FLD(f) abuf->fields.sfmt_addcc.f
90156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90157 const IDESC * UNUSED idesc = abuf->idesc;
90158 int cycles = 0;
90160 int referenced = 0;
90161 int UNUSED insn_referenced = abuf->written;
90162 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90164 return cycles;
90165 #undef FLD
90168 static int
90169 model_simple_and (SIM_CPU *current_cpu, void *sem_arg)
90171 #define FLD(f) abuf->fields.sfmt_addcc.f
90172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90173 const IDESC * UNUSED idesc = abuf->idesc;
90174 int cycles = 0;
90176 int referenced = 0;
90177 int UNUSED insn_referenced = abuf->written;
90178 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90180 return cycles;
90181 #undef FLD
90184 static int
90185 model_simple_or (SIM_CPU *current_cpu, void *sem_arg)
90187 #define FLD(f) abuf->fields.sfmt_addcc.f
90188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90189 const IDESC * UNUSED idesc = abuf->idesc;
90190 int cycles = 0;
90192 int referenced = 0;
90193 int UNUSED insn_referenced = abuf->written;
90194 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90196 return cycles;
90197 #undef FLD
90200 static int
90201 model_simple_xor (SIM_CPU *current_cpu, void *sem_arg)
90203 #define FLD(f) abuf->fields.sfmt_addcc.f
90204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90205 const IDESC * UNUSED idesc = abuf->idesc;
90206 int cycles = 0;
90208 int referenced = 0;
90209 int UNUSED insn_referenced = abuf->written;
90210 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90212 return cycles;
90213 #undef FLD
90216 static int
90217 model_simple_not (SIM_CPU *current_cpu, void *sem_arg)
90219 #define FLD(f) abuf->fields.sfmt_scutss.f
90220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90221 const IDESC * UNUSED idesc = abuf->idesc;
90222 int cycles = 0;
90224 int referenced = 0;
90225 int UNUSED insn_referenced = abuf->written;
90226 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90228 return cycles;
90229 #undef FLD
90232 static int
90233 model_simple_sdiv (SIM_CPU *current_cpu, void *sem_arg)
90235 #define FLD(f) abuf->fields.sfmt_addcc.f
90236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90237 const IDESC * UNUSED idesc = abuf->idesc;
90238 int cycles = 0;
90240 int referenced = 0;
90241 int UNUSED insn_referenced = abuf->written;
90242 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90244 return cycles;
90245 #undef FLD
90248 static int
90249 model_simple_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
90251 #define FLD(f) abuf->fields.sfmt_addcc.f
90252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90253 const IDESC * UNUSED idesc = abuf->idesc;
90254 int cycles = 0;
90256 int referenced = 0;
90257 int UNUSED insn_referenced = abuf->written;
90258 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90260 return cycles;
90261 #undef FLD
90264 static int
90265 model_simple_udiv (SIM_CPU *current_cpu, void *sem_arg)
90267 #define FLD(f) abuf->fields.sfmt_addcc.f
90268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90269 const IDESC * UNUSED idesc = abuf->idesc;
90270 int cycles = 0;
90272 int referenced = 0;
90273 int UNUSED insn_referenced = abuf->written;
90274 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90276 return cycles;
90277 #undef FLD
90280 static int
90281 model_simple_nudiv (SIM_CPU *current_cpu, void *sem_arg)
90283 #define FLD(f) abuf->fields.sfmt_addcc.f
90284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90285 const IDESC * UNUSED idesc = abuf->idesc;
90286 int cycles = 0;
90288 int referenced = 0;
90289 int UNUSED insn_referenced = abuf->written;
90290 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90292 return cycles;
90293 #undef FLD
90296 static int
90297 model_simple_smul (SIM_CPU *current_cpu, void *sem_arg)
90299 #define FLD(f) abuf->fields.sfmt_smulcc.f
90300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90301 const IDESC * UNUSED idesc = abuf->idesc;
90302 int cycles = 0;
90304 int referenced = 0;
90305 int UNUSED insn_referenced = abuf->written;
90306 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90308 return cycles;
90309 #undef FLD
90312 static int
90313 model_simple_umul (SIM_CPU *current_cpu, void *sem_arg)
90315 #define FLD(f) abuf->fields.sfmt_smulcc.f
90316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90317 const IDESC * UNUSED idesc = abuf->idesc;
90318 int cycles = 0;
90320 int referenced = 0;
90321 int UNUSED insn_referenced = abuf->written;
90322 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90324 return cycles;
90325 #undef FLD
90328 static int
90329 model_simple_smu (SIM_CPU *current_cpu, void *sem_arg)
90331 #define FLD(f) abuf->fields.sfmt_smass.f
90332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90333 const IDESC * UNUSED idesc = abuf->idesc;
90334 int cycles = 0;
90336 int referenced = 0;
90337 int UNUSED insn_referenced = abuf->written;
90338 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90340 return cycles;
90341 #undef FLD
90344 static int
90345 model_simple_smass (SIM_CPU *current_cpu, void *sem_arg)
90347 #define FLD(f) abuf->fields.sfmt_smass.f
90348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90349 const IDESC * UNUSED idesc = abuf->idesc;
90350 int cycles = 0;
90352 int referenced = 0;
90353 int UNUSED insn_referenced = abuf->written;
90354 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90356 return cycles;
90357 #undef FLD
90360 static int
90361 model_simple_smsss (SIM_CPU *current_cpu, void *sem_arg)
90363 #define FLD(f) abuf->fields.sfmt_smass.f
90364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90365 const IDESC * UNUSED idesc = abuf->idesc;
90366 int cycles = 0;
90368 int referenced = 0;
90369 int UNUSED insn_referenced = abuf->written;
90370 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90372 return cycles;
90373 #undef FLD
90376 static int
90377 model_simple_sll (SIM_CPU *current_cpu, void *sem_arg)
90379 #define FLD(f) abuf->fields.sfmt_addcc.f
90380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90381 const IDESC * UNUSED idesc = abuf->idesc;
90382 int cycles = 0;
90384 int referenced = 0;
90385 int UNUSED insn_referenced = abuf->written;
90386 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90388 return cycles;
90389 #undef FLD
90392 static int
90393 model_simple_srl (SIM_CPU *current_cpu, void *sem_arg)
90395 #define FLD(f) abuf->fields.sfmt_addcc.f
90396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90397 const IDESC * UNUSED idesc = abuf->idesc;
90398 int cycles = 0;
90400 int referenced = 0;
90401 int UNUSED insn_referenced = abuf->written;
90402 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90404 return cycles;
90405 #undef FLD
90408 static int
90409 model_simple_sra (SIM_CPU *current_cpu, void *sem_arg)
90411 #define FLD(f) abuf->fields.sfmt_addcc.f
90412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90413 const IDESC * UNUSED idesc = abuf->idesc;
90414 int cycles = 0;
90416 int referenced = 0;
90417 int UNUSED insn_referenced = abuf->written;
90418 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90420 return cycles;
90421 #undef FLD
90424 static int
90425 model_simple_slass (SIM_CPU *current_cpu, void *sem_arg)
90427 #define FLD(f) abuf->fields.sfmt_addcc.f
90428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90429 const IDESC * UNUSED idesc = abuf->idesc;
90430 int cycles = 0;
90432 int referenced = 0;
90433 int UNUSED insn_referenced = abuf->written;
90434 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90436 return cycles;
90437 #undef FLD
90440 static int
90441 model_simple_scutss (SIM_CPU *current_cpu, void *sem_arg)
90443 #define FLD(f) abuf->fields.sfmt_scutss.f
90444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90445 const IDESC * UNUSED idesc = abuf->idesc;
90446 int cycles = 0;
90448 int referenced = 0;
90449 int UNUSED insn_referenced = abuf->written;
90450 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90452 return cycles;
90453 #undef FLD
90456 static int
90457 model_simple_scan (SIM_CPU *current_cpu, void *sem_arg)
90459 #define FLD(f) abuf->fields.sfmt_addcc.f
90460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90461 const IDESC * UNUSED idesc = abuf->idesc;
90462 int cycles = 0;
90464 int referenced = 0;
90465 int UNUSED insn_referenced = abuf->written;
90466 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90468 return cycles;
90469 #undef FLD
90472 static int
90473 model_simple_cadd (SIM_CPU *current_cpu, void *sem_arg)
90475 #define FLD(f) abuf->fields.sfmt_cswap.f
90476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90477 const IDESC * UNUSED idesc = abuf->idesc;
90478 int cycles = 0;
90480 int referenced = 0;
90481 int UNUSED insn_referenced = abuf->written;
90482 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90484 return cycles;
90485 #undef FLD
90488 static int
90489 model_simple_csub (SIM_CPU *current_cpu, void *sem_arg)
90491 #define FLD(f) abuf->fields.sfmt_cswap.f
90492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90493 const IDESC * UNUSED idesc = abuf->idesc;
90494 int cycles = 0;
90496 int referenced = 0;
90497 int UNUSED insn_referenced = abuf->written;
90498 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90500 return cycles;
90501 #undef FLD
90504 static int
90505 model_simple_cand (SIM_CPU *current_cpu, void *sem_arg)
90507 #define FLD(f) abuf->fields.sfmt_cswap.f
90508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90509 const IDESC * UNUSED idesc = abuf->idesc;
90510 int cycles = 0;
90512 int referenced = 0;
90513 int UNUSED insn_referenced = abuf->written;
90514 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90516 return cycles;
90517 #undef FLD
90520 static int
90521 model_simple_cor (SIM_CPU *current_cpu, void *sem_arg)
90523 #define FLD(f) abuf->fields.sfmt_cswap.f
90524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90525 const IDESC * UNUSED idesc = abuf->idesc;
90526 int cycles = 0;
90528 int referenced = 0;
90529 int UNUSED insn_referenced = abuf->written;
90530 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90532 return cycles;
90533 #undef FLD
90536 static int
90537 model_simple_cxor (SIM_CPU *current_cpu, void *sem_arg)
90539 #define FLD(f) abuf->fields.sfmt_cswap.f
90540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90541 const IDESC * UNUSED idesc = abuf->idesc;
90542 int cycles = 0;
90544 int referenced = 0;
90545 int UNUSED insn_referenced = abuf->written;
90546 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90548 return cycles;
90549 #undef FLD
90552 static int
90553 model_simple_cnot (SIM_CPU *current_cpu, void *sem_arg)
90555 #define FLD(f) abuf->fields.sfmt_cswap.f
90556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90557 const IDESC * UNUSED idesc = abuf->idesc;
90558 int cycles = 0;
90560 int referenced = 0;
90561 int UNUSED insn_referenced = abuf->written;
90562 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90564 return cycles;
90565 #undef FLD
90568 static int
90569 model_simple_csmul (SIM_CPU *current_cpu, void *sem_arg)
90571 #define FLD(f) abuf->fields.sfmt_clddu.f
90572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90573 const IDESC * UNUSED idesc = abuf->idesc;
90574 int cycles = 0;
90576 int referenced = 0;
90577 int UNUSED insn_referenced = abuf->written;
90578 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90580 return cycles;
90581 #undef FLD
90584 static int
90585 model_simple_csdiv (SIM_CPU *current_cpu, void *sem_arg)
90587 #define FLD(f) abuf->fields.sfmt_cswap.f
90588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90589 const IDESC * UNUSED idesc = abuf->idesc;
90590 int cycles = 0;
90592 int referenced = 0;
90593 int UNUSED insn_referenced = abuf->written;
90594 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90596 return cycles;
90597 #undef FLD
90600 static int
90601 model_simple_cudiv (SIM_CPU *current_cpu, void *sem_arg)
90603 #define FLD(f) abuf->fields.sfmt_cswap.f
90604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90605 const IDESC * UNUSED idesc = abuf->idesc;
90606 int cycles = 0;
90608 int referenced = 0;
90609 int UNUSED insn_referenced = abuf->written;
90610 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90612 return cycles;
90613 #undef FLD
90616 static int
90617 model_simple_csll (SIM_CPU *current_cpu, void *sem_arg)
90619 #define FLD(f) abuf->fields.sfmt_cswap.f
90620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90621 const IDESC * UNUSED idesc = abuf->idesc;
90622 int cycles = 0;
90624 int referenced = 0;
90625 int UNUSED insn_referenced = abuf->written;
90626 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90628 return cycles;
90629 #undef FLD
90632 static int
90633 model_simple_csrl (SIM_CPU *current_cpu, void *sem_arg)
90635 #define FLD(f) abuf->fields.sfmt_cswap.f
90636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90637 const IDESC * UNUSED idesc = abuf->idesc;
90638 int cycles = 0;
90640 int referenced = 0;
90641 int UNUSED insn_referenced = abuf->written;
90642 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90644 return cycles;
90645 #undef FLD
90648 static int
90649 model_simple_csra (SIM_CPU *current_cpu, void *sem_arg)
90651 #define FLD(f) abuf->fields.sfmt_cswap.f
90652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90653 const IDESC * UNUSED idesc = abuf->idesc;
90654 int cycles = 0;
90656 int referenced = 0;
90657 int UNUSED insn_referenced = abuf->written;
90658 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90660 return cycles;
90661 #undef FLD
90664 static int
90665 model_simple_cscan (SIM_CPU *current_cpu, void *sem_arg)
90667 #define FLD(f) abuf->fields.sfmt_cswap.f
90668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90669 const IDESC * UNUSED idesc = abuf->idesc;
90670 int cycles = 0;
90672 int referenced = 0;
90673 int UNUSED insn_referenced = abuf->written;
90674 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90676 return cycles;
90677 #undef FLD
90680 static int
90681 model_simple_addcc (SIM_CPU *current_cpu, void *sem_arg)
90683 #define FLD(f) abuf->fields.sfmt_addcc.f
90684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90685 const IDESC * UNUSED idesc = abuf->idesc;
90686 int cycles = 0;
90688 int referenced = 0;
90689 int UNUSED insn_referenced = abuf->written;
90690 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90692 return cycles;
90693 #undef FLD
90696 static int
90697 model_simple_subcc (SIM_CPU *current_cpu, void *sem_arg)
90699 #define FLD(f) abuf->fields.sfmt_addcc.f
90700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90701 const IDESC * UNUSED idesc = abuf->idesc;
90702 int cycles = 0;
90704 int referenced = 0;
90705 int UNUSED insn_referenced = abuf->written;
90706 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90708 return cycles;
90709 #undef FLD
90712 static int
90713 model_simple_andcc (SIM_CPU *current_cpu, void *sem_arg)
90715 #define FLD(f) abuf->fields.sfmt_addcc.f
90716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90717 const IDESC * UNUSED idesc = abuf->idesc;
90718 int cycles = 0;
90720 int referenced = 0;
90721 int UNUSED insn_referenced = abuf->written;
90722 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90724 return cycles;
90725 #undef FLD
90728 static int
90729 model_simple_orcc (SIM_CPU *current_cpu, void *sem_arg)
90731 #define FLD(f) abuf->fields.sfmt_addcc.f
90732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90733 const IDESC * UNUSED idesc = abuf->idesc;
90734 int cycles = 0;
90736 int referenced = 0;
90737 int UNUSED insn_referenced = abuf->written;
90738 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90740 return cycles;
90741 #undef FLD
90744 static int
90745 model_simple_xorcc (SIM_CPU *current_cpu, void *sem_arg)
90747 #define FLD(f) abuf->fields.sfmt_addcc.f
90748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90749 const IDESC * UNUSED idesc = abuf->idesc;
90750 int cycles = 0;
90752 int referenced = 0;
90753 int UNUSED insn_referenced = abuf->written;
90754 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90756 return cycles;
90757 #undef FLD
90760 static int
90761 model_simple_sllcc (SIM_CPU *current_cpu, void *sem_arg)
90763 #define FLD(f) abuf->fields.sfmt_addcc.f
90764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90765 const IDESC * UNUSED idesc = abuf->idesc;
90766 int cycles = 0;
90768 int referenced = 0;
90769 int UNUSED insn_referenced = abuf->written;
90770 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90772 return cycles;
90773 #undef FLD
90776 static int
90777 model_simple_srlcc (SIM_CPU *current_cpu, void *sem_arg)
90779 #define FLD(f) abuf->fields.sfmt_addcc.f
90780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90781 const IDESC * UNUSED idesc = abuf->idesc;
90782 int cycles = 0;
90784 int referenced = 0;
90785 int UNUSED insn_referenced = abuf->written;
90786 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90788 return cycles;
90789 #undef FLD
90792 static int
90793 model_simple_sracc (SIM_CPU *current_cpu, void *sem_arg)
90795 #define FLD(f) abuf->fields.sfmt_addcc.f
90796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90797 const IDESC * UNUSED idesc = abuf->idesc;
90798 int cycles = 0;
90800 int referenced = 0;
90801 int UNUSED insn_referenced = abuf->written;
90802 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90804 return cycles;
90805 #undef FLD
90808 static int
90809 model_simple_smulcc (SIM_CPU *current_cpu, void *sem_arg)
90811 #define FLD(f) abuf->fields.sfmt_smulcc.f
90812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90813 const IDESC * UNUSED idesc = abuf->idesc;
90814 int cycles = 0;
90816 int referenced = 0;
90817 int UNUSED insn_referenced = abuf->written;
90818 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90820 return cycles;
90821 #undef FLD
90824 static int
90825 model_simple_umulcc (SIM_CPU *current_cpu, void *sem_arg)
90827 #define FLD(f) abuf->fields.sfmt_smulcc.f
90828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90829 const IDESC * UNUSED idesc = abuf->idesc;
90830 int cycles = 0;
90832 int referenced = 0;
90833 int UNUSED insn_referenced = abuf->written;
90834 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90836 return cycles;
90837 #undef FLD
90840 static int
90841 model_simple_caddcc (SIM_CPU *current_cpu, void *sem_arg)
90843 #define FLD(f) abuf->fields.sfmt_caddcc.f
90844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90845 const IDESC * UNUSED idesc = abuf->idesc;
90846 int cycles = 0;
90848 int referenced = 0;
90849 int UNUSED insn_referenced = abuf->written;
90850 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90852 return cycles;
90853 #undef FLD
90856 static int
90857 model_simple_csubcc (SIM_CPU *current_cpu, void *sem_arg)
90859 #define FLD(f) abuf->fields.sfmt_caddcc.f
90860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90861 const IDESC * UNUSED idesc = abuf->idesc;
90862 int cycles = 0;
90864 int referenced = 0;
90865 int UNUSED insn_referenced = abuf->written;
90866 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90868 return cycles;
90869 #undef FLD
90872 static int
90873 model_simple_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
90875 #define FLD(f) abuf->fields.sfmt_csmulcc.f
90876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90877 const IDESC * UNUSED idesc = abuf->idesc;
90878 int cycles = 0;
90880 int referenced = 0;
90881 int UNUSED insn_referenced = abuf->written;
90882 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90884 return cycles;
90885 #undef FLD
90888 static int
90889 model_simple_candcc (SIM_CPU *current_cpu, void *sem_arg)
90891 #define FLD(f) abuf->fields.sfmt_caddcc.f
90892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90893 const IDESC * UNUSED idesc = abuf->idesc;
90894 int cycles = 0;
90896 int referenced = 0;
90897 int UNUSED insn_referenced = abuf->written;
90898 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90900 return cycles;
90901 #undef FLD
90904 static int
90905 model_simple_corcc (SIM_CPU *current_cpu, void *sem_arg)
90907 #define FLD(f) abuf->fields.sfmt_caddcc.f
90908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90909 const IDESC * UNUSED idesc = abuf->idesc;
90910 int cycles = 0;
90912 int referenced = 0;
90913 int UNUSED insn_referenced = abuf->written;
90914 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90916 return cycles;
90917 #undef FLD
90920 static int
90921 model_simple_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
90923 #define FLD(f) abuf->fields.sfmt_caddcc.f
90924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90925 const IDESC * UNUSED idesc = abuf->idesc;
90926 int cycles = 0;
90928 int referenced = 0;
90929 int UNUSED insn_referenced = abuf->written;
90930 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90932 return cycles;
90933 #undef FLD
90936 static int
90937 model_simple_csllcc (SIM_CPU *current_cpu, void *sem_arg)
90939 #define FLD(f) abuf->fields.sfmt_caddcc.f
90940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90941 const IDESC * UNUSED idesc = abuf->idesc;
90942 int cycles = 0;
90944 int referenced = 0;
90945 int UNUSED insn_referenced = abuf->written;
90946 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90948 return cycles;
90949 #undef FLD
90952 static int
90953 model_simple_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
90955 #define FLD(f) abuf->fields.sfmt_caddcc.f
90956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90957 const IDESC * UNUSED idesc = abuf->idesc;
90958 int cycles = 0;
90960 int referenced = 0;
90961 int UNUSED insn_referenced = abuf->written;
90962 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90964 return cycles;
90965 #undef FLD
90968 static int
90969 model_simple_csracc (SIM_CPU *current_cpu, void *sem_arg)
90971 #define FLD(f) abuf->fields.sfmt_caddcc.f
90972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90973 const IDESC * UNUSED idesc = abuf->idesc;
90974 int cycles = 0;
90976 int referenced = 0;
90977 int UNUSED insn_referenced = abuf->written;
90978 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90980 return cycles;
90981 #undef FLD
90984 static int
90985 model_simple_addx (SIM_CPU *current_cpu, void *sem_arg)
90987 #define FLD(f) abuf->fields.sfmt_addcc.f
90988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90989 const IDESC * UNUSED idesc = abuf->idesc;
90990 int cycles = 0;
90992 int referenced = 0;
90993 int UNUSED insn_referenced = abuf->written;
90994 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90996 return cycles;
90997 #undef FLD
91000 static int
91001 model_simple_subx (SIM_CPU *current_cpu, void *sem_arg)
91003 #define FLD(f) abuf->fields.sfmt_addcc.f
91004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91005 const IDESC * UNUSED idesc = abuf->idesc;
91006 int cycles = 0;
91008 int referenced = 0;
91009 int UNUSED insn_referenced = abuf->written;
91010 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91012 return cycles;
91013 #undef FLD
91016 static int
91017 model_simple_addxcc (SIM_CPU *current_cpu, void *sem_arg)
91019 #define FLD(f) abuf->fields.sfmt_addcc.f
91020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91021 const IDESC * UNUSED idesc = abuf->idesc;
91022 int cycles = 0;
91024 int referenced = 0;
91025 int UNUSED insn_referenced = abuf->written;
91026 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91028 return cycles;
91029 #undef FLD
91032 static int
91033 model_simple_subxcc (SIM_CPU *current_cpu, void *sem_arg)
91035 #define FLD(f) abuf->fields.sfmt_addcc.f
91036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91037 const IDESC * UNUSED idesc = abuf->idesc;
91038 int cycles = 0;
91040 int referenced = 0;
91041 int UNUSED insn_referenced = abuf->written;
91042 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91044 return cycles;
91045 #undef FLD
91048 static int
91049 model_simple_addss (SIM_CPU *current_cpu, void *sem_arg)
91051 #define FLD(f) abuf->fields.sfmt_addcc.f
91052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91053 const IDESC * UNUSED idesc = abuf->idesc;
91054 int cycles = 0;
91056 int referenced = 0;
91057 int UNUSED insn_referenced = abuf->written;
91058 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91060 return cycles;
91061 #undef FLD
91064 static int
91065 model_simple_subss (SIM_CPU *current_cpu, void *sem_arg)
91067 #define FLD(f) abuf->fields.sfmt_addcc.f
91068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91069 const IDESC * UNUSED idesc = abuf->idesc;
91070 int cycles = 0;
91072 int referenced = 0;
91073 int UNUSED insn_referenced = abuf->written;
91074 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91076 return cycles;
91077 #undef FLD
91080 static int
91081 model_simple_addi (SIM_CPU *current_cpu, void *sem_arg)
91083 #define FLD(f) abuf->fields.sfmt_swapi.f
91084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91085 const IDESC * UNUSED idesc = abuf->idesc;
91086 int cycles = 0;
91088 int referenced = 0;
91089 int UNUSED insn_referenced = abuf->written;
91090 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91092 return cycles;
91093 #undef FLD
91096 static int
91097 model_simple_subi (SIM_CPU *current_cpu, void *sem_arg)
91099 #define FLD(f) abuf->fields.sfmt_swapi.f
91100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91101 const IDESC * UNUSED idesc = abuf->idesc;
91102 int cycles = 0;
91104 int referenced = 0;
91105 int UNUSED insn_referenced = abuf->written;
91106 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91108 return cycles;
91109 #undef FLD
91112 static int
91113 model_simple_andi (SIM_CPU *current_cpu, void *sem_arg)
91115 #define FLD(f) abuf->fields.sfmt_swapi.f
91116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91117 const IDESC * UNUSED idesc = abuf->idesc;
91118 int cycles = 0;
91120 int referenced = 0;
91121 int UNUSED insn_referenced = abuf->written;
91122 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91124 return cycles;
91125 #undef FLD
91128 static int
91129 model_simple_ori (SIM_CPU *current_cpu, void *sem_arg)
91131 #define FLD(f) abuf->fields.sfmt_swapi.f
91132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91133 const IDESC * UNUSED idesc = abuf->idesc;
91134 int cycles = 0;
91136 int referenced = 0;
91137 int UNUSED insn_referenced = abuf->written;
91138 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91140 return cycles;
91141 #undef FLD
91144 static int
91145 model_simple_xori (SIM_CPU *current_cpu, void *sem_arg)
91147 #define FLD(f) abuf->fields.sfmt_swapi.f
91148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91149 const IDESC * UNUSED idesc = abuf->idesc;
91150 int cycles = 0;
91152 int referenced = 0;
91153 int UNUSED insn_referenced = abuf->written;
91154 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91156 return cycles;
91157 #undef FLD
91160 static int
91161 model_simple_sdivi (SIM_CPU *current_cpu, void *sem_arg)
91163 #define FLD(f) abuf->fields.sfmt_swapi.f
91164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91165 const IDESC * UNUSED idesc = abuf->idesc;
91166 int cycles = 0;
91168 int referenced = 0;
91169 int UNUSED insn_referenced = abuf->written;
91170 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91172 return cycles;
91173 #undef FLD
91176 static int
91177 model_simple_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
91179 #define FLD(f) abuf->fields.sfmt_swapi.f
91180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91181 const IDESC * UNUSED idesc = abuf->idesc;
91182 int cycles = 0;
91184 int referenced = 0;
91185 int UNUSED insn_referenced = abuf->written;
91186 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91188 return cycles;
91189 #undef FLD
91192 static int
91193 model_simple_udivi (SIM_CPU *current_cpu, void *sem_arg)
91195 #define FLD(f) abuf->fields.sfmt_swapi.f
91196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91197 const IDESC * UNUSED idesc = abuf->idesc;
91198 int cycles = 0;
91200 int referenced = 0;
91201 int UNUSED insn_referenced = abuf->written;
91202 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91204 return cycles;
91205 #undef FLD
91208 static int
91209 model_simple_nudivi (SIM_CPU *current_cpu, void *sem_arg)
91211 #define FLD(f) abuf->fields.sfmt_swapi.f
91212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91213 const IDESC * UNUSED idesc = abuf->idesc;
91214 int cycles = 0;
91216 int referenced = 0;
91217 int UNUSED insn_referenced = abuf->written;
91218 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91220 return cycles;
91221 #undef FLD
91224 static int
91225 model_simple_smuli (SIM_CPU *current_cpu, void *sem_arg)
91227 #define FLD(f) abuf->fields.sfmt_smuli.f
91228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91229 const IDESC * UNUSED idesc = abuf->idesc;
91230 int cycles = 0;
91232 int referenced = 0;
91233 int UNUSED insn_referenced = abuf->written;
91234 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91236 return cycles;
91237 #undef FLD
91240 static int
91241 model_simple_umuli (SIM_CPU *current_cpu, void *sem_arg)
91243 #define FLD(f) abuf->fields.sfmt_smuli.f
91244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91245 const IDESC * UNUSED idesc = abuf->idesc;
91246 int cycles = 0;
91248 int referenced = 0;
91249 int UNUSED insn_referenced = abuf->written;
91250 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91252 return cycles;
91253 #undef FLD
91256 static int
91257 model_simple_slli (SIM_CPU *current_cpu, void *sem_arg)
91259 #define FLD(f) abuf->fields.sfmt_swapi.f
91260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91261 const IDESC * UNUSED idesc = abuf->idesc;
91262 int cycles = 0;
91264 int referenced = 0;
91265 int UNUSED insn_referenced = abuf->written;
91266 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91268 return cycles;
91269 #undef FLD
91272 static int
91273 model_simple_srli (SIM_CPU *current_cpu, void *sem_arg)
91275 #define FLD(f) abuf->fields.sfmt_swapi.f
91276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91277 const IDESC * UNUSED idesc = abuf->idesc;
91278 int cycles = 0;
91280 int referenced = 0;
91281 int UNUSED insn_referenced = abuf->written;
91282 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91284 return cycles;
91285 #undef FLD
91288 static int
91289 model_simple_srai (SIM_CPU *current_cpu, void *sem_arg)
91291 #define FLD(f) abuf->fields.sfmt_swapi.f
91292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91293 const IDESC * UNUSED idesc = abuf->idesc;
91294 int cycles = 0;
91296 int referenced = 0;
91297 int UNUSED insn_referenced = abuf->written;
91298 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91300 return cycles;
91301 #undef FLD
91304 static int
91305 model_simple_scani (SIM_CPU *current_cpu, void *sem_arg)
91307 #define FLD(f) abuf->fields.sfmt_swapi.f
91308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91309 const IDESC * UNUSED idesc = abuf->idesc;
91310 int cycles = 0;
91312 int referenced = 0;
91313 int UNUSED insn_referenced = abuf->written;
91314 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91316 return cycles;
91317 #undef FLD
91320 static int
91321 model_simple_addicc (SIM_CPU *current_cpu, void *sem_arg)
91323 #define FLD(f) abuf->fields.sfmt_addicc.f
91324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91325 const IDESC * UNUSED idesc = abuf->idesc;
91326 int cycles = 0;
91328 int referenced = 0;
91329 int UNUSED insn_referenced = abuf->written;
91330 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91332 return cycles;
91333 #undef FLD
91336 static int
91337 model_simple_subicc (SIM_CPU *current_cpu, void *sem_arg)
91339 #define FLD(f) abuf->fields.sfmt_addicc.f
91340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91341 const IDESC * UNUSED idesc = abuf->idesc;
91342 int cycles = 0;
91344 int referenced = 0;
91345 int UNUSED insn_referenced = abuf->written;
91346 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91348 return cycles;
91349 #undef FLD
91352 static int
91353 model_simple_andicc (SIM_CPU *current_cpu, void *sem_arg)
91355 #define FLD(f) abuf->fields.sfmt_addicc.f
91356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91357 const IDESC * UNUSED idesc = abuf->idesc;
91358 int cycles = 0;
91360 int referenced = 0;
91361 int UNUSED insn_referenced = abuf->written;
91362 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91364 return cycles;
91365 #undef FLD
91368 static int
91369 model_simple_oricc (SIM_CPU *current_cpu, void *sem_arg)
91371 #define FLD(f) abuf->fields.sfmt_addicc.f
91372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91373 const IDESC * UNUSED idesc = abuf->idesc;
91374 int cycles = 0;
91376 int referenced = 0;
91377 int UNUSED insn_referenced = abuf->written;
91378 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91380 return cycles;
91381 #undef FLD
91384 static int
91385 model_simple_xoricc (SIM_CPU *current_cpu, void *sem_arg)
91387 #define FLD(f) abuf->fields.sfmt_addicc.f
91388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91389 const IDESC * UNUSED idesc = abuf->idesc;
91390 int cycles = 0;
91392 int referenced = 0;
91393 int UNUSED insn_referenced = abuf->written;
91394 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91396 return cycles;
91397 #undef FLD
91400 static int
91401 model_simple_smulicc (SIM_CPU *current_cpu, void *sem_arg)
91403 #define FLD(f) abuf->fields.sfmt_smulicc.f
91404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91405 const IDESC * UNUSED idesc = abuf->idesc;
91406 int cycles = 0;
91408 int referenced = 0;
91409 int UNUSED insn_referenced = abuf->written;
91410 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91412 return cycles;
91413 #undef FLD
91416 static int
91417 model_simple_umulicc (SIM_CPU *current_cpu, void *sem_arg)
91419 #define FLD(f) abuf->fields.sfmt_smulicc.f
91420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91421 const IDESC * UNUSED idesc = abuf->idesc;
91422 int cycles = 0;
91424 int referenced = 0;
91425 int UNUSED insn_referenced = abuf->written;
91426 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91428 return cycles;
91429 #undef FLD
91432 static int
91433 model_simple_sllicc (SIM_CPU *current_cpu, void *sem_arg)
91435 #define FLD(f) abuf->fields.sfmt_addicc.f
91436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91437 const IDESC * UNUSED idesc = abuf->idesc;
91438 int cycles = 0;
91440 int referenced = 0;
91441 int UNUSED insn_referenced = abuf->written;
91442 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91444 return cycles;
91445 #undef FLD
91448 static int
91449 model_simple_srlicc (SIM_CPU *current_cpu, void *sem_arg)
91451 #define FLD(f) abuf->fields.sfmt_addicc.f
91452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91453 const IDESC * UNUSED idesc = abuf->idesc;
91454 int cycles = 0;
91456 int referenced = 0;
91457 int UNUSED insn_referenced = abuf->written;
91458 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91460 return cycles;
91461 #undef FLD
91464 static int
91465 model_simple_sraicc (SIM_CPU *current_cpu, void *sem_arg)
91467 #define FLD(f) abuf->fields.sfmt_addicc.f
91468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91469 const IDESC * UNUSED idesc = abuf->idesc;
91470 int cycles = 0;
91472 int referenced = 0;
91473 int UNUSED insn_referenced = abuf->written;
91474 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91476 return cycles;
91477 #undef FLD
91480 static int
91481 model_simple_addxi (SIM_CPU *current_cpu, void *sem_arg)
91483 #define FLD(f) abuf->fields.sfmt_addicc.f
91484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91485 const IDESC * UNUSED idesc = abuf->idesc;
91486 int cycles = 0;
91488 int referenced = 0;
91489 int UNUSED insn_referenced = abuf->written;
91490 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91492 return cycles;
91493 #undef FLD
91496 static int
91497 model_simple_subxi (SIM_CPU *current_cpu, void *sem_arg)
91499 #define FLD(f) abuf->fields.sfmt_addicc.f
91500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91501 const IDESC * UNUSED idesc = abuf->idesc;
91502 int cycles = 0;
91504 int referenced = 0;
91505 int UNUSED insn_referenced = abuf->written;
91506 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91508 return cycles;
91509 #undef FLD
91512 static int
91513 model_simple_addxicc (SIM_CPU *current_cpu, void *sem_arg)
91515 #define FLD(f) abuf->fields.sfmt_addicc.f
91516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91517 const IDESC * UNUSED idesc = abuf->idesc;
91518 int cycles = 0;
91520 int referenced = 0;
91521 int UNUSED insn_referenced = abuf->written;
91522 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91524 return cycles;
91525 #undef FLD
91528 static int
91529 model_simple_subxicc (SIM_CPU *current_cpu, void *sem_arg)
91531 #define FLD(f) abuf->fields.sfmt_addicc.f
91532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91533 const IDESC * UNUSED idesc = abuf->idesc;
91534 int cycles = 0;
91536 int referenced = 0;
91537 int UNUSED insn_referenced = abuf->written;
91538 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91540 return cycles;
91541 #undef FLD
91544 static int
91545 model_simple_cmpb (SIM_CPU *current_cpu, void *sem_arg)
91547 #define FLD(f) abuf->fields.sfmt_smulcc.f
91548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91549 const IDESC * UNUSED idesc = abuf->idesc;
91550 int cycles = 0;
91552 int referenced = 0;
91553 int UNUSED insn_referenced = abuf->written;
91554 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91556 return cycles;
91557 #undef FLD
91560 static int
91561 model_simple_cmpba (SIM_CPU *current_cpu, void *sem_arg)
91563 #define FLD(f) abuf->fields.sfmt_smulcc.f
91564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91565 const IDESC * UNUSED idesc = abuf->idesc;
91566 int cycles = 0;
91568 int referenced = 0;
91569 int UNUSED insn_referenced = abuf->written;
91570 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91572 return cycles;
91573 #undef FLD
91576 static int
91577 model_simple_setlo (SIM_CPU *current_cpu, void *sem_arg)
91579 #define FLD(f) abuf->fields.sfmt_setlo.f
91580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91581 const IDESC * UNUSED idesc = abuf->idesc;
91582 int cycles = 0;
91584 int referenced = 0;
91585 int UNUSED insn_referenced = abuf->written;
91586 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91588 return cycles;
91589 #undef FLD
91592 static int
91593 model_simple_sethi (SIM_CPU *current_cpu, void *sem_arg)
91595 #define FLD(f) abuf->fields.sfmt_sethi.f
91596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91597 const IDESC * UNUSED idesc = abuf->idesc;
91598 int cycles = 0;
91600 int referenced = 0;
91601 int UNUSED insn_referenced = abuf->written;
91602 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91604 return cycles;
91605 #undef FLD
91608 static int
91609 model_simple_setlos (SIM_CPU *current_cpu, void *sem_arg)
91611 #define FLD(f) abuf->fields.sfmt_setlos.f
91612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91613 const IDESC * UNUSED idesc = abuf->idesc;
91614 int cycles = 0;
91616 int referenced = 0;
91617 int UNUSED insn_referenced = abuf->written;
91618 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91620 return cycles;
91621 #undef FLD
91624 static int
91625 model_simple_ldsb (SIM_CPU *current_cpu, void *sem_arg)
91627 #define FLD(f) abuf->fields.sfmt_addcc.f
91628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91629 const IDESC * UNUSED idesc = abuf->idesc;
91630 int cycles = 0;
91632 int referenced = 0;
91633 int UNUSED insn_referenced = abuf->written;
91634 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91636 return cycles;
91637 #undef FLD
91640 static int
91641 model_simple_ldub (SIM_CPU *current_cpu, void *sem_arg)
91643 #define FLD(f) abuf->fields.sfmt_addcc.f
91644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91645 const IDESC * UNUSED idesc = abuf->idesc;
91646 int cycles = 0;
91648 int referenced = 0;
91649 int UNUSED insn_referenced = abuf->written;
91650 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91652 return cycles;
91653 #undef FLD
91656 static int
91657 model_simple_ldsh (SIM_CPU *current_cpu, void *sem_arg)
91659 #define FLD(f) abuf->fields.sfmt_addcc.f
91660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91661 const IDESC * UNUSED idesc = abuf->idesc;
91662 int cycles = 0;
91664 int referenced = 0;
91665 int UNUSED insn_referenced = abuf->written;
91666 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91668 return cycles;
91669 #undef FLD
91672 static int
91673 model_simple_lduh (SIM_CPU *current_cpu, void *sem_arg)
91675 #define FLD(f) abuf->fields.sfmt_addcc.f
91676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91677 const IDESC * UNUSED idesc = abuf->idesc;
91678 int cycles = 0;
91680 int referenced = 0;
91681 int UNUSED insn_referenced = abuf->written;
91682 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91684 return cycles;
91685 #undef FLD
91688 static int
91689 model_simple_ld (SIM_CPU *current_cpu, void *sem_arg)
91691 #define FLD(f) abuf->fields.sfmt_addcc.f
91692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91693 const IDESC * UNUSED idesc = abuf->idesc;
91694 int cycles = 0;
91696 int referenced = 0;
91697 int UNUSED insn_referenced = abuf->written;
91698 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91700 return cycles;
91701 #undef FLD
91704 static int
91705 model_simple_ldbf (SIM_CPU *current_cpu, void *sem_arg)
91707 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91709 const IDESC * UNUSED idesc = abuf->idesc;
91710 int cycles = 0;
91712 int referenced = 0;
91713 int UNUSED insn_referenced = abuf->written;
91714 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91716 return cycles;
91717 #undef FLD
91720 static int
91721 model_simple_ldhf (SIM_CPU *current_cpu, void *sem_arg)
91723 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91725 const IDESC * UNUSED idesc = abuf->idesc;
91726 int cycles = 0;
91728 int referenced = 0;
91729 int UNUSED insn_referenced = abuf->written;
91730 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91732 return cycles;
91733 #undef FLD
91736 static int
91737 model_simple_ldf (SIM_CPU *current_cpu, void *sem_arg)
91739 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91741 const IDESC * UNUSED idesc = abuf->idesc;
91742 int cycles = 0;
91744 int referenced = 0;
91745 int UNUSED insn_referenced = abuf->written;
91746 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91748 return cycles;
91749 #undef FLD
91752 static int
91753 model_simple_ldc (SIM_CPU *current_cpu, void *sem_arg)
91755 #define FLD(f) abuf->fields.sfmt_ldcu.f
91756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91757 const IDESC * UNUSED idesc = abuf->idesc;
91758 int cycles = 0;
91760 int referenced = 0;
91761 int UNUSED insn_referenced = abuf->written;
91762 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91764 return cycles;
91765 #undef FLD
91768 static int
91769 model_simple_nldsb (SIM_CPU *current_cpu, void *sem_arg)
91771 #define FLD(f) abuf->fields.sfmt_addcc.f
91772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91773 const IDESC * UNUSED idesc = abuf->idesc;
91774 int cycles = 0;
91776 int referenced = 0;
91777 int UNUSED insn_referenced = abuf->written;
91778 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91780 return cycles;
91781 #undef FLD
91784 static int
91785 model_simple_nldub (SIM_CPU *current_cpu, void *sem_arg)
91787 #define FLD(f) abuf->fields.sfmt_addcc.f
91788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91789 const IDESC * UNUSED idesc = abuf->idesc;
91790 int cycles = 0;
91792 int referenced = 0;
91793 int UNUSED insn_referenced = abuf->written;
91794 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91796 return cycles;
91797 #undef FLD
91800 static int
91801 model_simple_nldsh (SIM_CPU *current_cpu, void *sem_arg)
91803 #define FLD(f) abuf->fields.sfmt_addcc.f
91804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91805 const IDESC * UNUSED idesc = abuf->idesc;
91806 int cycles = 0;
91808 int referenced = 0;
91809 int UNUSED insn_referenced = abuf->written;
91810 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91812 return cycles;
91813 #undef FLD
91816 static int
91817 model_simple_nlduh (SIM_CPU *current_cpu, void *sem_arg)
91819 #define FLD(f) abuf->fields.sfmt_addcc.f
91820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91821 const IDESC * UNUSED idesc = abuf->idesc;
91822 int cycles = 0;
91824 int referenced = 0;
91825 int UNUSED insn_referenced = abuf->written;
91826 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91828 return cycles;
91829 #undef FLD
91832 static int
91833 model_simple_nld (SIM_CPU *current_cpu, void *sem_arg)
91835 #define FLD(f) abuf->fields.sfmt_addcc.f
91836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91837 const IDESC * UNUSED idesc = abuf->idesc;
91838 int cycles = 0;
91840 int referenced = 0;
91841 int UNUSED insn_referenced = abuf->written;
91842 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91844 return cycles;
91845 #undef FLD
91848 static int
91849 model_simple_nldbf (SIM_CPU *current_cpu, void *sem_arg)
91851 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91853 const IDESC * UNUSED idesc = abuf->idesc;
91854 int cycles = 0;
91856 int referenced = 0;
91857 int UNUSED insn_referenced = abuf->written;
91858 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91860 return cycles;
91861 #undef FLD
91864 static int
91865 model_simple_nldhf (SIM_CPU *current_cpu, void *sem_arg)
91867 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91869 const IDESC * UNUSED idesc = abuf->idesc;
91870 int cycles = 0;
91872 int referenced = 0;
91873 int UNUSED insn_referenced = abuf->written;
91874 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91876 return cycles;
91877 #undef FLD
91880 static int
91881 model_simple_nldf (SIM_CPU *current_cpu, void *sem_arg)
91883 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91885 const IDESC * UNUSED idesc = abuf->idesc;
91886 int cycles = 0;
91888 int referenced = 0;
91889 int UNUSED insn_referenced = abuf->written;
91890 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91892 return cycles;
91893 #undef FLD
91896 static int
91897 model_simple_ldd (SIM_CPU *current_cpu, void *sem_arg)
91899 #define FLD(f) abuf->fields.sfmt_smulcc.f
91900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91901 const IDESC * UNUSED idesc = abuf->idesc;
91902 int cycles = 0;
91904 int referenced = 0;
91905 int UNUSED insn_referenced = abuf->written;
91906 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91908 return cycles;
91909 #undef FLD
91912 static int
91913 model_simple_lddf (SIM_CPU *current_cpu, void *sem_arg)
91915 #define FLD(f) abuf->fields.sfmt_clddfu.f
91916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91917 const IDESC * UNUSED idesc = abuf->idesc;
91918 int cycles = 0;
91920 int referenced = 0;
91921 int UNUSED insn_referenced = abuf->written;
91922 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91924 return cycles;
91925 #undef FLD
91928 static int
91929 model_simple_lddc (SIM_CPU *current_cpu, void *sem_arg)
91931 #define FLD(f) abuf->fields.sfmt_lddcu.f
91932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91933 const IDESC * UNUSED idesc = abuf->idesc;
91934 int cycles = 0;
91936 int referenced = 0;
91937 int UNUSED insn_referenced = abuf->written;
91938 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91940 return cycles;
91941 #undef FLD
91944 static int
91945 model_simple_nldd (SIM_CPU *current_cpu, void *sem_arg)
91947 #define FLD(f) abuf->fields.sfmt_smulcc.f
91948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91949 const IDESC * UNUSED idesc = abuf->idesc;
91950 int cycles = 0;
91952 int referenced = 0;
91953 int UNUSED insn_referenced = abuf->written;
91954 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91956 return cycles;
91957 #undef FLD
91960 static int
91961 model_simple_nlddf (SIM_CPU *current_cpu, void *sem_arg)
91963 #define FLD(f) abuf->fields.sfmt_clddfu.f
91964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91965 const IDESC * UNUSED idesc = abuf->idesc;
91966 int cycles = 0;
91968 int referenced = 0;
91969 int UNUSED insn_referenced = abuf->written;
91970 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91972 return cycles;
91973 #undef FLD
91976 static int
91977 model_simple_ldq (SIM_CPU *current_cpu, void *sem_arg)
91979 #define FLD(f) abuf->fields.sfmt_smulcc.f
91980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91981 const IDESC * UNUSED idesc = abuf->idesc;
91982 int cycles = 0;
91984 int referenced = 0;
91985 int UNUSED insn_referenced = abuf->written;
91986 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91988 return cycles;
91989 #undef FLD
91992 static int
91993 model_simple_ldqf (SIM_CPU *current_cpu, void *sem_arg)
91995 #define FLD(f) abuf->fields.sfmt_cstdfu.f
91996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91997 const IDESC * UNUSED idesc = abuf->idesc;
91998 int cycles = 0;
92000 int referenced = 0;
92001 int UNUSED insn_referenced = abuf->written;
92002 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92004 return cycles;
92005 #undef FLD
92008 static int
92009 model_simple_ldqc (SIM_CPU *current_cpu, void *sem_arg)
92011 #define FLD(f) abuf->fields.sfmt_stdcu.f
92012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92013 const IDESC * UNUSED idesc = abuf->idesc;
92014 int cycles = 0;
92016 int referenced = 0;
92017 int UNUSED insn_referenced = abuf->written;
92018 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92020 return cycles;
92021 #undef FLD
92024 static int
92025 model_simple_nldq (SIM_CPU *current_cpu, void *sem_arg)
92027 #define FLD(f) abuf->fields.sfmt_smulcc.f
92028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92029 const IDESC * UNUSED idesc = abuf->idesc;
92030 int cycles = 0;
92032 int referenced = 0;
92033 int UNUSED insn_referenced = abuf->written;
92034 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92036 return cycles;
92037 #undef FLD
92040 static int
92041 model_simple_nldqf (SIM_CPU *current_cpu, void *sem_arg)
92043 #define FLD(f) abuf->fields.sfmt_cstdfu.f
92044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92045 const IDESC * UNUSED idesc = abuf->idesc;
92046 int cycles = 0;
92048 int referenced = 0;
92049 int UNUSED insn_referenced = abuf->written;
92050 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92052 return cycles;
92053 #undef FLD
92056 static int
92057 model_simple_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
92059 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92061 const IDESC * UNUSED idesc = abuf->idesc;
92062 int cycles = 0;
92064 int referenced = 0;
92065 int UNUSED insn_referenced = abuf->written;
92066 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92068 return cycles;
92069 #undef FLD
92072 static int
92073 model_simple_ldubu (SIM_CPU *current_cpu, void *sem_arg)
92075 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92077 const IDESC * UNUSED idesc = abuf->idesc;
92078 int cycles = 0;
92080 int referenced = 0;
92081 int UNUSED insn_referenced = abuf->written;
92082 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92084 return cycles;
92085 #undef FLD
92088 static int
92089 model_simple_ldshu (SIM_CPU *current_cpu, void *sem_arg)
92091 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92093 const IDESC * UNUSED idesc = abuf->idesc;
92094 int cycles = 0;
92096 int referenced = 0;
92097 int UNUSED insn_referenced = abuf->written;
92098 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92100 return cycles;
92101 #undef FLD
92104 static int
92105 model_simple_lduhu (SIM_CPU *current_cpu, void *sem_arg)
92107 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92109 const IDESC * UNUSED idesc = abuf->idesc;
92110 int cycles = 0;
92112 int referenced = 0;
92113 int UNUSED insn_referenced = abuf->written;
92114 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92116 return cycles;
92117 #undef FLD
92120 static int
92121 model_simple_ldu (SIM_CPU *current_cpu, void *sem_arg)
92123 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92125 const IDESC * UNUSED idesc = abuf->idesc;
92126 int cycles = 0;
92128 int referenced = 0;
92129 int UNUSED insn_referenced = abuf->written;
92130 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92132 return cycles;
92133 #undef FLD
92136 static int
92137 model_simple_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
92139 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92141 const IDESC * UNUSED idesc = abuf->idesc;
92142 int cycles = 0;
92144 int referenced = 0;
92145 int UNUSED insn_referenced = abuf->written;
92146 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92148 return cycles;
92149 #undef FLD
92152 static int
92153 model_simple_nldubu (SIM_CPU *current_cpu, void *sem_arg)
92155 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92157 const IDESC * UNUSED idesc = abuf->idesc;
92158 int cycles = 0;
92160 int referenced = 0;
92161 int UNUSED insn_referenced = abuf->written;
92162 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92164 return cycles;
92165 #undef FLD
92168 static int
92169 model_simple_nldshu (SIM_CPU *current_cpu, void *sem_arg)
92171 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92173 const IDESC * UNUSED idesc = abuf->idesc;
92174 int cycles = 0;
92176 int referenced = 0;
92177 int UNUSED insn_referenced = abuf->written;
92178 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92180 return cycles;
92181 #undef FLD
92184 static int
92185 model_simple_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
92187 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92189 const IDESC * UNUSED idesc = abuf->idesc;
92190 int cycles = 0;
92192 int referenced = 0;
92193 int UNUSED insn_referenced = abuf->written;
92194 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92196 return cycles;
92197 #undef FLD
92200 static int
92201 model_simple_nldu (SIM_CPU *current_cpu, void *sem_arg)
92203 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92205 const IDESC * UNUSED idesc = abuf->idesc;
92206 int cycles = 0;
92208 int referenced = 0;
92209 int UNUSED insn_referenced = abuf->written;
92210 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92212 return cycles;
92213 #undef FLD
92216 static int
92217 model_simple_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
92219 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92221 const IDESC * UNUSED idesc = abuf->idesc;
92222 int cycles = 0;
92224 int referenced = 0;
92225 int UNUSED insn_referenced = abuf->written;
92226 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92228 return cycles;
92229 #undef FLD
92232 static int
92233 model_simple_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
92235 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92237 const IDESC * UNUSED idesc = abuf->idesc;
92238 int cycles = 0;
92240 int referenced = 0;
92241 int UNUSED insn_referenced = abuf->written;
92242 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92244 return cycles;
92245 #undef FLD
92248 static int
92249 model_simple_ldfu (SIM_CPU *current_cpu, void *sem_arg)
92251 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92253 const IDESC * UNUSED idesc = abuf->idesc;
92254 int cycles = 0;
92256 int referenced = 0;
92257 int UNUSED insn_referenced = abuf->written;
92258 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92260 return cycles;
92261 #undef FLD
92264 static int
92265 model_simple_ldcu (SIM_CPU *current_cpu, void *sem_arg)
92267 #define FLD(f) abuf->fields.sfmt_ldcu.f
92268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92269 const IDESC * UNUSED idesc = abuf->idesc;
92270 int cycles = 0;
92272 int referenced = 0;
92273 int UNUSED insn_referenced = abuf->written;
92274 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92276 return cycles;
92277 #undef FLD
92280 static int
92281 model_simple_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
92283 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92285 const IDESC * UNUSED idesc = abuf->idesc;
92286 int cycles = 0;
92288 int referenced = 0;
92289 int UNUSED insn_referenced = abuf->written;
92290 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92292 return cycles;
92293 #undef FLD
92296 static int
92297 model_simple_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
92299 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92301 const IDESC * UNUSED idesc = abuf->idesc;
92302 int cycles = 0;
92304 int referenced = 0;
92305 int UNUSED insn_referenced = abuf->written;
92306 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92308 return cycles;
92309 #undef FLD
92312 static int
92313 model_simple_nldfu (SIM_CPU *current_cpu, void *sem_arg)
92315 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92317 const IDESC * UNUSED idesc = abuf->idesc;
92318 int cycles = 0;
92320 int referenced = 0;
92321 int UNUSED insn_referenced = abuf->written;
92322 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92324 return cycles;
92325 #undef FLD
92328 static int
92329 model_simple_lddu (SIM_CPU *current_cpu, void *sem_arg)
92331 #define FLD(f) abuf->fields.sfmt_clddu.f
92332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92333 const IDESC * UNUSED idesc = abuf->idesc;
92334 int cycles = 0;
92336 int referenced = 0;
92337 int UNUSED insn_referenced = abuf->written;
92338 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92340 return cycles;
92341 #undef FLD
92344 static int
92345 model_simple_nlddu (SIM_CPU *current_cpu, void *sem_arg)
92347 #define FLD(f) abuf->fields.sfmt_clddu.f
92348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92349 const IDESC * UNUSED idesc = abuf->idesc;
92350 int cycles = 0;
92352 int referenced = 0;
92353 int UNUSED insn_referenced = abuf->written;
92354 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92356 return cycles;
92357 #undef FLD
92360 static int
92361 model_simple_lddfu (SIM_CPU *current_cpu, void *sem_arg)
92363 #define FLD(f) abuf->fields.sfmt_clddfu.f
92364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92365 const IDESC * UNUSED idesc = abuf->idesc;
92366 int cycles = 0;
92368 int referenced = 0;
92369 int UNUSED insn_referenced = abuf->written;
92370 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92372 return cycles;
92373 #undef FLD
92376 static int
92377 model_simple_lddcu (SIM_CPU *current_cpu, void *sem_arg)
92379 #define FLD(f) abuf->fields.sfmt_lddcu.f
92380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92381 const IDESC * UNUSED idesc = abuf->idesc;
92382 int cycles = 0;
92384 int referenced = 0;
92385 int UNUSED insn_referenced = abuf->written;
92386 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92388 return cycles;
92389 #undef FLD
92392 static int
92393 model_simple_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
92395 #define FLD(f) abuf->fields.sfmt_clddfu.f
92396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92397 const IDESC * UNUSED idesc = abuf->idesc;
92398 int cycles = 0;
92400 int referenced = 0;
92401 int UNUSED insn_referenced = abuf->written;
92402 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92404 return cycles;
92405 #undef FLD
92408 static int
92409 model_simple_ldqu (SIM_CPU *current_cpu, void *sem_arg)
92411 #define FLD(f) abuf->fields.sfmt_cstdu.f
92412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92413 const IDESC * UNUSED idesc = abuf->idesc;
92414 int cycles = 0;
92416 int referenced = 0;
92417 int UNUSED insn_referenced = abuf->written;
92418 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92420 return cycles;
92421 #undef FLD
92424 static int
92425 model_simple_nldqu (SIM_CPU *current_cpu, void *sem_arg)
92427 #define FLD(f) abuf->fields.sfmt_cstdu.f
92428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92429 const IDESC * UNUSED idesc = abuf->idesc;
92430 int cycles = 0;
92432 int referenced = 0;
92433 int UNUSED insn_referenced = abuf->written;
92434 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92436 return cycles;
92437 #undef FLD
92440 static int
92441 model_simple_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
92443 #define FLD(f) abuf->fields.sfmt_cstdfu.f
92444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92445 const IDESC * UNUSED idesc = abuf->idesc;
92446 int cycles = 0;
92448 int referenced = 0;
92449 int UNUSED insn_referenced = abuf->written;
92450 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92452 return cycles;
92453 #undef FLD
92456 static int
92457 model_simple_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
92459 #define FLD(f) abuf->fields.sfmt_stdcu.f
92460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92461 const IDESC * UNUSED idesc = abuf->idesc;
92462 int cycles = 0;
92464 int referenced = 0;
92465 int UNUSED insn_referenced = abuf->written;
92466 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92468 return cycles;
92469 #undef FLD
92472 static int
92473 model_simple_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
92475 #define FLD(f) abuf->fields.sfmt_cstdfu.f
92476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92477 const IDESC * UNUSED idesc = abuf->idesc;
92478 int cycles = 0;
92480 int referenced = 0;
92481 int UNUSED insn_referenced = abuf->written;
92482 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92484 return cycles;
92485 #undef FLD
92488 static int
92489 model_simple_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
92491 #define FLD(f) abuf->fields.sfmt_swapi.f
92492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92493 const IDESC * UNUSED idesc = abuf->idesc;
92494 int cycles = 0;
92496 int referenced = 0;
92497 int UNUSED insn_referenced = abuf->written;
92498 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92500 return cycles;
92501 #undef FLD
92504 static int
92505 model_simple_ldshi (SIM_CPU *current_cpu, void *sem_arg)
92507 #define FLD(f) abuf->fields.sfmt_swapi.f
92508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92509 const IDESC * UNUSED idesc = abuf->idesc;
92510 int cycles = 0;
92512 int referenced = 0;
92513 int UNUSED insn_referenced = abuf->written;
92514 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92516 return cycles;
92517 #undef FLD
92520 static int
92521 model_simple_ldi (SIM_CPU *current_cpu, void *sem_arg)
92523 #define FLD(f) abuf->fields.sfmt_swapi.f
92524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92525 const IDESC * UNUSED idesc = abuf->idesc;
92526 int cycles = 0;
92528 int referenced = 0;
92529 int UNUSED insn_referenced = abuf->written;
92530 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92532 return cycles;
92533 #undef FLD
92536 static int
92537 model_simple_ldubi (SIM_CPU *current_cpu, void *sem_arg)
92539 #define FLD(f) abuf->fields.sfmt_swapi.f
92540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92541 const IDESC * UNUSED idesc = abuf->idesc;
92542 int cycles = 0;
92544 int referenced = 0;
92545 int UNUSED insn_referenced = abuf->written;
92546 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92548 return cycles;
92549 #undef FLD
92552 static int
92553 model_simple_lduhi (SIM_CPU *current_cpu, void *sem_arg)
92555 #define FLD(f) abuf->fields.sfmt_swapi.f
92556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92557 const IDESC * UNUSED idesc = abuf->idesc;
92558 int cycles = 0;
92560 int referenced = 0;
92561 int UNUSED insn_referenced = abuf->written;
92562 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92564 return cycles;
92565 #undef FLD
92568 static int
92569 model_simple_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
92571 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92573 const IDESC * UNUSED idesc = abuf->idesc;
92574 int cycles = 0;
92576 int referenced = 0;
92577 int UNUSED insn_referenced = abuf->written;
92578 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92580 return cycles;
92581 #undef FLD
92584 static int
92585 model_simple_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
92587 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92589 const IDESC * UNUSED idesc = abuf->idesc;
92590 int cycles = 0;
92592 int referenced = 0;
92593 int UNUSED insn_referenced = abuf->written;
92594 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92596 return cycles;
92597 #undef FLD
92600 static int
92601 model_simple_ldfi (SIM_CPU *current_cpu, void *sem_arg)
92603 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92605 const IDESC * UNUSED idesc = abuf->idesc;
92606 int cycles = 0;
92608 int referenced = 0;
92609 int UNUSED insn_referenced = abuf->written;
92610 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92612 return cycles;
92613 #undef FLD
92616 static int
92617 model_simple_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
92619 #define FLD(f) abuf->fields.sfmt_swapi.f
92620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92621 const IDESC * UNUSED idesc = abuf->idesc;
92622 int cycles = 0;
92624 int referenced = 0;
92625 int UNUSED insn_referenced = abuf->written;
92626 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92628 return cycles;
92629 #undef FLD
92632 static int
92633 model_simple_nldubi (SIM_CPU *current_cpu, void *sem_arg)
92635 #define FLD(f) abuf->fields.sfmt_swapi.f
92636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92637 const IDESC * UNUSED idesc = abuf->idesc;
92638 int cycles = 0;
92640 int referenced = 0;
92641 int UNUSED insn_referenced = abuf->written;
92642 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92644 return cycles;
92645 #undef FLD
92648 static int
92649 model_simple_nldshi (SIM_CPU *current_cpu, void *sem_arg)
92651 #define FLD(f) abuf->fields.sfmt_swapi.f
92652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92653 const IDESC * UNUSED idesc = abuf->idesc;
92654 int cycles = 0;
92656 int referenced = 0;
92657 int UNUSED insn_referenced = abuf->written;
92658 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92660 return cycles;
92661 #undef FLD
92664 static int
92665 model_simple_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
92667 #define FLD(f) abuf->fields.sfmt_swapi.f
92668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92669 const IDESC * UNUSED idesc = abuf->idesc;
92670 int cycles = 0;
92672 int referenced = 0;
92673 int UNUSED insn_referenced = abuf->written;
92674 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92676 return cycles;
92677 #undef FLD
92680 static int
92681 model_simple_nldi (SIM_CPU *current_cpu, void *sem_arg)
92683 #define FLD(f) abuf->fields.sfmt_swapi.f
92684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92685 const IDESC * UNUSED idesc = abuf->idesc;
92686 int cycles = 0;
92688 int referenced = 0;
92689 int UNUSED insn_referenced = abuf->written;
92690 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92692 return cycles;
92693 #undef FLD
92696 static int
92697 model_simple_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
92699 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92701 const IDESC * UNUSED idesc = abuf->idesc;
92702 int cycles = 0;
92704 int referenced = 0;
92705 int UNUSED insn_referenced = abuf->written;
92706 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92708 return cycles;
92709 #undef FLD
92712 static int
92713 model_simple_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
92715 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92717 const IDESC * UNUSED idesc = abuf->idesc;
92718 int cycles = 0;
92720 int referenced = 0;
92721 int UNUSED insn_referenced = abuf->written;
92722 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92724 return cycles;
92725 #undef FLD
92728 static int
92729 model_simple_nldfi (SIM_CPU *current_cpu, void *sem_arg)
92731 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92733 const IDESC * UNUSED idesc = abuf->idesc;
92734 int cycles = 0;
92736 int referenced = 0;
92737 int UNUSED insn_referenced = abuf->written;
92738 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92740 return cycles;
92741 #undef FLD
92744 static int
92745 model_simple_lddi (SIM_CPU *current_cpu, void *sem_arg)
92747 #define FLD(f) abuf->fields.sfmt_smuli.f
92748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92749 const IDESC * UNUSED idesc = abuf->idesc;
92750 int cycles = 0;
92752 int referenced = 0;
92753 int UNUSED insn_referenced = abuf->written;
92754 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92756 return cycles;
92757 #undef FLD
92760 static int
92761 model_simple_lddfi (SIM_CPU *current_cpu, void *sem_arg)
92763 #define FLD(f) abuf->fields.sfmt_lddfi.f
92764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92765 const IDESC * UNUSED idesc = abuf->idesc;
92766 int cycles = 0;
92768 int referenced = 0;
92769 int UNUSED insn_referenced = abuf->written;
92770 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92772 return cycles;
92773 #undef FLD
92776 static int
92777 model_simple_nlddi (SIM_CPU *current_cpu, void *sem_arg)
92779 #define FLD(f) abuf->fields.sfmt_smuli.f
92780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92781 const IDESC * UNUSED idesc = abuf->idesc;
92782 int cycles = 0;
92784 int referenced = 0;
92785 int UNUSED insn_referenced = abuf->written;
92786 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92788 return cycles;
92789 #undef FLD
92792 static int
92793 model_simple_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
92795 #define FLD(f) abuf->fields.sfmt_lddfi.f
92796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92797 const IDESC * UNUSED idesc = abuf->idesc;
92798 int cycles = 0;
92800 int referenced = 0;
92801 int UNUSED insn_referenced = abuf->written;
92802 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92804 return cycles;
92805 #undef FLD
92808 static int
92809 model_simple_ldqi (SIM_CPU *current_cpu, void *sem_arg)
92811 #define FLD(f) abuf->fields.sfmt_stdi.f
92812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92813 const IDESC * UNUSED idesc = abuf->idesc;
92814 int cycles = 0;
92816 int referenced = 0;
92817 int UNUSED insn_referenced = abuf->written;
92818 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92820 return cycles;
92821 #undef FLD
92824 static int
92825 model_simple_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
92827 #define FLD(f) abuf->fields.sfmt_stdfi.f
92828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92829 const IDESC * UNUSED idesc = abuf->idesc;
92830 int cycles = 0;
92832 int referenced = 0;
92833 int UNUSED insn_referenced = abuf->written;
92834 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92836 return cycles;
92837 #undef FLD
92840 static int
92841 model_simple_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
92843 #define FLD(f) abuf->fields.sfmt_stdfi.f
92844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92845 const IDESC * UNUSED idesc = abuf->idesc;
92846 int cycles = 0;
92848 int referenced = 0;
92849 int UNUSED insn_referenced = abuf->written;
92850 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92852 return cycles;
92853 #undef FLD
92856 static int
92857 model_simple_stb (SIM_CPU *current_cpu, void *sem_arg)
92859 #define FLD(f) abuf->fields.sfmt_cswap.f
92860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92861 const IDESC * UNUSED idesc = abuf->idesc;
92862 int cycles = 0;
92864 int referenced = 0;
92865 int UNUSED insn_referenced = abuf->written;
92866 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92868 return cycles;
92869 #undef FLD
92872 static int
92873 model_simple_sth (SIM_CPU *current_cpu, void *sem_arg)
92875 #define FLD(f) abuf->fields.sfmt_cswap.f
92876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92877 const IDESC * UNUSED idesc = abuf->idesc;
92878 int cycles = 0;
92880 int referenced = 0;
92881 int UNUSED insn_referenced = abuf->written;
92882 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92884 return cycles;
92885 #undef FLD
92888 static int
92889 model_simple_st (SIM_CPU *current_cpu, void *sem_arg)
92891 #define FLD(f) abuf->fields.sfmt_cswap.f
92892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92893 const IDESC * UNUSED idesc = abuf->idesc;
92894 int cycles = 0;
92896 int referenced = 0;
92897 int UNUSED insn_referenced = abuf->written;
92898 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92900 return cycles;
92901 #undef FLD
92904 static int
92905 model_simple_stbf (SIM_CPU *current_cpu, void *sem_arg)
92907 #define FLD(f) abuf->fields.sfmt_cstbfu.f
92908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92909 const IDESC * UNUSED idesc = abuf->idesc;
92910 int cycles = 0;
92912 int referenced = 0;
92913 int UNUSED insn_referenced = abuf->written;
92914 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92916 return cycles;
92917 #undef FLD
92920 static int
92921 model_simple_sthf (SIM_CPU *current_cpu, void *sem_arg)
92923 #define FLD(f) abuf->fields.sfmt_cstbfu.f
92924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92925 const IDESC * UNUSED idesc = abuf->idesc;
92926 int cycles = 0;
92928 int referenced = 0;
92929 int UNUSED insn_referenced = abuf->written;
92930 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92932 return cycles;
92933 #undef FLD
92936 static int
92937 model_simple_stf (SIM_CPU *current_cpu, void *sem_arg)
92939 #define FLD(f) abuf->fields.sfmt_cstbfu.f
92940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92941 const IDESC * UNUSED idesc = abuf->idesc;
92942 int cycles = 0;
92944 int referenced = 0;
92945 int UNUSED insn_referenced = abuf->written;
92946 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92948 return cycles;
92949 #undef FLD
92952 static int
92953 model_simple_stc (SIM_CPU *current_cpu, void *sem_arg)
92955 #define FLD(f) abuf->fields.sfmt_stcu.f
92956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92957 const IDESC * UNUSED idesc = abuf->idesc;
92958 int cycles = 0;
92960 int referenced = 0;
92961 int UNUSED insn_referenced = abuf->written;
92962 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92964 return cycles;
92965 #undef FLD
92968 static int
92969 model_simple_std (SIM_CPU *current_cpu, void *sem_arg)
92971 #define FLD(f) abuf->fields.sfmt_cstdu.f
92972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92973 const IDESC * UNUSED idesc = abuf->idesc;
92974 int cycles = 0;
92976 int referenced = 0;
92977 int UNUSED insn_referenced = abuf->written;
92978 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92980 return cycles;
92981 #undef FLD
92984 static int
92985 model_simple_stdf (SIM_CPU *current_cpu, void *sem_arg)
92987 #define FLD(f) abuf->fields.sfmt_cstdfu.f
92988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92989 const IDESC * UNUSED idesc = abuf->idesc;
92990 int cycles = 0;
92992 int referenced = 0;
92993 int UNUSED insn_referenced = abuf->written;
92994 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92996 return cycles;
92997 #undef FLD
93000 static int
93001 model_simple_stdc (SIM_CPU *current_cpu, void *sem_arg)
93003 #define FLD(f) abuf->fields.sfmt_stdcu.f
93004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93005 const IDESC * UNUSED idesc = abuf->idesc;
93006 int cycles = 0;
93008 int referenced = 0;
93009 int UNUSED insn_referenced = abuf->written;
93010 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93012 return cycles;
93013 #undef FLD
93016 static int
93017 model_simple_stq (SIM_CPU *current_cpu, void *sem_arg)
93019 #define FLD(f) abuf->fields.sfmt_smulcc.f
93020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93021 const IDESC * UNUSED idesc = abuf->idesc;
93022 int cycles = 0;
93024 int referenced = 0;
93025 int UNUSED insn_referenced = abuf->written;
93026 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93028 return cycles;
93029 #undef FLD
93032 static int
93033 model_simple_stqf (SIM_CPU *current_cpu, void *sem_arg)
93035 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93037 const IDESC * UNUSED idesc = abuf->idesc;
93038 int cycles = 0;
93040 int referenced = 0;
93041 int UNUSED insn_referenced = abuf->written;
93042 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93044 return cycles;
93045 #undef FLD
93048 static int
93049 model_simple_stqc (SIM_CPU *current_cpu, void *sem_arg)
93051 #define FLD(f) abuf->fields.sfmt_stdcu.f
93052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93053 const IDESC * UNUSED idesc = abuf->idesc;
93054 int cycles = 0;
93056 int referenced = 0;
93057 int UNUSED insn_referenced = abuf->written;
93058 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93060 return cycles;
93061 #undef FLD
93064 static int
93065 model_simple_stbu (SIM_CPU *current_cpu, void *sem_arg)
93067 #define FLD(f) abuf->fields.sfmt_cstbu.f
93068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93069 const IDESC * UNUSED idesc = abuf->idesc;
93070 int cycles = 0;
93072 int referenced = 0;
93073 int UNUSED insn_referenced = abuf->written;
93074 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93076 return cycles;
93077 #undef FLD
93080 static int
93081 model_simple_sthu (SIM_CPU *current_cpu, void *sem_arg)
93083 #define FLD(f) abuf->fields.sfmt_cstbu.f
93084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93085 const IDESC * UNUSED idesc = abuf->idesc;
93086 int cycles = 0;
93088 int referenced = 0;
93089 int UNUSED insn_referenced = abuf->written;
93090 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93092 return cycles;
93093 #undef FLD
93096 static int
93097 model_simple_stu (SIM_CPU *current_cpu, void *sem_arg)
93099 #define FLD(f) abuf->fields.sfmt_cstbu.f
93100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93101 const IDESC * UNUSED idesc = abuf->idesc;
93102 int cycles = 0;
93104 int referenced = 0;
93105 int UNUSED insn_referenced = abuf->written;
93106 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93108 return cycles;
93109 #undef FLD
93112 static int
93113 model_simple_stbfu (SIM_CPU *current_cpu, void *sem_arg)
93115 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93117 const IDESC * UNUSED idesc = abuf->idesc;
93118 int cycles = 0;
93120 int referenced = 0;
93121 int UNUSED insn_referenced = abuf->written;
93122 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93124 return cycles;
93125 #undef FLD
93128 static int
93129 model_simple_sthfu (SIM_CPU *current_cpu, void *sem_arg)
93131 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93133 const IDESC * UNUSED idesc = abuf->idesc;
93134 int cycles = 0;
93136 int referenced = 0;
93137 int UNUSED insn_referenced = abuf->written;
93138 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93140 return cycles;
93141 #undef FLD
93144 static int
93145 model_simple_stfu (SIM_CPU *current_cpu, void *sem_arg)
93147 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93149 const IDESC * UNUSED idesc = abuf->idesc;
93150 int cycles = 0;
93152 int referenced = 0;
93153 int UNUSED insn_referenced = abuf->written;
93154 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93156 return cycles;
93157 #undef FLD
93160 static int
93161 model_simple_stcu (SIM_CPU *current_cpu, void *sem_arg)
93163 #define FLD(f) abuf->fields.sfmt_stcu.f
93164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93165 const IDESC * UNUSED idesc = abuf->idesc;
93166 int cycles = 0;
93168 int referenced = 0;
93169 int UNUSED insn_referenced = abuf->written;
93170 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93172 return cycles;
93173 #undef FLD
93176 static int
93177 model_simple_stdu (SIM_CPU *current_cpu, void *sem_arg)
93179 #define FLD(f) abuf->fields.sfmt_cstdu.f
93180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93181 const IDESC * UNUSED idesc = abuf->idesc;
93182 int cycles = 0;
93184 int referenced = 0;
93185 int UNUSED insn_referenced = abuf->written;
93186 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93188 return cycles;
93189 #undef FLD
93192 static int
93193 model_simple_stdfu (SIM_CPU *current_cpu, void *sem_arg)
93195 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93197 const IDESC * UNUSED idesc = abuf->idesc;
93198 int cycles = 0;
93200 int referenced = 0;
93201 int UNUSED insn_referenced = abuf->written;
93202 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93204 return cycles;
93205 #undef FLD
93208 static int
93209 model_simple_stdcu (SIM_CPU *current_cpu, void *sem_arg)
93211 #define FLD(f) abuf->fields.sfmt_stdcu.f
93212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93213 const IDESC * UNUSED idesc = abuf->idesc;
93214 int cycles = 0;
93216 int referenced = 0;
93217 int UNUSED insn_referenced = abuf->written;
93218 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93220 return cycles;
93221 #undef FLD
93224 static int
93225 model_simple_stqu (SIM_CPU *current_cpu, void *sem_arg)
93227 #define FLD(f) abuf->fields.sfmt_cstdu.f
93228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93229 const IDESC * UNUSED idesc = abuf->idesc;
93230 int cycles = 0;
93232 int referenced = 0;
93233 int UNUSED insn_referenced = abuf->written;
93234 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93236 return cycles;
93237 #undef FLD
93240 static int
93241 model_simple_stqfu (SIM_CPU *current_cpu, void *sem_arg)
93243 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93245 const IDESC * UNUSED idesc = abuf->idesc;
93246 int cycles = 0;
93248 int referenced = 0;
93249 int UNUSED insn_referenced = abuf->written;
93250 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93252 return cycles;
93253 #undef FLD
93256 static int
93257 model_simple_stqcu (SIM_CPU *current_cpu, void *sem_arg)
93259 #define FLD(f) abuf->fields.sfmt_stdcu.f
93260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93261 const IDESC * UNUSED idesc = abuf->idesc;
93262 int cycles = 0;
93264 int referenced = 0;
93265 int UNUSED insn_referenced = abuf->written;
93266 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93268 return cycles;
93269 #undef FLD
93272 static int
93273 model_simple_cldsb (SIM_CPU *current_cpu, void *sem_arg)
93275 #define FLD(f) abuf->fields.sfmt_cswap.f
93276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93277 const IDESC * UNUSED idesc = abuf->idesc;
93278 int cycles = 0;
93280 int referenced = 0;
93281 int UNUSED insn_referenced = abuf->written;
93282 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93284 return cycles;
93285 #undef FLD
93288 static int
93289 model_simple_cldub (SIM_CPU *current_cpu, void *sem_arg)
93291 #define FLD(f) abuf->fields.sfmt_cswap.f
93292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93293 const IDESC * UNUSED idesc = abuf->idesc;
93294 int cycles = 0;
93296 int referenced = 0;
93297 int UNUSED insn_referenced = abuf->written;
93298 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93300 return cycles;
93301 #undef FLD
93304 static int
93305 model_simple_cldsh (SIM_CPU *current_cpu, void *sem_arg)
93307 #define FLD(f) abuf->fields.sfmt_cswap.f
93308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93309 const IDESC * UNUSED idesc = abuf->idesc;
93310 int cycles = 0;
93312 int referenced = 0;
93313 int UNUSED insn_referenced = abuf->written;
93314 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93316 return cycles;
93317 #undef FLD
93320 static int
93321 model_simple_clduh (SIM_CPU *current_cpu, void *sem_arg)
93323 #define FLD(f) abuf->fields.sfmt_cswap.f
93324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93325 const IDESC * UNUSED idesc = abuf->idesc;
93326 int cycles = 0;
93328 int referenced = 0;
93329 int UNUSED insn_referenced = abuf->written;
93330 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93332 return cycles;
93333 #undef FLD
93336 static int
93337 model_simple_cld (SIM_CPU *current_cpu, void *sem_arg)
93339 #define FLD(f) abuf->fields.sfmt_cswap.f
93340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93341 const IDESC * UNUSED idesc = abuf->idesc;
93342 int cycles = 0;
93344 int referenced = 0;
93345 int UNUSED insn_referenced = abuf->written;
93346 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93348 return cycles;
93349 #undef FLD
93352 static int
93353 model_simple_cldbf (SIM_CPU *current_cpu, void *sem_arg)
93355 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93357 const IDESC * UNUSED idesc = abuf->idesc;
93358 int cycles = 0;
93360 int referenced = 0;
93361 int UNUSED insn_referenced = abuf->written;
93362 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93364 return cycles;
93365 #undef FLD
93368 static int
93369 model_simple_cldhf (SIM_CPU *current_cpu, void *sem_arg)
93371 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93373 const IDESC * UNUSED idesc = abuf->idesc;
93374 int cycles = 0;
93376 int referenced = 0;
93377 int UNUSED insn_referenced = abuf->written;
93378 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93380 return cycles;
93381 #undef FLD
93384 static int
93385 model_simple_cldf (SIM_CPU *current_cpu, void *sem_arg)
93387 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93389 const IDESC * UNUSED idesc = abuf->idesc;
93390 int cycles = 0;
93392 int referenced = 0;
93393 int UNUSED insn_referenced = abuf->written;
93394 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93396 return cycles;
93397 #undef FLD
93400 static int
93401 model_simple_cldd (SIM_CPU *current_cpu, void *sem_arg)
93403 #define FLD(f) abuf->fields.sfmt_clddu.f
93404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93405 const IDESC * UNUSED idesc = abuf->idesc;
93406 int cycles = 0;
93408 int referenced = 0;
93409 int UNUSED insn_referenced = abuf->written;
93410 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93412 return cycles;
93413 #undef FLD
93416 static int
93417 model_simple_clddf (SIM_CPU *current_cpu, void *sem_arg)
93419 #define FLD(f) abuf->fields.sfmt_clddfu.f
93420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93421 const IDESC * UNUSED idesc = abuf->idesc;
93422 int cycles = 0;
93424 int referenced = 0;
93425 int UNUSED insn_referenced = abuf->written;
93426 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93428 return cycles;
93429 #undef FLD
93432 static int
93433 model_simple_cldq (SIM_CPU *current_cpu, void *sem_arg)
93435 #define FLD(f) abuf->fields.sfmt_cswap.f
93436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93437 const IDESC * UNUSED idesc = abuf->idesc;
93438 int cycles = 0;
93440 int referenced = 0;
93441 int UNUSED insn_referenced = abuf->written;
93442 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93444 return cycles;
93445 #undef FLD
93448 static int
93449 model_simple_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
93451 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93453 const IDESC * UNUSED idesc = abuf->idesc;
93454 int cycles = 0;
93456 int referenced = 0;
93457 int UNUSED insn_referenced = abuf->written;
93458 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93460 return cycles;
93461 #undef FLD
93464 static int
93465 model_simple_cldubu (SIM_CPU *current_cpu, void *sem_arg)
93467 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93469 const IDESC * UNUSED idesc = abuf->idesc;
93470 int cycles = 0;
93472 int referenced = 0;
93473 int UNUSED insn_referenced = abuf->written;
93474 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93476 return cycles;
93477 #undef FLD
93480 static int
93481 model_simple_cldshu (SIM_CPU *current_cpu, void *sem_arg)
93483 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93485 const IDESC * UNUSED idesc = abuf->idesc;
93486 int cycles = 0;
93488 int referenced = 0;
93489 int UNUSED insn_referenced = abuf->written;
93490 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93492 return cycles;
93493 #undef FLD
93496 static int
93497 model_simple_clduhu (SIM_CPU *current_cpu, void *sem_arg)
93499 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93501 const IDESC * UNUSED idesc = abuf->idesc;
93502 int cycles = 0;
93504 int referenced = 0;
93505 int UNUSED insn_referenced = abuf->written;
93506 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93508 return cycles;
93509 #undef FLD
93512 static int
93513 model_simple_cldu (SIM_CPU *current_cpu, void *sem_arg)
93515 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93517 const IDESC * UNUSED idesc = abuf->idesc;
93518 int cycles = 0;
93520 int referenced = 0;
93521 int UNUSED insn_referenced = abuf->written;
93522 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93524 return cycles;
93525 #undef FLD
93528 static int
93529 model_simple_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
93531 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93533 const IDESC * UNUSED idesc = abuf->idesc;
93534 int cycles = 0;
93536 int referenced = 0;
93537 int UNUSED insn_referenced = abuf->written;
93538 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93540 return cycles;
93541 #undef FLD
93544 static int
93545 model_simple_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
93547 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93549 const IDESC * UNUSED idesc = abuf->idesc;
93550 int cycles = 0;
93552 int referenced = 0;
93553 int UNUSED insn_referenced = abuf->written;
93554 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93556 return cycles;
93557 #undef FLD
93560 static int
93561 model_simple_cldfu (SIM_CPU *current_cpu, void *sem_arg)
93563 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93565 const IDESC * UNUSED idesc = abuf->idesc;
93566 int cycles = 0;
93568 int referenced = 0;
93569 int UNUSED insn_referenced = abuf->written;
93570 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93572 return cycles;
93573 #undef FLD
93576 static int
93577 model_simple_clddu (SIM_CPU *current_cpu, void *sem_arg)
93579 #define FLD(f) abuf->fields.sfmt_clddu.f
93580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93581 const IDESC * UNUSED idesc = abuf->idesc;
93582 int cycles = 0;
93584 int referenced = 0;
93585 int UNUSED insn_referenced = abuf->written;
93586 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93588 return cycles;
93589 #undef FLD
93592 static int
93593 model_simple_clddfu (SIM_CPU *current_cpu, void *sem_arg)
93595 #define FLD(f) abuf->fields.sfmt_clddfu.f
93596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93597 const IDESC * UNUSED idesc = abuf->idesc;
93598 int cycles = 0;
93600 int referenced = 0;
93601 int UNUSED insn_referenced = abuf->written;
93602 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93604 return cycles;
93605 #undef FLD
93608 static int
93609 model_simple_cldqu (SIM_CPU *current_cpu, void *sem_arg)
93611 #define FLD(f) abuf->fields.sfmt_cstdu.f
93612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93613 const IDESC * UNUSED idesc = abuf->idesc;
93614 int cycles = 0;
93616 int referenced = 0;
93617 int UNUSED insn_referenced = abuf->written;
93618 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93620 return cycles;
93621 #undef FLD
93624 static int
93625 model_simple_cstb (SIM_CPU *current_cpu, void *sem_arg)
93627 #define FLD(f) abuf->fields.sfmt_cswap.f
93628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93629 const IDESC * UNUSED idesc = abuf->idesc;
93630 int cycles = 0;
93632 int referenced = 0;
93633 int UNUSED insn_referenced = abuf->written;
93634 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93636 return cycles;
93637 #undef FLD
93640 static int
93641 model_simple_csth (SIM_CPU *current_cpu, void *sem_arg)
93643 #define FLD(f) abuf->fields.sfmt_cswap.f
93644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93645 const IDESC * UNUSED idesc = abuf->idesc;
93646 int cycles = 0;
93648 int referenced = 0;
93649 int UNUSED insn_referenced = abuf->written;
93650 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93652 return cycles;
93653 #undef FLD
93656 static int
93657 model_simple_cst (SIM_CPU *current_cpu, void *sem_arg)
93659 #define FLD(f) abuf->fields.sfmt_cswap.f
93660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93661 const IDESC * UNUSED idesc = abuf->idesc;
93662 int cycles = 0;
93664 int referenced = 0;
93665 int UNUSED insn_referenced = abuf->written;
93666 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93668 return cycles;
93669 #undef FLD
93672 static int
93673 model_simple_cstbf (SIM_CPU *current_cpu, void *sem_arg)
93675 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93677 const IDESC * UNUSED idesc = abuf->idesc;
93678 int cycles = 0;
93680 int referenced = 0;
93681 int UNUSED insn_referenced = abuf->written;
93682 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93684 return cycles;
93685 #undef FLD
93688 static int
93689 model_simple_csthf (SIM_CPU *current_cpu, void *sem_arg)
93691 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93693 const IDESC * UNUSED idesc = abuf->idesc;
93694 int cycles = 0;
93696 int referenced = 0;
93697 int UNUSED insn_referenced = abuf->written;
93698 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93700 return cycles;
93701 #undef FLD
93704 static int
93705 model_simple_cstf (SIM_CPU *current_cpu, void *sem_arg)
93707 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93709 const IDESC * UNUSED idesc = abuf->idesc;
93710 int cycles = 0;
93712 int referenced = 0;
93713 int UNUSED insn_referenced = abuf->written;
93714 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93716 return cycles;
93717 #undef FLD
93720 static int
93721 model_simple_cstd (SIM_CPU *current_cpu, void *sem_arg)
93723 #define FLD(f) abuf->fields.sfmt_cstdu.f
93724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93725 const IDESC * UNUSED idesc = abuf->idesc;
93726 int cycles = 0;
93728 int referenced = 0;
93729 int UNUSED insn_referenced = abuf->written;
93730 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93732 return cycles;
93733 #undef FLD
93736 static int
93737 model_simple_cstdf (SIM_CPU *current_cpu, void *sem_arg)
93739 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93741 const IDESC * UNUSED idesc = abuf->idesc;
93742 int cycles = 0;
93744 int referenced = 0;
93745 int UNUSED insn_referenced = abuf->written;
93746 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93748 return cycles;
93749 #undef FLD
93752 static int
93753 model_simple_cstq (SIM_CPU *current_cpu, void *sem_arg)
93755 #define FLD(f) abuf->fields.sfmt_cswap.f
93756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93757 const IDESC * UNUSED idesc = abuf->idesc;
93758 int cycles = 0;
93760 int referenced = 0;
93761 int UNUSED insn_referenced = abuf->written;
93762 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93764 return cycles;
93765 #undef FLD
93768 static int
93769 model_simple_cstbu (SIM_CPU *current_cpu, void *sem_arg)
93771 #define FLD(f) abuf->fields.sfmt_cstbu.f
93772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93773 const IDESC * UNUSED idesc = abuf->idesc;
93774 int cycles = 0;
93776 int referenced = 0;
93777 int UNUSED insn_referenced = abuf->written;
93778 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93780 return cycles;
93781 #undef FLD
93784 static int
93785 model_simple_csthu (SIM_CPU *current_cpu, void *sem_arg)
93787 #define FLD(f) abuf->fields.sfmt_cstbu.f
93788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93789 const IDESC * UNUSED idesc = abuf->idesc;
93790 int cycles = 0;
93792 int referenced = 0;
93793 int UNUSED insn_referenced = abuf->written;
93794 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93796 return cycles;
93797 #undef FLD
93800 static int
93801 model_simple_cstu (SIM_CPU *current_cpu, void *sem_arg)
93803 #define FLD(f) abuf->fields.sfmt_cstbu.f
93804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93805 const IDESC * UNUSED idesc = abuf->idesc;
93806 int cycles = 0;
93808 int referenced = 0;
93809 int UNUSED insn_referenced = abuf->written;
93810 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93812 return cycles;
93813 #undef FLD
93816 static int
93817 model_simple_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
93819 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93821 const IDESC * UNUSED idesc = abuf->idesc;
93822 int cycles = 0;
93824 int referenced = 0;
93825 int UNUSED insn_referenced = abuf->written;
93826 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93828 return cycles;
93829 #undef FLD
93832 static int
93833 model_simple_csthfu (SIM_CPU *current_cpu, void *sem_arg)
93835 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93837 const IDESC * UNUSED idesc = abuf->idesc;
93838 int cycles = 0;
93840 int referenced = 0;
93841 int UNUSED insn_referenced = abuf->written;
93842 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93844 return cycles;
93845 #undef FLD
93848 static int
93849 model_simple_cstfu (SIM_CPU *current_cpu, void *sem_arg)
93851 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93853 const IDESC * UNUSED idesc = abuf->idesc;
93854 int cycles = 0;
93856 int referenced = 0;
93857 int UNUSED insn_referenced = abuf->written;
93858 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93860 return cycles;
93861 #undef FLD
93864 static int
93865 model_simple_cstdu (SIM_CPU *current_cpu, void *sem_arg)
93867 #define FLD(f) abuf->fields.sfmt_cstdu.f
93868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93869 const IDESC * UNUSED idesc = abuf->idesc;
93870 int cycles = 0;
93872 int referenced = 0;
93873 int UNUSED insn_referenced = abuf->written;
93874 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93876 return cycles;
93877 #undef FLD
93880 static int
93881 model_simple_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
93883 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93885 const IDESC * UNUSED idesc = abuf->idesc;
93886 int cycles = 0;
93888 int referenced = 0;
93889 int UNUSED insn_referenced = abuf->written;
93890 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93892 return cycles;
93893 #undef FLD
93896 static int
93897 model_simple_stbi (SIM_CPU *current_cpu, void *sem_arg)
93899 #define FLD(f) abuf->fields.sfmt_swapi.f
93900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93901 const IDESC * UNUSED idesc = abuf->idesc;
93902 int cycles = 0;
93904 int referenced = 0;
93905 int UNUSED insn_referenced = abuf->written;
93906 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93908 return cycles;
93909 #undef FLD
93912 static int
93913 model_simple_sthi (SIM_CPU *current_cpu, void *sem_arg)
93915 #define FLD(f) abuf->fields.sfmt_swapi.f
93916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93917 const IDESC * UNUSED idesc = abuf->idesc;
93918 int cycles = 0;
93920 int referenced = 0;
93921 int UNUSED insn_referenced = abuf->written;
93922 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93924 return cycles;
93925 #undef FLD
93928 static int
93929 model_simple_sti (SIM_CPU *current_cpu, void *sem_arg)
93931 #define FLD(f) abuf->fields.sfmt_swapi.f
93932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93933 const IDESC * UNUSED idesc = abuf->idesc;
93934 int cycles = 0;
93936 int referenced = 0;
93937 int UNUSED insn_referenced = abuf->written;
93938 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93940 return cycles;
93941 #undef FLD
93944 static int
93945 model_simple_stbfi (SIM_CPU *current_cpu, void *sem_arg)
93947 #define FLD(f) abuf->fields.sfmt_stbfi.f
93948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93949 const IDESC * UNUSED idesc = abuf->idesc;
93950 int cycles = 0;
93952 int referenced = 0;
93953 int UNUSED insn_referenced = abuf->written;
93954 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93956 return cycles;
93957 #undef FLD
93960 static int
93961 model_simple_sthfi (SIM_CPU *current_cpu, void *sem_arg)
93963 #define FLD(f) abuf->fields.sfmt_stbfi.f
93964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93965 const IDESC * UNUSED idesc = abuf->idesc;
93966 int cycles = 0;
93968 int referenced = 0;
93969 int UNUSED insn_referenced = abuf->written;
93970 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93972 return cycles;
93973 #undef FLD
93976 static int
93977 model_simple_stfi (SIM_CPU *current_cpu, void *sem_arg)
93979 #define FLD(f) abuf->fields.sfmt_stbfi.f
93980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93981 const IDESC * UNUSED idesc = abuf->idesc;
93982 int cycles = 0;
93984 int referenced = 0;
93985 int UNUSED insn_referenced = abuf->written;
93986 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93988 return cycles;
93989 #undef FLD
93992 static int
93993 model_simple_stdi (SIM_CPU *current_cpu, void *sem_arg)
93995 #define FLD(f) abuf->fields.sfmt_stdi.f
93996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93997 const IDESC * UNUSED idesc = abuf->idesc;
93998 int cycles = 0;
94000 int referenced = 0;
94001 int UNUSED insn_referenced = abuf->written;
94002 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94004 return cycles;
94005 #undef FLD
94008 static int
94009 model_simple_stdfi (SIM_CPU *current_cpu, void *sem_arg)
94011 #define FLD(f) abuf->fields.sfmt_stdfi.f
94012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94013 const IDESC * UNUSED idesc = abuf->idesc;
94014 int cycles = 0;
94016 int referenced = 0;
94017 int UNUSED insn_referenced = abuf->written;
94018 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94020 return cycles;
94021 #undef FLD
94024 static int
94025 model_simple_stqi (SIM_CPU *current_cpu, void *sem_arg)
94027 #define FLD(f) abuf->fields.sfmt_stdi.f
94028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94029 const IDESC * UNUSED idesc = abuf->idesc;
94030 int cycles = 0;
94032 int referenced = 0;
94033 int UNUSED insn_referenced = abuf->written;
94034 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94036 return cycles;
94037 #undef FLD
94040 static int
94041 model_simple_stqfi (SIM_CPU *current_cpu, void *sem_arg)
94043 #define FLD(f) abuf->fields.sfmt_stdfi.f
94044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94045 const IDESC * UNUSED idesc = abuf->idesc;
94046 int cycles = 0;
94048 int referenced = 0;
94049 int UNUSED insn_referenced = abuf->written;
94050 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94052 return cycles;
94053 #undef FLD
94056 static int
94057 model_simple_swap (SIM_CPU *current_cpu, void *sem_arg)
94059 #define FLD(f) abuf->fields.sfmt_cswap.f
94060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94061 const IDESC * UNUSED idesc = abuf->idesc;
94062 int cycles = 0;
94064 int referenced = 0;
94065 int UNUSED insn_referenced = abuf->written;
94066 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94068 return cycles;
94069 #undef FLD
94072 static int
94073 model_simple_swapi (SIM_CPU *current_cpu, void *sem_arg)
94075 #define FLD(f) abuf->fields.sfmt_swapi.f
94076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94077 const IDESC * UNUSED idesc = abuf->idesc;
94078 int cycles = 0;
94080 int referenced = 0;
94081 int UNUSED insn_referenced = abuf->written;
94082 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94084 return cycles;
94085 #undef FLD
94088 static int
94089 model_simple_cswap (SIM_CPU *current_cpu, void *sem_arg)
94091 #define FLD(f) abuf->fields.sfmt_cswap.f
94092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94093 const IDESC * UNUSED idesc = abuf->idesc;
94094 int cycles = 0;
94096 int referenced = 0;
94097 int UNUSED insn_referenced = abuf->written;
94098 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94100 return cycles;
94101 #undef FLD
94104 static int
94105 model_simple_movgf (SIM_CPU *current_cpu, void *sem_arg)
94107 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
94108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94109 const IDESC * UNUSED idesc = abuf->idesc;
94110 int cycles = 0;
94112 int referenced = 0;
94113 int UNUSED insn_referenced = abuf->written;
94114 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94116 return cycles;
94117 #undef FLD
94120 static int
94121 model_simple_movfg (SIM_CPU *current_cpu, void *sem_arg)
94123 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
94124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94125 const IDESC * UNUSED idesc = abuf->idesc;
94126 int cycles = 0;
94128 int referenced = 0;
94129 int UNUSED insn_referenced = abuf->written;
94130 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94132 return cycles;
94133 #undef FLD
94136 static int
94137 model_simple_movgfd (SIM_CPU *current_cpu, void *sem_arg)
94139 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
94140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94141 const IDESC * UNUSED idesc = abuf->idesc;
94142 int cycles = 0;
94144 int referenced = 0;
94145 int UNUSED insn_referenced = abuf->written;
94146 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94148 return cycles;
94149 #undef FLD
94152 static int
94153 model_simple_movfgd (SIM_CPU *current_cpu, void *sem_arg)
94155 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
94156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94157 const IDESC * UNUSED idesc = abuf->idesc;
94158 int cycles = 0;
94160 int referenced = 0;
94161 int UNUSED insn_referenced = abuf->written;
94162 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94164 return cycles;
94165 #undef FLD
94168 static int
94169 model_simple_movgfq (SIM_CPU *current_cpu, void *sem_arg)
94171 #define FLD(f) abuf->fields.sfmt_movgfq.f
94172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94173 const IDESC * UNUSED idesc = abuf->idesc;
94174 int cycles = 0;
94176 int referenced = 0;
94177 int UNUSED insn_referenced = abuf->written;
94178 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94180 return cycles;
94181 #undef FLD
94184 static int
94185 model_simple_movfgq (SIM_CPU *current_cpu, void *sem_arg)
94187 #define FLD(f) abuf->fields.sfmt_movfgq.f
94188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94189 const IDESC * UNUSED idesc = abuf->idesc;
94190 int cycles = 0;
94192 int referenced = 0;
94193 int UNUSED insn_referenced = abuf->written;
94194 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94196 return cycles;
94197 #undef FLD
94200 static int
94201 model_simple_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
94203 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
94204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94205 const IDESC * UNUSED idesc = abuf->idesc;
94206 int cycles = 0;
94208 int referenced = 0;
94209 int UNUSED insn_referenced = abuf->written;
94210 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94212 return cycles;
94213 #undef FLD
94216 static int
94217 model_simple_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
94219 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
94220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94221 const IDESC * UNUSED idesc = abuf->idesc;
94222 int cycles = 0;
94224 int referenced = 0;
94225 int UNUSED insn_referenced = abuf->written;
94226 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94228 return cycles;
94229 #undef FLD
94232 static int
94233 model_simple_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
94235 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
94236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94237 const IDESC * UNUSED idesc = abuf->idesc;
94238 int cycles = 0;
94240 int referenced = 0;
94241 int UNUSED insn_referenced = abuf->written;
94242 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94244 return cycles;
94245 #undef FLD
94248 static int
94249 model_simple_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
94251 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
94252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94253 const IDESC * UNUSED idesc = abuf->idesc;
94254 int cycles = 0;
94256 int referenced = 0;
94257 int UNUSED insn_referenced = abuf->written;
94258 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94260 return cycles;
94261 #undef FLD
94264 static int
94265 model_simple_movgs (SIM_CPU *current_cpu, void *sem_arg)
94267 #define FLD(f) abuf->fields.sfmt_movgs.f
94268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94269 const IDESC * UNUSED idesc = abuf->idesc;
94270 int cycles = 0;
94272 int referenced = 0;
94273 int UNUSED insn_referenced = abuf->written;
94274 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94276 return cycles;
94277 #undef FLD
94280 static int
94281 model_simple_movsg (SIM_CPU *current_cpu, void *sem_arg)
94283 #define FLD(f) abuf->fields.sfmt_movsg.f
94284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94285 const IDESC * UNUSED idesc = abuf->idesc;
94286 int cycles = 0;
94288 int referenced = 0;
94289 int UNUSED insn_referenced = abuf->written;
94290 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94292 return cycles;
94293 #undef FLD
94296 static int
94297 model_simple_bra (SIM_CPU *current_cpu, void *sem_arg)
94299 #define FLD(f) abuf->fields.sfmt_fbne.f
94300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94301 const IDESC * UNUSED idesc = abuf->idesc;
94302 int cycles = 0;
94304 int referenced = 0;
94305 int UNUSED insn_referenced = abuf->written;
94306 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94308 return cycles;
94309 #undef FLD
94312 static int
94313 model_simple_bno (SIM_CPU *current_cpu, void *sem_arg)
94315 #define FLD(f) abuf->fields.sfmt_fbne.f
94316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94317 const IDESC * UNUSED idesc = abuf->idesc;
94318 int cycles = 0;
94320 int referenced = 0;
94321 int UNUSED insn_referenced = abuf->written;
94322 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94324 return cycles;
94325 #undef FLD
94328 static int
94329 model_simple_beq (SIM_CPU *current_cpu, void *sem_arg)
94331 #define FLD(f) abuf->fields.sfmt_beq.f
94332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94333 const IDESC * UNUSED idesc = abuf->idesc;
94334 int cycles = 0;
94336 int referenced = 0;
94337 int UNUSED insn_referenced = abuf->written;
94338 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94340 return cycles;
94341 #undef FLD
94344 static int
94345 model_simple_bne (SIM_CPU *current_cpu, void *sem_arg)
94347 #define FLD(f) abuf->fields.sfmt_beq.f
94348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94349 const IDESC * UNUSED idesc = abuf->idesc;
94350 int cycles = 0;
94352 int referenced = 0;
94353 int UNUSED insn_referenced = abuf->written;
94354 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94356 return cycles;
94357 #undef FLD
94360 static int
94361 model_simple_ble (SIM_CPU *current_cpu, void *sem_arg)
94363 #define FLD(f) abuf->fields.sfmt_beq.f
94364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94365 const IDESC * UNUSED idesc = abuf->idesc;
94366 int cycles = 0;
94368 int referenced = 0;
94369 int UNUSED insn_referenced = abuf->written;
94370 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94372 return cycles;
94373 #undef FLD
94376 static int
94377 model_simple_bgt (SIM_CPU *current_cpu, void *sem_arg)
94379 #define FLD(f) abuf->fields.sfmt_beq.f
94380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94381 const IDESC * UNUSED idesc = abuf->idesc;
94382 int cycles = 0;
94384 int referenced = 0;
94385 int UNUSED insn_referenced = abuf->written;
94386 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94388 return cycles;
94389 #undef FLD
94392 static int
94393 model_simple_blt (SIM_CPU *current_cpu, void *sem_arg)
94395 #define FLD(f) abuf->fields.sfmt_beq.f
94396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94397 const IDESC * UNUSED idesc = abuf->idesc;
94398 int cycles = 0;
94400 int referenced = 0;
94401 int UNUSED insn_referenced = abuf->written;
94402 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94404 return cycles;
94405 #undef FLD
94408 static int
94409 model_simple_bge (SIM_CPU *current_cpu, void *sem_arg)
94411 #define FLD(f) abuf->fields.sfmt_beq.f
94412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94413 const IDESC * UNUSED idesc = abuf->idesc;
94414 int cycles = 0;
94416 int referenced = 0;
94417 int UNUSED insn_referenced = abuf->written;
94418 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94420 return cycles;
94421 #undef FLD
94424 static int
94425 model_simple_bls (SIM_CPU *current_cpu, void *sem_arg)
94427 #define FLD(f) abuf->fields.sfmt_beq.f
94428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94429 const IDESC * UNUSED idesc = abuf->idesc;
94430 int cycles = 0;
94432 int referenced = 0;
94433 int UNUSED insn_referenced = abuf->written;
94434 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94436 return cycles;
94437 #undef FLD
94440 static int
94441 model_simple_bhi (SIM_CPU *current_cpu, void *sem_arg)
94443 #define FLD(f) abuf->fields.sfmt_beq.f
94444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94445 const IDESC * UNUSED idesc = abuf->idesc;
94446 int cycles = 0;
94448 int referenced = 0;
94449 int UNUSED insn_referenced = abuf->written;
94450 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94452 return cycles;
94453 #undef FLD
94456 static int
94457 model_simple_bc (SIM_CPU *current_cpu, void *sem_arg)
94459 #define FLD(f) abuf->fields.sfmt_beq.f
94460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94461 const IDESC * UNUSED idesc = abuf->idesc;
94462 int cycles = 0;
94464 int referenced = 0;
94465 int UNUSED insn_referenced = abuf->written;
94466 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94468 return cycles;
94469 #undef FLD
94472 static int
94473 model_simple_bnc (SIM_CPU *current_cpu, void *sem_arg)
94475 #define FLD(f) abuf->fields.sfmt_beq.f
94476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94477 const IDESC * UNUSED idesc = abuf->idesc;
94478 int cycles = 0;
94480 int referenced = 0;
94481 int UNUSED insn_referenced = abuf->written;
94482 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94484 return cycles;
94485 #undef FLD
94488 static int
94489 model_simple_bn (SIM_CPU *current_cpu, void *sem_arg)
94491 #define FLD(f) abuf->fields.sfmt_beq.f
94492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94493 const IDESC * UNUSED idesc = abuf->idesc;
94494 int cycles = 0;
94496 int referenced = 0;
94497 int UNUSED insn_referenced = abuf->written;
94498 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94500 return cycles;
94501 #undef FLD
94504 static int
94505 model_simple_bp (SIM_CPU *current_cpu, void *sem_arg)
94507 #define FLD(f) abuf->fields.sfmt_beq.f
94508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94509 const IDESC * UNUSED idesc = abuf->idesc;
94510 int cycles = 0;
94512 int referenced = 0;
94513 int UNUSED insn_referenced = abuf->written;
94514 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94516 return cycles;
94517 #undef FLD
94520 static int
94521 model_simple_bv (SIM_CPU *current_cpu, void *sem_arg)
94523 #define FLD(f) abuf->fields.sfmt_beq.f
94524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94525 const IDESC * UNUSED idesc = abuf->idesc;
94526 int cycles = 0;
94528 int referenced = 0;
94529 int UNUSED insn_referenced = abuf->written;
94530 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94532 return cycles;
94533 #undef FLD
94536 static int
94537 model_simple_bnv (SIM_CPU *current_cpu, void *sem_arg)
94539 #define FLD(f) abuf->fields.sfmt_beq.f
94540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94541 const IDESC * UNUSED idesc = abuf->idesc;
94542 int cycles = 0;
94544 int referenced = 0;
94545 int UNUSED insn_referenced = abuf->written;
94546 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94548 return cycles;
94549 #undef FLD
94552 static int
94553 model_simple_fbra (SIM_CPU *current_cpu, void *sem_arg)
94555 #define FLD(f) abuf->fields.sfmt_fbne.f
94556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94557 const IDESC * UNUSED idesc = abuf->idesc;
94558 int cycles = 0;
94560 int referenced = 0;
94561 int UNUSED insn_referenced = abuf->written;
94562 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94564 return cycles;
94565 #undef FLD
94568 static int
94569 model_simple_fbno (SIM_CPU *current_cpu, void *sem_arg)
94571 #define FLD(f) abuf->fields.sfmt_fbne.f
94572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94573 const IDESC * UNUSED idesc = abuf->idesc;
94574 int cycles = 0;
94576 int referenced = 0;
94577 int UNUSED insn_referenced = abuf->written;
94578 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94580 return cycles;
94581 #undef FLD
94584 static int
94585 model_simple_fbne (SIM_CPU *current_cpu, void *sem_arg)
94587 #define FLD(f) abuf->fields.sfmt_fbne.f
94588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94589 const IDESC * UNUSED idesc = abuf->idesc;
94590 int cycles = 0;
94592 int referenced = 0;
94593 int UNUSED insn_referenced = abuf->written;
94594 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94596 return cycles;
94597 #undef FLD
94600 static int
94601 model_simple_fbeq (SIM_CPU *current_cpu, void *sem_arg)
94603 #define FLD(f) abuf->fields.sfmt_fbne.f
94604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94605 const IDESC * UNUSED idesc = abuf->idesc;
94606 int cycles = 0;
94608 int referenced = 0;
94609 int UNUSED insn_referenced = abuf->written;
94610 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94612 return cycles;
94613 #undef FLD
94616 static int
94617 model_simple_fblg (SIM_CPU *current_cpu, void *sem_arg)
94619 #define FLD(f) abuf->fields.sfmt_fbne.f
94620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94621 const IDESC * UNUSED idesc = abuf->idesc;
94622 int cycles = 0;
94624 int referenced = 0;
94625 int UNUSED insn_referenced = abuf->written;
94626 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94628 return cycles;
94629 #undef FLD
94632 static int
94633 model_simple_fbue (SIM_CPU *current_cpu, void *sem_arg)
94635 #define FLD(f) abuf->fields.sfmt_fbne.f
94636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94637 const IDESC * UNUSED idesc = abuf->idesc;
94638 int cycles = 0;
94640 int referenced = 0;
94641 int UNUSED insn_referenced = abuf->written;
94642 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94644 return cycles;
94645 #undef FLD
94648 static int
94649 model_simple_fbul (SIM_CPU *current_cpu, void *sem_arg)
94651 #define FLD(f) abuf->fields.sfmt_fbne.f
94652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94653 const IDESC * UNUSED idesc = abuf->idesc;
94654 int cycles = 0;
94656 int referenced = 0;
94657 int UNUSED insn_referenced = abuf->written;
94658 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94660 return cycles;
94661 #undef FLD
94664 static int
94665 model_simple_fbge (SIM_CPU *current_cpu, void *sem_arg)
94667 #define FLD(f) abuf->fields.sfmt_fbne.f
94668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94669 const IDESC * UNUSED idesc = abuf->idesc;
94670 int cycles = 0;
94672 int referenced = 0;
94673 int UNUSED insn_referenced = abuf->written;
94674 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94676 return cycles;
94677 #undef FLD
94680 static int
94681 model_simple_fblt (SIM_CPU *current_cpu, void *sem_arg)
94683 #define FLD(f) abuf->fields.sfmt_fbne.f
94684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94685 const IDESC * UNUSED idesc = abuf->idesc;
94686 int cycles = 0;
94688 int referenced = 0;
94689 int UNUSED insn_referenced = abuf->written;
94690 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94692 return cycles;
94693 #undef FLD
94696 static int
94697 model_simple_fbuge (SIM_CPU *current_cpu, void *sem_arg)
94699 #define FLD(f) abuf->fields.sfmt_fbne.f
94700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94701 const IDESC * UNUSED idesc = abuf->idesc;
94702 int cycles = 0;
94704 int referenced = 0;
94705 int UNUSED insn_referenced = abuf->written;
94706 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94708 return cycles;
94709 #undef FLD
94712 static int
94713 model_simple_fbug (SIM_CPU *current_cpu, void *sem_arg)
94715 #define FLD(f) abuf->fields.sfmt_fbne.f
94716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94717 const IDESC * UNUSED idesc = abuf->idesc;
94718 int cycles = 0;
94720 int referenced = 0;
94721 int UNUSED insn_referenced = abuf->written;
94722 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94724 return cycles;
94725 #undef FLD
94728 static int
94729 model_simple_fble (SIM_CPU *current_cpu, void *sem_arg)
94731 #define FLD(f) abuf->fields.sfmt_fbne.f
94732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94733 const IDESC * UNUSED idesc = abuf->idesc;
94734 int cycles = 0;
94736 int referenced = 0;
94737 int UNUSED insn_referenced = abuf->written;
94738 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94740 return cycles;
94741 #undef FLD
94744 static int
94745 model_simple_fbgt (SIM_CPU *current_cpu, void *sem_arg)
94747 #define FLD(f) abuf->fields.sfmt_fbne.f
94748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94749 const IDESC * UNUSED idesc = abuf->idesc;
94750 int cycles = 0;
94752 int referenced = 0;
94753 int UNUSED insn_referenced = abuf->written;
94754 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94756 return cycles;
94757 #undef FLD
94760 static int
94761 model_simple_fbule (SIM_CPU *current_cpu, void *sem_arg)
94763 #define FLD(f) abuf->fields.sfmt_fbne.f
94764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94765 const IDESC * UNUSED idesc = abuf->idesc;
94766 int cycles = 0;
94768 int referenced = 0;
94769 int UNUSED insn_referenced = abuf->written;
94770 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94772 return cycles;
94773 #undef FLD
94776 static int
94777 model_simple_fbu (SIM_CPU *current_cpu, void *sem_arg)
94779 #define FLD(f) abuf->fields.sfmt_fbne.f
94780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94781 const IDESC * UNUSED idesc = abuf->idesc;
94782 int cycles = 0;
94784 int referenced = 0;
94785 int UNUSED insn_referenced = abuf->written;
94786 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94788 return cycles;
94789 #undef FLD
94792 static int
94793 model_simple_fbo (SIM_CPU *current_cpu, void *sem_arg)
94795 #define FLD(f) abuf->fields.sfmt_fbne.f
94796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94797 const IDESC * UNUSED idesc = abuf->idesc;
94798 int cycles = 0;
94800 int referenced = 0;
94801 int UNUSED insn_referenced = abuf->written;
94802 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94804 return cycles;
94805 #undef FLD
94808 static int
94809 model_simple_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
94811 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
94812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94813 const IDESC * UNUSED idesc = abuf->idesc;
94814 int cycles = 0;
94816 int referenced = 0;
94817 int UNUSED insn_referenced = abuf->written;
94818 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94820 return cycles;
94821 #undef FLD
94824 static int
94825 model_simple_bralr (SIM_CPU *current_cpu, void *sem_arg)
94827 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
94828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94829 const IDESC * UNUSED idesc = abuf->idesc;
94830 int cycles = 0;
94832 int referenced = 0;
94833 int UNUSED insn_referenced = abuf->written;
94834 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94836 return cycles;
94837 #undef FLD
94840 static int
94841 model_simple_bnolr (SIM_CPU *current_cpu, void *sem_arg)
94843 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
94844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94845 const IDESC * UNUSED idesc = abuf->idesc;
94846 int cycles = 0;
94848 int referenced = 0;
94849 int UNUSED insn_referenced = abuf->written;
94850 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94852 return cycles;
94853 #undef FLD
94856 static int
94857 model_simple_beqlr (SIM_CPU *current_cpu, void *sem_arg)
94859 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94861 const IDESC * UNUSED idesc = abuf->idesc;
94862 int cycles = 0;
94864 int referenced = 0;
94865 int UNUSED insn_referenced = abuf->written;
94866 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94868 return cycles;
94869 #undef FLD
94872 static int
94873 model_simple_bnelr (SIM_CPU *current_cpu, void *sem_arg)
94875 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94877 const IDESC * UNUSED idesc = abuf->idesc;
94878 int cycles = 0;
94880 int referenced = 0;
94881 int UNUSED insn_referenced = abuf->written;
94882 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94884 return cycles;
94885 #undef FLD
94888 static int
94889 model_simple_blelr (SIM_CPU *current_cpu, void *sem_arg)
94891 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94893 const IDESC * UNUSED idesc = abuf->idesc;
94894 int cycles = 0;
94896 int referenced = 0;
94897 int UNUSED insn_referenced = abuf->written;
94898 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94900 return cycles;
94901 #undef FLD
94904 static int
94905 model_simple_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
94907 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94909 const IDESC * UNUSED idesc = abuf->idesc;
94910 int cycles = 0;
94912 int referenced = 0;
94913 int UNUSED insn_referenced = abuf->written;
94914 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94916 return cycles;
94917 #undef FLD
94920 static int
94921 model_simple_bltlr (SIM_CPU *current_cpu, void *sem_arg)
94923 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94925 const IDESC * UNUSED idesc = abuf->idesc;
94926 int cycles = 0;
94928 int referenced = 0;
94929 int UNUSED insn_referenced = abuf->written;
94930 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94932 return cycles;
94933 #undef FLD
94936 static int
94937 model_simple_bgelr (SIM_CPU *current_cpu, void *sem_arg)
94939 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94941 const IDESC * UNUSED idesc = abuf->idesc;
94942 int cycles = 0;
94944 int referenced = 0;
94945 int UNUSED insn_referenced = abuf->written;
94946 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94948 return cycles;
94949 #undef FLD
94952 static int
94953 model_simple_blslr (SIM_CPU *current_cpu, void *sem_arg)
94955 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94957 const IDESC * UNUSED idesc = abuf->idesc;
94958 int cycles = 0;
94960 int referenced = 0;
94961 int UNUSED insn_referenced = abuf->written;
94962 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94964 return cycles;
94965 #undef FLD
94968 static int
94969 model_simple_bhilr (SIM_CPU *current_cpu, void *sem_arg)
94971 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94973 const IDESC * UNUSED idesc = abuf->idesc;
94974 int cycles = 0;
94976 int referenced = 0;
94977 int UNUSED insn_referenced = abuf->written;
94978 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94980 return cycles;
94981 #undef FLD
94984 static int
94985 model_simple_bclr (SIM_CPU *current_cpu, void *sem_arg)
94987 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94989 const IDESC * UNUSED idesc = abuf->idesc;
94990 int cycles = 0;
94992 int referenced = 0;
94993 int UNUSED insn_referenced = abuf->written;
94994 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94996 return cycles;
94997 #undef FLD
95000 static int
95001 model_simple_bnclr (SIM_CPU *current_cpu, void *sem_arg)
95003 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95005 const IDESC * UNUSED idesc = abuf->idesc;
95006 int cycles = 0;
95008 int referenced = 0;
95009 int UNUSED insn_referenced = abuf->written;
95010 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95012 return cycles;
95013 #undef FLD
95016 static int
95017 model_simple_bnlr (SIM_CPU *current_cpu, void *sem_arg)
95019 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95021 const IDESC * UNUSED idesc = abuf->idesc;
95022 int cycles = 0;
95024 int referenced = 0;
95025 int UNUSED insn_referenced = abuf->written;
95026 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95028 return cycles;
95029 #undef FLD
95032 static int
95033 model_simple_bplr (SIM_CPU *current_cpu, void *sem_arg)
95035 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95037 const IDESC * UNUSED idesc = abuf->idesc;
95038 int cycles = 0;
95040 int referenced = 0;
95041 int UNUSED insn_referenced = abuf->written;
95042 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95044 return cycles;
95045 #undef FLD
95048 static int
95049 model_simple_bvlr (SIM_CPU *current_cpu, void *sem_arg)
95051 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95053 const IDESC * UNUSED idesc = abuf->idesc;
95054 int cycles = 0;
95056 int referenced = 0;
95057 int UNUSED insn_referenced = abuf->written;
95058 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95060 return cycles;
95061 #undef FLD
95064 static int
95065 model_simple_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
95067 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95069 const IDESC * UNUSED idesc = abuf->idesc;
95070 int cycles = 0;
95072 int referenced = 0;
95073 int UNUSED insn_referenced = abuf->written;
95074 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95076 return cycles;
95077 #undef FLD
95080 static int
95081 model_simple_fbralr (SIM_CPU *current_cpu, void *sem_arg)
95083 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95085 const IDESC * UNUSED idesc = abuf->idesc;
95086 int cycles = 0;
95088 int referenced = 0;
95089 int UNUSED insn_referenced = abuf->written;
95090 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95092 return cycles;
95093 #undef FLD
95096 static int
95097 model_simple_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
95099 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95101 const IDESC * UNUSED idesc = abuf->idesc;
95102 int cycles = 0;
95104 int referenced = 0;
95105 int UNUSED insn_referenced = abuf->written;
95106 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95108 return cycles;
95109 #undef FLD
95112 static int
95113 model_simple_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
95115 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95117 const IDESC * UNUSED idesc = abuf->idesc;
95118 int cycles = 0;
95120 int referenced = 0;
95121 int UNUSED insn_referenced = abuf->written;
95122 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95124 return cycles;
95125 #undef FLD
95128 static int
95129 model_simple_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
95131 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95133 const IDESC * UNUSED idesc = abuf->idesc;
95134 int cycles = 0;
95136 int referenced = 0;
95137 int UNUSED insn_referenced = abuf->written;
95138 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95140 return cycles;
95141 #undef FLD
95144 static int
95145 model_simple_fblglr (SIM_CPU *current_cpu, void *sem_arg)
95147 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95149 const IDESC * UNUSED idesc = abuf->idesc;
95150 int cycles = 0;
95152 int referenced = 0;
95153 int UNUSED insn_referenced = abuf->written;
95154 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95156 return cycles;
95157 #undef FLD
95160 static int
95161 model_simple_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
95163 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95165 const IDESC * UNUSED idesc = abuf->idesc;
95166 int cycles = 0;
95168 int referenced = 0;
95169 int UNUSED insn_referenced = abuf->written;
95170 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95172 return cycles;
95173 #undef FLD
95176 static int
95177 model_simple_fbullr (SIM_CPU *current_cpu, void *sem_arg)
95179 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95181 const IDESC * UNUSED idesc = abuf->idesc;
95182 int cycles = 0;
95184 int referenced = 0;
95185 int UNUSED insn_referenced = abuf->written;
95186 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95188 return cycles;
95189 #undef FLD
95192 static int
95193 model_simple_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
95195 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95197 const IDESC * UNUSED idesc = abuf->idesc;
95198 int cycles = 0;
95200 int referenced = 0;
95201 int UNUSED insn_referenced = abuf->written;
95202 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95204 return cycles;
95205 #undef FLD
95208 static int
95209 model_simple_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
95211 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95213 const IDESC * UNUSED idesc = abuf->idesc;
95214 int cycles = 0;
95216 int referenced = 0;
95217 int UNUSED insn_referenced = abuf->written;
95218 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95220 return cycles;
95221 #undef FLD
95224 static int
95225 model_simple_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
95227 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95229 const IDESC * UNUSED idesc = abuf->idesc;
95230 int cycles = 0;
95232 int referenced = 0;
95233 int UNUSED insn_referenced = abuf->written;
95234 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95236 return cycles;
95237 #undef FLD
95240 static int
95241 model_simple_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
95243 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95245 const IDESC * UNUSED idesc = abuf->idesc;
95246 int cycles = 0;
95248 int referenced = 0;
95249 int UNUSED insn_referenced = abuf->written;
95250 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95252 return cycles;
95253 #undef FLD
95256 static int
95257 model_simple_fblelr (SIM_CPU *current_cpu, void *sem_arg)
95259 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95261 const IDESC * UNUSED idesc = abuf->idesc;
95262 int cycles = 0;
95264 int referenced = 0;
95265 int UNUSED insn_referenced = abuf->written;
95266 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95268 return cycles;
95269 #undef FLD
95272 static int
95273 model_simple_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
95275 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95277 const IDESC * UNUSED idesc = abuf->idesc;
95278 int cycles = 0;
95280 int referenced = 0;
95281 int UNUSED insn_referenced = abuf->written;
95282 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95284 return cycles;
95285 #undef FLD
95288 static int
95289 model_simple_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
95291 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95293 const IDESC * UNUSED idesc = abuf->idesc;
95294 int cycles = 0;
95296 int referenced = 0;
95297 int UNUSED insn_referenced = abuf->written;
95298 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95300 return cycles;
95301 #undef FLD
95304 static int
95305 model_simple_fbulr (SIM_CPU *current_cpu, void *sem_arg)
95307 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95309 const IDESC * UNUSED idesc = abuf->idesc;
95310 int cycles = 0;
95312 int referenced = 0;
95313 int UNUSED insn_referenced = abuf->written;
95314 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95316 return cycles;
95317 #undef FLD
95320 static int
95321 model_simple_fbolr (SIM_CPU *current_cpu, void *sem_arg)
95323 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95325 const IDESC * UNUSED idesc = abuf->idesc;
95326 int cycles = 0;
95328 int referenced = 0;
95329 int UNUSED insn_referenced = abuf->written;
95330 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95332 return cycles;
95333 #undef FLD
95336 static int
95337 model_simple_bcralr (SIM_CPU *current_cpu, void *sem_arg)
95339 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95341 const IDESC * UNUSED idesc = abuf->idesc;
95342 int cycles = 0;
95344 int referenced = 0;
95345 int UNUSED insn_referenced = abuf->written;
95346 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95348 return cycles;
95349 #undef FLD
95352 static int
95353 model_simple_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
95355 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95357 const IDESC * UNUSED idesc = abuf->idesc;
95358 int cycles = 0;
95360 int referenced = 0;
95361 int UNUSED insn_referenced = abuf->written;
95362 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95364 return cycles;
95365 #undef FLD
95368 static int
95369 model_simple_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
95371 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95373 const IDESC * UNUSED idesc = abuf->idesc;
95374 int cycles = 0;
95376 int referenced = 0;
95377 int UNUSED insn_referenced = abuf->written;
95378 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95380 return cycles;
95381 #undef FLD
95384 static int
95385 model_simple_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
95387 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95389 const IDESC * UNUSED idesc = abuf->idesc;
95390 int cycles = 0;
95392 int referenced = 0;
95393 int UNUSED insn_referenced = abuf->written;
95394 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95396 return cycles;
95397 #undef FLD
95400 static int
95401 model_simple_bclelr (SIM_CPU *current_cpu, void *sem_arg)
95403 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95405 const IDESC * UNUSED idesc = abuf->idesc;
95406 int cycles = 0;
95408 int referenced = 0;
95409 int UNUSED insn_referenced = abuf->written;
95410 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95412 return cycles;
95413 #undef FLD
95416 static int
95417 model_simple_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
95419 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95421 const IDESC * UNUSED idesc = abuf->idesc;
95422 int cycles = 0;
95424 int referenced = 0;
95425 int UNUSED insn_referenced = abuf->written;
95426 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95428 return cycles;
95429 #undef FLD
95432 static int
95433 model_simple_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
95435 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95437 const IDESC * UNUSED idesc = abuf->idesc;
95438 int cycles = 0;
95440 int referenced = 0;
95441 int UNUSED insn_referenced = abuf->written;
95442 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95444 return cycles;
95445 #undef FLD
95448 static int
95449 model_simple_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
95451 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95453 const IDESC * UNUSED idesc = abuf->idesc;
95454 int cycles = 0;
95456 int referenced = 0;
95457 int UNUSED insn_referenced = abuf->written;
95458 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95460 return cycles;
95461 #undef FLD
95464 static int
95465 model_simple_bclslr (SIM_CPU *current_cpu, void *sem_arg)
95467 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95469 const IDESC * UNUSED idesc = abuf->idesc;
95470 int cycles = 0;
95472 int referenced = 0;
95473 int UNUSED insn_referenced = abuf->written;
95474 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95476 return cycles;
95477 #undef FLD
95480 static int
95481 model_simple_bchilr (SIM_CPU *current_cpu, void *sem_arg)
95483 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95485 const IDESC * UNUSED idesc = abuf->idesc;
95486 int cycles = 0;
95488 int referenced = 0;
95489 int UNUSED insn_referenced = abuf->written;
95490 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95492 return cycles;
95493 #undef FLD
95496 static int
95497 model_simple_bcclr (SIM_CPU *current_cpu, void *sem_arg)
95499 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95501 const IDESC * UNUSED idesc = abuf->idesc;
95502 int cycles = 0;
95504 int referenced = 0;
95505 int UNUSED insn_referenced = abuf->written;
95506 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95508 return cycles;
95509 #undef FLD
95512 static int
95513 model_simple_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
95515 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95517 const IDESC * UNUSED idesc = abuf->idesc;
95518 int cycles = 0;
95520 int referenced = 0;
95521 int UNUSED insn_referenced = abuf->written;
95522 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95524 return cycles;
95525 #undef FLD
95528 static int
95529 model_simple_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
95531 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95533 const IDESC * UNUSED idesc = abuf->idesc;
95534 int cycles = 0;
95536 int referenced = 0;
95537 int UNUSED insn_referenced = abuf->written;
95538 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95540 return cycles;
95541 #undef FLD
95544 static int
95545 model_simple_bcplr (SIM_CPU *current_cpu, void *sem_arg)
95547 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95549 const IDESC * UNUSED idesc = abuf->idesc;
95550 int cycles = 0;
95552 int referenced = 0;
95553 int UNUSED insn_referenced = abuf->written;
95554 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95556 return cycles;
95557 #undef FLD
95560 static int
95561 model_simple_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
95563 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95565 const IDESC * UNUSED idesc = abuf->idesc;
95566 int cycles = 0;
95568 int referenced = 0;
95569 int UNUSED insn_referenced = abuf->written;
95570 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95572 return cycles;
95573 #undef FLD
95576 static int
95577 model_simple_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
95579 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95581 const IDESC * UNUSED idesc = abuf->idesc;
95582 int cycles = 0;
95584 int referenced = 0;
95585 int UNUSED insn_referenced = abuf->written;
95586 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95588 return cycles;
95589 #undef FLD
95592 static int
95593 model_simple_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
95595 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95597 const IDESC * UNUSED idesc = abuf->idesc;
95598 int cycles = 0;
95600 int referenced = 0;
95601 int UNUSED insn_referenced = abuf->written;
95602 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95604 return cycles;
95605 #undef FLD
95608 static int
95609 model_simple_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
95611 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95613 const IDESC * UNUSED idesc = abuf->idesc;
95614 int cycles = 0;
95616 int referenced = 0;
95617 int UNUSED insn_referenced = abuf->written;
95618 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95620 return cycles;
95621 #undef FLD
95624 static int
95625 model_simple_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
95627 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95629 const IDESC * UNUSED idesc = abuf->idesc;
95630 int cycles = 0;
95632 int referenced = 0;
95633 int UNUSED insn_referenced = abuf->written;
95634 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95636 return cycles;
95637 #undef FLD
95640 static int
95641 model_simple_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
95643 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95645 const IDESC * UNUSED idesc = abuf->idesc;
95646 int cycles = 0;
95648 int referenced = 0;
95649 int UNUSED insn_referenced = abuf->written;
95650 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95652 return cycles;
95653 #undef FLD
95656 static int
95657 model_simple_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
95659 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95661 const IDESC * UNUSED idesc = abuf->idesc;
95662 int cycles = 0;
95664 int referenced = 0;
95665 int UNUSED insn_referenced = abuf->written;
95666 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95668 return cycles;
95669 #undef FLD
95672 static int
95673 model_simple_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
95675 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95677 const IDESC * UNUSED idesc = abuf->idesc;
95678 int cycles = 0;
95680 int referenced = 0;
95681 int UNUSED insn_referenced = abuf->written;
95682 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95684 return cycles;
95685 #undef FLD
95688 static int
95689 model_simple_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
95691 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95693 const IDESC * UNUSED idesc = abuf->idesc;
95694 int cycles = 0;
95696 int referenced = 0;
95697 int UNUSED insn_referenced = abuf->written;
95698 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95700 return cycles;
95701 #undef FLD
95704 static int
95705 model_simple_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
95707 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95709 const IDESC * UNUSED idesc = abuf->idesc;
95710 int cycles = 0;
95712 int referenced = 0;
95713 int UNUSED insn_referenced = abuf->written;
95714 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95716 return cycles;
95717 #undef FLD
95720 static int
95721 model_simple_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
95723 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95725 const IDESC * UNUSED idesc = abuf->idesc;
95726 int cycles = 0;
95728 int referenced = 0;
95729 int UNUSED insn_referenced = abuf->written;
95730 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95732 return cycles;
95733 #undef FLD
95736 static int
95737 model_simple_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
95739 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95741 const IDESC * UNUSED idesc = abuf->idesc;
95742 int cycles = 0;
95744 int referenced = 0;
95745 int UNUSED insn_referenced = abuf->written;
95746 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95748 return cycles;
95749 #undef FLD
95752 static int
95753 model_simple_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
95755 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95757 const IDESC * UNUSED idesc = abuf->idesc;
95758 int cycles = 0;
95760 int referenced = 0;
95761 int UNUSED insn_referenced = abuf->written;
95762 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95764 return cycles;
95765 #undef FLD
95768 static int
95769 model_simple_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
95771 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95773 const IDESC * UNUSED idesc = abuf->idesc;
95774 int cycles = 0;
95776 int referenced = 0;
95777 int UNUSED insn_referenced = abuf->written;
95778 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95780 return cycles;
95781 #undef FLD
95784 static int
95785 model_simple_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
95787 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95789 const IDESC * UNUSED idesc = abuf->idesc;
95790 int cycles = 0;
95792 int referenced = 0;
95793 int UNUSED insn_referenced = abuf->written;
95794 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95796 return cycles;
95797 #undef FLD
95800 static int
95801 model_simple_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
95803 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95805 const IDESC * UNUSED idesc = abuf->idesc;
95806 int cycles = 0;
95808 int referenced = 0;
95809 int UNUSED insn_referenced = abuf->written;
95810 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95812 return cycles;
95813 #undef FLD
95816 static int
95817 model_simple_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
95819 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95821 const IDESC * UNUSED idesc = abuf->idesc;
95822 int cycles = 0;
95824 int referenced = 0;
95825 int UNUSED insn_referenced = abuf->written;
95826 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95828 return cycles;
95829 #undef FLD
95832 static int
95833 model_simple_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
95835 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95837 const IDESC * UNUSED idesc = abuf->idesc;
95838 int cycles = 0;
95840 int referenced = 0;
95841 int UNUSED insn_referenced = abuf->written;
95842 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95844 return cycles;
95845 #undef FLD
95848 static int
95849 model_simple_jmpl (SIM_CPU *current_cpu, void *sem_arg)
95851 #define FLD(f) abuf->fields.sfmt_cjmpl.f
95852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95853 const IDESC * UNUSED idesc = abuf->idesc;
95854 int cycles = 0;
95856 int referenced = 0;
95857 int UNUSED insn_referenced = abuf->written;
95858 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95860 return cycles;
95861 #undef FLD
95864 static int
95865 model_simple_calll (SIM_CPU *current_cpu, void *sem_arg)
95867 #define FLD(f) abuf->fields.sfmt_cjmpl.f
95868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95869 const IDESC * UNUSED idesc = abuf->idesc;
95870 int cycles = 0;
95872 int referenced = 0;
95873 int UNUSED insn_referenced = abuf->written;
95874 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95876 return cycles;
95877 #undef FLD
95880 static int
95881 model_simple_jmpil (SIM_CPU *current_cpu, void *sem_arg)
95883 #define FLD(f) abuf->fields.sfmt_jmpil.f
95884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95885 const IDESC * UNUSED idesc = abuf->idesc;
95886 int cycles = 0;
95888 int referenced = 0;
95889 int UNUSED insn_referenced = abuf->written;
95890 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95892 return cycles;
95893 #undef FLD
95896 static int
95897 model_simple_callil (SIM_CPU *current_cpu, void *sem_arg)
95899 #define FLD(f) abuf->fields.sfmt_jmpil.f
95900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95901 const IDESC * UNUSED idesc = abuf->idesc;
95902 int cycles = 0;
95904 int referenced = 0;
95905 int UNUSED insn_referenced = abuf->written;
95906 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95908 return cycles;
95909 #undef FLD
95912 static int
95913 model_simple_call (SIM_CPU *current_cpu, void *sem_arg)
95915 #define FLD(f) abuf->fields.sfmt_call.f
95916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95917 const IDESC * UNUSED idesc = abuf->idesc;
95918 int cycles = 0;
95920 int referenced = 0;
95921 int UNUSED insn_referenced = abuf->written;
95922 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95924 return cycles;
95925 #undef FLD
95928 static int
95929 model_simple_rett (SIM_CPU *current_cpu, void *sem_arg)
95931 #define FLD(f) abuf->fields.sfmt_rett.f
95932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95933 const IDESC * UNUSED idesc = abuf->idesc;
95934 int cycles = 0;
95936 int referenced = 0;
95937 int UNUSED insn_referenced = abuf->written;
95938 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95940 return cycles;
95941 #undef FLD
95944 static int
95945 model_simple_rei (SIM_CPU *current_cpu, void *sem_arg)
95947 #define FLD(f) abuf->fields.sfmt_empty.f
95948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95949 const IDESC * UNUSED idesc = abuf->idesc;
95950 int cycles = 0;
95952 int referenced = 0;
95953 int UNUSED insn_referenced = abuf->written;
95954 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95956 return cycles;
95957 #undef FLD
95960 static int
95961 model_simple_tra (SIM_CPU *current_cpu, void *sem_arg)
95963 #define FLD(f) abuf->fields.sfmt_ftne.f
95964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95965 const IDESC * UNUSED idesc = abuf->idesc;
95966 int cycles = 0;
95968 int referenced = 0;
95969 int UNUSED insn_referenced = abuf->written;
95970 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95972 return cycles;
95973 #undef FLD
95976 static int
95977 model_simple_tno (SIM_CPU *current_cpu, void *sem_arg)
95979 #define FLD(f) abuf->fields.sfmt_empty.f
95980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95981 const IDESC * UNUSED idesc = abuf->idesc;
95982 int cycles = 0;
95984 int referenced = 0;
95985 int UNUSED insn_referenced = abuf->written;
95986 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95988 return cycles;
95989 #undef FLD
95992 static int
95993 model_simple_teq (SIM_CPU *current_cpu, void *sem_arg)
95995 #define FLD(f) abuf->fields.sfmt_teq.f
95996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95997 const IDESC * UNUSED idesc = abuf->idesc;
95998 int cycles = 0;
96000 int referenced = 0;
96001 int UNUSED insn_referenced = abuf->written;
96002 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96004 return cycles;
96005 #undef FLD
96008 static int
96009 model_simple_tne (SIM_CPU *current_cpu, void *sem_arg)
96011 #define FLD(f) abuf->fields.sfmt_teq.f
96012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96013 const IDESC * UNUSED idesc = abuf->idesc;
96014 int cycles = 0;
96016 int referenced = 0;
96017 int UNUSED insn_referenced = abuf->written;
96018 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96020 return cycles;
96021 #undef FLD
96024 static int
96025 model_simple_tle (SIM_CPU *current_cpu, void *sem_arg)
96027 #define FLD(f) abuf->fields.sfmt_teq.f
96028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96029 const IDESC * UNUSED idesc = abuf->idesc;
96030 int cycles = 0;
96032 int referenced = 0;
96033 int UNUSED insn_referenced = abuf->written;
96034 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96036 return cycles;
96037 #undef FLD
96040 static int
96041 model_simple_tgt (SIM_CPU *current_cpu, void *sem_arg)
96043 #define FLD(f) abuf->fields.sfmt_teq.f
96044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96045 const IDESC * UNUSED idesc = abuf->idesc;
96046 int cycles = 0;
96048 int referenced = 0;
96049 int UNUSED insn_referenced = abuf->written;
96050 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96052 return cycles;
96053 #undef FLD
96056 static int
96057 model_simple_tlt (SIM_CPU *current_cpu, void *sem_arg)
96059 #define FLD(f) abuf->fields.sfmt_teq.f
96060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96061 const IDESC * UNUSED idesc = abuf->idesc;
96062 int cycles = 0;
96064 int referenced = 0;
96065 int UNUSED insn_referenced = abuf->written;
96066 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96068 return cycles;
96069 #undef FLD
96072 static int
96073 model_simple_tge (SIM_CPU *current_cpu, void *sem_arg)
96075 #define FLD(f) abuf->fields.sfmt_teq.f
96076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96077 const IDESC * UNUSED idesc = abuf->idesc;
96078 int cycles = 0;
96080 int referenced = 0;
96081 int UNUSED insn_referenced = abuf->written;
96082 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96084 return cycles;
96085 #undef FLD
96088 static int
96089 model_simple_tls (SIM_CPU *current_cpu, void *sem_arg)
96091 #define FLD(f) abuf->fields.sfmt_teq.f
96092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96093 const IDESC * UNUSED idesc = abuf->idesc;
96094 int cycles = 0;
96096 int referenced = 0;
96097 int UNUSED insn_referenced = abuf->written;
96098 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96100 return cycles;
96101 #undef FLD
96104 static int
96105 model_simple_thi (SIM_CPU *current_cpu, void *sem_arg)
96107 #define FLD(f) abuf->fields.sfmt_teq.f
96108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96109 const IDESC * UNUSED idesc = abuf->idesc;
96110 int cycles = 0;
96112 int referenced = 0;
96113 int UNUSED insn_referenced = abuf->written;
96114 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96116 return cycles;
96117 #undef FLD
96120 static int
96121 model_simple_tc (SIM_CPU *current_cpu, void *sem_arg)
96123 #define FLD(f) abuf->fields.sfmt_teq.f
96124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96125 const IDESC * UNUSED idesc = abuf->idesc;
96126 int cycles = 0;
96128 int referenced = 0;
96129 int UNUSED insn_referenced = abuf->written;
96130 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96132 return cycles;
96133 #undef FLD
96136 static int
96137 model_simple_tnc (SIM_CPU *current_cpu, void *sem_arg)
96139 #define FLD(f) abuf->fields.sfmt_teq.f
96140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96141 const IDESC * UNUSED idesc = abuf->idesc;
96142 int cycles = 0;
96144 int referenced = 0;
96145 int UNUSED insn_referenced = abuf->written;
96146 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96148 return cycles;
96149 #undef FLD
96152 static int
96153 model_simple_tn (SIM_CPU *current_cpu, void *sem_arg)
96155 #define FLD(f) abuf->fields.sfmt_teq.f
96156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96157 const IDESC * UNUSED idesc = abuf->idesc;
96158 int cycles = 0;
96160 int referenced = 0;
96161 int UNUSED insn_referenced = abuf->written;
96162 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96164 return cycles;
96165 #undef FLD
96168 static int
96169 model_simple_tp (SIM_CPU *current_cpu, void *sem_arg)
96171 #define FLD(f) abuf->fields.sfmt_teq.f
96172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96173 const IDESC * UNUSED idesc = abuf->idesc;
96174 int cycles = 0;
96176 int referenced = 0;
96177 int UNUSED insn_referenced = abuf->written;
96178 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96180 return cycles;
96181 #undef FLD
96184 static int
96185 model_simple_tv (SIM_CPU *current_cpu, void *sem_arg)
96187 #define FLD(f) abuf->fields.sfmt_teq.f
96188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96189 const IDESC * UNUSED idesc = abuf->idesc;
96190 int cycles = 0;
96192 int referenced = 0;
96193 int UNUSED insn_referenced = abuf->written;
96194 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96196 return cycles;
96197 #undef FLD
96200 static int
96201 model_simple_tnv (SIM_CPU *current_cpu, void *sem_arg)
96203 #define FLD(f) abuf->fields.sfmt_teq.f
96204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96205 const IDESC * UNUSED idesc = abuf->idesc;
96206 int cycles = 0;
96208 int referenced = 0;
96209 int UNUSED insn_referenced = abuf->written;
96210 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96212 return cycles;
96213 #undef FLD
96216 static int
96217 model_simple_ftra (SIM_CPU *current_cpu, void *sem_arg)
96219 #define FLD(f) abuf->fields.sfmt_ftne.f
96220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96221 const IDESC * UNUSED idesc = abuf->idesc;
96222 int cycles = 0;
96224 int referenced = 0;
96225 int UNUSED insn_referenced = abuf->written;
96226 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96228 return cycles;
96229 #undef FLD
96232 static int
96233 model_simple_ftno (SIM_CPU *current_cpu, void *sem_arg)
96235 #define FLD(f) abuf->fields.sfmt_empty.f
96236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96237 const IDESC * UNUSED idesc = abuf->idesc;
96238 int cycles = 0;
96240 int referenced = 0;
96241 int UNUSED insn_referenced = abuf->written;
96242 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96244 return cycles;
96245 #undef FLD
96248 static int
96249 model_simple_ftne (SIM_CPU *current_cpu, void *sem_arg)
96251 #define FLD(f) abuf->fields.sfmt_ftne.f
96252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96253 const IDESC * UNUSED idesc = abuf->idesc;
96254 int cycles = 0;
96256 int referenced = 0;
96257 int UNUSED insn_referenced = abuf->written;
96258 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96260 return cycles;
96261 #undef FLD
96264 static int
96265 model_simple_fteq (SIM_CPU *current_cpu, void *sem_arg)
96267 #define FLD(f) abuf->fields.sfmt_ftne.f
96268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96269 const IDESC * UNUSED idesc = abuf->idesc;
96270 int cycles = 0;
96272 int referenced = 0;
96273 int UNUSED insn_referenced = abuf->written;
96274 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96276 return cycles;
96277 #undef FLD
96280 static int
96281 model_simple_ftlg (SIM_CPU *current_cpu, void *sem_arg)
96283 #define FLD(f) abuf->fields.sfmt_ftne.f
96284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96285 const IDESC * UNUSED idesc = abuf->idesc;
96286 int cycles = 0;
96288 int referenced = 0;
96289 int UNUSED insn_referenced = abuf->written;
96290 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96292 return cycles;
96293 #undef FLD
96296 static int
96297 model_simple_ftue (SIM_CPU *current_cpu, void *sem_arg)
96299 #define FLD(f) abuf->fields.sfmt_ftne.f
96300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96301 const IDESC * UNUSED idesc = abuf->idesc;
96302 int cycles = 0;
96304 int referenced = 0;
96305 int UNUSED insn_referenced = abuf->written;
96306 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96308 return cycles;
96309 #undef FLD
96312 static int
96313 model_simple_ftul (SIM_CPU *current_cpu, void *sem_arg)
96315 #define FLD(f) abuf->fields.sfmt_ftne.f
96316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96317 const IDESC * UNUSED idesc = abuf->idesc;
96318 int cycles = 0;
96320 int referenced = 0;
96321 int UNUSED insn_referenced = abuf->written;
96322 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96324 return cycles;
96325 #undef FLD
96328 static int
96329 model_simple_ftge (SIM_CPU *current_cpu, void *sem_arg)
96331 #define FLD(f) abuf->fields.sfmt_ftne.f
96332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96333 const IDESC * UNUSED idesc = abuf->idesc;
96334 int cycles = 0;
96336 int referenced = 0;
96337 int UNUSED insn_referenced = abuf->written;
96338 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96340 return cycles;
96341 #undef FLD
96344 static int
96345 model_simple_ftlt (SIM_CPU *current_cpu, void *sem_arg)
96347 #define FLD(f) abuf->fields.sfmt_ftne.f
96348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96349 const IDESC * UNUSED idesc = abuf->idesc;
96350 int cycles = 0;
96352 int referenced = 0;
96353 int UNUSED insn_referenced = abuf->written;
96354 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96356 return cycles;
96357 #undef FLD
96360 static int
96361 model_simple_ftuge (SIM_CPU *current_cpu, void *sem_arg)
96363 #define FLD(f) abuf->fields.sfmt_ftne.f
96364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96365 const IDESC * UNUSED idesc = abuf->idesc;
96366 int cycles = 0;
96368 int referenced = 0;
96369 int UNUSED insn_referenced = abuf->written;
96370 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96372 return cycles;
96373 #undef FLD
96376 static int
96377 model_simple_ftug (SIM_CPU *current_cpu, void *sem_arg)
96379 #define FLD(f) abuf->fields.sfmt_ftne.f
96380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96381 const IDESC * UNUSED idesc = abuf->idesc;
96382 int cycles = 0;
96384 int referenced = 0;
96385 int UNUSED insn_referenced = abuf->written;
96386 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96388 return cycles;
96389 #undef FLD
96392 static int
96393 model_simple_ftle (SIM_CPU *current_cpu, void *sem_arg)
96395 #define FLD(f) abuf->fields.sfmt_ftne.f
96396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96397 const IDESC * UNUSED idesc = abuf->idesc;
96398 int cycles = 0;
96400 int referenced = 0;
96401 int UNUSED insn_referenced = abuf->written;
96402 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96404 return cycles;
96405 #undef FLD
96408 static int
96409 model_simple_ftgt (SIM_CPU *current_cpu, void *sem_arg)
96411 #define FLD(f) abuf->fields.sfmt_ftne.f
96412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96413 const IDESC * UNUSED idesc = abuf->idesc;
96414 int cycles = 0;
96416 int referenced = 0;
96417 int UNUSED insn_referenced = abuf->written;
96418 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96420 return cycles;
96421 #undef FLD
96424 static int
96425 model_simple_ftule (SIM_CPU *current_cpu, void *sem_arg)
96427 #define FLD(f) abuf->fields.sfmt_ftne.f
96428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96429 const IDESC * UNUSED idesc = abuf->idesc;
96430 int cycles = 0;
96432 int referenced = 0;
96433 int UNUSED insn_referenced = abuf->written;
96434 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96436 return cycles;
96437 #undef FLD
96440 static int
96441 model_simple_ftu (SIM_CPU *current_cpu, void *sem_arg)
96443 #define FLD(f) abuf->fields.sfmt_ftne.f
96444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96445 const IDESC * UNUSED idesc = abuf->idesc;
96446 int cycles = 0;
96448 int referenced = 0;
96449 int UNUSED insn_referenced = abuf->written;
96450 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96452 return cycles;
96453 #undef FLD
96456 static int
96457 model_simple_fto (SIM_CPU *current_cpu, void *sem_arg)
96459 #define FLD(f) abuf->fields.sfmt_ftne.f
96460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96461 const IDESC * UNUSED idesc = abuf->idesc;
96462 int cycles = 0;
96464 int referenced = 0;
96465 int UNUSED insn_referenced = abuf->written;
96466 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96468 return cycles;
96469 #undef FLD
96472 static int
96473 model_simple_tira (SIM_CPU *current_cpu, void *sem_arg)
96475 #define FLD(f) abuf->fields.sfmt_ftine.f
96476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96477 const IDESC * UNUSED idesc = abuf->idesc;
96478 int cycles = 0;
96480 int referenced = 0;
96481 int UNUSED insn_referenced = abuf->written;
96482 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96484 return cycles;
96485 #undef FLD
96488 static int
96489 model_simple_tino (SIM_CPU *current_cpu, void *sem_arg)
96491 #define FLD(f) abuf->fields.sfmt_empty.f
96492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96493 const IDESC * UNUSED idesc = abuf->idesc;
96494 int cycles = 0;
96496 int referenced = 0;
96497 int UNUSED insn_referenced = abuf->written;
96498 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96500 return cycles;
96501 #undef FLD
96504 static int
96505 model_simple_tieq (SIM_CPU *current_cpu, void *sem_arg)
96507 #define FLD(f) abuf->fields.sfmt_tieq.f
96508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96509 const IDESC * UNUSED idesc = abuf->idesc;
96510 int cycles = 0;
96512 int referenced = 0;
96513 int UNUSED insn_referenced = abuf->written;
96514 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96516 return cycles;
96517 #undef FLD
96520 static int
96521 model_simple_tine (SIM_CPU *current_cpu, void *sem_arg)
96523 #define FLD(f) abuf->fields.sfmt_tieq.f
96524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96525 const IDESC * UNUSED idesc = abuf->idesc;
96526 int cycles = 0;
96528 int referenced = 0;
96529 int UNUSED insn_referenced = abuf->written;
96530 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96532 return cycles;
96533 #undef FLD
96536 static int
96537 model_simple_tile (SIM_CPU *current_cpu, void *sem_arg)
96539 #define FLD(f) abuf->fields.sfmt_tieq.f
96540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96541 const IDESC * UNUSED idesc = abuf->idesc;
96542 int cycles = 0;
96544 int referenced = 0;
96545 int UNUSED insn_referenced = abuf->written;
96546 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96548 return cycles;
96549 #undef FLD
96552 static int
96553 model_simple_tigt (SIM_CPU *current_cpu, void *sem_arg)
96555 #define FLD(f) abuf->fields.sfmt_tieq.f
96556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96557 const IDESC * UNUSED idesc = abuf->idesc;
96558 int cycles = 0;
96560 int referenced = 0;
96561 int UNUSED insn_referenced = abuf->written;
96562 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96564 return cycles;
96565 #undef FLD
96568 static int
96569 model_simple_tilt (SIM_CPU *current_cpu, void *sem_arg)
96571 #define FLD(f) abuf->fields.sfmt_tieq.f
96572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96573 const IDESC * UNUSED idesc = abuf->idesc;
96574 int cycles = 0;
96576 int referenced = 0;
96577 int UNUSED insn_referenced = abuf->written;
96578 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96580 return cycles;
96581 #undef FLD
96584 static int
96585 model_simple_tige (SIM_CPU *current_cpu, void *sem_arg)
96587 #define FLD(f) abuf->fields.sfmt_tieq.f
96588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96589 const IDESC * UNUSED idesc = abuf->idesc;
96590 int cycles = 0;
96592 int referenced = 0;
96593 int UNUSED insn_referenced = abuf->written;
96594 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96596 return cycles;
96597 #undef FLD
96600 static int
96601 model_simple_tils (SIM_CPU *current_cpu, void *sem_arg)
96603 #define FLD(f) abuf->fields.sfmt_tieq.f
96604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96605 const IDESC * UNUSED idesc = abuf->idesc;
96606 int cycles = 0;
96608 int referenced = 0;
96609 int UNUSED insn_referenced = abuf->written;
96610 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96612 return cycles;
96613 #undef FLD
96616 static int
96617 model_simple_tihi (SIM_CPU *current_cpu, void *sem_arg)
96619 #define FLD(f) abuf->fields.sfmt_tieq.f
96620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96621 const IDESC * UNUSED idesc = abuf->idesc;
96622 int cycles = 0;
96624 int referenced = 0;
96625 int UNUSED insn_referenced = abuf->written;
96626 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96628 return cycles;
96629 #undef FLD
96632 static int
96633 model_simple_tic (SIM_CPU *current_cpu, void *sem_arg)
96635 #define FLD(f) abuf->fields.sfmt_tieq.f
96636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96637 const IDESC * UNUSED idesc = abuf->idesc;
96638 int cycles = 0;
96640 int referenced = 0;
96641 int UNUSED insn_referenced = abuf->written;
96642 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96644 return cycles;
96645 #undef FLD
96648 static int
96649 model_simple_tinc (SIM_CPU *current_cpu, void *sem_arg)
96651 #define FLD(f) abuf->fields.sfmt_tieq.f
96652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96653 const IDESC * UNUSED idesc = abuf->idesc;
96654 int cycles = 0;
96656 int referenced = 0;
96657 int UNUSED insn_referenced = abuf->written;
96658 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96660 return cycles;
96661 #undef FLD
96664 static int
96665 model_simple_tin (SIM_CPU *current_cpu, void *sem_arg)
96667 #define FLD(f) abuf->fields.sfmt_tieq.f
96668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96669 const IDESC * UNUSED idesc = abuf->idesc;
96670 int cycles = 0;
96672 int referenced = 0;
96673 int UNUSED insn_referenced = abuf->written;
96674 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96676 return cycles;
96677 #undef FLD
96680 static int
96681 model_simple_tip (SIM_CPU *current_cpu, void *sem_arg)
96683 #define FLD(f) abuf->fields.sfmt_tieq.f
96684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96685 const IDESC * UNUSED idesc = abuf->idesc;
96686 int cycles = 0;
96688 int referenced = 0;
96689 int UNUSED insn_referenced = abuf->written;
96690 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96692 return cycles;
96693 #undef FLD
96696 static int
96697 model_simple_tiv (SIM_CPU *current_cpu, void *sem_arg)
96699 #define FLD(f) abuf->fields.sfmt_tieq.f
96700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96701 const IDESC * UNUSED idesc = abuf->idesc;
96702 int cycles = 0;
96704 int referenced = 0;
96705 int UNUSED insn_referenced = abuf->written;
96706 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96708 return cycles;
96709 #undef FLD
96712 static int
96713 model_simple_tinv (SIM_CPU *current_cpu, void *sem_arg)
96715 #define FLD(f) abuf->fields.sfmt_tieq.f
96716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96717 const IDESC * UNUSED idesc = abuf->idesc;
96718 int cycles = 0;
96720 int referenced = 0;
96721 int UNUSED insn_referenced = abuf->written;
96722 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96724 return cycles;
96725 #undef FLD
96728 static int
96729 model_simple_ftira (SIM_CPU *current_cpu, void *sem_arg)
96731 #define FLD(f) abuf->fields.sfmt_ftine.f
96732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96733 const IDESC * UNUSED idesc = abuf->idesc;
96734 int cycles = 0;
96736 int referenced = 0;
96737 int UNUSED insn_referenced = abuf->written;
96738 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96740 return cycles;
96741 #undef FLD
96744 static int
96745 model_simple_ftino (SIM_CPU *current_cpu, void *sem_arg)
96747 #define FLD(f) abuf->fields.sfmt_empty.f
96748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96749 const IDESC * UNUSED idesc = abuf->idesc;
96750 int cycles = 0;
96752 int referenced = 0;
96753 int UNUSED insn_referenced = abuf->written;
96754 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96756 return cycles;
96757 #undef FLD
96760 static int
96761 model_simple_ftine (SIM_CPU *current_cpu, void *sem_arg)
96763 #define FLD(f) abuf->fields.sfmt_ftine.f
96764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96765 const IDESC * UNUSED idesc = abuf->idesc;
96766 int cycles = 0;
96768 int referenced = 0;
96769 int UNUSED insn_referenced = abuf->written;
96770 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96772 return cycles;
96773 #undef FLD
96776 static int
96777 model_simple_ftieq (SIM_CPU *current_cpu, void *sem_arg)
96779 #define FLD(f) abuf->fields.sfmt_ftine.f
96780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96781 const IDESC * UNUSED idesc = abuf->idesc;
96782 int cycles = 0;
96784 int referenced = 0;
96785 int UNUSED insn_referenced = abuf->written;
96786 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96788 return cycles;
96789 #undef FLD
96792 static int
96793 model_simple_ftilg (SIM_CPU *current_cpu, void *sem_arg)
96795 #define FLD(f) abuf->fields.sfmt_ftine.f
96796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96797 const IDESC * UNUSED idesc = abuf->idesc;
96798 int cycles = 0;
96800 int referenced = 0;
96801 int UNUSED insn_referenced = abuf->written;
96802 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96804 return cycles;
96805 #undef FLD
96808 static int
96809 model_simple_ftiue (SIM_CPU *current_cpu, void *sem_arg)
96811 #define FLD(f) abuf->fields.sfmt_ftine.f
96812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96813 const IDESC * UNUSED idesc = abuf->idesc;
96814 int cycles = 0;
96816 int referenced = 0;
96817 int UNUSED insn_referenced = abuf->written;
96818 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96820 return cycles;
96821 #undef FLD
96824 static int
96825 model_simple_ftiul (SIM_CPU *current_cpu, void *sem_arg)
96827 #define FLD(f) abuf->fields.sfmt_ftine.f
96828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96829 const IDESC * UNUSED idesc = abuf->idesc;
96830 int cycles = 0;
96832 int referenced = 0;
96833 int UNUSED insn_referenced = abuf->written;
96834 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96836 return cycles;
96837 #undef FLD
96840 static int
96841 model_simple_ftige (SIM_CPU *current_cpu, void *sem_arg)
96843 #define FLD(f) abuf->fields.sfmt_ftine.f
96844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96845 const IDESC * UNUSED idesc = abuf->idesc;
96846 int cycles = 0;
96848 int referenced = 0;
96849 int UNUSED insn_referenced = abuf->written;
96850 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96852 return cycles;
96853 #undef FLD
96856 static int
96857 model_simple_ftilt (SIM_CPU *current_cpu, void *sem_arg)
96859 #define FLD(f) abuf->fields.sfmt_ftine.f
96860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96861 const IDESC * UNUSED idesc = abuf->idesc;
96862 int cycles = 0;
96864 int referenced = 0;
96865 int UNUSED insn_referenced = abuf->written;
96866 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96868 return cycles;
96869 #undef FLD
96872 static int
96873 model_simple_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
96875 #define FLD(f) abuf->fields.sfmt_ftine.f
96876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96877 const IDESC * UNUSED idesc = abuf->idesc;
96878 int cycles = 0;
96880 int referenced = 0;
96881 int UNUSED insn_referenced = abuf->written;
96882 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96884 return cycles;
96885 #undef FLD
96888 static int
96889 model_simple_ftiug (SIM_CPU *current_cpu, void *sem_arg)
96891 #define FLD(f) abuf->fields.sfmt_ftine.f
96892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96893 const IDESC * UNUSED idesc = abuf->idesc;
96894 int cycles = 0;
96896 int referenced = 0;
96897 int UNUSED insn_referenced = abuf->written;
96898 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96900 return cycles;
96901 #undef FLD
96904 static int
96905 model_simple_ftile (SIM_CPU *current_cpu, void *sem_arg)
96907 #define FLD(f) abuf->fields.sfmt_ftine.f
96908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96909 const IDESC * UNUSED idesc = abuf->idesc;
96910 int cycles = 0;
96912 int referenced = 0;
96913 int UNUSED insn_referenced = abuf->written;
96914 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96916 return cycles;
96917 #undef FLD
96920 static int
96921 model_simple_ftigt (SIM_CPU *current_cpu, void *sem_arg)
96923 #define FLD(f) abuf->fields.sfmt_ftine.f
96924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96925 const IDESC * UNUSED idesc = abuf->idesc;
96926 int cycles = 0;
96928 int referenced = 0;
96929 int UNUSED insn_referenced = abuf->written;
96930 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96932 return cycles;
96933 #undef FLD
96936 static int
96937 model_simple_ftiule (SIM_CPU *current_cpu, void *sem_arg)
96939 #define FLD(f) abuf->fields.sfmt_ftine.f
96940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96941 const IDESC * UNUSED idesc = abuf->idesc;
96942 int cycles = 0;
96944 int referenced = 0;
96945 int UNUSED insn_referenced = abuf->written;
96946 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96948 return cycles;
96949 #undef FLD
96952 static int
96953 model_simple_ftiu (SIM_CPU *current_cpu, void *sem_arg)
96955 #define FLD(f) abuf->fields.sfmt_ftine.f
96956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96957 const IDESC * UNUSED idesc = abuf->idesc;
96958 int cycles = 0;
96960 int referenced = 0;
96961 int UNUSED insn_referenced = abuf->written;
96962 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96964 return cycles;
96965 #undef FLD
96968 static int
96969 model_simple_ftio (SIM_CPU *current_cpu, void *sem_arg)
96971 #define FLD(f) abuf->fields.sfmt_ftine.f
96972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96973 const IDESC * UNUSED idesc = abuf->idesc;
96974 int cycles = 0;
96976 int referenced = 0;
96977 int UNUSED insn_referenced = abuf->written;
96978 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96980 return cycles;
96981 #undef FLD
96984 static int
96985 model_simple_break (SIM_CPU *current_cpu, void *sem_arg)
96987 #define FLD(f) abuf->fields.sfmt_break.f
96988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96989 const IDESC * UNUSED idesc = abuf->idesc;
96990 int cycles = 0;
96992 int referenced = 0;
96993 int UNUSED insn_referenced = abuf->written;
96994 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96996 return cycles;
96997 #undef FLD
97000 static int
97001 model_simple_mtrap (SIM_CPU *current_cpu, void *sem_arg)
97003 #define FLD(f) abuf->fields.sfmt_empty.f
97004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97005 const IDESC * UNUSED idesc = abuf->idesc;
97006 int cycles = 0;
97008 int referenced = 0;
97009 int UNUSED insn_referenced = abuf->written;
97010 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97012 return cycles;
97013 #undef FLD
97016 static int
97017 model_simple_andcr (SIM_CPU *current_cpu, void *sem_arg)
97019 #define FLD(f) abuf->fields.sfmt_andcr.f
97020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97021 const IDESC * UNUSED idesc = abuf->idesc;
97022 int cycles = 0;
97024 int referenced = 0;
97025 int UNUSED insn_referenced = abuf->written;
97026 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97028 return cycles;
97029 #undef FLD
97032 static int
97033 model_simple_orcr (SIM_CPU *current_cpu, void *sem_arg)
97035 #define FLD(f) abuf->fields.sfmt_andcr.f
97036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97037 const IDESC * UNUSED idesc = abuf->idesc;
97038 int cycles = 0;
97040 int referenced = 0;
97041 int UNUSED insn_referenced = abuf->written;
97042 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97044 return cycles;
97045 #undef FLD
97048 static int
97049 model_simple_xorcr (SIM_CPU *current_cpu, void *sem_arg)
97051 #define FLD(f) abuf->fields.sfmt_andcr.f
97052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97053 const IDESC * UNUSED idesc = abuf->idesc;
97054 int cycles = 0;
97056 int referenced = 0;
97057 int UNUSED insn_referenced = abuf->written;
97058 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97060 return cycles;
97061 #undef FLD
97064 static int
97065 model_simple_nandcr (SIM_CPU *current_cpu, void *sem_arg)
97067 #define FLD(f) abuf->fields.sfmt_andcr.f
97068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97069 const IDESC * UNUSED idesc = abuf->idesc;
97070 int cycles = 0;
97072 int referenced = 0;
97073 int UNUSED insn_referenced = abuf->written;
97074 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97076 return cycles;
97077 #undef FLD
97080 static int
97081 model_simple_norcr (SIM_CPU *current_cpu, void *sem_arg)
97083 #define FLD(f) abuf->fields.sfmt_andcr.f
97084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97085 const IDESC * UNUSED idesc = abuf->idesc;
97086 int cycles = 0;
97088 int referenced = 0;
97089 int UNUSED insn_referenced = abuf->written;
97090 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97092 return cycles;
97093 #undef FLD
97096 static int
97097 model_simple_andncr (SIM_CPU *current_cpu, void *sem_arg)
97099 #define FLD(f) abuf->fields.sfmt_andcr.f
97100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97101 const IDESC * UNUSED idesc = abuf->idesc;
97102 int cycles = 0;
97104 int referenced = 0;
97105 int UNUSED insn_referenced = abuf->written;
97106 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97108 return cycles;
97109 #undef FLD
97112 static int
97113 model_simple_orncr (SIM_CPU *current_cpu, void *sem_arg)
97115 #define FLD(f) abuf->fields.sfmt_andcr.f
97116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97117 const IDESC * UNUSED idesc = abuf->idesc;
97118 int cycles = 0;
97120 int referenced = 0;
97121 int UNUSED insn_referenced = abuf->written;
97122 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97124 return cycles;
97125 #undef FLD
97128 static int
97129 model_simple_nandncr (SIM_CPU *current_cpu, void *sem_arg)
97131 #define FLD(f) abuf->fields.sfmt_andcr.f
97132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97133 const IDESC * UNUSED idesc = abuf->idesc;
97134 int cycles = 0;
97136 int referenced = 0;
97137 int UNUSED insn_referenced = abuf->written;
97138 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97140 return cycles;
97141 #undef FLD
97144 static int
97145 model_simple_norncr (SIM_CPU *current_cpu, void *sem_arg)
97147 #define FLD(f) abuf->fields.sfmt_andcr.f
97148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97149 const IDESC * UNUSED idesc = abuf->idesc;
97150 int cycles = 0;
97152 int referenced = 0;
97153 int UNUSED insn_referenced = abuf->written;
97154 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97156 return cycles;
97157 #undef FLD
97160 static int
97161 model_simple_notcr (SIM_CPU *current_cpu, void *sem_arg)
97163 #define FLD(f) abuf->fields.sfmt_andcr.f
97164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97165 const IDESC * UNUSED idesc = abuf->idesc;
97166 int cycles = 0;
97168 int referenced = 0;
97169 int UNUSED insn_referenced = abuf->written;
97170 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97172 return cycles;
97173 #undef FLD
97176 static int
97177 model_simple_ckra (SIM_CPU *current_cpu, void *sem_arg)
97179 #define FLD(f) abuf->fields.sfmt_cckeq.f
97180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97181 const IDESC * UNUSED idesc = abuf->idesc;
97182 int cycles = 0;
97184 int referenced = 0;
97185 int UNUSED insn_referenced = abuf->written;
97186 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97188 return cycles;
97189 #undef FLD
97192 static int
97193 model_simple_ckno (SIM_CPU *current_cpu, void *sem_arg)
97195 #define FLD(f) abuf->fields.sfmt_cckeq.f
97196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97197 const IDESC * UNUSED idesc = abuf->idesc;
97198 int cycles = 0;
97200 int referenced = 0;
97201 int UNUSED insn_referenced = abuf->written;
97202 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97204 return cycles;
97205 #undef FLD
97208 static int
97209 model_simple_ckeq (SIM_CPU *current_cpu, void *sem_arg)
97211 #define FLD(f) abuf->fields.sfmt_cckeq.f
97212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97213 const IDESC * UNUSED idesc = abuf->idesc;
97214 int cycles = 0;
97216 int referenced = 0;
97217 int UNUSED insn_referenced = abuf->written;
97218 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97220 return cycles;
97221 #undef FLD
97224 static int
97225 model_simple_ckne (SIM_CPU *current_cpu, void *sem_arg)
97227 #define FLD(f) abuf->fields.sfmt_cckeq.f
97228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97229 const IDESC * UNUSED idesc = abuf->idesc;
97230 int cycles = 0;
97232 int referenced = 0;
97233 int UNUSED insn_referenced = abuf->written;
97234 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97236 return cycles;
97237 #undef FLD
97240 static int
97241 model_simple_ckle (SIM_CPU *current_cpu, void *sem_arg)
97243 #define FLD(f) abuf->fields.sfmt_cckeq.f
97244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97245 const IDESC * UNUSED idesc = abuf->idesc;
97246 int cycles = 0;
97248 int referenced = 0;
97249 int UNUSED insn_referenced = abuf->written;
97250 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97252 return cycles;
97253 #undef FLD
97256 static int
97257 model_simple_ckgt (SIM_CPU *current_cpu, void *sem_arg)
97259 #define FLD(f) abuf->fields.sfmt_cckeq.f
97260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97261 const IDESC * UNUSED idesc = abuf->idesc;
97262 int cycles = 0;
97264 int referenced = 0;
97265 int UNUSED insn_referenced = abuf->written;
97266 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97268 return cycles;
97269 #undef FLD
97272 static int
97273 model_simple_cklt (SIM_CPU *current_cpu, void *sem_arg)
97275 #define FLD(f) abuf->fields.sfmt_cckeq.f
97276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97277 const IDESC * UNUSED idesc = abuf->idesc;
97278 int cycles = 0;
97280 int referenced = 0;
97281 int UNUSED insn_referenced = abuf->written;
97282 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97284 return cycles;
97285 #undef FLD
97288 static int
97289 model_simple_ckge (SIM_CPU *current_cpu, void *sem_arg)
97291 #define FLD(f) abuf->fields.sfmt_cckeq.f
97292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97293 const IDESC * UNUSED idesc = abuf->idesc;
97294 int cycles = 0;
97296 int referenced = 0;
97297 int UNUSED insn_referenced = abuf->written;
97298 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97300 return cycles;
97301 #undef FLD
97304 static int
97305 model_simple_ckls (SIM_CPU *current_cpu, void *sem_arg)
97307 #define FLD(f) abuf->fields.sfmt_cckeq.f
97308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97309 const IDESC * UNUSED idesc = abuf->idesc;
97310 int cycles = 0;
97312 int referenced = 0;
97313 int UNUSED insn_referenced = abuf->written;
97314 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97316 return cycles;
97317 #undef FLD
97320 static int
97321 model_simple_ckhi (SIM_CPU *current_cpu, void *sem_arg)
97323 #define FLD(f) abuf->fields.sfmt_cckeq.f
97324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97325 const IDESC * UNUSED idesc = abuf->idesc;
97326 int cycles = 0;
97328 int referenced = 0;
97329 int UNUSED insn_referenced = abuf->written;
97330 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97332 return cycles;
97333 #undef FLD
97336 static int
97337 model_simple_ckc (SIM_CPU *current_cpu, void *sem_arg)
97339 #define FLD(f) abuf->fields.sfmt_cckeq.f
97340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97341 const IDESC * UNUSED idesc = abuf->idesc;
97342 int cycles = 0;
97344 int referenced = 0;
97345 int UNUSED insn_referenced = abuf->written;
97346 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97348 return cycles;
97349 #undef FLD
97352 static int
97353 model_simple_cknc (SIM_CPU *current_cpu, void *sem_arg)
97355 #define FLD(f) abuf->fields.sfmt_cckeq.f
97356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97357 const IDESC * UNUSED idesc = abuf->idesc;
97358 int cycles = 0;
97360 int referenced = 0;
97361 int UNUSED insn_referenced = abuf->written;
97362 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97364 return cycles;
97365 #undef FLD
97368 static int
97369 model_simple_ckn (SIM_CPU *current_cpu, void *sem_arg)
97371 #define FLD(f) abuf->fields.sfmt_cckeq.f
97372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97373 const IDESC * UNUSED idesc = abuf->idesc;
97374 int cycles = 0;
97376 int referenced = 0;
97377 int UNUSED insn_referenced = abuf->written;
97378 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97380 return cycles;
97381 #undef FLD
97384 static int
97385 model_simple_ckp (SIM_CPU *current_cpu, void *sem_arg)
97387 #define FLD(f) abuf->fields.sfmt_cckeq.f
97388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97389 const IDESC * UNUSED idesc = abuf->idesc;
97390 int cycles = 0;
97392 int referenced = 0;
97393 int UNUSED insn_referenced = abuf->written;
97394 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97396 return cycles;
97397 #undef FLD
97400 static int
97401 model_simple_ckv (SIM_CPU *current_cpu, void *sem_arg)
97403 #define FLD(f) abuf->fields.sfmt_cckeq.f
97404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97405 const IDESC * UNUSED idesc = abuf->idesc;
97406 int cycles = 0;
97408 int referenced = 0;
97409 int UNUSED insn_referenced = abuf->written;
97410 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97412 return cycles;
97413 #undef FLD
97416 static int
97417 model_simple_cknv (SIM_CPU *current_cpu, void *sem_arg)
97419 #define FLD(f) abuf->fields.sfmt_cckeq.f
97420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97421 const IDESC * UNUSED idesc = abuf->idesc;
97422 int cycles = 0;
97424 int referenced = 0;
97425 int UNUSED insn_referenced = abuf->written;
97426 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97428 return cycles;
97429 #undef FLD
97432 static int
97433 model_simple_fckra (SIM_CPU *current_cpu, void *sem_arg)
97435 #define FLD(f) abuf->fields.sfmt_cfckne.f
97436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97437 const IDESC * UNUSED idesc = abuf->idesc;
97438 int cycles = 0;
97440 int referenced = 0;
97441 int UNUSED insn_referenced = abuf->written;
97442 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97444 return cycles;
97445 #undef FLD
97448 static int
97449 model_simple_fckno (SIM_CPU *current_cpu, void *sem_arg)
97451 #define FLD(f) abuf->fields.sfmt_cfckne.f
97452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97453 const IDESC * UNUSED idesc = abuf->idesc;
97454 int cycles = 0;
97456 int referenced = 0;
97457 int UNUSED insn_referenced = abuf->written;
97458 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97460 return cycles;
97461 #undef FLD
97464 static int
97465 model_simple_fckne (SIM_CPU *current_cpu, void *sem_arg)
97467 #define FLD(f) abuf->fields.sfmt_cfckne.f
97468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97469 const IDESC * UNUSED idesc = abuf->idesc;
97470 int cycles = 0;
97472 int referenced = 0;
97473 int UNUSED insn_referenced = abuf->written;
97474 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97476 return cycles;
97477 #undef FLD
97480 static int
97481 model_simple_fckeq (SIM_CPU *current_cpu, void *sem_arg)
97483 #define FLD(f) abuf->fields.sfmt_cfckne.f
97484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97485 const IDESC * UNUSED idesc = abuf->idesc;
97486 int cycles = 0;
97488 int referenced = 0;
97489 int UNUSED insn_referenced = abuf->written;
97490 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97492 return cycles;
97493 #undef FLD
97496 static int
97497 model_simple_fcklg (SIM_CPU *current_cpu, void *sem_arg)
97499 #define FLD(f) abuf->fields.sfmt_cfckne.f
97500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97501 const IDESC * UNUSED idesc = abuf->idesc;
97502 int cycles = 0;
97504 int referenced = 0;
97505 int UNUSED insn_referenced = abuf->written;
97506 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97508 return cycles;
97509 #undef FLD
97512 static int
97513 model_simple_fckue (SIM_CPU *current_cpu, void *sem_arg)
97515 #define FLD(f) abuf->fields.sfmt_cfckne.f
97516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97517 const IDESC * UNUSED idesc = abuf->idesc;
97518 int cycles = 0;
97520 int referenced = 0;
97521 int UNUSED insn_referenced = abuf->written;
97522 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97524 return cycles;
97525 #undef FLD
97528 static int
97529 model_simple_fckul (SIM_CPU *current_cpu, void *sem_arg)
97531 #define FLD(f) abuf->fields.sfmt_cfckne.f
97532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97533 const IDESC * UNUSED idesc = abuf->idesc;
97534 int cycles = 0;
97536 int referenced = 0;
97537 int UNUSED insn_referenced = abuf->written;
97538 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97540 return cycles;
97541 #undef FLD
97544 static int
97545 model_simple_fckge (SIM_CPU *current_cpu, void *sem_arg)
97547 #define FLD(f) abuf->fields.sfmt_cfckne.f
97548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97549 const IDESC * UNUSED idesc = abuf->idesc;
97550 int cycles = 0;
97552 int referenced = 0;
97553 int UNUSED insn_referenced = abuf->written;
97554 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97556 return cycles;
97557 #undef FLD
97560 static int
97561 model_simple_fcklt (SIM_CPU *current_cpu, void *sem_arg)
97563 #define FLD(f) abuf->fields.sfmt_cfckne.f
97564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97565 const IDESC * UNUSED idesc = abuf->idesc;
97566 int cycles = 0;
97568 int referenced = 0;
97569 int UNUSED insn_referenced = abuf->written;
97570 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97572 return cycles;
97573 #undef FLD
97576 static int
97577 model_simple_fckuge (SIM_CPU *current_cpu, void *sem_arg)
97579 #define FLD(f) abuf->fields.sfmt_cfckne.f
97580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97581 const IDESC * UNUSED idesc = abuf->idesc;
97582 int cycles = 0;
97584 int referenced = 0;
97585 int UNUSED insn_referenced = abuf->written;
97586 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97588 return cycles;
97589 #undef FLD
97592 static int
97593 model_simple_fckug (SIM_CPU *current_cpu, void *sem_arg)
97595 #define FLD(f) abuf->fields.sfmt_cfckne.f
97596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97597 const IDESC * UNUSED idesc = abuf->idesc;
97598 int cycles = 0;
97600 int referenced = 0;
97601 int UNUSED insn_referenced = abuf->written;
97602 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97604 return cycles;
97605 #undef FLD
97608 static int
97609 model_simple_fckle (SIM_CPU *current_cpu, void *sem_arg)
97611 #define FLD(f) abuf->fields.sfmt_cfckne.f
97612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97613 const IDESC * UNUSED idesc = abuf->idesc;
97614 int cycles = 0;
97616 int referenced = 0;
97617 int UNUSED insn_referenced = abuf->written;
97618 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97620 return cycles;
97621 #undef FLD
97624 static int
97625 model_simple_fckgt (SIM_CPU *current_cpu, void *sem_arg)
97627 #define FLD(f) abuf->fields.sfmt_cfckne.f
97628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97629 const IDESC * UNUSED idesc = abuf->idesc;
97630 int cycles = 0;
97632 int referenced = 0;
97633 int UNUSED insn_referenced = abuf->written;
97634 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97636 return cycles;
97637 #undef FLD
97640 static int
97641 model_simple_fckule (SIM_CPU *current_cpu, void *sem_arg)
97643 #define FLD(f) abuf->fields.sfmt_cfckne.f
97644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97645 const IDESC * UNUSED idesc = abuf->idesc;
97646 int cycles = 0;
97648 int referenced = 0;
97649 int UNUSED insn_referenced = abuf->written;
97650 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97652 return cycles;
97653 #undef FLD
97656 static int
97657 model_simple_fcku (SIM_CPU *current_cpu, void *sem_arg)
97659 #define FLD(f) abuf->fields.sfmt_cfckne.f
97660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97661 const IDESC * UNUSED idesc = abuf->idesc;
97662 int cycles = 0;
97664 int referenced = 0;
97665 int UNUSED insn_referenced = abuf->written;
97666 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97668 return cycles;
97669 #undef FLD
97672 static int
97673 model_simple_fcko (SIM_CPU *current_cpu, void *sem_arg)
97675 #define FLD(f) abuf->fields.sfmt_cfckne.f
97676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97677 const IDESC * UNUSED idesc = abuf->idesc;
97678 int cycles = 0;
97680 int referenced = 0;
97681 int UNUSED insn_referenced = abuf->written;
97682 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97684 return cycles;
97685 #undef FLD
97688 static int
97689 model_simple_cckra (SIM_CPU *current_cpu, void *sem_arg)
97691 #define FLD(f) abuf->fields.sfmt_cckeq.f
97692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97693 const IDESC * UNUSED idesc = abuf->idesc;
97694 int cycles = 0;
97696 int referenced = 0;
97697 int UNUSED insn_referenced = abuf->written;
97698 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97700 return cycles;
97701 #undef FLD
97704 static int
97705 model_simple_cckno (SIM_CPU *current_cpu, void *sem_arg)
97707 #define FLD(f) abuf->fields.sfmt_cckeq.f
97708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97709 const IDESC * UNUSED idesc = abuf->idesc;
97710 int cycles = 0;
97712 int referenced = 0;
97713 int UNUSED insn_referenced = abuf->written;
97714 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97716 return cycles;
97717 #undef FLD
97720 static int
97721 model_simple_cckeq (SIM_CPU *current_cpu, void *sem_arg)
97723 #define FLD(f) abuf->fields.sfmt_cckeq.f
97724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97725 const IDESC * UNUSED idesc = abuf->idesc;
97726 int cycles = 0;
97728 int referenced = 0;
97729 int UNUSED insn_referenced = abuf->written;
97730 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97732 return cycles;
97733 #undef FLD
97736 static int
97737 model_simple_cckne (SIM_CPU *current_cpu, void *sem_arg)
97739 #define FLD(f) abuf->fields.sfmt_cckeq.f
97740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97741 const IDESC * UNUSED idesc = abuf->idesc;
97742 int cycles = 0;
97744 int referenced = 0;
97745 int UNUSED insn_referenced = abuf->written;
97746 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97748 return cycles;
97749 #undef FLD
97752 static int
97753 model_simple_cckle (SIM_CPU *current_cpu, void *sem_arg)
97755 #define FLD(f) abuf->fields.sfmt_cckeq.f
97756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97757 const IDESC * UNUSED idesc = abuf->idesc;
97758 int cycles = 0;
97760 int referenced = 0;
97761 int UNUSED insn_referenced = abuf->written;
97762 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97764 return cycles;
97765 #undef FLD
97768 static int
97769 model_simple_cckgt (SIM_CPU *current_cpu, void *sem_arg)
97771 #define FLD(f) abuf->fields.sfmt_cckeq.f
97772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97773 const IDESC * UNUSED idesc = abuf->idesc;
97774 int cycles = 0;
97776 int referenced = 0;
97777 int UNUSED insn_referenced = abuf->written;
97778 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97780 return cycles;
97781 #undef FLD
97784 static int
97785 model_simple_ccklt (SIM_CPU *current_cpu, void *sem_arg)
97787 #define FLD(f) abuf->fields.sfmt_cckeq.f
97788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97789 const IDESC * UNUSED idesc = abuf->idesc;
97790 int cycles = 0;
97792 int referenced = 0;
97793 int UNUSED insn_referenced = abuf->written;
97794 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97796 return cycles;
97797 #undef FLD
97800 static int
97801 model_simple_cckge (SIM_CPU *current_cpu, void *sem_arg)
97803 #define FLD(f) abuf->fields.sfmt_cckeq.f
97804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97805 const IDESC * UNUSED idesc = abuf->idesc;
97806 int cycles = 0;
97808 int referenced = 0;
97809 int UNUSED insn_referenced = abuf->written;
97810 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97812 return cycles;
97813 #undef FLD
97816 static int
97817 model_simple_cckls (SIM_CPU *current_cpu, void *sem_arg)
97819 #define FLD(f) abuf->fields.sfmt_cckeq.f
97820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97821 const IDESC * UNUSED idesc = abuf->idesc;
97822 int cycles = 0;
97824 int referenced = 0;
97825 int UNUSED insn_referenced = abuf->written;
97826 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97828 return cycles;
97829 #undef FLD
97832 static int
97833 model_simple_cckhi (SIM_CPU *current_cpu, void *sem_arg)
97835 #define FLD(f) abuf->fields.sfmt_cckeq.f
97836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97837 const IDESC * UNUSED idesc = abuf->idesc;
97838 int cycles = 0;
97840 int referenced = 0;
97841 int UNUSED insn_referenced = abuf->written;
97842 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97844 return cycles;
97845 #undef FLD
97848 static int
97849 model_simple_cckc (SIM_CPU *current_cpu, void *sem_arg)
97851 #define FLD(f) abuf->fields.sfmt_cckeq.f
97852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97853 const IDESC * UNUSED idesc = abuf->idesc;
97854 int cycles = 0;
97856 int referenced = 0;
97857 int UNUSED insn_referenced = abuf->written;
97858 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97860 return cycles;
97861 #undef FLD
97864 static int
97865 model_simple_ccknc (SIM_CPU *current_cpu, void *sem_arg)
97867 #define FLD(f) abuf->fields.sfmt_cckeq.f
97868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97869 const IDESC * UNUSED idesc = abuf->idesc;
97870 int cycles = 0;
97872 int referenced = 0;
97873 int UNUSED insn_referenced = abuf->written;
97874 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97876 return cycles;
97877 #undef FLD
97880 static int
97881 model_simple_cckn (SIM_CPU *current_cpu, void *sem_arg)
97883 #define FLD(f) abuf->fields.sfmt_cckeq.f
97884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97885 const IDESC * UNUSED idesc = abuf->idesc;
97886 int cycles = 0;
97888 int referenced = 0;
97889 int UNUSED insn_referenced = abuf->written;
97890 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97892 return cycles;
97893 #undef FLD
97896 static int
97897 model_simple_cckp (SIM_CPU *current_cpu, void *sem_arg)
97899 #define FLD(f) abuf->fields.sfmt_cckeq.f
97900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97901 const IDESC * UNUSED idesc = abuf->idesc;
97902 int cycles = 0;
97904 int referenced = 0;
97905 int UNUSED insn_referenced = abuf->written;
97906 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97908 return cycles;
97909 #undef FLD
97912 static int
97913 model_simple_cckv (SIM_CPU *current_cpu, void *sem_arg)
97915 #define FLD(f) abuf->fields.sfmt_cckeq.f
97916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97917 const IDESC * UNUSED idesc = abuf->idesc;
97918 int cycles = 0;
97920 int referenced = 0;
97921 int UNUSED insn_referenced = abuf->written;
97922 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97924 return cycles;
97925 #undef FLD
97928 static int
97929 model_simple_ccknv (SIM_CPU *current_cpu, void *sem_arg)
97931 #define FLD(f) abuf->fields.sfmt_cckeq.f
97932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97933 const IDESC * UNUSED idesc = abuf->idesc;
97934 int cycles = 0;
97936 int referenced = 0;
97937 int UNUSED insn_referenced = abuf->written;
97938 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97940 return cycles;
97941 #undef FLD
97944 static int
97945 model_simple_cfckra (SIM_CPU *current_cpu, void *sem_arg)
97947 #define FLD(f) abuf->fields.sfmt_cfckne.f
97948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97949 const IDESC * UNUSED idesc = abuf->idesc;
97950 int cycles = 0;
97952 int referenced = 0;
97953 int UNUSED insn_referenced = abuf->written;
97954 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97956 return cycles;
97957 #undef FLD
97960 static int
97961 model_simple_cfckno (SIM_CPU *current_cpu, void *sem_arg)
97963 #define FLD(f) abuf->fields.sfmt_cfckne.f
97964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97965 const IDESC * UNUSED idesc = abuf->idesc;
97966 int cycles = 0;
97968 int referenced = 0;
97969 int UNUSED insn_referenced = abuf->written;
97970 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97972 return cycles;
97973 #undef FLD
97976 static int
97977 model_simple_cfckne (SIM_CPU *current_cpu, void *sem_arg)
97979 #define FLD(f) abuf->fields.sfmt_cfckne.f
97980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97981 const IDESC * UNUSED idesc = abuf->idesc;
97982 int cycles = 0;
97984 int referenced = 0;
97985 int UNUSED insn_referenced = abuf->written;
97986 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97988 return cycles;
97989 #undef FLD
97992 static int
97993 model_simple_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
97995 #define FLD(f) abuf->fields.sfmt_cfckne.f
97996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97997 const IDESC * UNUSED idesc = abuf->idesc;
97998 int cycles = 0;
98000 int referenced = 0;
98001 int UNUSED insn_referenced = abuf->written;
98002 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98004 return cycles;
98005 #undef FLD
98008 static int
98009 model_simple_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
98011 #define FLD(f) abuf->fields.sfmt_cfckne.f
98012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98013 const IDESC * UNUSED idesc = abuf->idesc;
98014 int cycles = 0;
98016 int referenced = 0;
98017 int UNUSED insn_referenced = abuf->written;
98018 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98020 return cycles;
98021 #undef FLD
98024 static int
98025 model_simple_cfckue (SIM_CPU *current_cpu, void *sem_arg)
98027 #define FLD(f) abuf->fields.sfmt_cfckne.f
98028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98029 const IDESC * UNUSED idesc = abuf->idesc;
98030 int cycles = 0;
98032 int referenced = 0;
98033 int UNUSED insn_referenced = abuf->written;
98034 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98036 return cycles;
98037 #undef FLD
98040 static int
98041 model_simple_cfckul (SIM_CPU *current_cpu, void *sem_arg)
98043 #define FLD(f) abuf->fields.sfmt_cfckne.f
98044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98045 const IDESC * UNUSED idesc = abuf->idesc;
98046 int cycles = 0;
98048 int referenced = 0;
98049 int UNUSED insn_referenced = abuf->written;
98050 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98052 return cycles;
98053 #undef FLD
98056 static int
98057 model_simple_cfckge (SIM_CPU *current_cpu, void *sem_arg)
98059 #define FLD(f) abuf->fields.sfmt_cfckne.f
98060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98061 const IDESC * UNUSED idesc = abuf->idesc;
98062 int cycles = 0;
98064 int referenced = 0;
98065 int UNUSED insn_referenced = abuf->written;
98066 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98068 return cycles;
98069 #undef FLD
98072 static int
98073 model_simple_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
98075 #define FLD(f) abuf->fields.sfmt_cfckne.f
98076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98077 const IDESC * UNUSED idesc = abuf->idesc;
98078 int cycles = 0;
98080 int referenced = 0;
98081 int UNUSED insn_referenced = abuf->written;
98082 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98084 return cycles;
98085 #undef FLD
98088 static int
98089 model_simple_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
98091 #define FLD(f) abuf->fields.sfmt_cfckne.f
98092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98093 const IDESC * UNUSED idesc = abuf->idesc;
98094 int cycles = 0;
98096 int referenced = 0;
98097 int UNUSED insn_referenced = abuf->written;
98098 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98100 return cycles;
98101 #undef FLD
98104 static int
98105 model_simple_cfckug (SIM_CPU *current_cpu, void *sem_arg)
98107 #define FLD(f) abuf->fields.sfmt_cfckne.f
98108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98109 const IDESC * UNUSED idesc = abuf->idesc;
98110 int cycles = 0;
98112 int referenced = 0;
98113 int UNUSED insn_referenced = abuf->written;
98114 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98116 return cycles;
98117 #undef FLD
98120 static int
98121 model_simple_cfckle (SIM_CPU *current_cpu, void *sem_arg)
98123 #define FLD(f) abuf->fields.sfmt_cfckne.f
98124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98125 const IDESC * UNUSED idesc = abuf->idesc;
98126 int cycles = 0;
98128 int referenced = 0;
98129 int UNUSED insn_referenced = abuf->written;
98130 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98132 return cycles;
98133 #undef FLD
98136 static int
98137 model_simple_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
98139 #define FLD(f) abuf->fields.sfmt_cfckne.f
98140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98141 const IDESC * UNUSED idesc = abuf->idesc;
98142 int cycles = 0;
98144 int referenced = 0;
98145 int UNUSED insn_referenced = abuf->written;
98146 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98148 return cycles;
98149 #undef FLD
98152 static int
98153 model_simple_cfckule (SIM_CPU *current_cpu, void *sem_arg)
98155 #define FLD(f) abuf->fields.sfmt_cfckne.f
98156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98157 const IDESC * UNUSED idesc = abuf->idesc;
98158 int cycles = 0;
98160 int referenced = 0;
98161 int UNUSED insn_referenced = abuf->written;
98162 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98164 return cycles;
98165 #undef FLD
98168 static int
98169 model_simple_cfcku (SIM_CPU *current_cpu, void *sem_arg)
98171 #define FLD(f) abuf->fields.sfmt_cfckne.f
98172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98173 const IDESC * UNUSED idesc = abuf->idesc;
98174 int cycles = 0;
98176 int referenced = 0;
98177 int UNUSED insn_referenced = abuf->written;
98178 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98180 return cycles;
98181 #undef FLD
98184 static int
98185 model_simple_cfcko (SIM_CPU *current_cpu, void *sem_arg)
98187 #define FLD(f) abuf->fields.sfmt_cfckne.f
98188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98189 const IDESC * UNUSED idesc = abuf->idesc;
98190 int cycles = 0;
98192 int referenced = 0;
98193 int UNUSED insn_referenced = abuf->written;
98194 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98196 return cycles;
98197 #undef FLD
98200 static int
98201 model_simple_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
98203 #define FLD(f) abuf->fields.sfmt_cjmpl.f
98204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98205 const IDESC * UNUSED idesc = abuf->idesc;
98206 int cycles = 0;
98208 int referenced = 0;
98209 int UNUSED insn_referenced = abuf->written;
98210 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98212 return cycles;
98213 #undef FLD
98216 static int
98217 model_simple_ccalll (SIM_CPU *current_cpu, void *sem_arg)
98219 #define FLD(f) abuf->fields.sfmt_cjmpl.f
98220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98221 const IDESC * UNUSED idesc = abuf->idesc;
98222 int cycles = 0;
98224 int referenced = 0;
98225 int UNUSED insn_referenced = abuf->written;
98226 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98228 return cycles;
98229 #undef FLD
98232 static int
98233 model_simple_ici (SIM_CPU *current_cpu, void *sem_arg)
98235 #define FLD(f) abuf->fields.sfmt_icpl.f
98236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98237 const IDESC * UNUSED idesc = abuf->idesc;
98238 int cycles = 0;
98240 int referenced = 0;
98241 int UNUSED insn_referenced = abuf->written;
98242 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98244 return cycles;
98245 #undef FLD
98248 static int
98249 model_simple_dci (SIM_CPU *current_cpu, void *sem_arg)
98251 #define FLD(f) abuf->fields.sfmt_icpl.f
98252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98253 const IDESC * UNUSED idesc = abuf->idesc;
98254 int cycles = 0;
98256 int referenced = 0;
98257 int UNUSED insn_referenced = abuf->written;
98258 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98260 return cycles;
98261 #undef FLD
98264 static int
98265 model_simple_icei (SIM_CPU *current_cpu, void *sem_arg)
98267 #define FLD(f) abuf->fields.sfmt_icei.f
98268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98269 const IDESC * UNUSED idesc = abuf->idesc;
98270 int cycles = 0;
98272 int referenced = 0;
98273 int UNUSED insn_referenced = abuf->written;
98274 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98276 return cycles;
98277 #undef FLD
98280 static int
98281 model_simple_dcei (SIM_CPU *current_cpu, void *sem_arg)
98283 #define FLD(f) abuf->fields.sfmt_icei.f
98284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98285 const IDESC * UNUSED idesc = abuf->idesc;
98286 int cycles = 0;
98288 int referenced = 0;
98289 int UNUSED insn_referenced = abuf->written;
98290 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98292 return cycles;
98293 #undef FLD
98296 static int
98297 model_simple_dcf (SIM_CPU *current_cpu, void *sem_arg)
98299 #define FLD(f) abuf->fields.sfmt_icpl.f
98300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98301 const IDESC * UNUSED idesc = abuf->idesc;
98302 int cycles = 0;
98304 int referenced = 0;
98305 int UNUSED insn_referenced = abuf->written;
98306 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98308 return cycles;
98309 #undef FLD
98312 static int
98313 model_simple_dcef (SIM_CPU *current_cpu, void *sem_arg)
98315 #define FLD(f) abuf->fields.sfmt_icei.f
98316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98317 const IDESC * UNUSED idesc = abuf->idesc;
98318 int cycles = 0;
98320 int referenced = 0;
98321 int UNUSED insn_referenced = abuf->written;
98322 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98324 return cycles;
98325 #undef FLD
98328 static int
98329 model_simple_witlb (SIM_CPU *current_cpu, void *sem_arg)
98331 #define FLD(f) abuf->fields.sfmt_empty.f
98332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98333 const IDESC * UNUSED idesc = abuf->idesc;
98334 int cycles = 0;
98336 int referenced = 0;
98337 int UNUSED insn_referenced = abuf->written;
98338 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98340 return cycles;
98341 #undef FLD
98344 static int
98345 model_simple_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
98347 #define FLD(f) abuf->fields.sfmt_empty.f
98348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98349 const IDESC * UNUSED idesc = abuf->idesc;
98350 int cycles = 0;
98352 int referenced = 0;
98353 int UNUSED insn_referenced = abuf->written;
98354 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98356 return cycles;
98357 #undef FLD
98360 static int
98361 model_simple_itlbi (SIM_CPU *current_cpu, void *sem_arg)
98363 #define FLD(f) abuf->fields.sfmt_empty.f
98364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98365 const IDESC * UNUSED idesc = abuf->idesc;
98366 int cycles = 0;
98368 int referenced = 0;
98369 int UNUSED insn_referenced = abuf->written;
98370 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98372 return cycles;
98373 #undef FLD
98376 static int
98377 model_simple_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
98379 #define FLD(f) abuf->fields.sfmt_empty.f
98380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98381 const IDESC * UNUSED idesc = abuf->idesc;
98382 int cycles = 0;
98384 int referenced = 0;
98385 int UNUSED insn_referenced = abuf->written;
98386 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98388 return cycles;
98389 #undef FLD
98392 static int
98393 model_simple_icpl (SIM_CPU *current_cpu, void *sem_arg)
98395 #define FLD(f) abuf->fields.sfmt_icpl.f
98396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98397 const IDESC * UNUSED idesc = abuf->idesc;
98398 int cycles = 0;
98400 int referenced = 0;
98401 int UNUSED insn_referenced = abuf->written;
98402 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98404 return cycles;
98405 #undef FLD
98408 static int
98409 model_simple_dcpl (SIM_CPU *current_cpu, void *sem_arg)
98411 #define FLD(f) abuf->fields.sfmt_icpl.f
98412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98413 const IDESC * UNUSED idesc = abuf->idesc;
98414 int cycles = 0;
98416 int referenced = 0;
98417 int UNUSED insn_referenced = abuf->written;
98418 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98420 return cycles;
98421 #undef FLD
98424 static int
98425 model_simple_icul (SIM_CPU *current_cpu, void *sem_arg)
98427 #define FLD(f) abuf->fields.sfmt_jmpil.f
98428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98429 const IDESC * UNUSED idesc = abuf->idesc;
98430 int cycles = 0;
98432 int referenced = 0;
98433 int UNUSED insn_referenced = abuf->written;
98434 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98436 return cycles;
98437 #undef FLD
98440 static int
98441 model_simple_dcul (SIM_CPU *current_cpu, void *sem_arg)
98443 #define FLD(f) abuf->fields.sfmt_jmpil.f
98444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98445 const IDESC * UNUSED idesc = abuf->idesc;
98446 int cycles = 0;
98448 int referenced = 0;
98449 int UNUSED insn_referenced = abuf->written;
98450 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98452 return cycles;
98453 #undef FLD
98456 static int
98457 model_simple_bar (SIM_CPU *current_cpu, void *sem_arg)
98459 #define FLD(f) abuf->fields.sfmt_empty.f
98460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98461 const IDESC * UNUSED idesc = abuf->idesc;
98462 int cycles = 0;
98464 int referenced = 0;
98465 int UNUSED insn_referenced = abuf->written;
98466 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98468 return cycles;
98469 #undef FLD
98472 static int
98473 model_simple_membar (SIM_CPU *current_cpu, void *sem_arg)
98475 #define FLD(f) abuf->fields.sfmt_empty.f
98476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98477 const IDESC * UNUSED idesc = abuf->idesc;
98478 int cycles = 0;
98480 int referenced = 0;
98481 int UNUSED insn_referenced = abuf->written;
98482 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98484 return cycles;
98485 #undef FLD
98488 static int
98489 model_simple_lrai (SIM_CPU *current_cpu, void *sem_arg)
98491 #define FLD(f) abuf->fields.sfmt_empty.f
98492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98493 const IDESC * UNUSED idesc = abuf->idesc;
98494 int cycles = 0;
98496 int referenced = 0;
98497 int UNUSED insn_referenced = abuf->written;
98498 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98500 return cycles;
98501 #undef FLD
98504 static int
98505 model_simple_lrad (SIM_CPU *current_cpu, void *sem_arg)
98507 #define FLD(f) abuf->fields.sfmt_empty.f
98508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98509 const IDESC * UNUSED idesc = abuf->idesc;
98510 int cycles = 0;
98512 int referenced = 0;
98513 int UNUSED insn_referenced = abuf->written;
98514 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98516 return cycles;
98517 #undef FLD
98520 static int
98521 model_simple_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
98523 #define FLD(f) abuf->fields.sfmt_empty.f
98524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98525 const IDESC * UNUSED idesc = abuf->idesc;
98526 int cycles = 0;
98528 int referenced = 0;
98529 int UNUSED insn_referenced = abuf->written;
98530 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98532 return cycles;
98533 #undef FLD
98536 static int
98537 model_simple_cop1 (SIM_CPU *current_cpu, void *sem_arg)
98539 #define FLD(f) abuf->fields.sfmt_empty.f
98540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98541 const IDESC * UNUSED idesc = abuf->idesc;
98542 int cycles = 0;
98544 int referenced = 0;
98545 int UNUSED insn_referenced = abuf->written;
98546 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98548 return cycles;
98549 #undef FLD
98552 static int
98553 model_simple_cop2 (SIM_CPU *current_cpu, void *sem_arg)
98555 #define FLD(f) abuf->fields.sfmt_empty.f
98556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98557 const IDESC * UNUSED idesc = abuf->idesc;
98558 int cycles = 0;
98560 int referenced = 0;
98561 int UNUSED insn_referenced = abuf->written;
98562 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98564 return cycles;
98565 #undef FLD
98568 static int
98569 model_simple_clrgr (SIM_CPU *current_cpu, void *sem_arg)
98571 #define FLD(f) abuf->fields.sfmt_swapi.f
98572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98573 const IDESC * UNUSED idesc = abuf->idesc;
98574 int cycles = 0;
98576 int referenced = 0;
98577 int UNUSED insn_referenced = abuf->written;
98578 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98580 return cycles;
98581 #undef FLD
98584 static int
98585 model_simple_clrfr (SIM_CPU *current_cpu, void *sem_arg)
98587 #define FLD(f) abuf->fields.sfmt_cfmadds.f
98588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98589 const IDESC * UNUSED idesc = abuf->idesc;
98590 int cycles = 0;
98592 int referenced = 0;
98593 int UNUSED insn_referenced = abuf->written;
98594 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98596 return cycles;
98597 #undef FLD
98600 static int
98601 model_simple_clrga (SIM_CPU *current_cpu, void *sem_arg)
98603 #define FLD(f) abuf->fields.sfmt_empty.f
98604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98605 const IDESC * UNUSED idesc = abuf->idesc;
98606 int cycles = 0;
98608 int referenced = 0;
98609 int UNUSED insn_referenced = abuf->written;
98610 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98612 return cycles;
98613 #undef FLD
98616 static int
98617 model_simple_clrfa (SIM_CPU *current_cpu, void *sem_arg)
98619 #define FLD(f) abuf->fields.sfmt_empty.f
98620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98621 const IDESC * UNUSED idesc = abuf->idesc;
98622 int cycles = 0;
98624 int referenced = 0;
98625 int UNUSED insn_referenced = abuf->written;
98626 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98628 return cycles;
98629 #undef FLD
98632 static int
98633 model_simple_commitgr (SIM_CPU *current_cpu, void *sem_arg)
98635 #define FLD(f) abuf->fields.sfmt_setlos.f
98636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98637 const IDESC * UNUSED idesc = abuf->idesc;
98638 int cycles = 0;
98640 int referenced = 0;
98641 int UNUSED insn_referenced = abuf->written;
98642 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98644 return cycles;
98645 #undef FLD
98648 static int
98649 model_simple_commitfr (SIM_CPU *current_cpu, void *sem_arg)
98651 #define FLD(f) abuf->fields.sfmt_mhsethis.f
98652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98653 const IDESC * UNUSED idesc = abuf->idesc;
98654 int cycles = 0;
98656 int referenced = 0;
98657 int UNUSED insn_referenced = abuf->written;
98658 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98660 return cycles;
98661 #undef FLD
98664 static int
98665 model_simple_commitga (SIM_CPU *current_cpu, void *sem_arg)
98667 #define FLD(f) abuf->fields.sfmt_empty.f
98668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98669 const IDESC * UNUSED idesc = abuf->idesc;
98670 int cycles = 0;
98672 int referenced = 0;
98673 int UNUSED insn_referenced = abuf->written;
98674 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98676 return cycles;
98677 #undef FLD
98680 static int
98681 model_simple_commitfa (SIM_CPU *current_cpu, void *sem_arg)
98683 #define FLD(f) abuf->fields.sfmt_empty.f
98684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98685 const IDESC * UNUSED idesc = abuf->idesc;
98686 int cycles = 0;
98688 int referenced = 0;
98689 int UNUSED insn_referenced = abuf->written;
98690 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98692 return cycles;
98693 #undef FLD
98696 static int
98697 model_simple_fitos (SIM_CPU *current_cpu, void *sem_arg)
98699 #define FLD(f) abuf->fields.sfmt_fditos.f
98700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98701 const IDESC * UNUSED idesc = abuf->idesc;
98702 int cycles = 0;
98704 int referenced = 0;
98705 int UNUSED insn_referenced = abuf->written;
98706 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98708 return cycles;
98709 #undef FLD
98712 static int
98713 model_simple_fstoi (SIM_CPU *current_cpu, void *sem_arg)
98715 #define FLD(f) abuf->fields.sfmt_fdstoi.f
98716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98717 const IDESC * UNUSED idesc = abuf->idesc;
98718 int cycles = 0;
98720 int referenced = 0;
98721 int UNUSED insn_referenced = abuf->written;
98722 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98724 return cycles;
98725 #undef FLD
98728 static int
98729 model_simple_fitod (SIM_CPU *current_cpu, void *sem_arg)
98731 #define FLD(f) abuf->fields.sfmt_fitod.f
98732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98733 const IDESC * UNUSED idesc = abuf->idesc;
98734 int cycles = 0;
98736 int referenced = 0;
98737 int UNUSED insn_referenced = abuf->written;
98738 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98740 return cycles;
98741 #undef FLD
98744 static int
98745 model_simple_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
98747 #define FLD(f) abuf->fields.sfmt_fdtoi.f
98748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98749 const IDESC * UNUSED idesc = abuf->idesc;
98750 int cycles = 0;
98752 int referenced = 0;
98753 int UNUSED insn_referenced = abuf->written;
98754 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98756 return cycles;
98757 #undef FLD
98760 static int
98761 model_simple_fditos (SIM_CPU *current_cpu, void *sem_arg)
98763 #define FLD(f) abuf->fields.sfmt_fditos.f
98764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98765 const IDESC * UNUSED idesc = abuf->idesc;
98766 int cycles = 0;
98768 int referenced = 0;
98769 int UNUSED insn_referenced = abuf->written;
98770 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98772 return cycles;
98773 #undef FLD
98776 static int
98777 model_simple_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
98779 #define FLD(f) abuf->fields.sfmt_fdstoi.f
98780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98781 const IDESC * UNUSED idesc = abuf->idesc;
98782 int cycles = 0;
98784 int referenced = 0;
98785 int UNUSED insn_referenced = abuf->written;
98786 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98788 return cycles;
98789 #undef FLD
98792 static int
98793 model_simple_nfditos (SIM_CPU *current_cpu, void *sem_arg)
98795 #define FLD(f) abuf->fields.sfmt_fditos.f
98796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98797 const IDESC * UNUSED idesc = abuf->idesc;
98798 int cycles = 0;
98800 int referenced = 0;
98801 int UNUSED insn_referenced = abuf->written;
98802 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98804 return cycles;
98805 #undef FLD
98808 static int
98809 model_simple_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
98811 #define FLD(f) abuf->fields.sfmt_fdstoi.f
98812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98813 const IDESC * UNUSED idesc = abuf->idesc;
98814 int cycles = 0;
98816 int referenced = 0;
98817 int UNUSED insn_referenced = abuf->written;
98818 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98820 return cycles;
98821 #undef FLD
98824 static int
98825 model_simple_cfitos (SIM_CPU *current_cpu, void *sem_arg)
98827 #define FLD(f) abuf->fields.sfmt_cfitos.f
98828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98829 const IDESC * UNUSED idesc = abuf->idesc;
98830 int cycles = 0;
98832 int referenced = 0;
98833 int UNUSED insn_referenced = abuf->written;
98834 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98836 return cycles;
98837 #undef FLD
98840 static int
98841 model_simple_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
98843 #define FLD(f) abuf->fields.sfmt_cfstoi.f
98844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98845 const IDESC * UNUSED idesc = abuf->idesc;
98846 int cycles = 0;
98848 int referenced = 0;
98849 int UNUSED insn_referenced = abuf->written;
98850 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98852 return cycles;
98853 #undef FLD
98856 static int
98857 model_simple_nfitos (SIM_CPU *current_cpu, void *sem_arg)
98859 #define FLD(f) abuf->fields.sfmt_fditos.f
98860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98861 const IDESC * UNUSED idesc = abuf->idesc;
98862 int cycles = 0;
98864 int referenced = 0;
98865 int UNUSED insn_referenced = abuf->written;
98866 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98868 return cycles;
98869 #undef FLD
98872 static int
98873 model_simple_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
98875 #define FLD(f) abuf->fields.sfmt_fdstoi.f
98876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98877 const IDESC * UNUSED idesc = abuf->idesc;
98878 int cycles = 0;
98880 int referenced = 0;
98881 int UNUSED insn_referenced = abuf->written;
98882 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98884 return cycles;
98885 #undef FLD
98888 static int
98889 model_simple_fmovs (SIM_CPU *current_cpu, void *sem_arg)
98891 #define FLD(f) abuf->fields.sfmt_cfmadds.f
98892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98893 const IDESC * UNUSED idesc = abuf->idesc;
98894 int cycles = 0;
98896 int referenced = 0;
98897 int UNUSED insn_referenced = abuf->written;
98898 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98900 return cycles;
98901 #undef FLD
98904 static int
98905 model_simple_fmovd (SIM_CPU *current_cpu, void *sem_arg)
98907 #define FLD(f) abuf->fields.sfmt_fmaddd.f
98908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98909 const IDESC * UNUSED idesc = abuf->idesc;
98910 int cycles = 0;
98912 int referenced = 0;
98913 int UNUSED insn_referenced = abuf->written;
98914 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98916 return cycles;
98917 #undef FLD
98920 static int
98921 model_simple_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
98923 #define FLD(f) abuf->fields.sfmt_fdmadds.f
98924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98925 const IDESC * UNUSED idesc = abuf->idesc;
98926 int cycles = 0;
98928 int referenced = 0;
98929 int UNUSED insn_referenced = abuf->written;
98930 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98932 return cycles;
98933 #undef FLD
98936 static int
98937 model_simple_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
98939 #define FLD(f) abuf->fields.sfmt_cfmadds.f
98940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98941 const IDESC * UNUSED idesc = abuf->idesc;
98942 int cycles = 0;
98944 int referenced = 0;
98945 int UNUSED insn_referenced = abuf->written;
98946 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98948 return cycles;
98949 #undef FLD
98952 static int
98953 model_simple_fnegs (SIM_CPU *current_cpu, void *sem_arg)
98955 #define FLD(f) abuf->fields.sfmt_cfmadds.f
98956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98957 const IDESC * UNUSED idesc = abuf->idesc;
98958 int cycles = 0;
98960 int referenced = 0;
98961 int UNUSED insn_referenced = abuf->written;
98962 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98964 return cycles;
98965 #undef FLD
98968 static int
98969 model_simple_fnegd (SIM_CPU *current_cpu, void *sem_arg)
98971 #define FLD(f) abuf->fields.sfmt_fmaddd.f
98972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98973 const IDESC * UNUSED idesc = abuf->idesc;
98974 int cycles = 0;
98976 int referenced = 0;
98977 int UNUSED insn_referenced = abuf->written;
98978 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98980 return cycles;
98981 #undef FLD
98984 static int
98985 model_simple_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
98987 #define FLD(f) abuf->fields.sfmt_fdmadds.f
98988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98989 const IDESC * UNUSED idesc = abuf->idesc;
98990 int cycles = 0;
98992 int referenced = 0;
98993 int UNUSED insn_referenced = abuf->written;
98994 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98996 return cycles;
98997 #undef FLD
99000 static int
99001 model_simple_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
99003 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99005 const IDESC * UNUSED idesc = abuf->idesc;
99006 int cycles = 0;
99008 int referenced = 0;
99009 int UNUSED insn_referenced = abuf->written;
99010 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99012 return cycles;
99013 #undef FLD
99016 static int
99017 model_simple_fabss (SIM_CPU *current_cpu, void *sem_arg)
99019 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99021 const IDESC * UNUSED idesc = abuf->idesc;
99022 int cycles = 0;
99024 int referenced = 0;
99025 int UNUSED insn_referenced = abuf->written;
99026 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99028 return cycles;
99029 #undef FLD
99032 static int
99033 model_simple_fabsd (SIM_CPU *current_cpu, void *sem_arg)
99035 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99037 const IDESC * UNUSED idesc = abuf->idesc;
99038 int cycles = 0;
99040 int referenced = 0;
99041 int UNUSED insn_referenced = abuf->written;
99042 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99044 return cycles;
99045 #undef FLD
99048 static int
99049 model_simple_fdabss (SIM_CPU *current_cpu, void *sem_arg)
99051 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99053 const IDESC * UNUSED idesc = abuf->idesc;
99054 int cycles = 0;
99056 int referenced = 0;
99057 int UNUSED insn_referenced = abuf->written;
99058 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99060 return cycles;
99061 #undef FLD
99064 static int
99065 model_simple_cfabss (SIM_CPU *current_cpu, void *sem_arg)
99067 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99069 const IDESC * UNUSED idesc = abuf->idesc;
99070 int cycles = 0;
99072 int referenced = 0;
99073 int UNUSED insn_referenced = abuf->written;
99074 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99076 return cycles;
99077 #undef FLD
99080 static int
99081 model_simple_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
99083 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99085 const IDESC * UNUSED idesc = abuf->idesc;
99086 int cycles = 0;
99088 int referenced = 0;
99089 int UNUSED insn_referenced = abuf->written;
99090 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99092 return cycles;
99093 #undef FLD
99096 static int
99097 model_simple_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
99099 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99101 const IDESC * UNUSED idesc = abuf->idesc;
99102 int cycles = 0;
99104 int referenced = 0;
99105 int UNUSED insn_referenced = abuf->written;
99106 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99108 return cycles;
99109 #undef FLD
99112 static int
99113 model_simple_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
99115 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99117 const IDESC * UNUSED idesc = abuf->idesc;
99118 int cycles = 0;
99120 int referenced = 0;
99121 int UNUSED insn_referenced = abuf->written;
99122 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99124 return cycles;
99125 #undef FLD
99128 static int
99129 model_simple_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
99131 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99133 const IDESC * UNUSED idesc = abuf->idesc;
99134 int cycles = 0;
99136 int referenced = 0;
99137 int UNUSED insn_referenced = abuf->written;
99138 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99140 return cycles;
99141 #undef FLD
99144 static int
99145 model_simple_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
99147 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99149 const IDESC * UNUSED idesc = abuf->idesc;
99150 int cycles = 0;
99152 int referenced = 0;
99153 int UNUSED insn_referenced = abuf->written;
99154 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99156 return cycles;
99157 #undef FLD
99160 static int
99161 model_simple_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
99163 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99165 const IDESC * UNUSED idesc = abuf->idesc;
99166 int cycles = 0;
99168 int referenced = 0;
99169 int UNUSED insn_referenced = abuf->written;
99170 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99172 return cycles;
99173 #undef FLD
99176 static int
99177 model_simple_fadds (SIM_CPU *current_cpu, void *sem_arg)
99179 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99181 const IDESC * UNUSED idesc = abuf->idesc;
99182 int cycles = 0;
99184 int referenced = 0;
99185 int UNUSED insn_referenced = abuf->written;
99186 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99188 return cycles;
99189 #undef FLD
99192 static int
99193 model_simple_fsubs (SIM_CPU *current_cpu, void *sem_arg)
99195 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99197 const IDESC * UNUSED idesc = abuf->idesc;
99198 int cycles = 0;
99200 int referenced = 0;
99201 int UNUSED insn_referenced = abuf->written;
99202 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99204 return cycles;
99205 #undef FLD
99208 static int
99209 model_simple_fmuls (SIM_CPU *current_cpu, void *sem_arg)
99211 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99213 const IDESC * UNUSED idesc = abuf->idesc;
99214 int cycles = 0;
99216 int referenced = 0;
99217 int UNUSED insn_referenced = abuf->written;
99218 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99220 return cycles;
99221 #undef FLD
99224 static int
99225 model_simple_fdivs (SIM_CPU *current_cpu, void *sem_arg)
99227 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99229 const IDESC * UNUSED idesc = abuf->idesc;
99230 int cycles = 0;
99232 int referenced = 0;
99233 int UNUSED insn_referenced = abuf->written;
99234 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99236 return cycles;
99237 #undef FLD
99240 static int
99241 model_simple_faddd (SIM_CPU *current_cpu, void *sem_arg)
99243 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99245 const IDESC * UNUSED idesc = abuf->idesc;
99246 int cycles = 0;
99248 int referenced = 0;
99249 int UNUSED insn_referenced = abuf->written;
99250 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99252 return cycles;
99253 #undef FLD
99256 static int
99257 model_simple_fsubd (SIM_CPU *current_cpu, void *sem_arg)
99259 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99261 const IDESC * UNUSED idesc = abuf->idesc;
99262 int cycles = 0;
99264 int referenced = 0;
99265 int UNUSED insn_referenced = abuf->written;
99266 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99268 return cycles;
99269 #undef FLD
99272 static int
99273 model_simple_fmuld (SIM_CPU *current_cpu, void *sem_arg)
99275 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99277 const IDESC * UNUSED idesc = abuf->idesc;
99278 int cycles = 0;
99280 int referenced = 0;
99281 int UNUSED insn_referenced = abuf->written;
99282 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99284 return cycles;
99285 #undef FLD
99288 static int
99289 model_simple_fdivd (SIM_CPU *current_cpu, void *sem_arg)
99291 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99293 const IDESC * UNUSED idesc = abuf->idesc;
99294 int cycles = 0;
99296 int referenced = 0;
99297 int UNUSED insn_referenced = abuf->written;
99298 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99300 return cycles;
99301 #undef FLD
99304 static int
99305 model_simple_cfadds (SIM_CPU *current_cpu, void *sem_arg)
99307 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99309 const IDESC * UNUSED idesc = abuf->idesc;
99310 int cycles = 0;
99312 int referenced = 0;
99313 int UNUSED insn_referenced = abuf->written;
99314 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99316 return cycles;
99317 #undef FLD
99320 static int
99321 model_simple_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
99323 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99325 const IDESC * UNUSED idesc = abuf->idesc;
99326 int cycles = 0;
99328 int referenced = 0;
99329 int UNUSED insn_referenced = abuf->written;
99330 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99332 return cycles;
99333 #undef FLD
99336 static int
99337 model_simple_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
99339 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99341 const IDESC * UNUSED idesc = abuf->idesc;
99342 int cycles = 0;
99344 int referenced = 0;
99345 int UNUSED insn_referenced = abuf->written;
99346 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99348 return cycles;
99349 #undef FLD
99352 static int
99353 model_simple_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
99355 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99357 const IDESC * UNUSED idesc = abuf->idesc;
99358 int cycles = 0;
99360 int referenced = 0;
99361 int UNUSED insn_referenced = abuf->written;
99362 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99364 return cycles;
99365 #undef FLD
99368 static int
99369 model_simple_nfadds (SIM_CPU *current_cpu, void *sem_arg)
99371 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99373 const IDESC * UNUSED idesc = abuf->idesc;
99374 int cycles = 0;
99376 int referenced = 0;
99377 int UNUSED insn_referenced = abuf->written;
99378 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99380 return cycles;
99381 #undef FLD
99384 static int
99385 model_simple_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
99387 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99389 const IDESC * UNUSED idesc = abuf->idesc;
99390 int cycles = 0;
99392 int referenced = 0;
99393 int UNUSED insn_referenced = abuf->written;
99394 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99396 return cycles;
99397 #undef FLD
99400 static int
99401 model_simple_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
99403 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99405 const IDESC * UNUSED idesc = abuf->idesc;
99406 int cycles = 0;
99408 int referenced = 0;
99409 int UNUSED insn_referenced = abuf->written;
99410 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99412 return cycles;
99413 #undef FLD
99416 static int
99417 model_simple_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
99419 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99421 const IDESC * UNUSED idesc = abuf->idesc;
99422 int cycles = 0;
99424 int referenced = 0;
99425 int UNUSED insn_referenced = abuf->written;
99426 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99428 return cycles;
99429 #undef FLD
99432 static int
99433 model_simple_fcmps (SIM_CPU *current_cpu, void *sem_arg)
99435 #define FLD(f) abuf->fields.sfmt_cfcmps.f
99436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99437 const IDESC * UNUSED idesc = abuf->idesc;
99438 int cycles = 0;
99440 int referenced = 0;
99441 int UNUSED insn_referenced = abuf->written;
99442 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99444 return cycles;
99445 #undef FLD
99448 static int
99449 model_simple_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
99451 #define FLD(f) abuf->fields.sfmt_fcmpd.f
99452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99453 const IDESC * UNUSED idesc = abuf->idesc;
99454 int cycles = 0;
99456 int referenced = 0;
99457 int UNUSED insn_referenced = abuf->written;
99458 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99460 return cycles;
99461 #undef FLD
99464 static int
99465 model_simple_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
99467 #define FLD(f) abuf->fields.sfmt_cfcmps.f
99468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99469 const IDESC * UNUSED idesc = abuf->idesc;
99470 int cycles = 0;
99472 int referenced = 0;
99473 int UNUSED insn_referenced = abuf->written;
99474 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99476 return cycles;
99477 #undef FLD
99480 static int
99481 model_simple_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
99483 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
99484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99485 const IDESC * UNUSED idesc = abuf->idesc;
99486 int cycles = 0;
99488 int referenced = 0;
99489 int UNUSED insn_referenced = abuf->written;
99490 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99492 return cycles;
99493 #undef FLD
99496 static int
99497 model_simple_fmadds (SIM_CPU *current_cpu, void *sem_arg)
99499 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99501 const IDESC * UNUSED idesc = abuf->idesc;
99502 int cycles = 0;
99504 int referenced = 0;
99505 int UNUSED insn_referenced = abuf->written;
99506 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99508 return cycles;
99509 #undef FLD
99512 static int
99513 model_simple_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
99515 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99517 const IDESC * UNUSED idesc = abuf->idesc;
99518 int cycles = 0;
99520 int referenced = 0;
99521 int UNUSED insn_referenced = abuf->written;
99522 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99524 return cycles;
99525 #undef FLD
99528 static int
99529 model_simple_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
99531 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99533 const IDESC * UNUSED idesc = abuf->idesc;
99534 int cycles = 0;
99536 int referenced = 0;
99537 int UNUSED insn_referenced = abuf->written;
99538 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99540 return cycles;
99541 #undef FLD
99544 static int
99545 model_simple_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
99547 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99549 const IDESC * UNUSED idesc = abuf->idesc;
99550 int cycles = 0;
99552 int referenced = 0;
99553 int UNUSED insn_referenced = abuf->written;
99554 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99556 return cycles;
99557 #undef FLD
99560 static int
99561 model_simple_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
99563 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99565 const IDESC * UNUSED idesc = abuf->idesc;
99566 int cycles = 0;
99568 int referenced = 0;
99569 int UNUSED insn_referenced = abuf->written;
99570 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99572 return cycles;
99573 #undef FLD
99576 static int
99577 model_simple_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
99579 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99581 const IDESC * UNUSED idesc = abuf->idesc;
99582 int cycles = 0;
99584 int referenced = 0;
99585 int UNUSED insn_referenced = abuf->written;
99586 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99588 return cycles;
99589 #undef FLD
99592 static int
99593 model_simple_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
99595 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99597 const IDESC * UNUSED idesc = abuf->idesc;
99598 int cycles = 0;
99600 int referenced = 0;
99601 int UNUSED insn_referenced = abuf->written;
99602 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99604 return cycles;
99605 #undef FLD
99608 static int
99609 model_simple_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
99611 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99613 const IDESC * UNUSED idesc = abuf->idesc;
99614 int cycles = 0;
99616 int referenced = 0;
99617 int UNUSED insn_referenced = abuf->written;
99618 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99620 return cycles;
99621 #undef FLD
99624 static int
99625 model_simple_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
99627 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99629 const IDESC * UNUSED idesc = abuf->idesc;
99630 int cycles = 0;
99632 int referenced = 0;
99633 int UNUSED insn_referenced = abuf->written;
99634 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99636 return cycles;
99637 #undef FLD
99640 static int
99641 model_simple_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
99643 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99645 const IDESC * UNUSED idesc = abuf->idesc;
99646 int cycles = 0;
99648 int referenced = 0;
99649 int UNUSED insn_referenced = abuf->written;
99650 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99652 return cycles;
99653 #undef FLD
99656 static int
99657 model_simple_fmas (SIM_CPU *current_cpu, void *sem_arg)
99659 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99661 const IDESC * UNUSED idesc = abuf->idesc;
99662 int cycles = 0;
99664 int referenced = 0;
99665 int UNUSED insn_referenced = abuf->written;
99666 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99668 return cycles;
99669 #undef FLD
99672 static int
99673 model_simple_fmss (SIM_CPU *current_cpu, void *sem_arg)
99675 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99677 const IDESC * UNUSED idesc = abuf->idesc;
99678 int cycles = 0;
99680 int referenced = 0;
99681 int UNUSED insn_referenced = abuf->written;
99682 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99684 return cycles;
99685 #undef FLD
99688 static int
99689 model_simple_fdmas (SIM_CPU *current_cpu, void *sem_arg)
99691 #define FLD(f) abuf->fields.sfmt_fdmas.f
99692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99693 const IDESC * UNUSED idesc = abuf->idesc;
99694 int cycles = 0;
99696 int referenced = 0;
99697 int UNUSED insn_referenced = abuf->written;
99698 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99700 return cycles;
99701 #undef FLD
99704 static int
99705 model_simple_fdmss (SIM_CPU *current_cpu, void *sem_arg)
99707 #define FLD(f) abuf->fields.sfmt_fdmas.f
99708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99709 const IDESC * UNUSED idesc = abuf->idesc;
99710 int cycles = 0;
99712 int referenced = 0;
99713 int UNUSED insn_referenced = abuf->written;
99714 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99716 return cycles;
99717 #undef FLD
99720 static int
99721 model_simple_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
99723 #define FLD(f) abuf->fields.sfmt_fdmas.f
99724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99725 const IDESC * UNUSED idesc = abuf->idesc;
99726 int cycles = 0;
99728 int referenced = 0;
99729 int UNUSED insn_referenced = abuf->written;
99730 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99732 return cycles;
99733 #undef FLD
99736 static int
99737 model_simple_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
99739 #define FLD(f) abuf->fields.sfmt_fdmas.f
99740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99741 const IDESC * UNUSED idesc = abuf->idesc;
99742 int cycles = 0;
99744 int referenced = 0;
99745 int UNUSED insn_referenced = abuf->written;
99746 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99748 return cycles;
99749 #undef FLD
99752 static int
99753 model_simple_cfmas (SIM_CPU *current_cpu, void *sem_arg)
99755 #define FLD(f) abuf->fields.sfmt_cfmas.f
99756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99757 const IDESC * UNUSED idesc = abuf->idesc;
99758 int cycles = 0;
99760 int referenced = 0;
99761 int UNUSED insn_referenced = abuf->written;
99762 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99764 return cycles;
99765 #undef FLD
99768 static int
99769 model_simple_cfmss (SIM_CPU *current_cpu, void *sem_arg)
99771 #define FLD(f) abuf->fields.sfmt_cfmas.f
99772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99773 const IDESC * UNUSED idesc = abuf->idesc;
99774 int cycles = 0;
99776 int referenced = 0;
99777 int UNUSED insn_referenced = abuf->written;
99778 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99780 return cycles;
99781 #undef FLD
99784 static int
99785 model_simple_fmad (SIM_CPU *current_cpu, void *sem_arg)
99787 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99789 const IDESC * UNUSED idesc = abuf->idesc;
99790 int cycles = 0;
99792 int referenced = 0;
99793 int UNUSED insn_referenced = abuf->written;
99794 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99796 return cycles;
99797 #undef FLD
99800 static int
99801 model_simple_fmsd (SIM_CPU *current_cpu, void *sem_arg)
99803 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99805 const IDESC * UNUSED idesc = abuf->idesc;
99806 int cycles = 0;
99808 int referenced = 0;
99809 int UNUSED insn_referenced = abuf->written;
99810 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99812 return cycles;
99813 #undef FLD
99816 static int
99817 model_simple_nfmas (SIM_CPU *current_cpu, void *sem_arg)
99819 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99821 const IDESC * UNUSED idesc = abuf->idesc;
99822 int cycles = 0;
99824 int referenced = 0;
99825 int UNUSED insn_referenced = abuf->written;
99826 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99828 return cycles;
99829 #undef FLD
99832 static int
99833 model_simple_nfmss (SIM_CPU *current_cpu, void *sem_arg)
99835 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99837 const IDESC * UNUSED idesc = abuf->idesc;
99838 int cycles = 0;
99840 int referenced = 0;
99841 int UNUSED insn_referenced = abuf->written;
99842 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99844 return cycles;
99845 #undef FLD
99848 static int
99849 model_simple_fdadds (SIM_CPU *current_cpu, void *sem_arg)
99851 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99853 const IDESC * UNUSED idesc = abuf->idesc;
99854 int cycles = 0;
99856 int referenced = 0;
99857 int UNUSED insn_referenced = abuf->written;
99858 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99860 return cycles;
99861 #undef FLD
99864 static int
99865 model_simple_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
99867 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99869 const IDESC * UNUSED idesc = abuf->idesc;
99870 int cycles = 0;
99872 int referenced = 0;
99873 int UNUSED insn_referenced = abuf->written;
99874 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99876 return cycles;
99877 #undef FLD
99880 static int
99881 model_simple_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
99883 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99885 const IDESC * UNUSED idesc = abuf->idesc;
99886 int cycles = 0;
99888 int referenced = 0;
99889 int UNUSED insn_referenced = abuf->written;
99890 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99892 return cycles;
99893 #undef FLD
99896 static int
99897 model_simple_fddivs (SIM_CPU *current_cpu, void *sem_arg)
99899 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99901 const IDESC * UNUSED idesc = abuf->idesc;
99902 int cycles = 0;
99904 int referenced = 0;
99905 int UNUSED insn_referenced = abuf->written;
99906 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99908 return cycles;
99909 #undef FLD
99912 static int
99913 model_simple_fdsads (SIM_CPU *current_cpu, void *sem_arg)
99915 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99917 const IDESC * UNUSED idesc = abuf->idesc;
99918 int cycles = 0;
99920 int referenced = 0;
99921 int UNUSED insn_referenced = abuf->written;
99922 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99924 return cycles;
99925 #undef FLD
99928 static int
99929 model_simple_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
99931 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99933 const IDESC * UNUSED idesc = abuf->idesc;
99934 int cycles = 0;
99936 int referenced = 0;
99937 int UNUSED insn_referenced = abuf->written;
99938 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99940 return cycles;
99941 #undef FLD
99944 static int
99945 model_simple_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
99947 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99949 const IDESC * UNUSED idesc = abuf->idesc;
99950 int cycles = 0;
99952 int referenced = 0;
99953 int UNUSED insn_referenced = abuf->written;
99954 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99956 return cycles;
99957 #undef FLD
99960 static int
99961 model_simple_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
99963 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99965 const IDESC * UNUSED idesc = abuf->idesc;
99966 int cycles = 0;
99968 int referenced = 0;
99969 int UNUSED insn_referenced = abuf->written;
99970 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99972 return cycles;
99973 #undef FLD
99976 static int
99977 model_simple_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
99979 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99981 const IDESC * UNUSED idesc = abuf->idesc;
99982 int cycles = 0;
99984 int referenced = 0;
99985 int UNUSED insn_referenced = abuf->written;
99986 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99988 return cycles;
99989 #undef FLD
99992 static int
99993 model_simple_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
99995 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99997 const IDESC * UNUSED idesc = abuf->idesc;
99998 int cycles = 0;
100000 int referenced = 0;
100001 int UNUSED insn_referenced = abuf->written;
100002 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100004 return cycles;
100005 #undef FLD
100008 static int
100009 model_simple_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
100011 #define FLD(f) abuf->fields.sfmt_fdmadds.f
100012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100013 const IDESC * UNUSED idesc = abuf->idesc;
100014 int cycles = 0;
100016 int referenced = 0;
100017 int UNUSED insn_referenced = abuf->written;
100018 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100020 return cycles;
100021 #undef FLD
100024 static int
100025 model_simple_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
100027 #define FLD(f) abuf->fields.sfmt_fdmadds.f
100028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100029 const IDESC * UNUSED idesc = abuf->idesc;
100030 int cycles = 0;
100032 int referenced = 0;
100033 int UNUSED insn_referenced = abuf->written;
100034 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100036 return cycles;
100037 #undef FLD
100040 static int
100041 model_simple_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
100043 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
100044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100045 const IDESC * UNUSED idesc = abuf->idesc;
100046 int cycles = 0;
100048 int referenced = 0;
100049 int UNUSED insn_referenced = abuf->written;
100050 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100052 return cycles;
100053 #undef FLD
100056 static int
100057 model_simple_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
100059 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
100060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100061 const IDESC * UNUSED idesc = abuf->idesc;
100062 int cycles = 0;
100064 int referenced = 0;
100065 int UNUSED insn_referenced = abuf->written;
100066 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100068 return cycles;
100069 #undef FLD
100072 static int
100073 model_simple_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
100075 #define FLD(f) abuf->fields.sfmt_mhsethis.f
100076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100077 const IDESC * UNUSED idesc = abuf->idesc;
100078 int cycles = 0;
100080 int referenced = 0;
100081 int UNUSED insn_referenced = abuf->written;
100082 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100084 return cycles;
100085 #undef FLD
100088 static int
100089 model_simple_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
100091 #define FLD(f) abuf->fields.sfmt_mhdsets.f
100092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100093 const IDESC * UNUSED idesc = abuf->idesc;
100094 int cycles = 0;
100096 int referenced = 0;
100097 int UNUSED insn_referenced = abuf->written;
100098 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100100 return cycles;
100101 #undef FLD
100104 static int
100105 model_simple_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
100107 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
100108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100109 const IDESC * UNUSED idesc = abuf->idesc;
100110 int cycles = 0;
100112 int referenced = 0;
100113 int UNUSED insn_referenced = abuf->written;
100114 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100116 return cycles;
100117 #undef FLD
100120 static int
100121 model_simple_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
100123 #define FLD(f) abuf->fields.sfmt_mhsethih.f
100124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100125 const IDESC * UNUSED idesc = abuf->idesc;
100126 int cycles = 0;
100128 int referenced = 0;
100129 int UNUSED insn_referenced = abuf->written;
100130 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100132 return cycles;
100133 #undef FLD
100136 static int
100137 model_simple_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
100139 #define FLD(f) abuf->fields.sfmt_mhdseth.f
100140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100141 const IDESC * UNUSED idesc = abuf->idesc;
100142 int cycles = 0;
100144 int referenced = 0;
100145 int UNUSED insn_referenced = abuf->written;
100146 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100148 return cycles;
100149 #undef FLD
100152 static int
100153 model_simple_mand (SIM_CPU *current_cpu, void *sem_arg)
100155 #define FLD(f) abuf->fields.sfmt_mwcut.f
100156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100157 const IDESC * UNUSED idesc = abuf->idesc;
100158 int cycles = 0;
100160 int referenced = 0;
100161 int UNUSED insn_referenced = abuf->written;
100162 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100164 return cycles;
100165 #undef FLD
100168 static int
100169 model_simple_mor (SIM_CPU *current_cpu, void *sem_arg)
100171 #define FLD(f) abuf->fields.sfmt_mwcut.f
100172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100173 const IDESC * UNUSED idesc = abuf->idesc;
100174 int cycles = 0;
100176 int referenced = 0;
100177 int UNUSED insn_referenced = abuf->written;
100178 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100180 return cycles;
100181 #undef FLD
100184 static int
100185 model_simple_mxor (SIM_CPU *current_cpu, void *sem_arg)
100187 #define FLD(f) abuf->fields.sfmt_mwcut.f
100188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100189 const IDESC * UNUSED idesc = abuf->idesc;
100190 int cycles = 0;
100192 int referenced = 0;
100193 int UNUSED insn_referenced = abuf->written;
100194 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100196 return cycles;
100197 #undef FLD
100200 static int
100201 model_simple_cmand (SIM_CPU *current_cpu, void *sem_arg)
100203 #define FLD(f) abuf->fields.sfmt_cmand.f
100204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100205 const IDESC * UNUSED idesc = abuf->idesc;
100206 int cycles = 0;
100208 int referenced = 0;
100209 int UNUSED insn_referenced = abuf->written;
100210 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100212 return cycles;
100213 #undef FLD
100216 static int
100217 model_simple_cmor (SIM_CPU *current_cpu, void *sem_arg)
100219 #define FLD(f) abuf->fields.sfmt_cmand.f
100220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100221 const IDESC * UNUSED idesc = abuf->idesc;
100222 int cycles = 0;
100224 int referenced = 0;
100225 int UNUSED insn_referenced = abuf->written;
100226 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100228 return cycles;
100229 #undef FLD
100232 static int
100233 model_simple_cmxor (SIM_CPU *current_cpu, void *sem_arg)
100235 #define FLD(f) abuf->fields.sfmt_cmand.f
100236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100237 const IDESC * UNUSED idesc = abuf->idesc;
100238 int cycles = 0;
100240 int referenced = 0;
100241 int UNUSED insn_referenced = abuf->written;
100242 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100244 return cycles;
100245 #undef FLD
100248 static int
100249 model_simple_mnot (SIM_CPU *current_cpu, void *sem_arg)
100251 #define FLD(f) abuf->fields.sfmt_mcut.f
100252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100253 const IDESC * UNUSED idesc = abuf->idesc;
100254 int cycles = 0;
100256 int referenced = 0;
100257 int UNUSED insn_referenced = abuf->written;
100258 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100260 return cycles;
100261 #undef FLD
100264 static int
100265 model_simple_cmnot (SIM_CPU *current_cpu, void *sem_arg)
100267 #define FLD(f) abuf->fields.sfmt_cmand.f
100268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100269 const IDESC * UNUSED idesc = abuf->idesc;
100270 int cycles = 0;
100272 int referenced = 0;
100273 int UNUSED insn_referenced = abuf->written;
100274 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100276 return cycles;
100277 #undef FLD
100280 static int
100281 model_simple_mrotli (SIM_CPU *current_cpu, void *sem_arg)
100283 #define FLD(f) abuf->fields.sfmt_mwcuti.f
100284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100285 const IDESC * UNUSED idesc = abuf->idesc;
100286 int cycles = 0;
100288 int referenced = 0;
100289 int UNUSED insn_referenced = abuf->written;
100290 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100292 return cycles;
100293 #undef FLD
100296 static int
100297 model_simple_mrotri (SIM_CPU *current_cpu, void *sem_arg)
100299 #define FLD(f) abuf->fields.sfmt_mwcuti.f
100300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100301 const IDESC * UNUSED idesc = abuf->idesc;
100302 int cycles = 0;
100304 int referenced = 0;
100305 int UNUSED insn_referenced = abuf->written;
100306 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100308 return cycles;
100309 #undef FLD
100312 static int
100313 model_simple_mwcut (SIM_CPU *current_cpu, void *sem_arg)
100315 #define FLD(f) abuf->fields.sfmt_mwcut.f
100316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100317 const IDESC * UNUSED idesc = abuf->idesc;
100318 int cycles = 0;
100320 int referenced = 0;
100321 int UNUSED insn_referenced = abuf->written;
100322 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100324 return cycles;
100325 #undef FLD
100328 static int
100329 model_simple_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
100331 #define FLD(f) abuf->fields.sfmt_mwcuti.f
100332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100333 const IDESC * UNUSED idesc = abuf->idesc;
100334 int cycles = 0;
100336 int referenced = 0;
100337 int UNUSED insn_referenced = abuf->written;
100338 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100340 return cycles;
100341 #undef FLD
100344 static int
100345 model_simple_mcut (SIM_CPU *current_cpu, void *sem_arg)
100347 #define FLD(f) abuf->fields.sfmt_mcut.f
100348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100349 const IDESC * UNUSED idesc = abuf->idesc;
100350 int cycles = 0;
100352 int referenced = 0;
100353 int UNUSED insn_referenced = abuf->written;
100354 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100356 return cycles;
100357 #undef FLD
100360 static int
100361 model_simple_mcuti (SIM_CPU *current_cpu, void *sem_arg)
100363 #define FLD(f) abuf->fields.sfmt_mcuti.f
100364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100365 const IDESC * UNUSED idesc = abuf->idesc;
100366 int cycles = 0;
100368 int referenced = 0;
100369 int UNUSED insn_referenced = abuf->written;
100370 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100372 return cycles;
100373 #undef FLD
100376 static int
100377 model_simple_mcutss (SIM_CPU *current_cpu, void *sem_arg)
100379 #define FLD(f) abuf->fields.sfmt_mcut.f
100380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100381 const IDESC * UNUSED idesc = abuf->idesc;
100382 int cycles = 0;
100384 int referenced = 0;
100385 int UNUSED insn_referenced = abuf->written;
100386 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100388 return cycles;
100389 #undef FLD
100392 static int
100393 model_simple_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
100395 #define FLD(f) abuf->fields.sfmt_mcuti.f
100396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100397 const IDESC * UNUSED idesc = abuf->idesc;
100398 int cycles = 0;
100400 int referenced = 0;
100401 int UNUSED insn_referenced = abuf->written;
100402 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100404 return cycles;
100405 #undef FLD
100408 static int
100409 model_simple_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
100411 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
100412 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100413 const IDESC * UNUSED idesc = abuf->idesc;
100414 int cycles = 0;
100416 int referenced = 0;
100417 int UNUSED insn_referenced = abuf->written;
100418 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100420 return cycles;
100421 #undef FLD
100424 static int
100425 model_simple_maveh (SIM_CPU *current_cpu, void *sem_arg)
100427 #define FLD(f) abuf->fields.sfmt_mwcut.f
100428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100429 const IDESC * UNUSED idesc = abuf->idesc;
100430 int cycles = 0;
100432 int referenced = 0;
100433 int UNUSED insn_referenced = abuf->written;
100434 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100436 return cycles;
100437 #undef FLD
100440 static int
100441 model_simple_msllhi (SIM_CPU *current_cpu, void *sem_arg)
100443 #define FLD(f) abuf->fields.sfmt_msllhi.f
100444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100445 const IDESC * UNUSED idesc = abuf->idesc;
100446 int cycles = 0;
100448 int referenced = 0;
100449 int UNUSED insn_referenced = abuf->written;
100450 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100452 return cycles;
100453 #undef FLD
100456 static int
100457 model_simple_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
100459 #define FLD(f) abuf->fields.sfmt_msllhi.f
100460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100461 const IDESC * UNUSED idesc = abuf->idesc;
100462 int cycles = 0;
100464 int referenced = 0;
100465 int UNUSED insn_referenced = abuf->written;
100466 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100468 return cycles;
100469 #undef FLD
100472 static int
100473 model_simple_msrahi (SIM_CPU *current_cpu, void *sem_arg)
100475 #define FLD(f) abuf->fields.sfmt_msllhi.f
100476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100477 const IDESC * UNUSED idesc = abuf->idesc;
100478 int cycles = 0;
100480 int referenced = 0;
100481 int UNUSED insn_referenced = abuf->written;
100482 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100484 return cycles;
100485 #undef FLD
100488 static int
100489 model_simple_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
100491 #define FLD(f) abuf->fields.sfmt_mdrotli.f
100492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100493 const IDESC * UNUSED idesc = abuf->idesc;
100494 int cycles = 0;
100496 int referenced = 0;
100497 int UNUSED insn_referenced = abuf->written;
100498 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100500 return cycles;
100501 #undef FLD
100504 static int
100505 model_simple_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
100507 #define FLD(f) abuf->fields.sfmt_mcplhi.f
100508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100509 const IDESC * UNUSED idesc = abuf->idesc;
100510 int cycles = 0;
100512 int referenced = 0;
100513 int UNUSED insn_referenced = abuf->written;
100514 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100516 return cycles;
100517 #undef FLD
100520 static int
100521 model_simple_mcpli (SIM_CPU *current_cpu, void *sem_arg)
100523 #define FLD(f) abuf->fields.sfmt_mwcuti.f
100524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100525 const IDESC * UNUSED idesc = abuf->idesc;
100526 int cycles = 0;
100528 int referenced = 0;
100529 int UNUSED insn_referenced = abuf->written;
100530 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100532 return cycles;
100533 #undef FLD
100536 static int
100537 model_simple_msaths (SIM_CPU *current_cpu, void *sem_arg)
100539 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100541 const IDESC * UNUSED idesc = abuf->idesc;
100542 int cycles = 0;
100544 int referenced = 0;
100545 int UNUSED insn_referenced = abuf->written;
100546 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100548 return cycles;
100549 #undef FLD
100552 static int
100553 model_simple_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
100555 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100557 const IDESC * UNUSED idesc = abuf->idesc;
100558 int cycles = 0;
100560 int referenced = 0;
100561 int UNUSED insn_referenced = abuf->written;
100562 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100564 return cycles;
100565 #undef FLD
100568 static int
100569 model_simple_msathu (SIM_CPU *current_cpu, void *sem_arg)
100571 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100573 const IDESC * UNUSED idesc = abuf->idesc;
100574 int cycles = 0;
100576 int referenced = 0;
100577 int UNUSED insn_referenced = abuf->written;
100578 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100580 return cycles;
100581 #undef FLD
100584 static int
100585 model_simple_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
100587 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
100588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100589 const IDESC * UNUSED idesc = abuf->idesc;
100590 int cycles = 0;
100592 int referenced = 0;
100593 int UNUSED insn_referenced = abuf->written;
100594 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100596 return cycles;
100597 #undef FLD
100600 static int
100601 model_simple_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
100603 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
100604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100605 const IDESC * UNUSED idesc = abuf->idesc;
100606 int cycles = 0;
100608 int referenced = 0;
100609 int UNUSED insn_referenced = abuf->written;
100610 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100612 return cycles;
100613 #undef FLD
100616 static int
100617 model_simple_mabshs (SIM_CPU *current_cpu, void *sem_arg)
100619 #define FLD(f) abuf->fields.sfmt_mabshs.f
100620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100621 const IDESC * UNUSED idesc = abuf->idesc;
100622 int cycles = 0;
100624 int referenced = 0;
100625 int UNUSED insn_referenced = abuf->written;
100626 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100628 return cycles;
100629 #undef FLD
100632 static int
100633 model_simple_maddhss (SIM_CPU *current_cpu, void *sem_arg)
100635 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100637 const IDESC * UNUSED idesc = abuf->idesc;
100638 int cycles = 0;
100640 int referenced = 0;
100641 int UNUSED insn_referenced = abuf->written;
100642 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100644 return cycles;
100645 #undef FLD
100648 static int
100649 model_simple_maddhus (SIM_CPU *current_cpu, void *sem_arg)
100651 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100653 const IDESC * UNUSED idesc = abuf->idesc;
100654 int cycles = 0;
100656 int referenced = 0;
100657 int UNUSED insn_referenced = abuf->written;
100658 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100660 return cycles;
100661 #undef FLD
100664 static int
100665 model_simple_msubhss (SIM_CPU *current_cpu, void *sem_arg)
100667 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100668 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100669 const IDESC * UNUSED idesc = abuf->idesc;
100670 int cycles = 0;
100672 int referenced = 0;
100673 int UNUSED insn_referenced = abuf->written;
100674 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100676 return cycles;
100677 #undef FLD
100680 static int
100681 model_simple_msubhus (SIM_CPU *current_cpu, void *sem_arg)
100683 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100685 const IDESC * UNUSED idesc = abuf->idesc;
100686 int cycles = 0;
100688 int referenced = 0;
100689 int UNUSED insn_referenced = abuf->written;
100690 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100692 return cycles;
100693 #undef FLD
100696 static int
100697 model_simple_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
100699 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100701 const IDESC * UNUSED idesc = abuf->idesc;
100702 int cycles = 0;
100704 int referenced = 0;
100705 int UNUSED insn_referenced = abuf->written;
100706 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100708 return cycles;
100709 #undef FLD
100712 static int
100713 model_simple_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
100715 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100717 const IDESC * UNUSED idesc = abuf->idesc;
100718 int cycles = 0;
100720 int referenced = 0;
100721 int UNUSED insn_referenced = abuf->written;
100722 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100724 return cycles;
100725 #undef FLD
100728 static int
100729 model_simple_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
100731 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100733 const IDESC * UNUSED idesc = abuf->idesc;
100734 int cycles = 0;
100736 int referenced = 0;
100737 int UNUSED insn_referenced = abuf->written;
100738 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100740 return cycles;
100741 #undef FLD
100744 static int
100745 model_simple_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
100747 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100749 const IDESC * UNUSED idesc = abuf->idesc;
100750 int cycles = 0;
100752 int referenced = 0;
100753 int UNUSED insn_referenced = abuf->written;
100754 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100756 return cycles;
100757 #undef FLD
100760 static int
100761 model_simple_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
100763 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100765 const IDESC * UNUSED idesc = abuf->idesc;
100766 int cycles = 0;
100768 int referenced = 0;
100769 int UNUSED insn_referenced = abuf->written;
100770 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100772 return cycles;
100773 #undef FLD
100776 static int
100777 model_simple_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
100779 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100781 const IDESC * UNUSED idesc = abuf->idesc;
100782 int cycles = 0;
100784 int referenced = 0;
100785 int UNUSED insn_referenced = abuf->written;
100786 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100788 return cycles;
100789 #undef FLD
100792 static int
100793 model_simple_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
100795 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100797 const IDESC * UNUSED idesc = abuf->idesc;
100798 int cycles = 0;
100800 int referenced = 0;
100801 int UNUSED insn_referenced = abuf->written;
100802 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100804 return cycles;
100805 #undef FLD
100808 static int
100809 model_simple_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
100811 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100813 const IDESC * UNUSED idesc = abuf->idesc;
100814 int cycles = 0;
100816 int referenced = 0;
100817 int UNUSED insn_referenced = abuf->written;
100818 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100820 return cycles;
100821 #undef FLD
100824 static int
100825 model_simple_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
100827 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100829 const IDESC * UNUSED idesc = abuf->idesc;
100830 int cycles = 0;
100832 int referenced = 0;
100833 int UNUSED insn_referenced = abuf->written;
100834 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100836 return cycles;
100837 #undef FLD
100840 static int
100841 model_simple_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
100843 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100845 const IDESC * UNUSED idesc = abuf->idesc;
100846 int cycles = 0;
100848 int referenced = 0;
100849 int UNUSED insn_referenced = abuf->written;
100850 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100852 return cycles;
100853 #undef FLD
100856 static int
100857 model_simple_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
100859 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100861 const IDESC * UNUSED idesc = abuf->idesc;
100862 int cycles = 0;
100864 int referenced = 0;
100865 int UNUSED insn_referenced = abuf->written;
100866 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100868 return cycles;
100869 #undef FLD
100872 static int
100873 model_simple_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
100875 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100877 const IDESC * UNUSED idesc = abuf->idesc;
100878 int cycles = 0;
100880 int referenced = 0;
100881 int UNUSED insn_referenced = abuf->written;
100882 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100884 return cycles;
100885 #undef FLD
100888 static int
100889 model_simple_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
100891 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100893 const IDESC * UNUSED idesc = abuf->idesc;
100894 int cycles = 0;
100896 int referenced = 0;
100897 int UNUSED insn_referenced = abuf->written;
100898 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100900 return cycles;
100901 #undef FLD
100904 static int
100905 model_simple_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
100907 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100909 const IDESC * UNUSED idesc = abuf->idesc;
100910 int cycles = 0;
100912 int referenced = 0;
100913 int UNUSED insn_referenced = abuf->written;
100914 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100916 return cycles;
100917 #undef FLD
100920 static int
100921 model_simple_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
100923 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
100924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100925 const IDESC * UNUSED idesc = abuf->idesc;
100926 int cycles = 0;
100928 int referenced = 0;
100929 int UNUSED insn_referenced = abuf->written;
100930 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100932 return cycles;
100933 #undef FLD
100936 static int
100937 model_simple_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
100939 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
100940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100941 const IDESC * UNUSED idesc = abuf->idesc;
100942 int cycles = 0;
100944 int referenced = 0;
100945 int UNUSED insn_referenced = abuf->written;
100946 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100948 return cycles;
100949 #undef FLD
100952 static int
100953 model_simple_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
100955 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
100956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100957 const IDESC * UNUSED idesc = abuf->idesc;
100958 int cycles = 0;
100960 int referenced = 0;
100961 int UNUSED insn_referenced = abuf->written;
100962 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100964 return cycles;
100965 #undef FLD
100968 static int
100969 model_simple_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
100971 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
100972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100973 const IDESC * UNUSED idesc = abuf->idesc;
100974 int cycles = 0;
100976 int referenced = 0;
100977 int UNUSED insn_referenced = abuf->written;
100978 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100980 return cycles;
100981 #undef FLD
100984 static int
100985 model_simple_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
100987 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
100988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100989 const IDESC * UNUSED idesc = abuf->idesc;
100990 int cycles = 0;
100992 int referenced = 0;
100993 int UNUSED insn_referenced = abuf->written;
100994 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100996 return cycles;
100997 #undef FLD
101000 static int
101001 model_simple_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
101003 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101005 const IDESC * UNUSED idesc = abuf->idesc;
101006 int cycles = 0;
101008 int referenced = 0;
101009 int UNUSED insn_referenced = abuf->written;
101010 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101012 return cycles;
101013 #undef FLD
101016 static int
101017 model_simple_masaccs (SIM_CPU *current_cpu, void *sem_arg)
101019 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101021 const IDESC * UNUSED idesc = abuf->idesc;
101022 int cycles = 0;
101024 int referenced = 0;
101025 int UNUSED insn_referenced = abuf->written;
101026 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101028 return cycles;
101029 #undef FLD
101032 static int
101033 model_simple_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
101035 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101037 const IDESC * UNUSED idesc = abuf->idesc;
101038 int cycles = 0;
101040 int referenced = 0;
101041 int UNUSED insn_referenced = abuf->written;
101042 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101044 return cycles;
101045 #undef FLD
101048 static int
101049 model_simple_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
101051 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101053 const IDESC * UNUSED idesc = abuf->idesc;
101054 int cycles = 0;
101056 int referenced = 0;
101057 int UNUSED insn_referenced = abuf->written;
101058 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101060 return cycles;
101061 #undef FLD
101064 static int
101065 model_simple_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
101067 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101069 const IDESC * UNUSED idesc = abuf->idesc;
101070 int cycles = 0;
101072 int referenced = 0;
101073 int UNUSED insn_referenced = abuf->written;
101074 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101076 return cycles;
101077 #undef FLD
101080 static int
101081 model_simple_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
101083 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101085 const IDESC * UNUSED idesc = abuf->idesc;
101086 int cycles = 0;
101088 int referenced = 0;
101089 int UNUSED insn_referenced = abuf->written;
101090 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101092 return cycles;
101093 #undef FLD
101096 static int
101097 model_simple_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
101099 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101101 const IDESC * UNUSED idesc = abuf->idesc;
101102 int cycles = 0;
101104 int referenced = 0;
101105 int UNUSED insn_referenced = abuf->written;
101106 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101108 return cycles;
101109 #undef FLD
101112 static int
101113 model_simple_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
101115 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101117 const IDESC * UNUSED idesc = abuf->idesc;
101118 int cycles = 0;
101120 int referenced = 0;
101121 int UNUSED insn_referenced = abuf->written;
101122 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101124 return cycles;
101125 #undef FLD
101128 static int
101129 model_simple_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
101131 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101133 const IDESC * UNUSED idesc = abuf->idesc;
101134 int cycles = 0;
101136 int referenced = 0;
101137 int UNUSED insn_referenced = abuf->written;
101138 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101140 return cycles;
101141 #undef FLD
101144 static int
101145 model_simple_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
101147 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101149 const IDESC * UNUSED idesc = abuf->idesc;
101150 int cycles = 0;
101152 int referenced = 0;
101153 int UNUSED insn_referenced = abuf->written;
101154 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101156 return cycles;
101157 #undef FLD
101160 static int
101161 model_simple_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
101163 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101165 const IDESC * UNUSED idesc = abuf->idesc;
101166 int cycles = 0;
101168 int referenced = 0;
101169 int UNUSED insn_referenced = abuf->written;
101170 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101172 return cycles;
101173 #undef FLD
101176 static int
101177 model_simple_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
101179 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101181 const IDESC * UNUSED idesc = abuf->idesc;
101182 int cycles = 0;
101184 int referenced = 0;
101185 int UNUSED insn_referenced = abuf->written;
101186 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101188 return cycles;
101189 #undef FLD
101192 static int
101193 model_simple_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
101195 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101197 const IDESC * UNUSED idesc = abuf->idesc;
101198 int cycles = 0;
101200 int referenced = 0;
101201 int UNUSED insn_referenced = abuf->written;
101202 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101204 return cycles;
101205 #undef FLD
101208 static int
101209 model_simple_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
101211 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101213 const IDESC * UNUSED idesc = abuf->idesc;
101214 int cycles = 0;
101216 int referenced = 0;
101217 int UNUSED insn_referenced = abuf->written;
101218 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101220 return cycles;
101221 #undef FLD
101224 static int
101225 model_simple_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
101227 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101229 const IDESC * UNUSED idesc = abuf->idesc;
101230 int cycles = 0;
101232 int referenced = 0;
101233 int UNUSED insn_referenced = abuf->written;
101234 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101236 return cycles;
101237 #undef FLD
101240 static int
101241 model_simple_mmachs (SIM_CPU *current_cpu, void *sem_arg)
101243 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101245 const IDESC * UNUSED idesc = abuf->idesc;
101246 int cycles = 0;
101248 int referenced = 0;
101249 int UNUSED insn_referenced = abuf->written;
101250 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101252 return cycles;
101253 #undef FLD
101256 static int
101257 model_simple_mmachu (SIM_CPU *current_cpu, void *sem_arg)
101259 #define FLD(f) abuf->fields.sfmt_cmmachu.f
101260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101261 const IDESC * UNUSED idesc = abuf->idesc;
101262 int cycles = 0;
101264 int referenced = 0;
101265 int UNUSED insn_referenced = abuf->written;
101266 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101268 return cycles;
101269 #undef FLD
101272 static int
101273 model_simple_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
101275 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101277 const IDESC * UNUSED idesc = abuf->idesc;
101278 int cycles = 0;
101280 int referenced = 0;
101281 int UNUSED insn_referenced = abuf->written;
101282 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101284 return cycles;
101285 #undef FLD
101288 static int
101289 model_simple_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
101291 #define FLD(f) abuf->fields.sfmt_cmmachu.f
101292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101293 const IDESC * UNUSED idesc = abuf->idesc;
101294 int cycles = 0;
101296 int referenced = 0;
101297 int UNUSED insn_referenced = abuf->written;
101298 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101300 return cycles;
101301 #undef FLD
101304 static int
101305 model_simple_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
101307 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101309 const IDESC * UNUSED idesc = abuf->idesc;
101310 int cycles = 0;
101312 int referenced = 0;
101313 int UNUSED insn_referenced = abuf->written;
101314 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101316 return cycles;
101317 #undef FLD
101320 static int
101321 model_simple_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
101323 #define FLD(f) abuf->fields.sfmt_cmmachu.f
101324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101325 const IDESC * UNUSED idesc = abuf->idesc;
101326 int cycles = 0;
101328 int referenced = 0;
101329 int UNUSED insn_referenced = abuf->written;
101330 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101332 return cycles;
101333 #undef FLD
101336 static int
101337 model_simple_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
101339 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101341 const IDESC * UNUSED idesc = abuf->idesc;
101342 int cycles = 0;
101344 int referenced = 0;
101345 int UNUSED insn_referenced = abuf->written;
101346 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101348 return cycles;
101349 #undef FLD
101352 static int
101353 model_simple_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
101355 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
101356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101357 const IDESC * UNUSED idesc = abuf->idesc;
101358 int cycles = 0;
101360 int referenced = 0;
101361 int UNUSED insn_referenced = abuf->written;
101362 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101364 return cycles;
101365 #undef FLD
101368 static int
101369 model_simple_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
101371 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101373 const IDESC * UNUSED idesc = abuf->idesc;
101374 int cycles = 0;
101376 int referenced = 0;
101377 int UNUSED insn_referenced = abuf->written;
101378 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101380 return cycles;
101381 #undef FLD
101384 static int
101385 model_simple_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
101387 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
101388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101389 const IDESC * UNUSED idesc = abuf->idesc;
101390 int cycles = 0;
101392 int referenced = 0;
101393 int UNUSED insn_referenced = abuf->written;
101394 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101396 return cycles;
101397 #undef FLD
101400 static int
101401 model_simple_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
101403 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101405 const IDESC * UNUSED idesc = abuf->idesc;
101406 int cycles = 0;
101408 int referenced = 0;
101409 int UNUSED insn_referenced = abuf->written;
101410 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101412 return cycles;
101413 #undef FLD
101416 static int
101417 model_simple_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
101419 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101421 const IDESC * UNUSED idesc = abuf->idesc;
101422 int cycles = 0;
101424 int referenced = 0;
101425 int UNUSED insn_referenced = abuf->written;
101426 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101428 return cycles;
101429 #undef FLD
101432 static int
101433 model_simple_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
101435 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101437 const IDESC * UNUSED idesc = abuf->idesc;
101438 int cycles = 0;
101440 int referenced = 0;
101441 int UNUSED insn_referenced = abuf->written;
101442 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101444 return cycles;
101445 #undef FLD
101448 static int
101449 model_simple_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
101451 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101453 const IDESC * UNUSED idesc = abuf->idesc;
101454 int cycles = 0;
101456 int referenced = 0;
101457 int UNUSED insn_referenced = abuf->written;
101458 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101460 return cycles;
101461 #undef FLD
101464 static int
101465 model_simple_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
101467 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101469 const IDESC * UNUSED idesc = abuf->idesc;
101470 int cycles = 0;
101472 int referenced = 0;
101473 int UNUSED insn_referenced = abuf->written;
101474 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101476 return cycles;
101477 #undef FLD
101480 static int
101481 model_simple_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
101483 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101485 const IDESC * UNUSED idesc = abuf->idesc;
101486 int cycles = 0;
101488 int referenced = 0;
101489 int UNUSED insn_referenced = abuf->written;
101490 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101492 return cycles;
101493 #undef FLD
101496 static int
101497 model_simple_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
101499 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101501 const IDESC * UNUSED idesc = abuf->idesc;
101502 int cycles = 0;
101504 int referenced = 0;
101505 int UNUSED insn_referenced = abuf->written;
101506 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101508 return cycles;
101509 #undef FLD
101512 static int
101513 model_simple_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
101515 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101517 const IDESC * UNUSED idesc = abuf->idesc;
101518 int cycles = 0;
101520 int referenced = 0;
101521 int UNUSED insn_referenced = abuf->written;
101522 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101524 return cycles;
101525 #undef FLD
101528 static int
101529 model_simple_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
101531 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101533 const IDESC * UNUSED idesc = abuf->idesc;
101534 int cycles = 0;
101536 int referenced = 0;
101537 int UNUSED insn_referenced = abuf->written;
101538 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101540 return cycles;
101541 #undef FLD
101544 static int
101545 model_simple_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
101547 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101549 const IDESC * UNUSED idesc = abuf->idesc;
101550 int cycles = 0;
101552 int referenced = 0;
101553 int UNUSED insn_referenced = abuf->written;
101554 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101556 return cycles;
101557 #undef FLD
101560 static int
101561 model_simple_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
101563 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101565 const IDESC * UNUSED idesc = abuf->idesc;
101566 int cycles = 0;
101568 int referenced = 0;
101569 int UNUSED insn_referenced = abuf->written;
101570 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101572 return cycles;
101573 #undef FLD
101576 static int
101577 model_simple_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
101579 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101581 const IDESC * UNUSED idesc = abuf->idesc;
101582 int cycles = 0;
101584 int referenced = 0;
101585 int UNUSED insn_referenced = abuf->written;
101586 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101588 return cycles;
101589 #undef FLD
101592 static int
101593 model_simple_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
101595 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101597 const IDESC * UNUSED idesc = abuf->idesc;
101598 int cycles = 0;
101600 int referenced = 0;
101601 int UNUSED insn_referenced = abuf->written;
101602 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101604 return cycles;
101605 #undef FLD
101608 static int
101609 model_simple_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
101611 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101613 const IDESC * UNUSED idesc = abuf->idesc;
101614 int cycles = 0;
101616 int referenced = 0;
101617 int UNUSED insn_referenced = abuf->written;
101618 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101620 return cycles;
101621 #undef FLD
101624 static int
101625 model_simple_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
101627 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101629 const IDESC * UNUSED idesc = abuf->idesc;
101630 int cycles = 0;
101632 int referenced = 0;
101633 int UNUSED insn_referenced = abuf->written;
101634 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101636 return cycles;
101637 #undef FLD
101640 static int
101641 model_simple_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
101643 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
101644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101645 const IDESC * UNUSED idesc = abuf->idesc;
101646 int cycles = 0;
101648 int referenced = 0;
101649 int UNUSED insn_referenced = abuf->written;
101650 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101652 return cycles;
101653 #undef FLD
101656 static int
101657 model_simple_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
101659 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
101660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101661 const IDESC * UNUSED idesc = abuf->idesc;
101662 int cycles = 0;
101664 int referenced = 0;
101665 int UNUSED insn_referenced = abuf->written;
101666 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101668 return cycles;
101669 #undef FLD
101672 static int
101673 model_simple_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
101675 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
101676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101677 const IDESC * UNUSED idesc = abuf->idesc;
101678 int cycles = 0;
101680 int referenced = 0;
101681 int UNUSED insn_referenced = abuf->written;
101682 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101684 return cycles;
101685 #undef FLD
101688 static int
101689 model_simple_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
101691 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
101692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101693 const IDESC * UNUSED idesc = abuf->idesc;
101694 int cycles = 0;
101696 int referenced = 0;
101697 int UNUSED insn_referenced = abuf->written;
101698 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101700 return cycles;
101701 #undef FLD
101704 static int
101705 model_simple_mpackh (SIM_CPU *current_cpu, void *sem_arg)
101707 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
101708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101709 const IDESC * UNUSED idesc = abuf->idesc;
101710 int cycles = 0;
101712 int referenced = 0;
101713 int UNUSED insn_referenced = abuf->written;
101714 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101716 return cycles;
101717 #undef FLD
101720 static int
101721 model_simple_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
101723 #define FLD(f) abuf->fields.sfmt_mdpackh.f
101724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101725 const IDESC * UNUSED idesc = abuf->idesc;
101726 int cycles = 0;
101728 int referenced = 0;
101729 int UNUSED insn_referenced = abuf->written;
101730 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101732 return cycles;
101733 #undef FLD
101736 static int
101737 model_simple_munpackh (SIM_CPU *current_cpu, void *sem_arg)
101739 #define FLD(f) abuf->fields.sfmt_munpackh.f
101740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101741 const IDESC * UNUSED idesc = abuf->idesc;
101742 int cycles = 0;
101744 int referenced = 0;
101745 int UNUSED insn_referenced = abuf->written;
101746 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101748 return cycles;
101749 #undef FLD
101752 static int
101753 model_simple_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
101755 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
101756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101757 const IDESC * UNUSED idesc = abuf->idesc;
101758 int cycles = 0;
101760 int referenced = 0;
101761 int UNUSED insn_referenced = abuf->written;
101762 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101764 return cycles;
101765 #undef FLD
101768 static int
101769 model_simple_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
101771 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
101772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101773 const IDESC * UNUSED idesc = abuf->idesc;
101774 int cycles = 0;
101776 int referenced = 0;
101777 int UNUSED insn_referenced = abuf->written;
101778 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101780 return cycles;
101781 #undef FLD
101784 static int
101785 model_simple_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
101787 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
101788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101789 const IDESC * UNUSED idesc = abuf->idesc;
101790 int cycles = 0;
101792 int referenced = 0;
101793 int UNUSED insn_referenced = abuf->written;
101794 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101796 return cycles;
101797 #undef FLD
101800 static int
101801 model_simple_mhtob (SIM_CPU *current_cpu, void *sem_arg)
101803 #define FLD(f) abuf->fields.sfmt_cmhtob.f
101804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101805 const IDESC * UNUSED idesc = abuf->idesc;
101806 int cycles = 0;
101808 int referenced = 0;
101809 int UNUSED insn_referenced = abuf->written;
101810 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101812 return cycles;
101813 #undef FLD
101816 static int
101817 model_simple_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
101819 #define FLD(f) abuf->fields.sfmt_cmhtob.f
101820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101821 const IDESC * UNUSED idesc = abuf->idesc;
101822 int cycles = 0;
101824 int referenced = 0;
101825 int UNUSED insn_referenced = abuf->written;
101826 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101828 return cycles;
101829 #undef FLD
101832 static int
101833 model_simple_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
101835 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
101836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101837 const IDESC * UNUSED idesc = abuf->idesc;
101838 int cycles = 0;
101840 int referenced = 0;
101841 int UNUSED insn_referenced = abuf->written;
101842 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101844 return cycles;
101845 #undef FLD
101848 static int
101849 model_simple_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
101851 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
101852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101853 const IDESC * UNUSED idesc = abuf->idesc;
101854 int cycles = 0;
101856 int referenced = 0;
101857 int UNUSED insn_referenced = abuf->written;
101858 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101860 return cycles;
101861 #undef FLD
101864 static int
101865 model_simple_mnop (SIM_CPU *current_cpu, void *sem_arg)
101867 #define FLD(f) abuf->fields.sfmt_empty.f
101868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101869 const IDESC * UNUSED idesc = abuf->idesc;
101870 int cycles = 0;
101872 int referenced = 0;
101873 int UNUSED insn_referenced = abuf->written;
101874 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101876 return cycles;
101877 #undef FLD
101880 static int
101881 model_simple_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
101883 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101885 const IDESC * UNUSED idesc = abuf->idesc;
101886 int cycles = 0;
101888 int referenced = 0;
101889 int UNUSED insn_referenced = abuf->written;
101890 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101892 return cycles;
101893 #undef FLD
101896 static int
101897 model_simple_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
101899 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101901 const IDESC * UNUSED idesc = abuf->idesc;
101902 int cycles = 0;
101904 int referenced = 0;
101905 int UNUSED insn_referenced = abuf->written;
101906 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101908 return cycles;
101909 #undef FLD
101912 static int
101913 model_simple_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
101915 #define FLD(f) abuf->fields.sfmt_mcuti.f
101916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101917 const IDESC * UNUSED idesc = abuf->idesc;
101918 int cycles = 0;
101920 int referenced = 0;
101921 int UNUSED insn_referenced = abuf->written;
101922 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101924 return cycles;
101925 #undef FLD
101928 static int
101929 model_simple_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
101931 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
101932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101933 const IDESC * UNUSED idesc = abuf->idesc;
101934 int cycles = 0;
101936 int referenced = 0;
101937 int UNUSED insn_referenced = abuf->written;
101938 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101940 return cycles;
101941 #undef FLD
101944 static int
101945 model_simple_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
101947 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101949 const IDESC * UNUSED idesc = abuf->idesc;
101950 int cycles = 0;
101952 int referenced = 0;
101953 int UNUSED insn_referenced = abuf->written;
101954 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101956 return cycles;
101957 #undef FLD
101960 static int
101961 model_simple_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
101963 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
101964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101965 const IDESC * UNUSED idesc = abuf->idesc;
101966 int cycles = 0;
101968 int referenced = 0;
101969 int UNUSED insn_referenced = abuf->written;
101970 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101972 return cycles;
101973 #undef FLD
101976 static int
101977 model_simple_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
101979 #define FLD(f) abuf->fields.sfmt_empty.f
101980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101981 const IDESC * UNUSED idesc = abuf->idesc;
101982 int cycles = 0;
101984 int referenced = 0;
101985 int UNUSED insn_referenced = abuf->written;
101986 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101988 return cycles;
101989 #undef FLD
101992 static int
101993 model_simple_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
101995 #define FLD(f) abuf->fields.sfmt_empty.f
101996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101997 const IDESC * UNUSED idesc = abuf->idesc;
101998 int cycles = 0;
102000 int referenced = 0;
102001 int UNUSED insn_referenced = abuf->written;
102002 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
102004 return cycles;
102005 #undef FLD
102008 static int
102009 model_simple_fnop (SIM_CPU *current_cpu, void *sem_arg)
102011 #define FLD(f) abuf->fields.sfmt_empty.f
102012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
102013 const IDESC * UNUSED idesc = abuf->idesc;
102014 int cycles = 0;
102016 int referenced = 0;
102017 int UNUSED insn_referenced = abuf->written;
102018 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
102020 return cycles;
102021 #undef FLD
102024 /* We assume UNIT_NONE == 0 because the tables don't always terminate
102025 entries with it. */
102027 /* Model timing data for `frv'. */
102029 static const INSN_TIMING frv_timing[] = {
102030 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102031 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102032 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102033 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102034 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102035 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102036 { FRVBF_INSN_ADD, model_frv_add, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102037 { FRVBF_INSN_SUB, model_frv_sub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102038 { FRVBF_INSN_AND, model_frv_and, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102039 { FRVBF_INSN_OR, model_frv_or, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102040 { FRVBF_INSN_XOR, model_frv_xor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102041 { FRVBF_INSN_NOT, model_frv_not, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102042 { FRVBF_INSN_SDIV, model_frv_sdiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102043 { FRVBF_INSN_NSDIV, model_frv_nsdiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102044 { FRVBF_INSN_UDIV, model_frv_udiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102045 { FRVBF_INSN_NUDIV, model_frv_nudiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102046 { FRVBF_INSN_SMUL, model_frv_smul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102047 { FRVBF_INSN_UMUL, model_frv_umul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102048 { FRVBF_INSN_SMU, model_frv_smu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102049 { FRVBF_INSN_SMASS, model_frv_smass, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102050 { FRVBF_INSN_SMSSS, model_frv_smsss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102051 { FRVBF_INSN_SLL, model_frv_sll, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102052 { FRVBF_INSN_SRL, model_frv_srl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102053 { FRVBF_INSN_SRA, model_frv_sra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102054 { FRVBF_INSN_SLASS, model_frv_slass, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102055 { FRVBF_INSN_SCUTSS, model_frv_scutss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102056 { FRVBF_INSN_SCAN, model_frv_scan, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102057 { FRVBF_INSN_CADD, model_frv_cadd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102058 { FRVBF_INSN_CSUB, model_frv_csub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102059 { FRVBF_INSN_CAND, model_frv_cand, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102060 { FRVBF_INSN_COR, model_frv_cor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102061 { FRVBF_INSN_CXOR, model_frv_cxor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102062 { FRVBF_INSN_CNOT, model_frv_cnot, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102063 { FRVBF_INSN_CSMUL, model_frv_csmul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102064 { FRVBF_INSN_CSDIV, model_frv_csdiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102065 { FRVBF_INSN_CUDIV, model_frv_cudiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102066 { FRVBF_INSN_CSLL, model_frv_csll, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102067 { FRVBF_INSN_CSRL, model_frv_csrl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102068 { FRVBF_INSN_CSRA, model_frv_csra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102069 { FRVBF_INSN_CSCAN, model_frv_cscan, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102070 { FRVBF_INSN_ADDCC, model_frv_addcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102071 { FRVBF_INSN_SUBCC, model_frv_subcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102072 { FRVBF_INSN_ANDCC, model_frv_andcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102073 { FRVBF_INSN_ORCC, model_frv_orcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102074 { FRVBF_INSN_XORCC, model_frv_xorcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102075 { FRVBF_INSN_SLLCC, model_frv_sllcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102076 { FRVBF_INSN_SRLCC, model_frv_srlcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102077 { FRVBF_INSN_SRACC, model_frv_sracc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102078 { FRVBF_INSN_SMULCC, model_frv_smulcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102079 { FRVBF_INSN_UMULCC, model_frv_umulcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102080 { FRVBF_INSN_CADDCC, model_frv_caddcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102081 { FRVBF_INSN_CSUBCC, model_frv_csubcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102082 { FRVBF_INSN_CSMULCC, model_frv_csmulcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102083 { FRVBF_INSN_CANDCC, model_frv_candcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102084 { FRVBF_INSN_CORCC, model_frv_corcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102085 { FRVBF_INSN_CXORCC, model_frv_cxorcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102086 { FRVBF_INSN_CSLLCC, model_frv_csllcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102087 { FRVBF_INSN_CSRLCC, model_frv_csrlcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102088 { FRVBF_INSN_CSRACC, model_frv_csracc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102089 { FRVBF_INSN_ADDX, model_frv_addx, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102090 { FRVBF_INSN_SUBX, model_frv_subx, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102091 { FRVBF_INSN_ADDXCC, model_frv_addxcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102092 { FRVBF_INSN_SUBXCC, model_frv_subxcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102093 { FRVBF_INSN_ADDSS, model_frv_addss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102094 { FRVBF_INSN_SUBSS, model_frv_subss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102095 { FRVBF_INSN_ADDI, model_frv_addi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102096 { FRVBF_INSN_SUBI, model_frv_subi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102097 { FRVBF_INSN_ANDI, model_frv_andi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102098 { FRVBF_INSN_ORI, model_frv_ori, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102099 { FRVBF_INSN_XORI, model_frv_xori, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102100 { FRVBF_INSN_SDIVI, model_frv_sdivi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102101 { FRVBF_INSN_NSDIVI, model_frv_nsdivi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102102 { FRVBF_INSN_UDIVI, model_frv_udivi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102103 { FRVBF_INSN_NUDIVI, model_frv_nudivi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102104 { FRVBF_INSN_SMULI, model_frv_smuli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102105 { FRVBF_INSN_UMULI, model_frv_umuli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102106 { FRVBF_INSN_SLLI, model_frv_slli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102107 { FRVBF_INSN_SRLI, model_frv_srli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102108 { FRVBF_INSN_SRAI, model_frv_srai, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102109 { FRVBF_INSN_SCANI, model_frv_scani, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102110 { FRVBF_INSN_ADDICC, model_frv_addicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102111 { FRVBF_INSN_SUBICC, model_frv_subicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102112 { FRVBF_INSN_ANDICC, model_frv_andicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102113 { FRVBF_INSN_ORICC, model_frv_oricc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102114 { FRVBF_INSN_XORICC, model_frv_xoricc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102115 { FRVBF_INSN_SMULICC, model_frv_smulicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102116 { FRVBF_INSN_UMULICC, model_frv_umulicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102117 { FRVBF_INSN_SLLICC, model_frv_sllicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102118 { FRVBF_INSN_SRLICC, model_frv_srlicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102119 { FRVBF_INSN_SRAICC, model_frv_sraicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102120 { FRVBF_INSN_ADDXI, model_frv_addxi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102121 { FRVBF_INSN_SUBXI, model_frv_subxi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102122 { FRVBF_INSN_ADDXICC, model_frv_addxicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102123 { FRVBF_INSN_SUBXICC, model_frv_subxicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102124 { FRVBF_INSN_CMPB, model_frv_cmpb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102125 { FRVBF_INSN_CMPBA, model_frv_cmpba, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102126 { FRVBF_INSN_SETLO, model_frv_setlo, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102127 { FRVBF_INSN_SETHI, model_frv_sethi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102128 { FRVBF_INSN_SETLOS, model_frv_setlos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102129 { FRVBF_INSN_LDSB, model_frv_ldsb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102130 { FRVBF_INSN_LDUB, model_frv_ldub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102131 { FRVBF_INSN_LDSH, model_frv_ldsh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102132 { FRVBF_INSN_LDUH, model_frv_lduh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102133 { FRVBF_INSN_LD, model_frv_ld, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102134 { FRVBF_INSN_LDBF, model_frv_ldbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102135 { FRVBF_INSN_LDHF, model_frv_ldhf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102136 { FRVBF_INSN_LDF, model_frv_ldf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102137 { FRVBF_INSN_LDC, model_frv_ldc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102138 { FRVBF_INSN_NLDSB, model_frv_nldsb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102139 { FRVBF_INSN_NLDUB, model_frv_nldub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102140 { FRVBF_INSN_NLDSH, model_frv_nldsh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102141 { FRVBF_INSN_NLDUH, model_frv_nlduh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102142 { FRVBF_INSN_NLD, model_frv_nld, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102143 { FRVBF_INSN_NLDBF, model_frv_nldbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102144 { FRVBF_INSN_NLDHF, model_frv_nldhf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102145 { FRVBF_INSN_NLDF, model_frv_nldf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102146 { FRVBF_INSN_LDD, model_frv_ldd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102147 { FRVBF_INSN_LDDF, model_frv_lddf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102148 { FRVBF_INSN_LDDC, model_frv_lddc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102149 { FRVBF_INSN_NLDD, model_frv_nldd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102150 { FRVBF_INSN_NLDDF, model_frv_nlddf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102151 { FRVBF_INSN_LDQ, model_frv_ldq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102152 { FRVBF_INSN_LDQF, model_frv_ldqf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102153 { FRVBF_INSN_LDQC, model_frv_ldqc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102154 { FRVBF_INSN_NLDQ, model_frv_nldq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102155 { FRVBF_INSN_NLDQF, model_frv_nldqf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102156 { FRVBF_INSN_LDSBU, model_frv_ldsbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102157 { FRVBF_INSN_LDUBU, model_frv_ldubu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102158 { FRVBF_INSN_LDSHU, model_frv_ldshu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102159 { FRVBF_INSN_LDUHU, model_frv_lduhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102160 { FRVBF_INSN_LDU, model_frv_ldu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102161 { FRVBF_INSN_NLDSBU, model_frv_nldsbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102162 { FRVBF_INSN_NLDUBU, model_frv_nldubu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102163 { FRVBF_INSN_NLDSHU, model_frv_nldshu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102164 { FRVBF_INSN_NLDUHU, model_frv_nlduhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102165 { FRVBF_INSN_NLDU, model_frv_nldu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102166 { FRVBF_INSN_LDBFU, model_frv_ldbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102167 { FRVBF_INSN_LDHFU, model_frv_ldhfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102168 { FRVBF_INSN_LDFU, model_frv_ldfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102169 { FRVBF_INSN_LDCU, model_frv_ldcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102170 { FRVBF_INSN_NLDBFU, model_frv_nldbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102171 { FRVBF_INSN_NLDHFU, model_frv_nldhfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102172 { FRVBF_INSN_NLDFU, model_frv_nldfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102173 { FRVBF_INSN_LDDU, model_frv_lddu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102174 { FRVBF_INSN_NLDDU, model_frv_nlddu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102175 { FRVBF_INSN_LDDFU, model_frv_lddfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102176 { FRVBF_INSN_LDDCU, model_frv_lddcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102177 { FRVBF_INSN_NLDDFU, model_frv_nlddfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102178 { FRVBF_INSN_LDQU, model_frv_ldqu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102179 { FRVBF_INSN_NLDQU, model_frv_nldqu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102180 { FRVBF_INSN_LDQFU, model_frv_ldqfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102181 { FRVBF_INSN_LDQCU, model_frv_ldqcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102182 { FRVBF_INSN_NLDQFU, model_frv_nldqfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102183 { FRVBF_INSN_LDSBI, model_frv_ldsbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102184 { FRVBF_INSN_LDSHI, model_frv_ldshi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102185 { FRVBF_INSN_LDI, model_frv_ldi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102186 { FRVBF_INSN_LDUBI, model_frv_ldubi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102187 { FRVBF_INSN_LDUHI, model_frv_lduhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102188 { FRVBF_INSN_LDBFI, model_frv_ldbfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102189 { FRVBF_INSN_LDHFI, model_frv_ldhfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102190 { FRVBF_INSN_LDFI, model_frv_ldfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102191 { FRVBF_INSN_NLDSBI, model_frv_nldsbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102192 { FRVBF_INSN_NLDUBI, model_frv_nldubi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102193 { FRVBF_INSN_NLDSHI, model_frv_nldshi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102194 { FRVBF_INSN_NLDUHI, model_frv_nlduhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102195 { FRVBF_INSN_NLDI, model_frv_nldi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102196 { FRVBF_INSN_NLDBFI, model_frv_nldbfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102197 { FRVBF_INSN_NLDHFI, model_frv_nldhfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102198 { FRVBF_INSN_NLDFI, model_frv_nldfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102199 { FRVBF_INSN_LDDI, model_frv_lddi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102200 { FRVBF_INSN_LDDFI, model_frv_lddfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102201 { FRVBF_INSN_NLDDI, model_frv_nlddi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102202 { FRVBF_INSN_NLDDFI, model_frv_nlddfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102203 { FRVBF_INSN_LDQI, model_frv_ldqi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102204 { FRVBF_INSN_LDQFI, model_frv_ldqfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102205 { FRVBF_INSN_NLDQFI, model_frv_nldqfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102206 { FRVBF_INSN_STB, model_frv_stb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102207 { FRVBF_INSN_STH, model_frv_sth, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102208 { FRVBF_INSN_ST, model_frv_st, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102209 { FRVBF_INSN_STBF, model_frv_stbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102210 { FRVBF_INSN_STHF, model_frv_sthf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102211 { FRVBF_INSN_STF, model_frv_stf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102212 { FRVBF_INSN_STC, model_frv_stc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102213 { FRVBF_INSN_STD, model_frv_std, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102214 { FRVBF_INSN_STDF, model_frv_stdf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102215 { FRVBF_INSN_STDC, model_frv_stdc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102216 { FRVBF_INSN_STQ, model_frv_stq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102217 { FRVBF_INSN_STQF, model_frv_stqf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102218 { FRVBF_INSN_STQC, model_frv_stqc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102219 { FRVBF_INSN_STBU, model_frv_stbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102220 { FRVBF_INSN_STHU, model_frv_sthu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102221 { FRVBF_INSN_STU, model_frv_stu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102222 { FRVBF_INSN_STBFU, model_frv_stbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102223 { FRVBF_INSN_STHFU, model_frv_sthfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102224 { FRVBF_INSN_STFU, model_frv_stfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102225 { FRVBF_INSN_STCU, model_frv_stcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102226 { FRVBF_INSN_STDU, model_frv_stdu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102227 { FRVBF_INSN_STDFU, model_frv_stdfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102228 { FRVBF_INSN_STDCU, model_frv_stdcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102229 { FRVBF_INSN_STQU, model_frv_stqu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102230 { FRVBF_INSN_STQFU, model_frv_stqfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102231 { FRVBF_INSN_STQCU, model_frv_stqcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102232 { FRVBF_INSN_CLDSB, model_frv_cldsb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102233 { FRVBF_INSN_CLDUB, model_frv_cldub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102234 { FRVBF_INSN_CLDSH, model_frv_cldsh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102235 { FRVBF_INSN_CLDUH, model_frv_clduh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102236 { FRVBF_INSN_CLD, model_frv_cld, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102237 { FRVBF_INSN_CLDBF, model_frv_cldbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102238 { FRVBF_INSN_CLDHF, model_frv_cldhf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102239 { FRVBF_INSN_CLDF, model_frv_cldf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102240 { FRVBF_INSN_CLDD, model_frv_cldd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102241 { FRVBF_INSN_CLDDF, model_frv_clddf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102242 { FRVBF_INSN_CLDQ, model_frv_cldq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102243 { FRVBF_INSN_CLDSBU, model_frv_cldsbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102244 { FRVBF_INSN_CLDUBU, model_frv_cldubu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102245 { FRVBF_INSN_CLDSHU, model_frv_cldshu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102246 { FRVBF_INSN_CLDUHU, model_frv_clduhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102247 { FRVBF_INSN_CLDU, model_frv_cldu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102248 { FRVBF_INSN_CLDBFU, model_frv_cldbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102249 { FRVBF_INSN_CLDHFU, model_frv_cldhfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102250 { FRVBF_INSN_CLDFU, model_frv_cldfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102251 { FRVBF_INSN_CLDDU, model_frv_clddu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102252 { FRVBF_INSN_CLDDFU, model_frv_clddfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102253 { FRVBF_INSN_CLDQU, model_frv_cldqu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102254 { FRVBF_INSN_CSTB, model_frv_cstb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102255 { FRVBF_INSN_CSTH, model_frv_csth, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102256 { FRVBF_INSN_CST, model_frv_cst, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102257 { FRVBF_INSN_CSTBF, model_frv_cstbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102258 { FRVBF_INSN_CSTHF, model_frv_csthf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102259 { FRVBF_INSN_CSTF, model_frv_cstf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102260 { FRVBF_INSN_CSTD, model_frv_cstd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102261 { FRVBF_INSN_CSTDF, model_frv_cstdf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102262 { FRVBF_INSN_CSTQ, model_frv_cstq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102263 { FRVBF_INSN_CSTBU, model_frv_cstbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102264 { FRVBF_INSN_CSTHU, model_frv_csthu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102265 { FRVBF_INSN_CSTU, model_frv_cstu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102266 { FRVBF_INSN_CSTBFU, model_frv_cstbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102267 { FRVBF_INSN_CSTHFU, model_frv_csthfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102268 { FRVBF_INSN_CSTFU, model_frv_cstfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102269 { FRVBF_INSN_CSTDU, model_frv_cstdu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102270 { FRVBF_INSN_CSTDFU, model_frv_cstdfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102271 { FRVBF_INSN_STBI, model_frv_stbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102272 { FRVBF_INSN_STHI, model_frv_sthi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102273 { FRVBF_INSN_STI, model_frv_sti, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102274 { FRVBF_INSN_STBFI, model_frv_stbfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102275 { FRVBF_INSN_STHFI, model_frv_sthfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102276 { FRVBF_INSN_STFI, model_frv_stfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102277 { FRVBF_INSN_STDI, model_frv_stdi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102278 { FRVBF_INSN_STDFI, model_frv_stdfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102279 { FRVBF_INSN_STQI, model_frv_stqi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102280 { FRVBF_INSN_STQFI, model_frv_stqfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102281 { FRVBF_INSN_SWAP, model_frv_swap, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102282 { FRVBF_INSN_SWAPI, model_frv_swapi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102283 { FRVBF_INSN_CSWAP, model_frv_cswap, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102284 { FRVBF_INSN_MOVGF, model_frv_movgf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102285 { FRVBF_INSN_MOVFG, model_frv_movfg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102286 { FRVBF_INSN_MOVGFD, model_frv_movgfd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102287 { FRVBF_INSN_MOVFGD, model_frv_movfgd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102288 { FRVBF_INSN_MOVGFQ, model_frv_movgfq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102289 { FRVBF_INSN_MOVFGQ, model_frv_movfgq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102290 { FRVBF_INSN_CMOVGF, model_frv_cmovgf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102291 { FRVBF_INSN_CMOVFG, model_frv_cmovfg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102292 { FRVBF_INSN_CMOVGFD, model_frv_cmovgfd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102293 { FRVBF_INSN_CMOVFGD, model_frv_cmovfgd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102294 { FRVBF_INSN_MOVGS, model_frv_movgs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102295 { FRVBF_INSN_MOVSG, model_frv_movsg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102296 { FRVBF_INSN_BRA, model_frv_bra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102297 { FRVBF_INSN_BNO, model_frv_bno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102298 { FRVBF_INSN_BEQ, model_frv_beq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102299 { FRVBF_INSN_BNE, model_frv_bne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102300 { FRVBF_INSN_BLE, model_frv_ble, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102301 { FRVBF_INSN_BGT, model_frv_bgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102302 { FRVBF_INSN_BLT, model_frv_blt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102303 { FRVBF_INSN_BGE, model_frv_bge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102304 { FRVBF_INSN_BLS, model_frv_bls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102305 { FRVBF_INSN_BHI, model_frv_bhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102306 { FRVBF_INSN_BC, model_frv_bc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102307 { FRVBF_INSN_BNC, model_frv_bnc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102308 { FRVBF_INSN_BN, model_frv_bn, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102309 { FRVBF_INSN_BP, model_frv_bp, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102310 { FRVBF_INSN_BV, model_frv_bv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102311 { FRVBF_INSN_BNV, model_frv_bnv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102312 { FRVBF_INSN_FBRA, model_frv_fbra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102313 { FRVBF_INSN_FBNO, model_frv_fbno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102314 { FRVBF_INSN_FBNE, model_frv_fbne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102315 { FRVBF_INSN_FBEQ, model_frv_fbeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102316 { FRVBF_INSN_FBLG, model_frv_fblg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102317 { FRVBF_INSN_FBUE, model_frv_fbue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102318 { FRVBF_INSN_FBUL, model_frv_fbul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102319 { FRVBF_INSN_FBGE, model_frv_fbge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102320 { FRVBF_INSN_FBLT, model_frv_fblt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102321 { FRVBF_INSN_FBUGE, model_frv_fbuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102322 { FRVBF_INSN_FBUG, model_frv_fbug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102323 { FRVBF_INSN_FBLE, model_frv_fble, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102324 { FRVBF_INSN_FBGT, model_frv_fbgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102325 { FRVBF_INSN_FBULE, model_frv_fbule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102326 { FRVBF_INSN_FBU, model_frv_fbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102327 { FRVBF_INSN_FBO, model_frv_fbo, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102328 { FRVBF_INSN_BCTRLR, model_frv_bctrlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102329 { FRVBF_INSN_BRALR, model_frv_bralr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102330 { FRVBF_INSN_BNOLR, model_frv_bnolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102331 { FRVBF_INSN_BEQLR, model_frv_beqlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102332 { FRVBF_INSN_BNELR, model_frv_bnelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102333 { FRVBF_INSN_BLELR, model_frv_blelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102334 { FRVBF_INSN_BGTLR, model_frv_bgtlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102335 { FRVBF_INSN_BLTLR, model_frv_bltlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102336 { FRVBF_INSN_BGELR, model_frv_bgelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102337 { FRVBF_INSN_BLSLR, model_frv_blslr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102338 { FRVBF_INSN_BHILR, model_frv_bhilr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102339 { FRVBF_INSN_BCLR, model_frv_bclr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102340 { FRVBF_INSN_BNCLR, model_frv_bnclr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102341 { FRVBF_INSN_BNLR, model_frv_bnlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102342 { FRVBF_INSN_BPLR, model_frv_bplr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102343 { FRVBF_INSN_BVLR, model_frv_bvlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102344 { FRVBF_INSN_BNVLR, model_frv_bnvlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102345 { FRVBF_INSN_FBRALR, model_frv_fbralr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102346 { FRVBF_INSN_FBNOLR, model_frv_fbnolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102347 { FRVBF_INSN_FBEQLR, model_frv_fbeqlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102348 { FRVBF_INSN_FBNELR, model_frv_fbnelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102349 { FRVBF_INSN_FBLGLR, model_frv_fblglr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102350 { FRVBF_INSN_FBUELR, model_frv_fbuelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102351 { FRVBF_INSN_FBULLR, model_frv_fbullr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102352 { FRVBF_INSN_FBGELR, model_frv_fbgelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102353 { FRVBF_INSN_FBLTLR, model_frv_fbltlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102354 { FRVBF_INSN_FBUGELR, model_frv_fbugelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102355 { FRVBF_INSN_FBUGLR, model_frv_fbuglr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102356 { FRVBF_INSN_FBLELR, model_frv_fblelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102357 { FRVBF_INSN_FBGTLR, model_frv_fbgtlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102358 { FRVBF_INSN_FBULELR, model_frv_fbulelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102359 { FRVBF_INSN_FBULR, model_frv_fbulr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102360 { FRVBF_INSN_FBOLR, model_frv_fbolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102361 { FRVBF_INSN_BCRALR, model_frv_bcralr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102362 { FRVBF_INSN_BCNOLR, model_frv_bcnolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102363 { FRVBF_INSN_BCEQLR, model_frv_bceqlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102364 { FRVBF_INSN_BCNELR, model_frv_bcnelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102365 { FRVBF_INSN_BCLELR, model_frv_bclelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102366 { FRVBF_INSN_BCGTLR, model_frv_bcgtlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102367 { FRVBF_INSN_BCLTLR, model_frv_bcltlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102368 { FRVBF_INSN_BCGELR, model_frv_bcgelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102369 { FRVBF_INSN_BCLSLR, model_frv_bclslr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102370 { FRVBF_INSN_BCHILR, model_frv_bchilr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102371 { FRVBF_INSN_BCCLR, model_frv_bcclr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102372 { FRVBF_INSN_BCNCLR, model_frv_bcnclr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102373 { FRVBF_INSN_BCNLR, model_frv_bcnlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102374 { FRVBF_INSN_BCPLR, model_frv_bcplr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102375 { FRVBF_INSN_BCVLR, model_frv_bcvlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102376 { FRVBF_INSN_BCNVLR, model_frv_bcnvlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102377 { FRVBF_INSN_FCBRALR, model_frv_fcbralr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102378 { FRVBF_INSN_FCBNOLR, model_frv_fcbnolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102379 { FRVBF_INSN_FCBEQLR, model_frv_fcbeqlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102380 { FRVBF_INSN_FCBNELR, model_frv_fcbnelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102381 { FRVBF_INSN_FCBLGLR, model_frv_fcblglr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102382 { FRVBF_INSN_FCBUELR, model_frv_fcbuelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102383 { FRVBF_INSN_FCBULLR, model_frv_fcbullr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102384 { FRVBF_INSN_FCBGELR, model_frv_fcbgelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102385 { FRVBF_INSN_FCBLTLR, model_frv_fcbltlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102386 { FRVBF_INSN_FCBUGELR, model_frv_fcbugelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102387 { FRVBF_INSN_FCBUGLR, model_frv_fcbuglr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102388 { FRVBF_INSN_FCBLELR, model_frv_fcblelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102389 { FRVBF_INSN_FCBGTLR, model_frv_fcbgtlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102390 { FRVBF_INSN_FCBULELR, model_frv_fcbulelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102391 { FRVBF_INSN_FCBULR, model_frv_fcbulr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102392 { FRVBF_INSN_FCBOLR, model_frv_fcbolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102393 { FRVBF_INSN_JMPL, model_frv_jmpl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102394 { FRVBF_INSN_CALLL, model_frv_calll, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102395 { FRVBF_INSN_JMPIL, model_frv_jmpil, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102396 { FRVBF_INSN_CALLIL, model_frv_callil, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102397 { FRVBF_INSN_CALL, model_frv_call, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102398 { FRVBF_INSN_RETT, model_frv_rett, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102399 { FRVBF_INSN_REI, model_frv_rei, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102400 { FRVBF_INSN_TRA, model_frv_tra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102401 { FRVBF_INSN_TNO, model_frv_tno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102402 { FRVBF_INSN_TEQ, model_frv_teq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102403 { FRVBF_INSN_TNE, model_frv_tne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102404 { FRVBF_INSN_TLE, model_frv_tle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102405 { FRVBF_INSN_TGT, model_frv_tgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102406 { FRVBF_INSN_TLT, model_frv_tlt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102407 { FRVBF_INSN_TGE, model_frv_tge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102408 { FRVBF_INSN_TLS, model_frv_tls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102409 { FRVBF_INSN_THI, model_frv_thi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102410 { FRVBF_INSN_TC, model_frv_tc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102411 { FRVBF_INSN_TNC, model_frv_tnc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102412 { FRVBF_INSN_TN, model_frv_tn, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102413 { FRVBF_INSN_TP, model_frv_tp, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102414 { FRVBF_INSN_TV, model_frv_tv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102415 { FRVBF_INSN_TNV, model_frv_tnv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102416 { FRVBF_INSN_FTRA, model_frv_ftra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102417 { FRVBF_INSN_FTNO, model_frv_ftno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102418 { FRVBF_INSN_FTNE, model_frv_ftne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102419 { FRVBF_INSN_FTEQ, model_frv_fteq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102420 { FRVBF_INSN_FTLG, model_frv_ftlg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102421 { FRVBF_INSN_FTUE, model_frv_ftue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102422 { FRVBF_INSN_FTUL, model_frv_ftul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102423 { FRVBF_INSN_FTGE, model_frv_ftge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102424 { FRVBF_INSN_FTLT, model_frv_ftlt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102425 { FRVBF_INSN_FTUGE, model_frv_ftuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102426 { FRVBF_INSN_FTUG, model_frv_ftug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102427 { FRVBF_INSN_FTLE, model_frv_ftle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102428 { FRVBF_INSN_FTGT, model_frv_ftgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102429 { FRVBF_INSN_FTULE, model_frv_ftule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102430 { FRVBF_INSN_FTU, model_frv_ftu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102431 { FRVBF_INSN_FTO, model_frv_fto, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102432 { FRVBF_INSN_TIRA, model_frv_tira, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102433 { FRVBF_INSN_TINO, model_frv_tino, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102434 { FRVBF_INSN_TIEQ, model_frv_tieq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102435 { FRVBF_INSN_TINE, model_frv_tine, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102436 { FRVBF_INSN_TILE, model_frv_tile, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102437 { FRVBF_INSN_TIGT, model_frv_tigt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102438 { FRVBF_INSN_TILT, model_frv_tilt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102439 { FRVBF_INSN_TIGE, model_frv_tige, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102440 { FRVBF_INSN_TILS, model_frv_tils, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102441 { FRVBF_INSN_TIHI, model_frv_tihi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102442 { FRVBF_INSN_TIC, model_frv_tic, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102443 { FRVBF_INSN_TINC, model_frv_tinc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102444 { FRVBF_INSN_TIN, model_frv_tin, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102445 { FRVBF_INSN_TIP, model_frv_tip, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102446 { FRVBF_INSN_TIV, model_frv_tiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102447 { FRVBF_INSN_TINV, model_frv_tinv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102448 { FRVBF_INSN_FTIRA, model_frv_ftira, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102449 { FRVBF_INSN_FTINO, model_frv_ftino, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102450 { FRVBF_INSN_FTINE, model_frv_ftine, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102451 { FRVBF_INSN_FTIEQ, model_frv_ftieq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102452 { FRVBF_INSN_FTILG, model_frv_ftilg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102453 { FRVBF_INSN_FTIUE, model_frv_ftiue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102454 { FRVBF_INSN_FTIUL, model_frv_ftiul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102455 { FRVBF_INSN_FTIGE, model_frv_ftige, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102456 { FRVBF_INSN_FTILT, model_frv_ftilt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102457 { FRVBF_INSN_FTIUGE, model_frv_ftiuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102458 { FRVBF_INSN_FTIUG, model_frv_ftiug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102459 { FRVBF_INSN_FTILE, model_frv_ftile, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102460 { FRVBF_INSN_FTIGT, model_frv_ftigt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102461 { FRVBF_INSN_FTIULE, model_frv_ftiule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102462 { FRVBF_INSN_FTIU, model_frv_ftiu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102463 { FRVBF_INSN_FTIO, model_frv_ftio, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102464 { FRVBF_INSN_BREAK, model_frv_break, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102465 { FRVBF_INSN_MTRAP, model_frv_mtrap, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102466 { FRVBF_INSN_ANDCR, model_frv_andcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102467 { FRVBF_INSN_ORCR, model_frv_orcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102468 { FRVBF_INSN_XORCR, model_frv_xorcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102469 { FRVBF_INSN_NANDCR, model_frv_nandcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102470 { FRVBF_INSN_NORCR, model_frv_norcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102471 { FRVBF_INSN_ANDNCR, model_frv_andncr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102472 { FRVBF_INSN_ORNCR, model_frv_orncr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102473 { FRVBF_INSN_NANDNCR, model_frv_nandncr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102474 { FRVBF_INSN_NORNCR, model_frv_norncr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102475 { FRVBF_INSN_NOTCR, model_frv_notcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102476 { FRVBF_INSN_CKRA, model_frv_ckra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102477 { FRVBF_INSN_CKNO, model_frv_ckno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102478 { FRVBF_INSN_CKEQ, model_frv_ckeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102479 { FRVBF_INSN_CKNE, model_frv_ckne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102480 { FRVBF_INSN_CKLE, model_frv_ckle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102481 { FRVBF_INSN_CKGT, model_frv_ckgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102482 { FRVBF_INSN_CKLT, model_frv_cklt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102483 { FRVBF_INSN_CKGE, model_frv_ckge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102484 { FRVBF_INSN_CKLS, model_frv_ckls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102485 { FRVBF_INSN_CKHI, model_frv_ckhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102486 { FRVBF_INSN_CKC, model_frv_ckc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102487 { FRVBF_INSN_CKNC, model_frv_cknc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102488 { FRVBF_INSN_CKN, model_frv_ckn, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102489 { FRVBF_INSN_CKP, model_frv_ckp, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102490 { FRVBF_INSN_CKV, model_frv_ckv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102491 { FRVBF_INSN_CKNV, model_frv_cknv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102492 { FRVBF_INSN_FCKRA, model_frv_fckra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102493 { FRVBF_INSN_FCKNO, model_frv_fckno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102494 { FRVBF_INSN_FCKNE, model_frv_fckne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102495 { FRVBF_INSN_FCKEQ, model_frv_fckeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102496 { FRVBF_INSN_FCKLG, model_frv_fcklg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102497 { FRVBF_INSN_FCKUE, model_frv_fckue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102498 { FRVBF_INSN_FCKUL, model_frv_fckul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102499 { FRVBF_INSN_FCKGE, model_frv_fckge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102500 { FRVBF_INSN_FCKLT, model_frv_fcklt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102501 { FRVBF_INSN_FCKUGE, model_frv_fckuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102502 { FRVBF_INSN_FCKUG, model_frv_fckug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102503 { FRVBF_INSN_FCKLE, model_frv_fckle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102504 { FRVBF_INSN_FCKGT, model_frv_fckgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102505 { FRVBF_INSN_FCKULE, model_frv_fckule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102506 { FRVBF_INSN_FCKU, model_frv_fcku, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102507 { FRVBF_INSN_FCKO, model_frv_fcko, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102508 { FRVBF_INSN_CCKRA, model_frv_cckra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102509 { FRVBF_INSN_CCKNO, model_frv_cckno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102510 { FRVBF_INSN_CCKEQ, model_frv_cckeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102511 { FRVBF_INSN_CCKNE, model_frv_cckne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102512 { FRVBF_INSN_CCKLE, model_frv_cckle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102513 { FRVBF_INSN_CCKGT, model_frv_cckgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102514 { FRVBF_INSN_CCKLT, model_frv_ccklt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102515 { FRVBF_INSN_CCKGE, model_frv_cckge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102516 { FRVBF_INSN_CCKLS, model_frv_cckls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102517 { FRVBF_INSN_CCKHI, model_frv_cckhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102518 { FRVBF_INSN_CCKC, model_frv_cckc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102519 { FRVBF_INSN_CCKNC, model_frv_ccknc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102520 { FRVBF_INSN_CCKN, model_frv_cckn, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102521 { FRVBF_INSN_CCKP, model_frv_cckp, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102522 { FRVBF_INSN_CCKV, model_frv_cckv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102523 { FRVBF_INSN_CCKNV, model_frv_ccknv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102524 { FRVBF_INSN_CFCKRA, model_frv_cfckra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102525 { FRVBF_INSN_CFCKNO, model_frv_cfckno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102526 { FRVBF_INSN_CFCKNE, model_frv_cfckne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102527 { FRVBF_INSN_CFCKEQ, model_frv_cfckeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102528 { FRVBF_INSN_CFCKLG, model_frv_cfcklg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102529 { FRVBF_INSN_CFCKUE, model_frv_cfckue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102530 { FRVBF_INSN_CFCKUL, model_frv_cfckul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102531 { FRVBF_INSN_CFCKGE, model_frv_cfckge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102532 { FRVBF_INSN_CFCKLT, model_frv_cfcklt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102533 { FRVBF_INSN_CFCKUGE, model_frv_cfckuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102534 { FRVBF_INSN_CFCKUG, model_frv_cfckug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102535 { FRVBF_INSN_CFCKLE, model_frv_cfckle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102536 { FRVBF_INSN_CFCKGT, model_frv_cfckgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102537 { FRVBF_INSN_CFCKULE, model_frv_cfckule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102538 { FRVBF_INSN_CFCKU, model_frv_cfcku, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102539 { FRVBF_INSN_CFCKO, model_frv_cfcko, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102540 { FRVBF_INSN_CJMPL, model_frv_cjmpl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102541 { FRVBF_INSN_CCALLL, model_frv_ccalll, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102542 { FRVBF_INSN_ICI, model_frv_ici, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102543 { FRVBF_INSN_DCI, model_frv_dci, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102544 { FRVBF_INSN_ICEI, model_frv_icei, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102545 { FRVBF_INSN_DCEI, model_frv_dcei, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102546 { FRVBF_INSN_DCF, model_frv_dcf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102547 { FRVBF_INSN_DCEF, model_frv_dcef, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102548 { FRVBF_INSN_WITLB, model_frv_witlb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102549 { FRVBF_INSN_WDTLB, model_frv_wdtlb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102550 { FRVBF_INSN_ITLBI, model_frv_itlbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102551 { FRVBF_INSN_DTLBI, model_frv_dtlbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102552 { FRVBF_INSN_ICPL, model_frv_icpl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102553 { FRVBF_INSN_DCPL, model_frv_dcpl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102554 { FRVBF_INSN_ICUL, model_frv_icul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102555 { FRVBF_INSN_DCUL, model_frv_dcul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102556 { FRVBF_INSN_BAR, model_frv_bar, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102557 { FRVBF_INSN_MEMBAR, model_frv_membar, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102558 { FRVBF_INSN_LRAI, model_frv_lrai, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102559 { FRVBF_INSN_LRAD, model_frv_lrad, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102560 { FRVBF_INSN_TLBPR, model_frv_tlbpr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102561 { FRVBF_INSN_COP1, model_frv_cop1, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102562 { FRVBF_INSN_COP2, model_frv_cop2, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102563 { FRVBF_INSN_CLRGR, model_frv_clrgr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102564 { FRVBF_INSN_CLRFR, model_frv_clrfr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102565 { FRVBF_INSN_CLRGA, model_frv_clrga, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102566 { FRVBF_INSN_CLRFA, model_frv_clrfa, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102567 { FRVBF_INSN_COMMITGR, model_frv_commitgr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102568 { FRVBF_INSN_COMMITFR, model_frv_commitfr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102569 { FRVBF_INSN_COMMITGA, model_frv_commitga, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102570 { FRVBF_INSN_COMMITFA, model_frv_commitfa, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102571 { FRVBF_INSN_FITOS, model_frv_fitos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102572 { FRVBF_INSN_FSTOI, model_frv_fstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102573 { FRVBF_INSN_FITOD, model_frv_fitod, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102574 { FRVBF_INSN_FDTOI, model_frv_fdtoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102575 { FRVBF_INSN_FDITOS, model_frv_fditos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102576 { FRVBF_INSN_FDSTOI, model_frv_fdstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102577 { FRVBF_INSN_NFDITOS, model_frv_nfditos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102578 { FRVBF_INSN_NFDSTOI, model_frv_nfdstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102579 { FRVBF_INSN_CFITOS, model_frv_cfitos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102580 { FRVBF_INSN_CFSTOI, model_frv_cfstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102581 { FRVBF_INSN_NFITOS, model_frv_nfitos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102582 { FRVBF_INSN_NFSTOI, model_frv_nfstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102583 { FRVBF_INSN_FMOVS, model_frv_fmovs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102584 { FRVBF_INSN_FMOVD, model_frv_fmovd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102585 { FRVBF_INSN_FDMOVS, model_frv_fdmovs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102586 { FRVBF_INSN_CFMOVS, model_frv_cfmovs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102587 { FRVBF_INSN_FNEGS, model_frv_fnegs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102588 { FRVBF_INSN_FNEGD, model_frv_fnegd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102589 { FRVBF_INSN_FDNEGS, model_frv_fdnegs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102590 { FRVBF_INSN_CFNEGS, model_frv_cfnegs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102591 { FRVBF_INSN_FABSS, model_frv_fabss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102592 { FRVBF_INSN_FABSD, model_frv_fabsd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102593 { FRVBF_INSN_FDABSS, model_frv_fdabss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102594 { FRVBF_INSN_CFABSS, model_frv_cfabss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102595 { FRVBF_INSN_FSQRTS, model_frv_fsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102596 { FRVBF_INSN_FDSQRTS, model_frv_fdsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102597 { FRVBF_INSN_NFDSQRTS, model_frv_nfdsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102598 { FRVBF_INSN_FSQRTD, model_frv_fsqrtd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102599 { FRVBF_INSN_CFSQRTS, model_frv_cfsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102600 { FRVBF_INSN_NFSQRTS, model_frv_nfsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102601 { FRVBF_INSN_FADDS, model_frv_fadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102602 { FRVBF_INSN_FSUBS, model_frv_fsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102603 { FRVBF_INSN_FMULS, model_frv_fmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102604 { FRVBF_INSN_FDIVS, model_frv_fdivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102605 { FRVBF_INSN_FADDD, model_frv_faddd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102606 { FRVBF_INSN_FSUBD, model_frv_fsubd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102607 { FRVBF_INSN_FMULD, model_frv_fmuld, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102608 { FRVBF_INSN_FDIVD, model_frv_fdivd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102609 { FRVBF_INSN_CFADDS, model_frv_cfadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102610 { FRVBF_INSN_CFSUBS, model_frv_cfsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102611 { FRVBF_INSN_CFMULS, model_frv_cfmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102612 { FRVBF_INSN_CFDIVS, model_frv_cfdivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102613 { FRVBF_INSN_NFADDS, model_frv_nfadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102614 { FRVBF_INSN_NFSUBS, model_frv_nfsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102615 { FRVBF_INSN_NFMULS, model_frv_nfmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102616 { FRVBF_INSN_NFDIVS, model_frv_nfdivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102617 { FRVBF_INSN_FCMPS, model_frv_fcmps, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102618 { FRVBF_INSN_FCMPD, model_frv_fcmpd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102619 { FRVBF_INSN_CFCMPS, model_frv_cfcmps, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102620 { FRVBF_INSN_FDCMPS, model_frv_fdcmps, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102621 { FRVBF_INSN_FMADDS, model_frv_fmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102622 { FRVBF_INSN_FMSUBS, model_frv_fmsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102623 { FRVBF_INSN_FMADDD, model_frv_fmaddd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102624 { FRVBF_INSN_FMSUBD, model_frv_fmsubd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102625 { FRVBF_INSN_FDMADDS, model_frv_fdmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102626 { FRVBF_INSN_NFDMADDS, model_frv_nfdmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102627 { FRVBF_INSN_CFMADDS, model_frv_cfmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102628 { FRVBF_INSN_CFMSUBS, model_frv_cfmsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102629 { FRVBF_INSN_NFMADDS, model_frv_nfmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102630 { FRVBF_INSN_NFMSUBS, model_frv_nfmsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102631 { FRVBF_INSN_FMAS, model_frv_fmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102632 { FRVBF_INSN_FMSS, model_frv_fmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102633 { FRVBF_INSN_FDMAS, model_frv_fdmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102634 { FRVBF_INSN_FDMSS, model_frv_fdmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102635 { FRVBF_INSN_NFDMAS, model_frv_nfdmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102636 { FRVBF_INSN_NFDMSS, model_frv_nfdmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102637 { FRVBF_INSN_CFMAS, model_frv_cfmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102638 { FRVBF_INSN_CFMSS, model_frv_cfmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102639 { FRVBF_INSN_FMAD, model_frv_fmad, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102640 { FRVBF_INSN_FMSD, model_frv_fmsd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102641 { FRVBF_INSN_NFMAS, model_frv_nfmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102642 { FRVBF_INSN_NFMSS, model_frv_nfmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102643 { FRVBF_INSN_FDADDS, model_frv_fdadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102644 { FRVBF_INSN_FDSUBS, model_frv_fdsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102645 { FRVBF_INSN_FDMULS, model_frv_fdmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102646 { FRVBF_INSN_FDDIVS, model_frv_fddivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102647 { FRVBF_INSN_FDSADS, model_frv_fdsads, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102648 { FRVBF_INSN_FDMULCS, model_frv_fdmulcs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102649 { FRVBF_INSN_NFDMULCS, model_frv_nfdmulcs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102650 { FRVBF_INSN_NFDADDS, model_frv_nfdadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102651 { FRVBF_INSN_NFDSUBS, model_frv_nfdsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102652 { FRVBF_INSN_NFDMULS, model_frv_nfdmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102653 { FRVBF_INSN_NFDDIVS, model_frv_nfddivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102654 { FRVBF_INSN_NFDSADS, model_frv_nfdsads, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102655 { FRVBF_INSN_NFDCMPS, model_frv_nfdcmps, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102656 { FRVBF_INSN_MHSETLOS, model_frv_mhsetlos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102657 { FRVBF_INSN_MHSETHIS, model_frv_mhsethis, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102658 { FRVBF_INSN_MHDSETS, model_frv_mhdsets, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102659 { FRVBF_INSN_MHSETLOH, model_frv_mhsetloh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102660 { FRVBF_INSN_MHSETHIH, model_frv_mhsethih, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102661 { FRVBF_INSN_MHDSETH, model_frv_mhdseth, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102662 { FRVBF_INSN_MAND, model_frv_mand, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102663 { FRVBF_INSN_MOR, model_frv_mor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102664 { FRVBF_INSN_MXOR, model_frv_mxor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102665 { FRVBF_INSN_CMAND, model_frv_cmand, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102666 { FRVBF_INSN_CMOR, model_frv_cmor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102667 { FRVBF_INSN_CMXOR, model_frv_cmxor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102668 { FRVBF_INSN_MNOT, model_frv_mnot, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102669 { FRVBF_INSN_CMNOT, model_frv_cmnot, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102670 { FRVBF_INSN_MROTLI, model_frv_mrotli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102671 { FRVBF_INSN_MROTRI, model_frv_mrotri, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102672 { FRVBF_INSN_MWCUT, model_frv_mwcut, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102673 { FRVBF_INSN_MWCUTI, model_frv_mwcuti, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102674 { FRVBF_INSN_MCUT, model_frv_mcut, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102675 { FRVBF_INSN_MCUTI, model_frv_mcuti, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102676 { FRVBF_INSN_MCUTSS, model_frv_mcutss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102677 { FRVBF_INSN_MCUTSSI, model_frv_mcutssi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102678 { FRVBF_INSN_MDCUTSSI, model_frv_mdcutssi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102679 { FRVBF_INSN_MAVEH, model_frv_maveh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102680 { FRVBF_INSN_MSLLHI, model_frv_msllhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102681 { FRVBF_INSN_MSRLHI, model_frv_msrlhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102682 { FRVBF_INSN_MSRAHI, model_frv_msrahi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102683 { FRVBF_INSN_MDROTLI, model_frv_mdrotli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102684 { FRVBF_INSN_MCPLHI, model_frv_mcplhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102685 { FRVBF_INSN_MCPLI, model_frv_mcpli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102686 { FRVBF_INSN_MSATHS, model_frv_msaths, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102687 { FRVBF_INSN_MQSATHS, model_frv_mqsaths, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102688 { FRVBF_INSN_MSATHU, model_frv_msathu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102689 { FRVBF_INSN_MCMPSH, model_frv_mcmpsh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102690 { FRVBF_INSN_MCMPUH, model_frv_mcmpuh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102691 { FRVBF_INSN_MABSHS, model_frv_mabshs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102692 { FRVBF_INSN_MADDHSS, model_frv_maddhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102693 { FRVBF_INSN_MADDHUS, model_frv_maddhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102694 { FRVBF_INSN_MSUBHSS, model_frv_msubhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102695 { FRVBF_INSN_MSUBHUS, model_frv_msubhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102696 { FRVBF_INSN_CMADDHSS, model_frv_cmaddhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102697 { FRVBF_INSN_CMADDHUS, model_frv_cmaddhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102698 { FRVBF_INSN_CMSUBHSS, model_frv_cmsubhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102699 { FRVBF_INSN_CMSUBHUS, model_frv_cmsubhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102700 { FRVBF_INSN_MQADDHSS, model_frv_mqaddhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102701 { FRVBF_INSN_MQADDHUS, model_frv_mqaddhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102702 { FRVBF_INSN_MQSUBHSS, model_frv_mqsubhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102703 { FRVBF_INSN_MQSUBHUS, model_frv_mqsubhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102704 { FRVBF_INSN_CMQADDHSS, model_frv_cmqaddhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102705 { FRVBF_INSN_CMQADDHUS, model_frv_cmqaddhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102706 { FRVBF_INSN_CMQSUBHSS, model_frv_cmqsubhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102707 { FRVBF_INSN_CMQSUBHUS, model_frv_cmqsubhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102708 { FRVBF_INSN_MQLCLRHS, model_frv_mqlclrhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102709 { FRVBF_INSN_MQLMTHS, model_frv_mqlmths, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102710 { FRVBF_INSN_MQSLLHI, model_frv_mqsllhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102711 { FRVBF_INSN_MQSRAHI, model_frv_mqsrahi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102712 { FRVBF_INSN_MADDACCS, model_frv_maddaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102713 { FRVBF_INSN_MSUBACCS, model_frv_msubaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102714 { FRVBF_INSN_MDADDACCS, model_frv_mdaddaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102715 { FRVBF_INSN_MDSUBACCS, model_frv_mdsubaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102716 { FRVBF_INSN_MASACCS, model_frv_masaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102717 { FRVBF_INSN_MDASACCS, model_frv_mdasaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102718 { FRVBF_INSN_MMULHS, model_frv_mmulhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102719 { FRVBF_INSN_MMULHU, model_frv_mmulhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102720 { FRVBF_INSN_MMULXHS, model_frv_mmulxhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102721 { FRVBF_INSN_MMULXHU, model_frv_mmulxhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102722 { FRVBF_INSN_CMMULHS, model_frv_cmmulhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102723 { FRVBF_INSN_CMMULHU, model_frv_cmmulhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102724 { FRVBF_INSN_MQMULHS, model_frv_mqmulhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102725 { FRVBF_INSN_MQMULHU, model_frv_mqmulhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102726 { FRVBF_INSN_MQMULXHS, model_frv_mqmulxhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102727 { FRVBF_INSN_MQMULXHU, model_frv_mqmulxhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102728 { FRVBF_INSN_CMQMULHS, model_frv_cmqmulhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102729 { FRVBF_INSN_CMQMULHU, model_frv_cmqmulhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102730 { FRVBF_INSN_MMACHS, model_frv_mmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102731 { FRVBF_INSN_MMACHU, model_frv_mmachu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102732 { FRVBF_INSN_MMRDHS, model_frv_mmrdhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102733 { FRVBF_INSN_MMRDHU, model_frv_mmrdhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102734 { FRVBF_INSN_CMMACHS, model_frv_cmmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102735 { FRVBF_INSN_CMMACHU, model_frv_cmmachu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102736 { FRVBF_INSN_MQMACHS, model_frv_mqmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102737 { FRVBF_INSN_MQMACHU, model_frv_mqmachu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102738 { FRVBF_INSN_CMQMACHS, model_frv_cmqmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102739 { FRVBF_INSN_CMQMACHU, model_frv_cmqmachu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102740 { FRVBF_INSN_MQXMACHS, model_frv_mqxmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102741 { FRVBF_INSN_MQXMACXHS, model_frv_mqxmacxhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102742 { FRVBF_INSN_MQMACXHS, model_frv_mqmacxhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102743 { FRVBF_INSN_MCPXRS, model_frv_mcpxrs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102744 { FRVBF_INSN_MCPXRU, model_frv_mcpxru, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102745 { FRVBF_INSN_MCPXIS, model_frv_mcpxis, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102746 { FRVBF_INSN_MCPXIU, model_frv_mcpxiu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102747 { FRVBF_INSN_CMCPXRS, model_frv_cmcpxrs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102748 { FRVBF_INSN_CMCPXRU, model_frv_cmcpxru, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102749 { FRVBF_INSN_CMCPXIS, model_frv_cmcpxis, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102750 { FRVBF_INSN_CMCPXIU, model_frv_cmcpxiu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102751 { FRVBF_INSN_MQCPXRS, model_frv_mqcpxrs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102752 { FRVBF_INSN_MQCPXRU, model_frv_mqcpxru, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102753 { FRVBF_INSN_MQCPXIS, model_frv_mqcpxis, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102754 { FRVBF_INSN_MQCPXIU, model_frv_mqcpxiu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102755 { FRVBF_INSN_MEXPDHW, model_frv_mexpdhw, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102756 { FRVBF_INSN_CMEXPDHW, model_frv_cmexpdhw, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102757 { FRVBF_INSN_MEXPDHD, model_frv_mexpdhd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102758 { FRVBF_INSN_CMEXPDHD, model_frv_cmexpdhd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102759 { FRVBF_INSN_MPACKH, model_frv_mpackh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102760 { FRVBF_INSN_MDPACKH, model_frv_mdpackh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102761 { FRVBF_INSN_MUNPACKH, model_frv_munpackh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102762 { FRVBF_INSN_MDUNPACKH, model_frv_mdunpackh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102763 { FRVBF_INSN_MBTOH, model_frv_mbtoh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102764 { FRVBF_INSN_CMBTOH, model_frv_cmbtoh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102765 { FRVBF_INSN_MHTOB, model_frv_mhtob, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102766 { FRVBF_INSN_CMHTOB, model_frv_cmhtob, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102767 { FRVBF_INSN_MBTOHE, model_frv_mbtohe, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102768 { FRVBF_INSN_CMBTOHE, model_frv_cmbtohe, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102769 { FRVBF_INSN_MNOP, model_frv_mnop, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102770 { FRVBF_INSN_MCLRACC_0, model_frv_mclracc_0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102771 { FRVBF_INSN_MCLRACC_1, model_frv_mclracc_1, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102772 { FRVBF_INSN_MRDACC, model_frv_mrdacc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102773 { FRVBF_INSN_MRDACCG, model_frv_mrdaccg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102774 { FRVBF_INSN_MWTACC, model_frv_mwtacc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102775 { FRVBF_INSN_MWTACCG, model_frv_mwtaccg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102776 { FRVBF_INSN_MCOP1, model_frv_mcop1, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102777 { FRVBF_INSN_MCOP2, model_frv_mcop2, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102778 { FRVBF_INSN_FNOP, model_frv_fnop, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102781 /* Model timing data for `fr550'. */
102783 static const INSN_TIMING fr550_timing[] = {
102784 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102785 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102786 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102787 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102788 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102789 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102790 { FRVBF_INSN_ADD, model_fr550_add, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102791 { FRVBF_INSN_SUB, model_fr550_sub, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102792 { FRVBF_INSN_AND, model_fr550_and, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102793 { FRVBF_INSN_OR, model_fr550_or, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102794 { FRVBF_INSN_XOR, model_fr550_xor, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102795 { FRVBF_INSN_NOT, model_fr550_not, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102796 { FRVBF_INSN_SDIV, model_fr550_sdiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102797 { FRVBF_INSN_NSDIV, model_fr550_nsdiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102798 { FRVBF_INSN_UDIV, model_fr550_udiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102799 { FRVBF_INSN_NUDIV, model_fr550_nudiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102800 { FRVBF_INSN_SMUL, model_fr550_smul, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102801 { FRVBF_INSN_UMUL, model_fr550_umul, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102802 { FRVBF_INSN_SMU, model_fr550_smu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102803 { FRVBF_INSN_SMASS, model_fr550_smass, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102804 { FRVBF_INSN_SMSSS, model_fr550_smsss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102805 { FRVBF_INSN_SLL, model_fr550_sll, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102806 { FRVBF_INSN_SRL, model_fr550_srl, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102807 { FRVBF_INSN_SRA, model_fr550_sra, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102808 { FRVBF_INSN_SLASS, model_fr550_slass, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102809 { FRVBF_INSN_SCUTSS, model_fr550_scutss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102810 { FRVBF_INSN_SCAN, model_fr550_scan, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102811 { FRVBF_INSN_CADD, model_fr550_cadd, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102812 { FRVBF_INSN_CSUB, model_fr550_csub, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102813 { FRVBF_INSN_CAND, model_fr550_cand, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102814 { FRVBF_INSN_COR, model_fr550_cor, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102815 { FRVBF_INSN_CXOR, model_fr550_cxor, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102816 { FRVBF_INSN_CNOT, model_fr550_cnot, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102817 { FRVBF_INSN_CSMUL, model_fr550_csmul, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102818 { FRVBF_INSN_CSDIV, model_fr550_csdiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102819 { FRVBF_INSN_CUDIV, model_fr550_cudiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102820 { FRVBF_INSN_CSLL, model_fr550_csll, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102821 { FRVBF_INSN_CSRL, model_fr550_csrl, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102822 { FRVBF_INSN_CSRA, model_fr550_csra, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102823 { FRVBF_INSN_CSCAN, model_fr550_cscan, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102824 { FRVBF_INSN_ADDCC, model_fr550_addcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102825 { FRVBF_INSN_SUBCC, model_fr550_subcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102826 { FRVBF_INSN_ANDCC, model_fr550_andcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102827 { FRVBF_INSN_ORCC, model_fr550_orcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102828 { FRVBF_INSN_XORCC, model_fr550_xorcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102829 { FRVBF_INSN_SLLCC, model_fr550_sllcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102830 { FRVBF_INSN_SRLCC, model_fr550_srlcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102831 { FRVBF_INSN_SRACC, model_fr550_sracc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102832 { FRVBF_INSN_SMULCC, model_fr550_smulcc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102833 { FRVBF_INSN_UMULCC, model_fr550_umulcc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102834 { FRVBF_INSN_CADDCC, model_fr550_caddcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102835 { FRVBF_INSN_CSUBCC, model_fr550_csubcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102836 { FRVBF_INSN_CSMULCC, model_fr550_csmulcc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102837 { FRVBF_INSN_CANDCC, model_fr550_candcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102838 { FRVBF_INSN_CORCC, model_fr550_corcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102839 { FRVBF_INSN_CXORCC, model_fr550_cxorcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102840 { FRVBF_INSN_CSLLCC, model_fr550_csllcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102841 { FRVBF_INSN_CSRLCC, model_fr550_csrlcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102842 { FRVBF_INSN_CSRACC, model_fr550_csracc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102843 { FRVBF_INSN_ADDX, model_fr550_addx, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102844 { FRVBF_INSN_SUBX, model_fr550_subx, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102845 { FRVBF_INSN_ADDXCC, model_fr550_addxcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102846 { FRVBF_INSN_SUBXCC, model_fr550_subxcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102847 { FRVBF_INSN_ADDSS, model_fr550_addss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102848 { FRVBF_INSN_SUBSS, model_fr550_subss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102849 { FRVBF_INSN_ADDI, model_fr550_addi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102850 { FRVBF_INSN_SUBI, model_fr550_subi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102851 { FRVBF_INSN_ANDI, model_fr550_andi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102852 { FRVBF_INSN_ORI, model_fr550_ori, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102853 { FRVBF_INSN_XORI, model_fr550_xori, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102854 { FRVBF_INSN_SDIVI, model_fr550_sdivi, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102855 { FRVBF_INSN_NSDIVI, model_fr550_nsdivi, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102856 { FRVBF_INSN_UDIVI, model_fr550_udivi, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102857 { FRVBF_INSN_NUDIVI, model_fr550_nudivi, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102858 { FRVBF_INSN_SMULI, model_fr550_smuli, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102859 { FRVBF_INSN_UMULI, model_fr550_umuli, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102860 { FRVBF_INSN_SLLI, model_fr550_slli, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102861 { FRVBF_INSN_SRLI, model_fr550_srli, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102862 { FRVBF_INSN_SRAI, model_fr550_srai, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102863 { FRVBF_INSN_SCANI, model_fr550_scani, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102864 { FRVBF_INSN_ADDICC, model_fr550_addicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102865 { FRVBF_INSN_SUBICC, model_fr550_subicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102866 { FRVBF_INSN_ANDICC, model_fr550_andicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102867 { FRVBF_INSN_ORICC, model_fr550_oricc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102868 { FRVBF_INSN_XORICC, model_fr550_xoricc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102869 { FRVBF_INSN_SMULICC, model_fr550_smulicc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102870 { FRVBF_INSN_UMULICC, model_fr550_umulicc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102871 { FRVBF_INSN_SLLICC, model_fr550_sllicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102872 { FRVBF_INSN_SRLICC, model_fr550_srlicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102873 { FRVBF_INSN_SRAICC, model_fr550_sraicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102874 { FRVBF_INSN_ADDXI, model_fr550_addxi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102875 { FRVBF_INSN_SUBXI, model_fr550_subxi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102876 { FRVBF_INSN_ADDXICC, model_fr550_addxicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102877 { FRVBF_INSN_SUBXICC, model_fr550_subxicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102878 { FRVBF_INSN_CMPB, model_fr550_cmpb, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102879 { FRVBF_INSN_CMPBA, model_fr550_cmpba, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102880 { FRVBF_INSN_SETLO, model_fr550_setlo, { { (int) UNIT_FR550_U_SET_HILO, 1, 1 } } },
102881 { FRVBF_INSN_SETHI, model_fr550_sethi, { { (int) UNIT_FR550_U_SET_HILO, 1, 1 } } },
102882 { FRVBF_INSN_SETLOS, model_fr550_setlos, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102883 { FRVBF_INSN_LDSB, model_fr550_ldsb, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102884 { FRVBF_INSN_LDUB, model_fr550_ldub, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102885 { FRVBF_INSN_LDSH, model_fr550_ldsh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102886 { FRVBF_INSN_LDUH, model_fr550_lduh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102887 { FRVBF_INSN_LD, model_fr550_ld, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102888 { FRVBF_INSN_LDBF, model_fr550_ldbf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102889 { FRVBF_INSN_LDHF, model_fr550_ldhf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102890 { FRVBF_INSN_LDF, model_fr550_ldf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102891 { FRVBF_INSN_LDC, model_fr550_ldc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102892 { FRVBF_INSN_NLDSB, model_fr550_nldsb, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102893 { FRVBF_INSN_NLDUB, model_fr550_nldub, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102894 { FRVBF_INSN_NLDSH, model_fr550_nldsh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102895 { FRVBF_INSN_NLDUH, model_fr550_nlduh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102896 { FRVBF_INSN_NLD, model_fr550_nld, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102897 { FRVBF_INSN_NLDBF, model_fr550_nldbf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102898 { FRVBF_INSN_NLDHF, model_fr550_nldhf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102899 { FRVBF_INSN_NLDF, model_fr550_nldf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102900 { FRVBF_INSN_LDD, model_fr550_ldd, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102901 { FRVBF_INSN_LDDF, model_fr550_lddf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102902 { FRVBF_INSN_LDDC, model_fr550_lddc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102903 { FRVBF_INSN_NLDD, model_fr550_nldd, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102904 { FRVBF_INSN_NLDDF, model_fr550_nlddf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102905 { FRVBF_INSN_LDQ, model_fr550_ldq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102906 { FRVBF_INSN_LDQF, model_fr550_ldqf, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102907 { FRVBF_INSN_LDQC, model_fr550_ldqc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102908 { FRVBF_INSN_NLDQ, model_fr550_nldq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102909 { FRVBF_INSN_NLDQF, model_fr550_nldqf, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102910 { FRVBF_INSN_LDSBU, model_fr550_ldsbu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102911 { FRVBF_INSN_LDUBU, model_fr550_ldubu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102912 { FRVBF_INSN_LDSHU, model_fr550_ldshu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102913 { FRVBF_INSN_LDUHU, model_fr550_lduhu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102914 { FRVBF_INSN_LDU, model_fr550_ldu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102915 { FRVBF_INSN_NLDSBU, model_fr550_nldsbu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102916 { FRVBF_INSN_NLDUBU, model_fr550_nldubu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102917 { FRVBF_INSN_NLDSHU, model_fr550_nldshu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102918 { FRVBF_INSN_NLDUHU, model_fr550_nlduhu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102919 { FRVBF_INSN_NLDU, model_fr550_nldu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102920 { FRVBF_INSN_LDBFU, model_fr550_ldbfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102921 { FRVBF_INSN_LDHFU, model_fr550_ldhfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102922 { FRVBF_INSN_LDFU, model_fr550_ldfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102923 { FRVBF_INSN_LDCU, model_fr550_ldcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102924 { FRVBF_INSN_NLDBFU, model_fr550_nldbfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102925 { FRVBF_INSN_NLDHFU, model_fr550_nldhfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102926 { FRVBF_INSN_NLDFU, model_fr550_nldfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102927 { FRVBF_INSN_LDDU, model_fr550_lddu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102928 { FRVBF_INSN_NLDDU, model_fr550_nlddu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102929 { FRVBF_INSN_LDDFU, model_fr550_lddfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102930 { FRVBF_INSN_LDDCU, model_fr550_lddcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102931 { FRVBF_INSN_NLDDFU, model_fr550_nlddfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102932 { FRVBF_INSN_LDQU, model_fr550_ldqu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102933 { FRVBF_INSN_NLDQU, model_fr550_nldqu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102934 { FRVBF_INSN_LDQFU, model_fr550_ldqfu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102935 { FRVBF_INSN_LDQCU, model_fr550_ldqcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102936 { FRVBF_INSN_NLDQFU, model_fr550_nldqfu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102937 { FRVBF_INSN_LDSBI, model_fr550_ldsbi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102938 { FRVBF_INSN_LDSHI, model_fr550_ldshi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102939 { FRVBF_INSN_LDI, model_fr550_ldi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102940 { FRVBF_INSN_LDUBI, model_fr550_ldubi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102941 { FRVBF_INSN_LDUHI, model_fr550_lduhi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102942 { FRVBF_INSN_LDBFI, model_fr550_ldbfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102943 { FRVBF_INSN_LDHFI, model_fr550_ldhfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102944 { FRVBF_INSN_LDFI, model_fr550_ldfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102945 { FRVBF_INSN_NLDSBI, model_fr550_nldsbi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102946 { FRVBF_INSN_NLDUBI, model_fr550_nldubi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102947 { FRVBF_INSN_NLDSHI, model_fr550_nldshi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102948 { FRVBF_INSN_NLDUHI, model_fr550_nlduhi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102949 { FRVBF_INSN_NLDI, model_fr550_nldi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102950 { FRVBF_INSN_NLDBFI, model_fr550_nldbfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102951 { FRVBF_INSN_NLDHFI, model_fr550_nldhfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102952 { FRVBF_INSN_NLDFI, model_fr550_nldfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102953 { FRVBF_INSN_LDDI, model_fr550_lddi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102954 { FRVBF_INSN_LDDFI, model_fr550_lddfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102955 { FRVBF_INSN_NLDDI, model_fr550_nlddi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102956 { FRVBF_INSN_NLDDFI, model_fr550_nlddfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102957 { FRVBF_INSN_LDQI, model_fr550_ldqi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102958 { FRVBF_INSN_LDQFI, model_fr550_ldqfi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102959 { FRVBF_INSN_NLDQFI, model_fr550_nldqfi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102960 { FRVBF_INSN_STB, model_fr550_stb, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102961 { FRVBF_INSN_STH, model_fr550_sth, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102962 { FRVBF_INSN_ST, model_fr550_st, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102963 { FRVBF_INSN_STBF, model_fr550_stbf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102964 { FRVBF_INSN_STHF, model_fr550_sthf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102965 { FRVBF_INSN_STF, model_fr550_stf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102966 { FRVBF_INSN_STC, model_fr550_stc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102967 { FRVBF_INSN_STD, model_fr550_std, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102968 { FRVBF_INSN_STDF, model_fr550_stdf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102969 { FRVBF_INSN_STDC, model_fr550_stdc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102970 { FRVBF_INSN_STQ, model_fr550_stq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102971 { FRVBF_INSN_STQF, model_fr550_stqf, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102972 { FRVBF_INSN_STQC, model_fr550_stqc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102973 { FRVBF_INSN_STBU, model_fr550_stbu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102974 { FRVBF_INSN_STHU, model_fr550_sthu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102975 { FRVBF_INSN_STU, model_fr550_stu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102976 { FRVBF_INSN_STBFU, model_fr550_stbfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102977 { FRVBF_INSN_STHFU, model_fr550_sthfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102978 { FRVBF_INSN_STFU, model_fr550_stfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102979 { FRVBF_INSN_STCU, model_fr550_stcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102980 { FRVBF_INSN_STDU, model_fr550_stdu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102981 { FRVBF_INSN_STDFU, model_fr550_stdfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102982 { FRVBF_INSN_STDCU, model_fr550_stdcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102983 { FRVBF_INSN_STQU, model_fr550_stqu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102984 { FRVBF_INSN_STQFU, model_fr550_stqfu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102985 { FRVBF_INSN_STQCU, model_fr550_stqcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102986 { FRVBF_INSN_CLDSB, model_fr550_cldsb, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102987 { FRVBF_INSN_CLDUB, model_fr550_cldub, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102988 { FRVBF_INSN_CLDSH, model_fr550_cldsh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102989 { FRVBF_INSN_CLDUH, model_fr550_clduh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102990 { FRVBF_INSN_CLD, model_fr550_cld, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102991 { FRVBF_INSN_CLDBF, model_fr550_cldbf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102992 { FRVBF_INSN_CLDHF, model_fr550_cldhf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102993 { FRVBF_INSN_CLDF, model_fr550_cldf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102994 { FRVBF_INSN_CLDD, model_fr550_cldd, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102995 { FRVBF_INSN_CLDDF, model_fr550_clddf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102996 { FRVBF_INSN_CLDQ, model_fr550_cldq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102997 { FRVBF_INSN_CLDSBU, model_fr550_cldsbu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102998 { FRVBF_INSN_CLDUBU, model_fr550_cldubu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102999 { FRVBF_INSN_CLDSHU, model_fr550_cldshu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103000 { FRVBF_INSN_CLDUHU, model_fr550_clduhu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103001 { FRVBF_INSN_CLDU, model_fr550_cldu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103002 { FRVBF_INSN_CLDBFU, model_fr550_cldbfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
103003 { FRVBF_INSN_CLDHFU, model_fr550_cldhfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
103004 { FRVBF_INSN_CLDFU, model_fr550_cldfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
103005 { FRVBF_INSN_CLDDU, model_fr550_clddu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103006 { FRVBF_INSN_CLDDFU, model_fr550_clddfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
103007 { FRVBF_INSN_CLDQU, model_fr550_cldqu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103008 { FRVBF_INSN_CSTB, model_fr550_cstb, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103009 { FRVBF_INSN_CSTH, model_fr550_csth, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103010 { FRVBF_INSN_CST, model_fr550_cst, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103011 { FRVBF_INSN_CSTBF, model_fr550_cstbf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103012 { FRVBF_INSN_CSTHF, model_fr550_csthf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103013 { FRVBF_INSN_CSTF, model_fr550_cstf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103014 { FRVBF_INSN_CSTD, model_fr550_cstd, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103015 { FRVBF_INSN_CSTDF, model_fr550_cstdf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103016 { FRVBF_INSN_CSTQ, model_fr550_cstq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103017 { FRVBF_INSN_CSTBU, model_fr550_cstbu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103018 { FRVBF_INSN_CSTHU, model_fr550_csthu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103019 { FRVBF_INSN_CSTU, model_fr550_cstu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103020 { FRVBF_INSN_CSTBFU, model_fr550_cstbfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103021 { FRVBF_INSN_CSTHFU, model_fr550_csthfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103022 { FRVBF_INSN_CSTFU, model_fr550_cstfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103023 { FRVBF_INSN_CSTDU, model_fr550_cstdu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103024 { FRVBF_INSN_CSTDFU, model_fr550_cstdfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103025 { FRVBF_INSN_STBI, model_fr550_stbi, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103026 { FRVBF_INSN_STHI, model_fr550_sthi, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103027 { FRVBF_INSN_STI, model_fr550_sti, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103028 { FRVBF_INSN_STBFI, model_fr550_stbfi, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103029 { FRVBF_INSN_STHFI, model_fr550_sthfi, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103030 { FRVBF_INSN_STFI, model_fr550_stfi, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103031 { FRVBF_INSN_STDI, model_fr550_stdi, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103032 { FRVBF_INSN_STDFI, model_fr550_stdfi, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103033 { FRVBF_INSN_STQI, model_fr550_stqi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103034 { FRVBF_INSN_STQFI, model_fr550_stqfi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103035 { FRVBF_INSN_SWAP, model_fr550_swap, { { (int) UNIT_FR550_U_SWAP, 1, 1 } } },
103036 { FRVBF_INSN_SWAPI, model_fr550_swapi, { { (int) UNIT_FR550_U_SWAP, 1, 1 } } },
103037 { FRVBF_INSN_CSWAP, model_fr550_cswap, { { (int) UNIT_FR550_U_SWAP, 1, 1 } } },
103038 { FRVBF_INSN_MOVGF, model_fr550_movgf, { { (int) UNIT_FR550_U_GR2FR, 1, 1 } } },
103039 { FRVBF_INSN_MOVFG, model_fr550_movfg, { { (int) UNIT_FR550_U_FR2GR, 1, 1 } } },
103040 { FRVBF_INSN_MOVGFD, model_fr550_movgfd, { { (int) UNIT_FR550_U_GR2FR, 1, 1 } } },
103041 { FRVBF_INSN_MOVFGD, model_fr550_movfgd, { { (int) UNIT_FR550_U_FR2GR, 1, 1 } } },
103042 { FRVBF_INSN_MOVGFQ, model_fr550_movgfq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103043 { FRVBF_INSN_MOVFGQ, model_fr550_movfgq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103044 { FRVBF_INSN_CMOVGF, model_fr550_cmovgf, { { (int) UNIT_FR550_U_GR2FR, 1, 1 } } },
103045 { FRVBF_INSN_CMOVFG, model_fr550_cmovfg, { { (int) UNIT_FR550_U_FR2GR, 1, 1 } } },
103046 { FRVBF_INSN_CMOVGFD, model_fr550_cmovgfd, { { (int) UNIT_FR550_U_GR2FR, 1, 1 } } },
103047 { FRVBF_INSN_CMOVFGD, model_fr550_cmovfgd, { { (int) UNIT_FR550_U_FR2GR, 1, 1 } } },
103048 { FRVBF_INSN_MOVGS, model_fr550_movgs, { { (int) UNIT_FR550_U_GR2SPR, 1, 1 } } },
103049 { FRVBF_INSN_MOVSG, model_fr550_movsg, { { (int) UNIT_FR550_U_SPR2GR, 1, 1 } } },
103050 { FRVBF_INSN_BRA, model_fr550_bra, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103051 { FRVBF_INSN_BNO, model_fr550_bno, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103052 { FRVBF_INSN_BEQ, model_fr550_beq, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103053 { FRVBF_INSN_BNE, model_fr550_bne, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103054 { FRVBF_INSN_BLE, model_fr550_ble, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103055 { FRVBF_INSN_BGT, model_fr550_bgt, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103056 { FRVBF_INSN_BLT, model_fr550_blt, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103057 { FRVBF_INSN_BGE, model_fr550_bge, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103058 { FRVBF_INSN_BLS, model_fr550_bls, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103059 { FRVBF_INSN_BHI, model_fr550_bhi, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103060 { FRVBF_INSN_BC, model_fr550_bc, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103061 { FRVBF_INSN_BNC, model_fr550_bnc, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103062 { FRVBF_INSN_BN, model_fr550_bn, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103063 { FRVBF_INSN_BP, model_fr550_bp, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103064 { FRVBF_INSN_BV, model_fr550_bv, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103065 { FRVBF_INSN_BNV, model_fr550_bnv, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103066 { FRVBF_INSN_FBRA, model_fr550_fbra, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103067 { FRVBF_INSN_FBNO, model_fr550_fbno, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103068 { FRVBF_INSN_FBNE, model_fr550_fbne, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103069 { FRVBF_INSN_FBEQ, model_fr550_fbeq, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103070 { FRVBF_INSN_FBLG, model_fr550_fblg, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103071 { FRVBF_INSN_FBUE, model_fr550_fbue, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103072 { FRVBF_INSN_FBUL, model_fr550_fbul, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103073 { FRVBF_INSN_FBGE, model_fr550_fbge, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103074 { FRVBF_INSN_FBLT, model_fr550_fblt, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103075 { FRVBF_INSN_FBUGE, model_fr550_fbuge, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103076 { FRVBF_INSN_FBUG, model_fr550_fbug, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103077 { FRVBF_INSN_FBLE, model_fr550_fble, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103078 { FRVBF_INSN_FBGT, model_fr550_fbgt, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103079 { FRVBF_INSN_FBULE, model_fr550_fbule, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103080 { FRVBF_INSN_FBU, model_fr550_fbu, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103081 { FRVBF_INSN_FBO, model_fr550_fbo, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103082 { FRVBF_INSN_BCTRLR, model_fr550_bctrlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103083 { FRVBF_INSN_BRALR, model_fr550_bralr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103084 { FRVBF_INSN_BNOLR, model_fr550_bnolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103085 { FRVBF_INSN_BEQLR, model_fr550_beqlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103086 { FRVBF_INSN_BNELR, model_fr550_bnelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103087 { FRVBF_INSN_BLELR, model_fr550_blelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103088 { FRVBF_INSN_BGTLR, model_fr550_bgtlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103089 { FRVBF_INSN_BLTLR, model_fr550_bltlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103090 { FRVBF_INSN_BGELR, model_fr550_bgelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103091 { FRVBF_INSN_BLSLR, model_fr550_blslr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103092 { FRVBF_INSN_BHILR, model_fr550_bhilr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103093 { FRVBF_INSN_BCLR, model_fr550_bclr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103094 { FRVBF_INSN_BNCLR, model_fr550_bnclr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103095 { FRVBF_INSN_BNLR, model_fr550_bnlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103096 { FRVBF_INSN_BPLR, model_fr550_bplr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103097 { FRVBF_INSN_BVLR, model_fr550_bvlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103098 { FRVBF_INSN_BNVLR, model_fr550_bnvlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103099 { FRVBF_INSN_FBRALR, model_fr550_fbralr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103100 { FRVBF_INSN_FBNOLR, model_fr550_fbnolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103101 { FRVBF_INSN_FBEQLR, model_fr550_fbeqlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103102 { FRVBF_INSN_FBNELR, model_fr550_fbnelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103103 { FRVBF_INSN_FBLGLR, model_fr550_fblglr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103104 { FRVBF_INSN_FBUELR, model_fr550_fbuelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103105 { FRVBF_INSN_FBULLR, model_fr550_fbullr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103106 { FRVBF_INSN_FBGELR, model_fr550_fbgelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103107 { FRVBF_INSN_FBLTLR, model_fr550_fbltlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103108 { FRVBF_INSN_FBUGELR, model_fr550_fbugelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103109 { FRVBF_INSN_FBUGLR, model_fr550_fbuglr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103110 { FRVBF_INSN_FBLELR, model_fr550_fblelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103111 { FRVBF_INSN_FBGTLR, model_fr550_fbgtlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103112 { FRVBF_INSN_FBULELR, model_fr550_fbulelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103113 { FRVBF_INSN_FBULR, model_fr550_fbulr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103114 { FRVBF_INSN_FBOLR, model_fr550_fbolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103115 { FRVBF_INSN_BCRALR, model_fr550_bcralr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103116 { FRVBF_INSN_BCNOLR, model_fr550_bcnolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103117 { FRVBF_INSN_BCEQLR, model_fr550_bceqlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103118 { FRVBF_INSN_BCNELR, model_fr550_bcnelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103119 { FRVBF_INSN_BCLELR, model_fr550_bclelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103120 { FRVBF_INSN_BCGTLR, model_fr550_bcgtlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103121 { FRVBF_INSN_BCLTLR, model_fr550_bcltlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103122 { FRVBF_INSN_BCGELR, model_fr550_bcgelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103123 { FRVBF_INSN_BCLSLR, model_fr550_bclslr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103124 { FRVBF_INSN_BCHILR, model_fr550_bchilr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103125 { FRVBF_INSN_BCCLR, model_fr550_bcclr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103126 { FRVBF_INSN_BCNCLR, model_fr550_bcnclr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103127 { FRVBF_INSN_BCNLR, model_fr550_bcnlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103128 { FRVBF_INSN_BCPLR, model_fr550_bcplr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103129 { FRVBF_INSN_BCVLR, model_fr550_bcvlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103130 { FRVBF_INSN_BCNVLR, model_fr550_bcnvlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103131 { FRVBF_INSN_FCBRALR, model_fr550_fcbralr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103132 { FRVBF_INSN_FCBNOLR, model_fr550_fcbnolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103133 { FRVBF_INSN_FCBEQLR, model_fr550_fcbeqlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103134 { FRVBF_INSN_FCBNELR, model_fr550_fcbnelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103135 { FRVBF_INSN_FCBLGLR, model_fr550_fcblglr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103136 { FRVBF_INSN_FCBUELR, model_fr550_fcbuelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103137 { FRVBF_INSN_FCBULLR, model_fr550_fcbullr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103138 { FRVBF_INSN_FCBGELR, model_fr550_fcbgelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103139 { FRVBF_INSN_FCBLTLR, model_fr550_fcbltlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103140 { FRVBF_INSN_FCBUGELR, model_fr550_fcbugelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103141 { FRVBF_INSN_FCBUGLR, model_fr550_fcbuglr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103142 { FRVBF_INSN_FCBLELR, model_fr550_fcblelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103143 { FRVBF_INSN_FCBGTLR, model_fr550_fcbgtlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103144 { FRVBF_INSN_FCBULELR, model_fr550_fcbulelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103145 { FRVBF_INSN_FCBULR, model_fr550_fcbulr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103146 { FRVBF_INSN_FCBOLR, model_fr550_fcbolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103147 { FRVBF_INSN_JMPL, model_fr550_jmpl, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103148 { FRVBF_INSN_CALLL, model_fr550_calll, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103149 { FRVBF_INSN_JMPIL, model_fr550_jmpil, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103150 { FRVBF_INSN_CALLIL, model_fr550_callil, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103151 { FRVBF_INSN_CALL, model_fr550_call, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103152 { FRVBF_INSN_RETT, model_fr550_rett, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103153 { FRVBF_INSN_REI, model_fr550_rei, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103154 { FRVBF_INSN_TRA, model_fr550_tra, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103155 { FRVBF_INSN_TNO, model_fr550_tno, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103156 { FRVBF_INSN_TEQ, model_fr550_teq, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103157 { FRVBF_INSN_TNE, model_fr550_tne, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103158 { FRVBF_INSN_TLE, model_fr550_tle, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103159 { FRVBF_INSN_TGT, model_fr550_tgt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103160 { FRVBF_INSN_TLT, model_fr550_tlt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103161 { FRVBF_INSN_TGE, model_fr550_tge, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103162 { FRVBF_INSN_TLS, model_fr550_tls, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103163 { FRVBF_INSN_THI, model_fr550_thi, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103164 { FRVBF_INSN_TC, model_fr550_tc, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103165 { FRVBF_INSN_TNC, model_fr550_tnc, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103166 { FRVBF_INSN_TN, model_fr550_tn, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103167 { FRVBF_INSN_TP, model_fr550_tp, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103168 { FRVBF_INSN_TV, model_fr550_tv, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103169 { FRVBF_INSN_TNV, model_fr550_tnv, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103170 { FRVBF_INSN_FTRA, model_fr550_ftra, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103171 { FRVBF_INSN_FTNO, model_fr550_ftno, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103172 { FRVBF_INSN_FTNE, model_fr550_ftne, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103173 { FRVBF_INSN_FTEQ, model_fr550_fteq, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103174 { FRVBF_INSN_FTLG, model_fr550_ftlg, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103175 { FRVBF_INSN_FTUE, model_fr550_ftue, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103176 { FRVBF_INSN_FTUL, model_fr550_ftul, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103177 { FRVBF_INSN_FTGE, model_fr550_ftge, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103178 { FRVBF_INSN_FTLT, model_fr550_ftlt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103179 { FRVBF_INSN_FTUGE, model_fr550_ftuge, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103180 { FRVBF_INSN_FTUG, model_fr550_ftug, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103181 { FRVBF_INSN_FTLE, model_fr550_ftle, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103182 { FRVBF_INSN_FTGT, model_fr550_ftgt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103183 { FRVBF_INSN_FTULE, model_fr550_ftule, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103184 { FRVBF_INSN_FTU, model_fr550_ftu, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103185 { FRVBF_INSN_FTO, model_fr550_fto, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103186 { FRVBF_INSN_TIRA, model_fr550_tira, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103187 { FRVBF_INSN_TINO, model_fr550_tino, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103188 { FRVBF_INSN_TIEQ, model_fr550_tieq, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103189 { FRVBF_INSN_TINE, model_fr550_tine, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103190 { FRVBF_INSN_TILE, model_fr550_tile, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103191 { FRVBF_INSN_TIGT, model_fr550_tigt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103192 { FRVBF_INSN_TILT, model_fr550_tilt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103193 { FRVBF_INSN_TIGE, model_fr550_tige, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103194 { FRVBF_INSN_TILS, model_fr550_tils, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103195 { FRVBF_INSN_TIHI, model_fr550_tihi, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103196 { FRVBF_INSN_TIC, model_fr550_tic, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103197 { FRVBF_INSN_TINC, model_fr550_tinc, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103198 { FRVBF_INSN_TIN, model_fr550_tin, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103199 { FRVBF_INSN_TIP, model_fr550_tip, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103200 { FRVBF_INSN_TIV, model_fr550_tiv, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103201 { FRVBF_INSN_TINV, model_fr550_tinv, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103202 { FRVBF_INSN_FTIRA, model_fr550_ftira, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103203 { FRVBF_INSN_FTINO, model_fr550_ftino, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103204 { FRVBF_INSN_FTINE, model_fr550_ftine, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103205 { FRVBF_INSN_FTIEQ, model_fr550_ftieq, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103206 { FRVBF_INSN_FTILG, model_fr550_ftilg, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103207 { FRVBF_INSN_FTIUE, model_fr550_ftiue, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103208 { FRVBF_INSN_FTIUL, model_fr550_ftiul, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103209 { FRVBF_INSN_FTIGE, model_fr550_ftige, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103210 { FRVBF_INSN_FTILT, model_fr550_ftilt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103211 { FRVBF_INSN_FTIUGE, model_fr550_ftiuge, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103212 { FRVBF_INSN_FTIUG, model_fr550_ftiug, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103213 { FRVBF_INSN_FTILE, model_fr550_ftile, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103214 { FRVBF_INSN_FTIGT, model_fr550_ftigt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103215 { FRVBF_INSN_FTIULE, model_fr550_ftiule, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103216 { FRVBF_INSN_FTIU, model_fr550_ftiu, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103217 { FRVBF_INSN_FTIO, model_fr550_ftio, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103218 { FRVBF_INSN_BREAK, model_fr550_break, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103219 { FRVBF_INSN_MTRAP, model_fr550_mtrap, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103220 { FRVBF_INSN_ANDCR, model_fr550_andcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103221 { FRVBF_INSN_ORCR, model_fr550_orcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103222 { FRVBF_INSN_XORCR, model_fr550_xorcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103223 { FRVBF_INSN_NANDCR, model_fr550_nandcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103224 { FRVBF_INSN_NORCR, model_fr550_norcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103225 { FRVBF_INSN_ANDNCR, model_fr550_andncr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103226 { FRVBF_INSN_ORNCR, model_fr550_orncr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103227 { FRVBF_INSN_NANDNCR, model_fr550_nandncr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103228 { FRVBF_INSN_NORNCR, model_fr550_norncr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103229 { FRVBF_INSN_NOTCR, model_fr550_notcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103230 { FRVBF_INSN_CKRA, model_fr550_ckra, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103231 { FRVBF_INSN_CKNO, model_fr550_ckno, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103232 { FRVBF_INSN_CKEQ, model_fr550_ckeq, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103233 { FRVBF_INSN_CKNE, model_fr550_ckne, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103234 { FRVBF_INSN_CKLE, model_fr550_ckle, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103235 { FRVBF_INSN_CKGT, model_fr550_ckgt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103236 { FRVBF_INSN_CKLT, model_fr550_cklt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103237 { FRVBF_INSN_CKGE, model_fr550_ckge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103238 { FRVBF_INSN_CKLS, model_fr550_ckls, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103239 { FRVBF_INSN_CKHI, model_fr550_ckhi, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103240 { FRVBF_INSN_CKC, model_fr550_ckc, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103241 { FRVBF_INSN_CKNC, model_fr550_cknc, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103242 { FRVBF_INSN_CKN, model_fr550_ckn, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103243 { FRVBF_INSN_CKP, model_fr550_ckp, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103244 { FRVBF_INSN_CKV, model_fr550_ckv, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103245 { FRVBF_INSN_CKNV, model_fr550_cknv, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103246 { FRVBF_INSN_FCKRA, model_fr550_fckra, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103247 { FRVBF_INSN_FCKNO, model_fr550_fckno, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103248 { FRVBF_INSN_FCKNE, model_fr550_fckne, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103249 { FRVBF_INSN_FCKEQ, model_fr550_fckeq, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103250 { FRVBF_INSN_FCKLG, model_fr550_fcklg, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103251 { FRVBF_INSN_FCKUE, model_fr550_fckue, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103252 { FRVBF_INSN_FCKUL, model_fr550_fckul, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103253 { FRVBF_INSN_FCKGE, model_fr550_fckge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103254 { FRVBF_INSN_FCKLT, model_fr550_fcklt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103255 { FRVBF_INSN_FCKUGE, model_fr550_fckuge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103256 { FRVBF_INSN_FCKUG, model_fr550_fckug, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103257 { FRVBF_INSN_FCKLE, model_fr550_fckle, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103258 { FRVBF_INSN_FCKGT, model_fr550_fckgt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103259 { FRVBF_INSN_FCKULE, model_fr550_fckule, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103260 { FRVBF_INSN_FCKU, model_fr550_fcku, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103261 { FRVBF_INSN_FCKO, model_fr550_fcko, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103262 { FRVBF_INSN_CCKRA, model_fr550_cckra, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103263 { FRVBF_INSN_CCKNO, model_fr550_cckno, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103264 { FRVBF_INSN_CCKEQ, model_fr550_cckeq, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103265 { FRVBF_INSN_CCKNE, model_fr550_cckne, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103266 { FRVBF_INSN_CCKLE, model_fr550_cckle, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103267 { FRVBF_INSN_CCKGT, model_fr550_cckgt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103268 { FRVBF_INSN_CCKLT, model_fr550_ccklt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103269 { FRVBF_INSN_CCKGE, model_fr550_cckge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103270 { FRVBF_INSN_CCKLS, model_fr550_cckls, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103271 { FRVBF_INSN_CCKHI, model_fr550_cckhi, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103272 { FRVBF_INSN_CCKC, model_fr550_cckc, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103273 { FRVBF_INSN_CCKNC, model_fr550_ccknc, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103274 { FRVBF_INSN_CCKN, model_fr550_cckn, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103275 { FRVBF_INSN_CCKP, model_fr550_cckp, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103276 { FRVBF_INSN_CCKV, model_fr550_cckv, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103277 { FRVBF_INSN_CCKNV, model_fr550_ccknv, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103278 { FRVBF_INSN_CFCKRA, model_fr550_cfckra, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103279 { FRVBF_INSN_CFCKNO, model_fr550_cfckno, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103280 { FRVBF_INSN_CFCKNE, model_fr550_cfckne, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103281 { FRVBF_INSN_CFCKEQ, model_fr550_cfckeq, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103282 { FRVBF_INSN_CFCKLG, model_fr550_cfcklg, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103283 { FRVBF_INSN_CFCKUE, model_fr550_cfckue, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103284 { FRVBF_INSN_CFCKUL, model_fr550_cfckul, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103285 { FRVBF_INSN_CFCKGE, model_fr550_cfckge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103286 { FRVBF_INSN_CFCKLT, model_fr550_cfcklt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103287 { FRVBF_INSN_CFCKUGE, model_fr550_cfckuge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103288 { FRVBF_INSN_CFCKUG, model_fr550_cfckug, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103289 { FRVBF_INSN_CFCKLE, model_fr550_cfckle, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103290 { FRVBF_INSN_CFCKGT, model_fr550_cfckgt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103291 { FRVBF_INSN_CFCKULE, model_fr550_cfckule, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103292 { FRVBF_INSN_CFCKU, model_fr550_cfcku, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103293 { FRVBF_INSN_CFCKO, model_fr550_cfcko, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103294 { FRVBF_INSN_CJMPL, model_fr550_cjmpl, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103295 { FRVBF_INSN_CCALLL, model_fr550_ccalll, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103296 { FRVBF_INSN_ICI, model_fr550_ici, { { (int) UNIT_FR550_U_ICI, 1, 1 } } },
103297 { FRVBF_INSN_DCI, model_fr550_dci, { { (int) UNIT_FR550_U_DCI, 1, 1 } } },
103298 { FRVBF_INSN_ICEI, model_fr550_icei, { { (int) UNIT_FR550_U_ICI, 1, 1 } } },
103299 { FRVBF_INSN_DCEI, model_fr550_dcei, { { (int) UNIT_FR550_U_DCI, 1, 1 } } },
103300 { FRVBF_INSN_DCF, model_fr550_dcf, { { (int) UNIT_FR550_U_DCF, 1, 1 } } },
103301 { FRVBF_INSN_DCEF, model_fr550_dcef, { { (int) UNIT_FR550_U_DCF, 1, 1 } } },
103302 { FRVBF_INSN_WITLB, model_fr550_witlb, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103303 { FRVBF_INSN_WDTLB, model_fr550_wdtlb, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103304 { FRVBF_INSN_ITLBI, model_fr550_itlbi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103305 { FRVBF_INSN_DTLBI, model_fr550_dtlbi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103306 { FRVBF_INSN_ICPL, model_fr550_icpl, { { (int) UNIT_FR550_U_ICPL, 1, 1 } } },
103307 { FRVBF_INSN_DCPL, model_fr550_dcpl, { { (int) UNIT_FR550_U_DCPL, 1, 1 } } },
103308 { FRVBF_INSN_ICUL, model_fr550_icul, { { (int) UNIT_FR550_U_ICUL, 1, 1 } } },
103309 { FRVBF_INSN_DCUL, model_fr550_dcul, { { (int) UNIT_FR550_U_DCUL, 1, 1 } } },
103310 { FRVBF_INSN_BAR, model_fr550_bar, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103311 { FRVBF_INSN_MEMBAR, model_fr550_membar, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103312 { FRVBF_INSN_LRAI, model_fr550_lrai, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103313 { FRVBF_INSN_LRAD, model_fr550_lrad, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103314 { FRVBF_INSN_TLBPR, model_fr550_tlbpr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103315 { FRVBF_INSN_COP1, model_fr550_cop1, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103316 { FRVBF_INSN_COP2, model_fr550_cop2, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103317 { FRVBF_INSN_CLRGR, model_fr550_clrgr, { { (int) UNIT_FR550_U_CLRGR, 1, 1 } } },
103318 { FRVBF_INSN_CLRFR, model_fr550_clrfr, { { (int) UNIT_FR550_U_CLRFR, 1, 1 } } },
103319 { FRVBF_INSN_CLRGA, model_fr550_clrga, { { (int) UNIT_FR550_U_CLRGR, 1, 1 } } },
103320 { FRVBF_INSN_CLRFA, model_fr550_clrfa, { { (int) UNIT_FR550_U_CLRFR, 1, 1 } } },
103321 { FRVBF_INSN_COMMITGR, model_fr550_commitgr, { { (int) UNIT_FR550_U_COMMIT, 1, 1 } } },
103322 { FRVBF_INSN_COMMITFR, model_fr550_commitfr, { { (int) UNIT_FR550_U_COMMIT, 1, 1 } } },
103323 { FRVBF_INSN_COMMITGA, model_fr550_commitga, { { (int) UNIT_FR550_U_COMMIT, 1, 1 } } },
103324 { FRVBF_INSN_COMMITFA, model_fr550_commitfa, { { (int) UNIT_FR550_U_COMMIT, 1, 1 } } },
103325 { FRVBF_INSN_FITOS, model_fr550_fitos, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103326 { FRVBF_INSN_FSTOI, model_fr550_fstoi, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103327 { FRVBF_INSN_FITOD, model_fr550_fitod, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103328 { FRVBF_INSN_FDTOI, model_fr550_fdtoi, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103329 { FRVBF_INSN_FDITOS, model_fr550_fditos, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103330 { FRVBF_INSN_FDSTOI, model_fr550_fdstoi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103331 { FRVBF_INSN_NFDITOS, model_fr550_nfditos, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103332 { FRVBF_INSN_NFDSTOI, model_fr550_nfdstoi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103333 { FRVBF_INSN_CFITOS, model_fr550_cfitos, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103334 { FRVBF_INSN_CFSTOI, model_fr550_cfstoi, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103335 { FRVBF_INSN_NFITOS, model_fr550_nfitos, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103336 { FRVBF_INSN_NFSTOI, model_fr550_nfstoi, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103337 { FRVBF_INSN_FMOVS, model_fr550_fmovs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103338 { FRVBF_INSN_FMOVD, model_fr550_fmovd, { { (int) UNIT_FR550_U_FR2FR, 1, 1 } } },
103339 { FRVBF_INSN_FDMOVS, model_fr550_fdmovs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103340 { FRVBF_INSN_CFMOVS, model_fr550_cfmovs, { { (int) UNIT_FR550_U_FR2FR, 1, 1 } } },
103341 { FRVBF_INSN_FNEGS, model_fr550_fnegs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103342 { FRVBF_INSN_FNEGD, model_fr550_fnegd, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103343 { FRVBF_INSN_FDNEGS, model_fr550_fdnegs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103344 { FRVBF_INSN_CFNEGS, model_fr550_cfnegs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103345 { FRVBF_INSN_FABSS, model_fr550_fabss, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103346 { FRVBF_INSN_FABSD, model_fr550_fabsd, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103347 { FRVBF_INSN_FDABSS, model_fr550_fdabss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103348 { FRVBF_INSN_CFABSS, model_fr550_cfabss, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103349 { FRVBF_INSN_FSQRTS, model_fr550_fsqrts, { { (int) UNIT_FR550_U_FLOAT_SQRT, 1, 1 } } },
103350 { FRVBF_INSN_FDSQRTS, model_fr550_fdsqrts, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103351 { FRVBF_INSN_NFDSQRTS, model_fr550_nfdsqrts, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103352 { FRVBF_INSN_FSQRTD, model_fr550_fsqrtd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103353 { FRVBF_INSN_CFSQRTS, model_fr550_cfsqrts, { { (int) UNIT_FR550_U_FLOAT_SQRT, 1, 1 } } },
103354 { FRVBF_INSN_NFSQRTS, model_fr550_nfsqrts, { { (int) UNIT_FR550_U_FLOAT_SQRT, 1, 1 } } },
103355 { FRVBF_INSN_FADDS, model_fr550_fadds, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103356 { FRVBF_INSN_FSUBS, model_fr550_fsubs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103357 { FRVBF_INSN_FMULS, model_fr550_fmuls, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103358 { FRVBF_INSN_FDIVS, model_fr550_fdivs, { { (int) UNIT_FR550_U_FLOAT_DIV, 1, 1 } } },
103359 { FRVBF_INSN_FADDD, model_fr550_faddd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103360 { FRVBF_INSN_FSUBD, model_fr550_fsubd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103361 { FRVBF_INSN_FMULD, model_fr550_fmuld, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103362 { FRVBF_INSN_FDIVD, model_fr550_fdivd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103363 { FRVBF_INSN_CFADDS, model_fr550_cfadds, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103364 { FRVBF_INSN_CFSUBS, model_fr550_cfsubs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103365 { FRVBF_INSN_CFMULS, model_fr550_cfmuls, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103366 { FRVBF_INSN_CFDIVS, model_fr550_cfdivs, { { (int) UNIT_FR550_U_FLOAT_DIV, 1, 1 } } },
103367 { FRVBF_INSN_NFADDS, model_fr550_nfadds, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103368 { FRVBF_INSN_NFSUBS, model_fr550_nfsubs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103369 { FRVBF_INSN_NFMULS, model_fr550_nfmuls, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103370 { FRVBF_INSN_NFDIVS, model_fr550_nfdivs, { { (int) UNIT_FR550_U_FLOAT_DIV, 1, 1 } } },
103371 { FRVBF_INSN_FCMPS, model_fr550_fcmps, { { (int) UNIT_FR550_U_FLOAT_COMPARE, 1, 1 } } },
103372 { FRVBF_INSN_FCMPD, model_fr550_fcmpd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103373 { FRVBF_INSN_CFCMPS, model_fr550_cfcmps, { { (int) UNIT_FR550_U_FLOAT_COMPARE, 1, 1 } } },
103374 { FRVBF_INSN_FDCMPS, model_fr550_fdcmps, { { (int) UNIT_FR550_U_FLOAT_DUAL_COMPARE, 1, 3 } } },
103375 { FRVBF_INSN_FMADDS, model_fr550_fmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103376 { FRVBF_INSN_FMSUBS, model_fr550_fmsubs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103377 { FRVBF_INSN_FMADDD, model_fr550_fmaddd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103378 { FRVBF_INSN_FMSUBD, model_fr550_fmsubd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103379 { FRVBF_INSN_FDMADDS, model_fr550_fdmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103380 { FRVBF_INSN_NFDMADDS, model_fr550_nfdmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103381 { FRVBF_INSN_CFMADDS, model_fr550_cfmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103382 { FRVBF_INSN_CFMSUBS, model_fr550_cfmsubs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103383 { FRVBF_INSN_NFMADDS, model_fr550_nfmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103384 { FRVBF_INSN_NFMSUBS, model_fr550_nfmsubs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103385 { FRVBF_INSN_FMAS, model_fr550_fmas, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103386 { FRVBF_INSN_FMSS, model_fr550_fmss, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103387 { FRVBF_INSN_FDMAS, model_fr550_fdmas, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103388 { FRVBF_INSN_FDMSS, model_fr550_fdmss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103389 { FRVBF_INSN_NFDMAS, model_fr550_nfdmas, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103390 { FRVBF_INSN_NFDMSS, model_fr550_nfdmss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103391 { FRVBF_INSN_CFMAS, model_fr550_cfmas, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103392 { FRVBF_INSN_CFMSS, model_fr550_cfmss, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103393 { FRVBF_INSN_FMAD, model_fr550_fmad, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103394 { FRVBF_INSN_FMSD, model_fr550_fmsd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103395 { FRVBF_INSN_NFMAS, model_fr550_nfmas, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103396 { FRVBF_INSN_NFMSS, model_fr550_nfmss, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103397 { FRVBF_INSN_FDADDS, model_fr550_fdadds, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103398 { FRVBF_INSN_FDSUBS, model_fr550_fdsubs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103399 { FRVBF_INSN_FDMULS, model_fr550_fdmuls, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103400 { FRVBF_INSN_FDDIVS, model_fr550_fddivs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103401 { FRVBF_INSN_FDSADS, model_fr550_fdsads, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103402 { FRVBF_INSN_FDMULCS, model_fr550_fdmulcs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103403 { FRVBF_INSN_NFDMULCS, model_fr550_nfdmulcs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103404 { FRVBF_INSN_NFDADDS, model_fr550_nfdadds, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103405 { FRVBF_INSN_NFDSUBS, model_fr550_nfdsubs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103406 { FRVBF_INSN_NFDMULS, model_fr550_nfdmuls, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103407 { FRVBF_INSN_NFDDIVS, model_fr550_nfddivs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103408 { FRVBF_INSN_NFDSADS, model_fr550_nfdsads, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103409 { FRVBF_INSN_NFDCMPS, model_fr550_nfdcmps, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103410 { FRVBF_INSN_MHSETLOS, model_fr550_mhsetlos, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103411 { FRVBF_INSN_MHSETHIS, model_fr550_mhsethis, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103412 { FRVBF_INSN_MHDSETS, model_fr550_mhdsets, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103413 { FRVBF_INSN_MHSETLOH, model_fr550_mhsetloh, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103414 { FRVBF_INSN_MHSETHIH, model_fr550_mhsethih, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103415 { FRVBF_INSN_MHDSETH, model_fr550_mhdseth, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103416 { FRVBF_INSN_MAND, model_fr550_mand, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103417 { FRVBF_INSN_MOR, model_fr550_mor, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103418 { FRVBF_INSN_MXOR, model_fr550_mxor, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103419 { FRVBF_INSN_CMAND, model_fr550_cmand, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103420 { FRVBF_INSN_CMOR, model_fr550_cmor, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103421 { FRVBF_INSN_CMXOR, model_fr550_cmxor, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103422 { FRVBF_INSN_MNOT, model_fr550_mnot, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103423 { FRVBF_INSN_CMNOT, model_fr550_cmnot, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103424 { FRVBF_INSN_MROTLI, model_fr550_mrotli, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103425 { FRVBF_INSN_MROTRI, model_fr550_mrotri, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103426 { FRVBF_INSN_MWCUT, model_fr550_mwcut, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103427 { FRVBF_INSN_MWCUTI, model_fr550_mwcuti, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103428 { FRVBF_INSN_MCUT, model_fr550_mcut, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103429 { FRVBF_INSN_MCUTI, model_fr550_mcuti, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103430 { FRVBF_INSN_MCUTSS, model_fr550_mcutss, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103431 { FRVBF_INSN_MCUTSSI, model_fr550_mcutssi, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103432 { FRVBF_INSN_MDCUTSSI, model_fr550_mdcutssi, { { (int) UNIT_FR550_U_MEDIA_3_ACC_DUAL, 1, 1 } } },
103433 { FRVBF_INSN_MAVEH, model_fr550_maveh, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103434 { FRVBF_INSN_MSLLHI, model_fr550_msllhi, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103435 { FRVBF_INSN_MSRLHI, model_fr550_msrlhi, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103436 { FRVBF_INSN_MSRAHI, model_fr550_msrahi, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103437 { FRVBF_INSN_MDROTLI, model_fr550_mdrotli, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103438 { FRVBF_INSN_MCPLHI, model_fr550_mcplhi, { { (int) UNIT_FR550_U_MEDIA_3_DUAL, 1, 1 } } },
103439 { FRVBF_INSN_MCPLI, model_fr550_mcpli, { { (int) UNIT_FR550_U_MEDIA_3_DUAL, 1, 1 } } },
103440 { FRVBF_INSN_MSATHS, model_fr550_msaths, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103441 { FRVBF_INSN_MQSATHS, model_fr550_mqsaths, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103442 { FRVBF_INSN_MSATHU, model_fr550_msathu, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103443 { FRVBF_INSN_MCMPSH, model_fr550_mcmpsh, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103444 { FRVBF_INSN_MCMPUH, model_fr550_mcmpuh, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103445 { FRVBF_INSN_MABSHS, model_fr550_mabshs, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103446 { FRVBF_INSN_MADDHSS, model_fr550_maddhss, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103447 { FRVBF_INSN_MADDHUS, model_fr550_maddhus, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103448 { FRVBF_INSN_MSUBHSS, model_fr550_msubhss, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103449 { FRVBF_INSN_MSUBHUS, model_fr550_msubhus, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103450 { FRVBF_INSN_CMADDHSS, model_fr550_cmaddhss, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103451 { FRVBF_INSN_CMADDHUS, model_fr550_cmaddhus, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103452 { FRVBF_INSN_CMSUBHSS, model_fr550_cmsubhss, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103453 { FRVBF_INSN_CMSUBHUS, model_fr550_cmsubhus, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103454 { FRVBF_INSN_MQADDHSS, model_fr550_mqaddhss, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103455 { FRVBF_INSN_MQADDHUS, model_fr550_mqaddhus, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103456 { FRVBF_INSN_MQSUBHSS, model_fr550_mqsubhss, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103457 { FRVBF_INSN_MQSUBHUS, model_fr550_mqsubhus, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103458 { FRVBF_INSN_CMQADDHSS, model_fr550_cmqaddhss, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103459 { FRVBF_INSN_CMQADDHUS, model_fr550_cmqaddhus, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103460 { FRVBF_INSN_CMQSUBHSS, model_fr550_cmqsubhss, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103461 { FRVBF_INSN_CMQSUBHUS, model_fr550_cmqsubhus, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103462 { FRVBF_INSN_MQLCLRHS, model_fr550_mqlclrhs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103463 { FRVBF_INSN_MQLMTHS, model_fr550_mqlmths, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103464 { FRVBF_INSN_MQSLLHI, model_fr550_mqsllhi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103465 { FRVBF_INSN_MQSRAHI, model_fr550_mqsrahi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103466 { FRVBF_INSN_MADDACCS, model_fr550_maddaccs, { { (int) UNIT_FR550_U_MEDIA_4_ACC, 1, 1 } } },
103467 { FRVBF_INSN_MSUBACCS, model_fr550_msubaccs, { { (int) UNIT_FR550_U_MEDIA_4_ACC, 1, 1 } } },
103468 { FRVBF_INSN_MDADDACCS, model_fr550_mdaddaccs, { { (int) UNIT_FR550_U_MEDIA_4_ACC_DUAL, 1, 1 } } },
103469 { FRVBF_INSN_MDSUBACCS, model_fr550_mdsubaccs, { { (int) UNIT_FR550_U_MEDIA_4_ACC_DUAL, 1, 1 } } },
103470 { FRVBF_INSN_MASACCS, model_fr550_masaccs, { { (int) UNIT_FR550_U_MEDIA_4_ADD_SUB, 1, 1 } } },
103471 { FRVBF_INSN_MDASACCS, model_fr550_mdasaccs, { { (int) UNIT_FR550_U_MEDIA_4_ADD_SUB_DUAL, 1, 1 } } },
103472 { FRVBF_INSN_MMULHS, model_fr550_mmulhs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103473 { FRVBF_INSN_MMULHU, model_fr550_mmulhu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103474 { FRVBF_INSN_MMULXHS, model_fr550_mmulxhs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103475 { FRVBF_INSN_MMULXHU, model_fr550_mmulxhu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103476 { FRVBF_INSN_CMMULHS, model_fr550_cmmulhs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103477 { FRVBF_INSN_CMMULHU, model_fr550_cmmulhu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103478 { FRVBF_INSN_MQMULHS, model_fr550_mqmulhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103479 { FRVBF_INSN_MQMULHU, model_fr550_mqmulhu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103480 { FRVBF_INSN_MQMULXHS, model_fr550_mqmulxhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103481 { FRVBF_INSN_MQMULXHU, model_fr550_mqmulxhu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103482 { FRVBF_INSN_CMQMULHS, model_fr550_cmqmulhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103483 { FRVBF_INSN_CMQMULHU, model_fr550_cmqmulhu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103484 { FRVBF_INSN_MMACHS, model_fr550_mmachs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103485 { FRVBF_INSN_MMACHU, model_fr550_mmachu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103486 { FRVBF_INSN_MMRDHS, model_fr550_mmrdhs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103487 { FRVBF_INSN_MMRDHU, model_fr550_mmrdhu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103488 { FRVBF_INSN_CMMACHS, model_fr550_cmmachs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103489 { FRVBF_INSN_CMMACHU, model_fr550_cmmachu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103490 { FRVBF_INSN_MQMACHS, model_fr550_mqmachs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103491 { FRVBF_INSN_MQMACHU, model_fr550_mqmachu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103492 { FRVBF_INSN_CMQMACHS, model_fr550_cmqmachs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103493 { FRVBF_INSN_CMQMACHU, model_fr550_cmqmachu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103494 { FRVBF_INSN_MQXMACHS, model_fr550_mqxmachs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103495 { FRVBF_INSN_MQXMACXHS, model_fr550_mqxmacxhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103496 { FRVBF_INSN_MQMACXHS, model_fr550_mqmacxhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103497 { FRVBF_INSN_MCPXRS, model_fr550_mcpxrs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103498 { FRVBF_INSN_MCPXRU, model_fr550_mcpxru, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103499 { FRVBF_INSN_MCPXIS, model_fr550_mcpxis, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103500 { FRVBF_INSN_MCPXIU, model_fr550_mcpxiu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103501 { FRVBF_INSN_CMCPXRS, model_fr550_cmcpxrs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103502 { FRVBF_INSN_CMCPXRU, model_fr550_cmcpxru, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103503 { FRVBF_INSN_CMCPXIS, model_fr550_cmcpxis, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103504 { FRVBF_INSN_CMCPXIU, model_fr550_cmcpxiu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103505 { FRVBF_INSN_MQCPXRS, model_fr550_mqcpxrs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103506 { FRVBF_INSN_MQCPXRU, model_fr550_mqcpxru, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103507 { FRVBF_INSN_MQCPXIS, model_fr550_mqcpxis, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103508 { FRVBF_INSN_MQCPXIU, model_fr550_mqcpxiu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103509 { FRVBF_INSN_MEXPDHW, model_fr550_mexpdhw, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103510 { FRVBF_INSN_CMEXPDHW, model_fr550_cmexpdhw, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103511 { FRVBF_INSN_MEXPDHD, model_fr550_mexpdhd, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103512 { FRVBF_INSN_CMEXPDHD, model_fr550_cmexpdhd, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103513 { FRVBF_INSN_MPACKH, model_fr550_mpackh, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103514 { FRVBF_INSN_MDPACKH, model_fr550_mdpackh, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103515 { FRVBF_INSN_MUNPACKH, model_fr550_munpackh, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103516 { FRVBF_INSN_MDUNPACKH, model_fr550_mdunpackh, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103517 { FRVBF_INSN_MBTOH, model_fr550_mbtoh, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103518 { FRVBF_INSN_CMBTOH, model_fr550_cmbtoh, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103519 { FRVBF_INSN_MHTOB, model_fr550_mhtob, { { (int) UNIT_FR550_U_MEDIA_3_DUAL, 1, 1 } } },
103520 { FRVBF_INSN_CMHTOB, model_fr550_cmhtob, { { (int) UNIT_FR550_U_MEDIA_3_DUAL, 1, 1 } } },
103521 { FRVBF_INSN_MBTOHE, model_fr550_mbtohe, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103522 { FRVBF_INSN_CMBTOHE, model_fr550_cmbtohe, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103523 { FRVBF_INSN_MNOP, model_fr550_mnop, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103524 { FRVBF_INSN_MCLRACC_0, model_fr550_mclracc_0, { { (int) UNIT_FR550_U_MEDIA_3_MCLRACC, 1, 1 } } },
103525 { FRVBF_INSN_MCLRACC_1, model_fr550_mclracc_1, { { (int) UNIT_FR550_U_MEDIA_3_MCLRACC, 1, 1 } } },
103526 { FRVBF_INSN_MRDACC, model_fr550_mrdacc, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103527 { FRVBF_INSN_MRDACCG, model_fr550_mrdaccg, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103528 { FRVBF_INSN_MWTACC, model_fr550_mwtacc, { { (int) UNIT_FR550_U_MEDIA_3_WTACC, 1, 1 } } },
103529 { FRVBF_INSN_MWTACCG, model_fr550_mwtaccg, { { (int) UNIT_FR550_U_MEDIA_3_WTACC, 1, 1 } } },
103530 { FRVBF_INSN_MCOP1, model_fr550_mcop1, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103531 { FRVBF_INSN_MCOP2, model_fr550_mcop2, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103532 { FRVBF_INSN_FNOP, model_fr550_fnop, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103535 /* Model timing data for `fr500'. */
103537 static const INSN_TIMING fr500_timing[] = {
103538 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103539 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103540 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103541 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103542 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103543 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103544 { FRVBF_INSN_ADD, model_fr500_add, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103545 { FRVBF_INSN_SUB, model_fr500_sub, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103546 { FRVBF_INSN_AND, model_fr500_and, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103547 { FRVBF_INSN_OR, model_fr500_or, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103548 { FRVBF_INSN_XOR, model_fr500_xor, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103549 { FRVBF_INSN_NOT, model_fr500_not, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103550 { FRVBF_INSN_SDIV, model_fr500_sdiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103551 { FRVBF_INSN_NSDIV, model_fr500_nsdiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103552 { FRVBF_INSN_UDIV, model_fr500_udiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103553 { FRVBF_INSN_NUDIV, model_fr500_nudiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103554 { FRVBF_INSN_SMUL, model_fr500_smul, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103555 { FRVBF_INSN_UMUL, model_fr500_umul, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103556 { FRVBF_INSN_SMU, model_fr500_smu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103557 { FRVBF_INSN_SMASS, model_fr500_smass, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103558 { FRVBF_INSN_SMSSS, model_fr500_smsss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103559 { FRVBF_INSN_SLL, model_fr500_sll, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103560 { FRVBF_INSN_SRL, model_fr500_srl, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103561 { FRVBF_INSN_SRA, model_fr500_sra, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103562 { FRVBF_INSN_SLASS, model_fr500_slass, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103563 { FRVBF_INSN_SCUTSS, model_fr500_scutss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103564 { FRVBF_INSN_SCAN, model_fr500_scan, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103565 { FRVBF_INSN_CADD, model_fr500_cadd, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103566 { FRVBF_INSN_CSUB, model_fr500_csub, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103567 { FRVBF_INSN_CAND, model_fr500_cand, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103568 { FRVBF_INSN_COR, model_fr500_cor, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103569 { FRVBF_INSN_CXOR, model_fr500_cxor, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103570 { FRVBF_INSN_CNOT, model_fr500_cnot, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103571 { FRVBF_INSN_CSMUL, model_fr500_csmul, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103572 { FRVBF_INSN_CSDIV, model_fr500_csdiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103573 { FRVBF_INSN_CUDIV, model_fr500_cudiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103574 { FRVBF_INSN_CSLL, model_fr500_csll, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103575 { FRVBF_INSN_CSRL, model_fr500_csrl, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103576 { FRVBF_INSN_CSRA, model_fr500_csra, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103577 { FRVBF_INSN_CSCAN, model_fr500_cscan, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103578 { FRVBF_INSN_ADDCC, model_fr500_addcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103579 { FRVBF_INSN_SUBCC, model_fr500_subcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103580 { FRVBF_INSN_ANDCC, model_fr500_andcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103581 { FRVBF_INSN_ORCC, model_fr500_orcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103582 { FRVBF_INSN_XORCC, model_fr500_xorcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103583 { FRVBF_INSN_SLLCC, model_fr500_sllcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103584 { FRVBF_INSN_SRLCC, model_fr500_srlcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103585 { FRVBF_INSN_SRACC, model_fr500_sracc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103586 { FRVBF_INSN_SMULCC, model_fr500_smulcc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103587 { FRVBF_INSN_UMULCC, model_fr500_umulcc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103588 { FRVBF_INSN_CADDCC, model_fr500_caddcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103589 { FRVBF_INSN_CSUBCC, model_fr500_csubcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103590 { FRVBF_INSN_CSMULCC, model_fr500_csmulcc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103591 { FRVBF_INSN_CANDCC, model_fr500_candcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103592 { FRVBF_INSN_CORCC, model_fr500_corcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103593 { FRVBF_INSN_CXORCC, model_fr500_cxorcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103594 { FRVBF_INSN_CSLLCC, model_fr500_csllcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103595 { FRVBF_INSN_CSRLCC, model_fr500_csrlcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103596 { FRVBF_INSN_CSRACC, model_fr500_csracc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103597 { FRVBF_INSN_ADDX, model_fr500_addx, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103598 { FRVBF_INSN_SUBX, model_fr500_subx, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103599 { FRVBF_INSN_ADDXCC, model_fr500_addxcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103600 { FRVBF_INSN_SUBXCC, model_fr500_subxcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103601 { FRVBF_INSN_ADDSS, model_fr500_addss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103602 { FRVBF_INSN_SUBSS, model_fr500_subss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103603 { FRVBF_INSN_ADDI, model_fr500_addi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103604 { FRVBF_INSN_SUBI, model_fr500_subi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103605 { FRVBF_INSN_ANDI, model_fr500_andi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103606 { FRVBF_INSN_ORI, model_fr500_ori, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103607 { FRVBF_INSN_XORI, model_fr500_xori, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103608 { FRVBF_INSN_SDIVI, model_fr500_sdivi, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103609 { FRVBF_INSN_NSDIVI, model_fr500_nsdivi, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103610 { FRVBF_INSN_UDIVI, model_fr500_udivi, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103611 { FRVBF_INSN_NUDIVI, model_fr500_nudivi, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103612 { FRVBF_INSN_SMULI, model_fr500_smuli, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103613 { FRVBF_INSN_UMULI, model_fr500_umuli, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103614 { FRVBF_INSN_SLLI, model_fr500_slli, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103615 { FRVBF_INSN_SRLI, model_fr500_srli, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103616 { FRVBF_INSN_SRAI, model_fr500_srai, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103617 { FRVBF_INSN_SCANI, model_fr500_scani, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103618 { FRVBF_INSN_ADDICC, model_fr500_addicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103619 { FRVBF_INSN_SUBICC, model_fr500_subicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103620 { FRVBF_INSN_ANDICC, model_fr500_andicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103621 { FRVBF_INSN_ORICC, model_fr500_oricc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103622 { FRVBF_INSN_XORICC, model_fr500_xoricc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103623 { FRVBF_INSN_SMULICC, model_fr500_smulicc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103624 { FRVBF_INSN_UMULICC, model_fr500_umulicc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103625 { FRVBF_INSN_SLLICC, model_fr500_sllicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103626 { FRVBF_INSN_SRLICC, model_fr500_srlicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103627 { FRVBF_INSN_SRAICC, model_fr500_sraicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103628 { FRVBF_INSN_ADDXI, model_fr500_addxi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103629 { FRVBF_INSN_SUBXI, model_fr500_subxi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103630 { FRVBF_INSN_ADDXICC, model_fr500_addxicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103631 { FRVBF_INSN_SUBXICC, model_fr500_subxicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103632 { FRVBF_INSN_CMPB, model_fr500_cmpb, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103633 { FRVBF_INSN_CMPBA, model_fr500_cmpba, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103634 { FRVBF_INSN_SETLO, model_fr500_setlo, { { (int) UNIT_FR500_U_SET_HILO, 1, 1 } } },
103635 { FRVBF_INSN_SETHI, model_fr500_sethi, { { (int) UNIT_FR500_U_SET_HILO, 1, 1 } } },
103636 { FRVBF_INSN_SETLOS, model_fr500_setlos, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103637 { FRVBF_INSN_LDSB, model_fr500_ldsb, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103638 { FRVBF_INSN_LDUB, model_fr500_ldub, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103639 { FRVBF_INSN_LDSH, model_fr500_ldsh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103640 { FRVBF_INSN_LDUH, model_fr500_lduh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103641 { FRVBF_INSN_LD, model_fr500_ld, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103642 { FRVBF_INSN_LDBF, model_fr500_ldbf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103643 { FRVBF_INSN_LDHF, model_fr500_ldhf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103644 { FRVBF_INSN_LDF, model_fr500_ldf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103645 { FRVBF_INSN_LDC, model_fr500_ldc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103646 { FRVBF_INSN_NLDSB, model_fr500_nldsb, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103647 { FRVBF_INSN_NLDUB, model_fr500_nldub, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103648 { FRVBF_INSN_NLDSH, model_fr500_nldsh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103649 { FRVBF_INSN_NLDUH, model_fr500_nlduh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103650 { FRVBF_INSN_NLD, model_fr500_nld, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103651 { FRVBF_INSN_NLDBF, model_fr500_nldbf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103652 { FRVBF_INSN_NLDHF, model_fr500_nldhf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103653 { FRVBF_INSN_NLDF, model_fr500_nldf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103654 { FRVBF_INSN_LDD, model_fr500_ldd, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103655 { FRVBF_INSN_LDDF, model_fr500_lddf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103656 { FRVBF_INSN_LDDC, model_fr500_lddc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103657 { FRVBF_INSN_NLDD, model_fr500_nldd, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103658 { FRVBF_INSN_NLDDF, model_fr500_nlddf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103659 { FRVBF_INSN_LDQ, model_fr500_ldq, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103660 { FRVBF_INSN_LDQF, model_fr500_ldqf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103661 { FRVBF_INSN_LDQC, model_fr500_ldqc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103662 { FRVBF_INSN_NLDQ, model_fr500_nldq, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103663 { FRVBF_INSN_NLDQF, model_fr500_nldqf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103664 { FRVBF_INSN_LDSBU, model_fr500_ldsbu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103665 { FRVBF_INSN_LDUBU, model_fr500_ldubu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103666 { FRVBF_INSN_LDSHU, model_fr500_ldshu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103667 { FRVBF_INSN_LDUHU, model_fr500_lduhu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103668 { FRVBF_INSN_LDU, model_fr500_ldu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103669 { FRVBF_INSN_NLDSBU, model_fr500_nldsbu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103670 { FRVBF_INSN_NLDUBU, model_fr500_nldubu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103671 { FRVBF_INSN_NLDSHU, model_fr500_nldshu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103672 { FRVBF_INSN_NLDUHU, model_fr500_nlduhu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103673 { FRVBF_INSN_NLDU, model_fr500_nldu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103674 { FRVBF_INSN_LDBFU, model_fr500_ldbfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103675 { FRVBF_INSN_LDHFU, model_fr500_ldhfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103676 { FRVBF_INSN_LDFU, model_fr500_ldfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103677 { FRVBF_INSN_LDCU, model_fr500_ldcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103678 { FRVBF_INSN_NLDBFU, model_fr500_nldbfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103679 { FRVBF_INSN_NLDHFU, model_fr500_nldhfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103680 { FRVBF_INSN_NLDFU, model_fr500_nldfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103681 { FRVBF_INSN_LDDU, model_fr500_lddu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103682 { FRVBF_INSN_NLDDU, model_fr500_nlddu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103683 { FRVBF_INSN_LDDFU, model_fr500_lddfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103684 { FRVBF_INSN_LDDCU, model_fr500_lddcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103685 { FRVBF_INSN_NLDDFU, model_fr500_nlddfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103686 { FRVBF_INSN_LDQU, model_fr500_ldqu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103687 { FRVBF_INSN_NLDQU, model_fr500_nldqu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103688 { FRVBF_INSN_LDQFU, model_fr500_ldqfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103689 { FRVBF_INSN_LDQCU, model_fr500_ldqcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103690 { FRVBF_INSN_NLDQFU, model_fr500_nldqfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103691 { FRVBF_INSN_LDSBI, model_fr500_ldsbi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103692 { FRVBF_INSN_LDSHI, model_fr500_ldshi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103693 { FRVBF_INSN_LDI, model_fr500_ldi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103694 { FRVBF_INSN_LDUBI, model_fr500_ldubi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103695 { FRVBF_INSN_LDUHI, model_fr500_lduhi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103696 { FRVBF_INSN_LDBFI, model_fr500_ldbfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103697 { FRVBF_INSN_LDHFI, model_fr500_ldhfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103698 { FRVBF_INSN_LDFI, model_fr500_ldfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103699 { FRVBF_INSN_NLDSBI, model_fr500_nldsbi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103700 { FRVBF_INSN_NLDUBI, model_fr500_nldubi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103701 { FRVBF_INSN_NLDSHI, model_fr500_nldshi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103702 { FRVBF_INSN_NLDUHI, model_fr500_nlduhi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103703 { FRVBF_INSN_NLDI, model_fr500_nldi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103704 { FRVBF_INSN_NLDBFI, model_fr500_nldbfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103705 { FRVBF_INSN_NLDHFI, model_fr500_nldhfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103706 { FRVBF_INSN_NLDFI, model_fr500_nldfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103707 { FRVBF_INSN_LDDI, model_fr500_lddi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103708 { FRVBF_INSN_LDDFI, model_fr500_lddfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103709 { FRVBF_INSN_NLDDI, model_fr500_nlddi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103710 { FRVBF_INSN_NLDDFI, model_fr500_nlddfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103711 { FRVBF_INSN_LDQI, model_fr500_ldqi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103712 { FRVBF_INSN_LDQFI, model_fr500_ldqfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103713 { FRVBF_INSN_NLDQFI, model_fr500_nldqfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103714 { FRVBF_INSN_STB, model_fr500_stb, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103715 { FRVBF_INSN_STH, model_fr500_sth, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103716 { FRVBF_INSN_ST, model_fr500_st, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103717 { FRVBF_INSN_STBF, model_fr500_stbf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103718 { FRVBF_INSN_STHF, model_fr500_sthf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103719 { FRVBF_INSN_STF, model_fr500_stf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103720 { FRVBF_INSN_STC, model_fr500_stc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103721 { FRVBF_INSN_STD, model_fr500_std, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103722 { FRVBF_INSN_STDF, model_fr500_stdf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103723 { FRVBF_INSN_STDC, model_fr500_stdc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103724 { FRVBF_INSN_STQ, model_fr500_stq, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103725 { FRVBF_INSN_STQF, model_fr500_stqf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103726 { FRVBF_INSN_STQC, model_fr500_stqc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103727 { FRVBF_INSN_STBU, model_fr500_stbu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103728 { FRVBF_INSN_STHU, model_fr500_sthu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103729 { FRVBF_INSN_STU, model_fr500_stu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103730 { FRVBF_INSN_STBFU, model_fr500_stbfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103731 { FRVBF_INSN_STHFU, model_fr500_sthfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103732 { FRVBF_INSN_STFU, model_fr500_stfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103733 { FRVBF_INSN_STCU, model_fr500_stcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103734 { FRVBF_INSN_STDU, model_fr500_stdu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103735 { FRVBF_INSN_STDFU, model_fr500_stdfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103736 { FRVBF_INSN_STDCU, model_fr500_stdcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103737 { FRVBF_INSN_STQU, model_fr500_stqu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103738 { FRVBF_INSN_STQFU, model_fr500_stqfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103739 { FRVBF_INSN_STQCU, model_fr500_stqcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103740 { FRVBF_INSN_CLDSB, model_fr500_cldsb, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103741 { FRVBF_INSN_CLDUB, model_fr500_cldub, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103742 { FRVBF_INSN_CLDSH, model_fr500_cldsh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103743 { FRVBF_INSN_CLDUH, model_fr500_clduh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103744 { FRVBF_INSN_CLD, model_fr500_cld, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103745 { FRVBF_INSN_CLDBF, model_fr500_cldbf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103746 { FRVBF_INSN_CLDHF, model_fr500_cldhf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103747 { FRVBF_INSN_CLDF, model_fr500_cldf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103748 { FRVBF_INSN_CLDD, model_fr500_cldd, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103749 { FRVBF_INSN_CLDDF, model_fr500_clddf, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103750 { FRVBF_INSN_CLDQ, model_fr500_cldq, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103751 { FRVBF_INSN_CLDSBU, model_fr500_cldsbu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103752 { FRVBF_INSN_CLDUBU, model_fr500_cldubu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103753 { FRVBF_INSN_CLDSHU, model_fr500_cldshu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103754 { FRVBF_INSN_CLDUHU, model_fr500_clduhu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103755 { FRVBF_INSN_CLDU, model_fr500_cldu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103756 { FRVBF_INSN_CLDBFU, model_fr500_cldbfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103757 { FRVBF_INSN_CLDHFU, model_fr500_cldhfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103758 { FRVBF_INSN_CLDFU, model_fr500_cldfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103759 { FRVBF_INSN_CLDDU, model_fr500_clddu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103760 { FRVBF_INSN_CLDDFU, model_fr500_clddfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103761 { FRVBF_INSN_CLDQU, model_fr500_cldqu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103762 { FRVBF_INSN_CSTB, model_fr500_cstb, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103763 { FRVBF_INSN_CSTH, model_fr500_csth, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103764 { FRVBF_INSN_CST, model_fr500_cst, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103765 { FRVBF_INSN_CSTBF, model_fr500_cstbf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103766 { FRVBF_INSN_CSTHF, model_fr500_csthf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103767 { FRVBF_INSN_CSTF, model_fr500_cstf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103768 { FRVBF_INSN_CSTD, model_fr500_cstd, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103769 { FRVBF_INSN_CSTDF, model_fr500_cstdf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103770 { FRVBF_INSN_CSTQ, model_fr500_cstq, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103771 { FRVBF_INSN_CSTBU, model_fr500_cstbu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103772 { FRVBF_INSN_CSTHU, model_fr500_csthu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103773 { FRVBF_INSN_CSTU, model_fr500_cstu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103774 { FRVBF_INSN_CSTBFU, model_fr500_cstbfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103775 { FRVBF_INSN_CSTHFU, model_fr500_csthfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103776 { FRVBF_INSN_CSTFU, model_fr500_cstfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103777 { FRVBF_INSN_CSTDU, model_fr500_cstdu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103778 { FRVBF_INSN_CSTDFU, model_fr500_cstdfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103779 { FRVBF_INSN_STBI, model_fr500_stbi, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103780 { FRVBF_INSN_STHI, model_fr500_sthi, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103781 { FRVBF_INSN_STI, model_fr500_sti, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103782 { FRVBF_INSN_STBFI, model_fr500_stbfi, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103783 { FRVBF_INSN_STHFI, model_fr500_sthfi, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103784 { FRVBF_INSN_STFI, model_fr500_stfi, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103785 { FRVBF_INSN_STDI, model_fr500_stdi, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103786 { FRVBF_INSN_STDFI, model_fr500_stdfi, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103787 { FRVBF_INSN_STQI, model_fr500_stqi, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103788 { FRVBF_INSN_STQFI, model_fr500_stqfi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103789 { FRVBF_INSN_SWAP, model_fr500_swap, { { (int) UNIT_FR500_U_SWAP, 1, 1 } } },
103790 { FRVBF_INSN_SWAPI, model_fr500_swapi, { { (int) UNIT_FR500_U_SWAP, 1, 1 } } },
103791 { FRVBF_INSN_CSWAP, model_fr500_cswap, { { (int) UNIT_FR500_U_SWAP, 1, 1 } } },
103792 { FRVBF_INSN_MOVGF, model_fr500_movgf, { { (int) UNIT_FR500_U_GR2FR, 1, 1 } } },
103793 { FRVBF_INSN_MOVFG, model_fr500_movfg, { { (int) UNIT_FR500_U_FR2GR, 1, 1 } } },
103794 { FRVBF_INSN_MOVGFD, model_fr500_movgfd, { { (int) UNIT_FR500_U_GR2FR, 1, 1 } } },
103795 { FRVBF_INSN_MOVFGD, model_fr500_movfgd, { { (int) UNIT_FR500_U_FR2GR, 1, 1 } } },
103796 { FRVBF_INSN_MOVGFQ, model_fr500_movgfq, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103797 { FRVBF_INSN_MOVFGQ, model_fr500_movfgq, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103798 { FRVBF_INSN_CMOVGF, model_fr500_cmovgf, { { (int) UNIT_FR500_U_GR2FR, 1, 1 } } },
103799 { FRVBF_INSN_CMOVFG, model_fr500_cmovfg, { { (int) UNIT_FR500_U_FR2GR, 1, 1 } } },
103800 { FRVBF_INSN_CMOVGFD, model_fr500_cmovgfd, { { (int) UNIT_FR500_U_GR2FR, 1, 1 } } },
103801 { FRVBF_INSN_CMOVFGD, model_fr500_cmovfgd, { { (int) UNIT_FR500_U_FR2GR, 1, 1 } } },
103802 { FRVBF_INSN_MOVGS, model_fr500_movgs, { { (int) UNIT_FR500_U_GR2SPR, 1, 1 } } },
103803 { FRVBF_INSN_MOVSG, model_fr500_movsg, { { (int) UNIT_FR500_U_SPR2GR, 1, 1 } } },
103804 { FRVBF_INSN_BRA, model_fr500_bra, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103805 { FRVBF_INSN_BNO, model_fr500_bno, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103806 { FRVBF_INSN_BEQ, model_fr500_beq, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103807 { FRVBF_INSN_BNE, model_fr500_bne, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103808 { FRVBF_INSN_BLE, model_fr500_ble, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103809 { FRVBF_INSN_BGT, model_fr500_bgt, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103810 { FRVBF_INSN_BLT, model_fr500_blt, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103811 { FRVBF_INSN_BGE, model_fr500_bge, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103812 { FRVBF_INSN_BLS, model_fr500_bls, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103813 { FRVBF_INSN_BHI, model_fr500_bhi, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103814 { FRVBF_INSN_BC, model_fr500_bc, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103815 { FRVBF_INSN_BNC, model_fr500_bnc, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103816 { FRVBF_INSN_BN, model_fr500_bn, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103817 { FRVBF_INSN_BP, model_fr500_bp, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103818 { FRVBF_INSN_BV, model_fr500_bv, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103819 { FRVBF_INSN_BNV, model_fr500_bnv, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103820 { FRVBF_INSN_FBRA, model_fr500_fbra, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103821 { FRVBF_INSN_FBNO, model_fr500_fbno, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103822 { FRVBF_INSN_FBNE, model_fr500_fbne, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103823 { FRVBF_INSN_FBEQ, model_fr500_fbeq, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103824 { FRVBF_INSN_FBLG, model_fr500_fblg, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103825 { FRVBF_INSN_FBUE, model_fr500_fbue, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103826 { FRVBF_INSN_FBUL, model_fr500_fbul, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103827 { FRVBF_INSN_FBGE, model_fr500_fbge, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103828 { FRVBF_INSN_FBLT, model_fr500_fblt, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103829 { FRVBF_INSN_FBUGE, model_fr500_fbuge, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103830 { FRVBF_INSN_FBUG, model_fr500_fbug, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103831 { FRVBF_INSN_FBLE, model_fr500_fble, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103832 { FRVBF_INSN_FBGT, model_fr500_fbgt, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103833 { FRVBF_INSN_FBULE, model_fr500_fbule, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103834 { FRVBF_INSN_FBU, model_fr500_fbu, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103835 { FRVBF_INSN_FBO, model_fr500_fbo, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103836 { FRVBF_INSN_BCTRLR, model_fr500_bctrlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103837 { FRVBF_INSN_BRALR, model_fr500_bralr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103838 { FRVBF_INSN_BNOLR, model_fr500_bnolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103839 { FRVBF_INSN_BEQLR, model_fr500_beqlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103840 { FRVBF_INSN_BNELR, model_fr500_bnelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103841 { FRVBF_INSN_BLELR, model_fr500_blelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103842 { FRVBF_INSN_BGTLR, model_fr500_bgtlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103843 { FRVBF_INSN_BLTLR, model_fr500_bltlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103844 { FRVBF_INSN_BGELR, model_fr500_bgelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103845 { FRVBF_INSN_BLSLR, model_fr500_blslr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103846 { FRVBF_INSN_BHILR, model_fr500_bhilr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103847 { FRVBF_INSN_BCLR, model_fr500_bclr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103848 { FRVBF_INSN_BNCLR, model_fr500_bnclr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103849 { FRVBF_INSN_BNLR, model_fr500_bnlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103850 { FRVBF_INSN_BPLR, model_fr500_bplr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103851 { FRVBF_INSN_BVLR, model_fr500_bvlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103852 { FRVBF_INSN_BNVLR, model_fr500_bnvlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103853 { FRVBF_INSN_FBRALR, model_fr500_fbralr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103854 { FRVBF_INSN_FBNOLR, model_fr500_fbnolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103855 { FRVBF_INSN_FBEQLR, model_fr500_fbeqlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103856 { FRVBF_INSN_FBNELR, model_fr500_fbnelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103857 { FRVBF_INSN_FBLGLR, model_fr500_fblglr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103858 { FRVBF_INSN_FBUELR, model_fr500_fbuelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103859 { FRVBF_INSN_FBULLR, model_fr500_fbullr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103860 { FRVBF_INSN_FBGELR, model_fr500_fbgelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103861 { FRVBF_INSN_FBLTLR, model_fr500_fbltlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103862 { FRVBF_INSN_FBUGELR, model_fr500_fbugelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103863 { FRVBF_INSN_FBUGLR, model_fr500_fbuglr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103864 { FRVBF_INSN_FBLELR, model_fr500_fblelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103865 { FRVBF_INSN_FBGTLR, model_fr500_fbgtlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103866 { FRVBF_INSN_FBULELR, model_fr500_fbulelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103867 { FRVBF_INSN_FBULR, model_fr500_fbulr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103868 { FRVBF_INSN_FBOLR, model_fr500_fbolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103869 { FRVBF_INSN_BCRALR, model_fr500_bcralr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103870 { FRVBF_INSN_BCNOLR, model_fr500_bcnolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103871 { FRVBF_INSN_BCEQLR, model_fr500_bceqlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103872 { FRVBF_INSN_BCNELR, model_fr500_bcnelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103873 { FRVBF_INSN_BCLELR, model_fr500_bclelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103874 { FRVBF_INSN_BCGTLR, model_fr500_bcgtlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103875 { FRVBF_INSN_BCLTLR, model_fr500_bcltlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103876 { FRVBF_INSN_BCGELR, model_fr500_bcgelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103877 { FRVBF_INSN_BCLSLR, model_fr500_bclslr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103878 { FRVBF_INSN_BCHILR, model_fr500_bchilr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103879 { FRVBF_INSN_BCCLR, model_fr500_bcclr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103880 { FRVBF_INSN_BCNCLR, model_fr500_bcnclr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103881 { FRVBF_INSN_BCNLR, model_fr500_bcnlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103882 { FRVBF_INSN_BCPLR, model_fr500_bcplr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103883 { FRVBF_INSN_BCVLR, model_fr500_bcvlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103884 { FRVBF_INSN_BCNVLR, model_fr500_bcnvlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103885 { FRVBF_INSN_FCBRALR, model_fr500_fcbralr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103886 { FRVBF_INSN_FCBNOLR, model_fr500_fcbnolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103887 { FRVBF_INSN_FCBEQLR, model_fr500_fcbeqlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103888 { FRVBF_INSN_FCBNELR, model_fr500_fcbnelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103889 { FRVBF_INSN_FCBLGLR, model_fr500_fcblglr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103890 { FRVBF_INSN_FCBUELR, model_fr500_fcbuelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103891 { FRVBF_INSN_FCBULLR, model_fr500_fcbullr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103892 { FRVBF_INSN_FCBGELR, model_fr500_fcbgelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103893 { FRVBF_INSN_FCBLTLR, model_fr500_fcbltlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103894 { FRVBF_INSN_FCBUGELR, model_fr500_fcbugelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103895 { FRVBF_INSN_FCBUGLR, model_fr500_fcbuglr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103896 { FRVBF_INSN_FCBLELR, model_fr500_fcblelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103897 { FRVBF_INSN_FCBGTLR, model_fr500_fcbgtlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103898 { FRVBF_INSN_FCBULELR, model_fr500_fcbulelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103899 { FRVBF_INSN_FCBULR, model_fr500_fcbulr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103900 { FRVBF_INSN_FCBOLR, model_fr500_fcbolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103901 { FRVBF_INSN_JMPL, model_fr500_jmpl, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103902 { FRVBF_INSN_CALLL, model_fr500_calll, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103903 { FRVBF_INSN_JMPIL, model_fr500_jmpil, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103904 { FRVBF_INSN_CALLIL, model_fr500_callil, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103905 { FRVBF_INSN_CALL, model_fr500_call, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103906 { FRVBF_INSN_RETT, model_fr500_rett, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103907 { FRVBF_INSN_REI, model_fr500_rei, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103908 { FRVBF_INSN_TRA, model_fr500_tra, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103909 { FRVBF_INSN_TNO, model_fr500_tno, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103910 { FRVBF_INSN_TEQ, model_fr500_teq, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103911 { FRVBF_INSN_TNE, model_fr500_tne, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103912 { FRVBF_INSN_TLE, model_fr500_tle, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103913 { FRVBF_INSN_TGT, model_fr500_tgt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103914 { FRVBF_INSN_TLT, model_fr500_tlt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103915 { FRVBF_INSN_TGE, model_fr500_tge, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103916 { FRVBF_INSN_TLS, model_fr500_tls, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103917 { FRVBF_INSN_THI, model_fr500_thi, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103918 { FRVBF_INSN_TC, model_fr500_tc, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103919 { FRVBF_INSN_TNC, model_fr500_tnc, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103920 { FRVBF_INSN_TN, model_fr500_tn, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103921 { FRVBF_INSN_TP, model_fr500_tp, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103922 { FRVBF_INSN_TV, model_fr500_tv, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103923 { FRVBF_INSN_TNV, model_fr500_tnv, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103924 { FRVBF_INSN_FTRA, model_fr500_ftra, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103925 { FRVBF_INSN_FTNO, model_fr500_ftno, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103926 { FRVBF_INSN_FTNE, model_fr500_ftne, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103927 { FRVBF_INSN_FTEQ, model_fr500_fteq, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103928 { FRVBF_INSN_FTLG, model_fr500_ftlg, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103929 { FRVBF_INSN_FTUE, model_fr500_ftue, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103930 { FRVBF_INSN_FTUL, model_fr500_ftul, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103931 { FRVBF_INSN_FTGE, model_fr500_ftge, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103932 { FRVBF_INSN_FTLT, model_fr500_ftlt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103933 { FRVBF_INSN_FTUGE, model_fr500_ftuge, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103934 { FRVBF_INSN_FTUG, model_fr500_ftug, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103935 { FRVBF_INSN_FTLE, model_fr500_ftle, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103936 { FRVBF_INSN_FTGT, model_fr500_ftgt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103937 { FRVBF_INSN_FTULE, model_fr500_ftule, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103938 { FRVBF_INSN_FTU, model_fr500_ftu, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103939 { FRVBF_INSN_FTO, model_fr500_fto, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103940 { FRVBF_INSN_TIRA, model_fr500_tira, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103941 { FRVBF_INSN_TINO, model_fr500_tino, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103942 { FRVBF_INSN_TIEQ, model_fr500_tieq, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103943 { FRVBF_INSN_TINE, model_fr500_tine, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103944 { FRVBF_INSN_TILE, model_fr500_tile, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103945 { FRVBF_INSN_TIGT, model_fr500_tigt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103946 { FRVBF_INSN_TILT, model_fr500_tilt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103947 { FRVBF_INSN_TIGE, model_fr500_tige, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103948 { FRVBF_INSN_TILS, model_fr500_tils, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103949 { FRVBF_INSN_TIHI, model_fr500_tihi, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103950 { FRVBF_INSN_TIC, model_fr500_tic, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103951 { FRVBF_INSN_TINC, model_fr500_tinc, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103952 { FRVBF_INSN_TIN, model_fr500_tin, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103953 { FRVBF_INSN_TIP, model_fr500_tip, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103954 { FRVBF_INSN_TIV, model_fr500_tiv, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103955 { FRVBF_INSN_TINV, model_fr500_tinv, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103956 { FRVBF_INSN_FTIRA, model_fr500_ftira, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103957 { FRVBF_INSN_FTINO, model_fr500_ftino, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103958 { FRVBF_INSN_FTINE, model_fr500_ftine, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103959 { FRVBF_INSN_FTIEQ, model_fr500_ftieq, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103960 { FRVBF_INSN_FTILG, model_fr500_ftilg, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103961 { FRVBF_INSN_FTIUE, model_fr500_ftiue, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103962 { FRVBF_INSN_FTIUL, model_fr500_ftiul, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103963 { FRVBF_INSN_FTIGE, model_fr500_ftige, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103964 { FRVBF_INSN_FTILT, model_fr500_ftilt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103965 { FRVBF_INSN_FTIUGE, model_fr500_ftiuge, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103966 { FRVBF_INSN_FTIUG, model_fr500_ftiug, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103967 { FRVBF_INSN_FTILE, model_fr500_ftile, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103968 { FRVBF_INSN_FTIGT, model_fr500_ftigt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103969 { FRVBF_INSN_FTIULE, model_fr500_ftiule, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103970 { FRVBF_INSN_FTIU, model_fr500_ftiu, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103971 { FRVBF_INSN_FTIO, model_fr500_ftio, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103972 { FRVBF_INSN_BREAK, model_fr500_break, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103973 { FRVBF_INSN_MTRAP, model_fr500_mtrap, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103974 { FRVBF_INSN_ANDCR, model_fr500_andcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103975 { FRVBF_INSN_ORCR, model_fr500_orcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103976 { FRVBF_INSN_XORCR, model_fr500_xorcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103977 { FRVBF_INSN_NANDCR, model_fr500_nandcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103978 { FRVBF_INSN_NORCR, model_fr500_norcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103979 { FRVBF_INSN_ANDNCR, model_fr500_andncr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103980 { FRVBF_INSN_ORNCR, model_fr500_orncr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103981 { FRVBF_INSN_NANDNCR, model_fr500_nandncr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103982 { FRVBF_INSN_NORNCR, model_fr500_norncr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103983 { FRVBF_INSN_NOTCR, model_fr500_notcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103984 { FRVBF_INSN_CKRA, model_fr500_ckra, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103985 { FRVBF_INSN_CKNO, model_fr500_ckno, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103986 { FRVBF_INSN_CKEQ, model_fr500_ckeq, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103987 { FRVBF_INSN_CKNE, model_fr500_ckne, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103988 { FRVBF_INSN_CKLE, model_fr500_ckle, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103989 { FRVBF_INSN_CKGT, model_fr500_ckgt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103990 { FRVBF_INSN_CKLT, model_fr500_cklt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103991 { FRVBF_INSN_CKGE, model_fr500_ckge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103992 { FRVBF_INSN_CKLS, model_fr500_ckls, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103993 { FRVBF_INSN_CKHI, model_fr500_ckhi, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103994 { FRVBF_INSN_CKC, model_fr500_ckc, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103995 { FRVBF_INSN_CKNC, model_fr500_cknc, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103996 { FRVBF_INSN_CKN, model_fr500_ckn, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103997 { FRVBF_INSN_CKP, model_fr500_ckp, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103998 { FRVBF_INSN_CKV, model_fr500_ckv, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103999 { FRVBF_INSN_CKNV, model_fr500_cknv, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104000 { FRVBF_INSN_FCKRA, model_fr500_fckra, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104001 { FRVBF_INSN_FCKNO, model_fr500_fckno, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104002 { FRVBF_INSN_FCKNE, model_fr500_fckne, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104003 { FRVBF_INSN_FCKEQ, model_fr500_fckeq, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104004 { FRVBF_INSN_FCKLG, model_fr500_fcklg, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104005 { FRVBF_INSN_FCKUE, model_fr500_fckue, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104006 { FRVBF_INSN_FCKUL, model_fr500_fckul, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104007 { FRVBF_INSN_FCKGE, model_fr500_fckge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104008 { FRVBF_INSN_FCKLT, model_fr500_fcklt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104009 { FRVBF_INSN_FCKUGE, model_fr500_fckuge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104010 { FRVBF_INSN_FCKUG, model_fr500_fckug, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104011 { FRVBF_INSN_FCKLE, model_fr500_fckle, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104012 { FRVBF_INSN_FCKGT, model_fr500_fckgt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104013 { FRVBF_INSN_FCKULE, model_fr500_fckule, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104014 { FRVBF_INSN_FCKU, model_fr500_fcku, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104015 { FRVBF_INSN_FCKO, model_fr500_fcko, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104016 { FRVBF_INSN_CCKRA, model_fr500_cckra, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104017 { FRVBF_INSN_CCKNO, model_fr500_cckno, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104018 { FRVBF_INSN_CCKEQ, model_fr500_cckeq, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104019 { FRVBF_INSN_CCKNE, model_fr500_cckne, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104020 { FRVBF_INSN_CCKLE, model_fr500_cckle, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104021 { FRVBF_INSN_CCKGT, model_fr500_cckgt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104022 { FRVBF_INSN_CCKLT, model_fr500_ccklt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104023 { FRVBF_INSN_CCKGE, model_fr500_cckge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104024 { FRVBF_INSN_CCKLS, model_fr500_cckls, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104025 { FRVBF_INSN_CCKHI, model_fr500_cckhi, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104026 { FRVBF_INSN_CCKC, model_fr500_cckc, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104027 { FRVBF_INSN_CCKNC, model_fr500_ccknc, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104028 { FRVBF_INSN_CCKN, model_fr500_cckn, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104029 { FRVBF_INSN_CCKP, model_fr500_cckp, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104030 { FRVBF_INSN_CCKV, model_fr500_cckv, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104031 { FRVBF_INSN_CCKNV, model_fr500_ccknv, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104032 { FRVBF_INSN_CFCKRA, model_fr500_cfckra, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104033 { FRVBF_INSN_CFCKNO, model_fr500_cfckno, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104034 { FRVBF_INSN_CFCKNE, model_fr500_cfckne, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104035 { FRVBF_INSN_CFCKEQ, model_fr500_cfckeq, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104036 { FRVBF_INSN_CFCKLG, model_fr500_cfcklg, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104037 { FRVBF_INSN_CFCKUE, model_fr500_cfckue, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104038 { FRVBF_INSN_CFCKUL, model_fr500_cfckul, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104039 { FRVBF_INSN_CFCKGE, model_fr500_cfckge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104040 { FRVBF_INSN_CFCKLT, model_fr500_cfcklt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104041 { FRVBF_INSN_CFCKUGE, model_fr500_cfckuge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104042 { FRVBF_INSN_CFCKUG, model_fr500_cfckug, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104043 { FRVBF_INSN_CFCKLE, model_fr500_cfckle, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104044 { FRVBF_INSN_CFCKGT, model_fr500_cfckgt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104045 { FRVBF_INSN_CFCKULE, model_fr500_cfckule, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104046 { FRVBF_INSN_CFCKU, model_fr500_cfcku, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104047 { FRVBF_INSN_CFCKO, model_fr500_cfcko, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104048 { FRVBF_INSN_CJMPL, model_fr500_cjmpl, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
104049 { FRVBF_INSN_CCALLL, model_fr500_ccalll, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
104050 { FRVBF_INSN_ICI, model_fr500_ici, { { (int) UNIT_FR500_U_ICI, 1, 1 } } },
104051 { FRVBF_INSN_DCI, model_fr500_dci, { { (int) UNIT_FR500_U_DCI, 1, 1 } } },
104052 { FRVBF_INSN_ICEI, model_fr500_icei, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104053 { FRVBF_INSN_DCEI, model_fr500_dcei, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104054 { FRVBF_INSN_DCF, model_fr500_dcf, { { (int) UNIT_FR500_U_DCF, 1, 1 } } },
104055 { FRVBF_INSN_DCEF, model_fr500_dcef, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104056 { FRVBF_INSN_WITLB, model_fr500_witlb, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104057 { FRVBF_INSN_WDTLB, model_fr500_wdtlb, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104058 { FRVBF_INSN_ITLBI, model_fr500_itlbi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104059 { FRVBF_INSN_DTLBI, model_fr500_dtlbi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104060 { FRVBF_INSN_ICPL, model_fr500_icpl, { { (int) UNIT_FR500_U_ICPL, 1, 1 } } },
104061 { FRVBF_INSN_DCPL, model_fr500_dcpl, { { (int) UNIT_FR500_U_DCPL, 1, 1 } } },
104062 { FRVBF_INSN_ICUL, model_fr500_icul, { { (int) UNIT_FR500_U_ICUL, 1, 1 } } },
104063 { FRVBF_INSN_DCUL, model_fr500_dcul, { { (int) UNIT_FR500_U_DCUL, 1, 1 } } },
104064 { FRVBF_INSN_BAR, model_fr500_bar, { { (int) UNIT_FR500_U_BARRIER, 1, 1 } } },
104065 { FRVBF_INSN_MEMBAR, model_fr500_membar, { { (int) UNIT_FR500_U_MEMBAR, 1, 1 } } },
104066 { FRVBF_INSN_LRAI, model_fr500_lrai, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104067 { FRVBF_INSN_LRAD, model_fr500_lrad, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104068 { FRVBF_INSN_TLBPR, model_fr500_tlbpr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104069 { FRVBF_INSN_COP1, model_fr500_cop1, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104070 { FRVBF_INSN_COP2, model_fr500_cop2, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104071 { FRVBF_INSN_CLRGR, model_fr500_clrgr, { { (int) UNIT_FR500_U_CLRGR, 1, 1 } } },
104072 { FRVBF_INSN_CLRFR, model_fr500_clrfr, { { (int) UNIT_FR500_U_CLRFR, 1, 1 } } },
104073 { FRVBF_INSN_CLRGA, model_fr500_clrga, { { (int) UNIT_FR500_U_CLRGR, 1, 1 } } },
104074 { FRVBF_INSN_CLRFA, model_fr500_clrfa, { { (int) UNIT_FR500_U_CLRFR, 1, 1 } } },
104075 { FRVBF_INSN_COMMITGR, model_fr500_commitgr, { { (int) UNIT_FR500_U_COMMIT, 1, 1 } } },
104076 { FRVBF_INSN_COMMITFR, model_fr500_commitfr, { { (int) UNIT_FR500_U_COMMIT, 1, 1 } } },
104077 { FRVBF_INSN_COMMITGA, model_fr500_commitga, { { (int) UNIT_FR500_U_COMMIT, 1, 1 } } },
104078 { FRVBF_INSN_COMMITFA, model_fr500_commitfa, { { (int) UNIT_FR500_U_COMMIT, 1, 1 } } },
104079 { FRVBF_INSN_FITOS, model_fr500_fitos, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104080 { FRVBF_INSN_FSTOI, model_fr500_fstoi, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104081 { FRVBF_INSN_FITOD, model_fr500_fitod, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104082 { FRVBF_INSN_FDTOI, model_fr500_fdtoi, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104083 { FRVBF_INSN_FDITOS, model_fr500_fditos, { { (int) UNIT_FR500_U_FLOAT_DUAL_CONVERT, 1, 1 } } },
104084 { FRVBF_INSN_FDSTOI, model_fr500_fdstoi, { { (int) UNIT_FR500_U_FLOAT_DUAL_CONVERT, 1, 1 } } },
104085 { FRVBF_INSN_NFDITOS, model_fr500_nfditos, { { (int) UNIT_FR500_U_FLOAT_DUAL_CONVERT, 1, 1 } } },
104086 { FRVBF_INSN_NFDSTOI, model_fr500_nfdstoi, { { (int) UNIT_FR500_U_FLOAT_DUAL_CONVERT, 1, 1 } } },
104087 { FRVBF_INSN_CFITOS, model_fr500_cfitos, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104088 { FRVBF_INSN_CFSTOI, model_fr500_cfstoi, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104089 { FRVBF_INSN_NFITOS, model_fr500_nfitos, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104090 { FRVBF_INSN_NFSTOI, model_fr500_nfstoi, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104091 { FRVBF_INSN_FMOVS, model_fr500_fmovs, { { (int) UNIT_FR500_U_FR2FR, 1, 1 } } },
104092 { FRVBF_INSN_FMOVD, model_fr500_fmovd, { { (int) UNIT_FR500_U_FR2FR, 1, 1 } } },
104093 { FRVBF_INSN_FDMOVS, model_fr500_fdmovs, { { (int) UNIT_FR500_U_FR2FR, 1, 1 } } },
104094 { FRVBF_INSN_CFMOVS, model_fr500_cfmovs, { { (int) UNIT_FR500_U_FR2FR, 1, 1 } } },
104095 { FRVBF_INSN_FNEGS, model_fr500_fnegs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104096 { FRVBF_INSN_FNEGD, model_fr500_fnegd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104097 { FRVBF_INSN_FDNEGS, model_fr500_fdnegs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104098 { FRVBF_INSN_CFNEGS, model_fr500_cfnegs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104099 { FRVBF_INSN_FABSS, model_fr500_fabss, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104100 { FRVBF_INSN_FABSD, model_fr500_fabsd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104101 { FRVBF_INSN_FDABSS, model_fr500_fdabss, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104102 { FRVBF_INSN_CFABSS, model_fr500_cfabss, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104103 { FRVBF_INSN_FSQRTS, model_fr500_fsqrts, { { (int) UNIT_FR500_U_FLOAT_SQRT, 1, 1 } } },
104104 { FRVBF_INSN_FDSQRTS, model_fr500_fdsqrts, { { (int) UNIT_FR500_U_FLOAT_DUAL_SQRT, 1, 1 } } },
104105 { FRVBF_INSN_NFDSQRTS, model_fr500_nfdsqrts, { { (int) UNIT_FR500_U_FLOAT_DUAL_SQRT, 1, 1 } } },
104106 { FRVBF_INSN_FSQRTD, model_fr500_fsqrtd, { { (int) UNIT_FR500_U_FLOAT_SQRT, 1, 1 } } },
104107 { FRVBF_INSN_CFSQRTS, model_fr500_cfsqrts, { { (int) UNIT_FR500_U_FLOAT_SQRT, 1, 1 } } },
104108 { FRVBF_INSN_NFSQRTS, model_fr500_nfsqrts, { { (int) UNIT_FR500_U_FLOAT_SQRT, 1, 1 } } },
104109 { FRVBF_INSN_FADDS, model_fr500_fadds, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104110 { FRVBF_INSN_FSUBS, model_fr500_fsubs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104111 { FRVBF_INSN_FMULS, model_fr500_fmuls, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104112 { FRVBF_INSN_FDIVS, model_fr500_fdivs, { { (int) UNIT_FR500_U_FLOAT_DIV, 1, 1 } } },
104113 { FRVBF_INSN_FADDD, model_fr500_faddd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104114 { FRVBF_INSN_FSUBD, model_fr500_fsubd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104115 { FRVBF_INSN_FMULD, model_fr500_fmuld, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104116 { FRVBF_INSN_FDIVD, model_fr500_fdivd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104117 { FRVBF_INSN_CFADDS, model_fr500_cfadds, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104118 { FRVBF_INSN_CFSUBS, model_fr500_cfsubs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104119 { FRVBF_INSN_CFMULS, model_fr500_cfmuls, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104120 { FRVBF_INSN_CFDIVS, model_fr500_cfdivs, { { (int) UNIT_FR500_U_FLOAT_DIV, 1, 1 } } },
104121 { FRVBF_INSN_NFADDS, model_fr500_nfadds, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104122 { FRVBF_INSN_NFSUBS, model_fr500_nfsubs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104123 { FRVBF_INSN_NFMULS, model_fr500_nfmuls, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104124 { FRVBF_INSN_NFDIVS, model_fr500_nfdivs, { { (int) UNIT_FR500_U_FLOAT_DIV, 1, 1 } } },
104125 { FRVBF_INSN_FCMPS, model_fr500_fcmps, { { (int) UNIT_FR500_U_FLOAT_COMPARE, 1, 1 } } },
104126 { FRVBF_INSN_FCMPD, model_fr500_fcmpd, { { (int) UNIT_FR500_U_FLOAT_COMPARE, 1, 1 } } },
104127 { FRVBF_INSN_CFCMPS, model_fr500_cfcmps, { { (int) UNIT_FR500_U_FLOAT_COMPARE, 1, 1 } } },
104128 { FRVBF_INSN_FDCMPS, model_fr500_fdcmps, { { (int) UNIT_FR500_U_FLOAT_DUAL_COMPARE, 1, 1 } } },
104129 { FRVBF_INSN_FMADDS, model_fr500_fmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104130 { FRVBF_INSN_FMSUBS, model_fr500_fmsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104131 { FRVBF_INSN_FMADDD, model_fr500_fmaddd, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104132 { FRVBF_INSN_FMSUBD, model_fr500_fmsubd, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104133 { FRVBF_INSN_FDMADDS, model_fr500_fdmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104134 { FRVBF_INSN_NFDMADDS, model_fr500_nfdmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104135 { FRVBF_INSN_CFMADDS, model_fr500_cfmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104136 { FRVBF_INSN_CFMSUBS, model_fr500_cfmsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104137 { FRVBF_INSN_NFMADDS, model_fr500_nfmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104138 { FRVBF_INSN_NFMSUBS, model_fr500_nfmsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104139 { FRVBF_INSN_FMAS, model_fr500_fmas, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104140 { FRVBF_INSN_FMSS, model_fr500_fmss, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104141 { FRVBF_INSN_FDMAS, model_fr500_fdmas, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104142 { FRVBF_INSN_FDMSS, model_fr500_fdmss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104143 { FRVBF_INSN_NFDMAS, model_fr500_nfdmas, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104144 { FRVBF_INSN_NFDMSS, model_fr500_nfdmss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104145 { FRVBF_INSN_CFMAS, model_fr500_cfmas, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104146 { FRVBF_INSN_CFMSS, model_fr500_cfmss, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104147 { FRVBF_INSN_FMAD, model_fr500_fmad, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104148 { FRVBF_INSN_FMSD, model_fr500_fmsd, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104149 { FRVBF_INSN_NFMAS, model_fr500_nfmas, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104150 { FRVBF_INSN_NFMSS, model_fr500_nfmss, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104151 { FRVBF_INSN_FDADDS, model_fr500_fdadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104152 { FRVBF_INSN_FDSUBS, model_fr500_fdsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104153 { FRVBF_INSN_FDMULS, model_fr500_fdmuls, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104154 { FRVBF_INSN_FDDIVS, model_fr500_fddivs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104155 { FRVBF_INSN_FDSADS, model_fr500_fdsads, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104156 { FRVBF_INSN_FDMULCS, model_fr500_fdmulcs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104157 { FRVBF_INSN_NFDMULCS, model_fr500_nfdmulcs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104158 { FRVBF_INSN_NFDADDS, model_fr500_nfdadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104159 { FRVBF_INSN_NFDSUBS, model_fr500_nfdsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104160 { FRVBF_INSN_NFDMULS, model_fr500_nfdmuls, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104161 { FRVBF_INSN_NFDDIVS, model_fr500_nfddivs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104162 { FRVBF_INSN_NFDSADS, model_fr500_nfdsads, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104163 { FRVBF_INSN_NFDCMPS, model_fr500_nfdcmps, { { (int) UNIT_FR500_U_FLOAT_DUAL_COMPARE, 1, 1 } } },
104164 { FRVBF_INSN_MHSETLOS, model_fr500_mhsetlos, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104165 { FRVBF_INSN_MHSETHIS, model_fr500_mhsethis, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104166 { FRVBF_INSN_MHDSETS, model_fr500_mhdsets, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104167 { FRVBF_INSN_MHSETLOH, model_fr500_mhsetloh, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104168 { FRVBF_INSN_MHSETHIH, model_fr500_mhsethih, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104169 { FRVBF_INSN_MHDSETH, model_fr500_mhdseth, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104170 { FRVBF_INSN_MAND, model_fr500_mand, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104171 { FRVBF_INSN_MOR, model_fr500_mor, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104172 { FRVBF_INSN_MXOR, model_fr500_mxor, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104173 { FRVBF_INSN_CMAND, model_fr500_cmand, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104174 { FRVBF_INSN_CMOR, model_fr500_cmor, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104175 { FRVBF_INSN_CMXOR, model_fr500_cmxor, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104176 { FRVBF_INSN_MNOT, model_fr500_mnot, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104177 { FRVBF_INSN_CMNOT, model_fr500_cmnot, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104178 { FRVBF_INSN_MROTLI, model_fr500_mrotli, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104179 { FRVBF_INSN_MROTRI, model_fr500_mrotri, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104180 { FRVBF_INSN_MWCUT, model_fr500_mwcut, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104181 { FRVBF_INSN_MWCUTI, model_fr500_mwcuti, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104182 { FRVBF_INSN_MCUT, model_fr500_mcut, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104183 { FRVBF_INSN_MCUTI, model_fr500_mcuti, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104184 { FRVBF_INSN_MCUTSS, model_fr500_mcutss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104185 { FRVBF_INSN_MCUTSSI, model_fr500_mcutssi, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104186 { FRVBF_INSN_MDCUTSSI, model_fr500_mdcutssi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104187 { FRVBF_INSN_MAVEH, model_fr500_maveh, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104188 { FRVBF_INSN_MSLLHI, model_fr500_msllhi, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104189 { FRVBF_INSN_MSRLHI, model_fr500_msrlhi, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104190 { FRVBF_INSN_MSRAHI, model_fr500_msrahi, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104191 { FRVBF_INSN_MDROTLI, model_fr500_mdrotli, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104192 { FRVBF_INSN_MCPLHI, model_fr500_mcplhi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104193 { FRVBF_INSN_MCPLI, model_fr500_mcpli, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104194 { FRVBF_INSN_MSATHS, model_fr500_msaths, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104195 { FRVBF_INSN_MQSATHS, model_fr500_mqsaths, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104196 { FRVBF_INSN_MSATHU, model_fr500_msathu, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104197 { FRVBF_INSN_MCMPSH, model_fr500_mcmpsh, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104198 { FRVBF_INSN_MCMPUH, model_fr500_mcmpuh, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104199 { FRVBF_INSN_MABSHS, model_fr500_mabshs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104200 { FRVBF_INSN_MADDHSS, model_fr500_maddhss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104201 { FRVBF_INSN_MADDHUS, model_fr500_maddhus, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104202 { FRVBF_INSN_MSUBHSS, model_fr500_msubhss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104203 { FRVBF_INSN_MSUBHUS, model_fr500_msubhus, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104204 { FRVBF_INSN_CMADDHSS, model_fr500_cmaddhss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104205 { FRVBF_INSN_CMADDHUS, model_fr500_cmaddhus, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104206 { FRVBF_INSN_CMSUBHSS, model_fr500_cmsubhss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104207 { FRVBF_INSN_CMSUBHUS, model_fr500_cmsubhus, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104208 { FRVBF_INSN_MQADDHSS, model_fr500_mqaddhss, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104209 { FRVBF_INSN_MQADDHUS, model_fr500_mqaddhus, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104210 { FRVBF_INSN_MQSUBHSS, model_fr500_mqsubhss, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104211 { FRVBF_INSN_MQSUBHUS, model_fr500_mqsubhus, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104212 { FRVBF_INSN_CMQADDHSS, model_fr500_cmqaddhss, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104213 { FRVBF_INSN_CMQADDHUS, model_fr500_cmqaddhus, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104214 { FRVBF_INSN_CMQSUBHSS, model_fr500_cmqsubhss, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104215 { FRVBF_INSN_CMQSUBHUS, model_fr500_cmqsubhus, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104216 { FRVBF_INSN_MQLCLRHS, model_fr500_mqlclrhs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104217 { FRVBF_INSN_MQLMTHS, model_fr500_mqlmths, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104218 { FRVBF_INSN_MQSLLHI, model_fr500_mqsllhi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104219 { FRVBF_INSN_MQSRAHI, model_fr500_mqsrahi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104220 { FRVBF_INSN_MADDACCS, model_fr500_maddaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104221 { FRVBF_INSN_MSUBACCS, model_fr500_msubaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104222 { FRVBF_INSN_MDADDACCS, model_fr500_mdaddaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104223 { FRVBF_INSN_MDSUBACCS, model_fr500_mdsubaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104224 { FRVBF_INSN_MASACCS, model_fr500_masaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104225 { FRVBF_INSN_MDASACCS, model_fr500_mdasaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104226 { FRVBF_INSN_MMULHS, model_fr500_mmulhs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104227 { FRVBF_INSN_MMULHU, model_fr500_mmulhu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104228 { FRVBF_INSN_MMULXHS, model_fr500_mmulxhs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104229 { FRVBF_INSN_MMULXHU, model_fr500_mmulxhu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104230 { FRVBF_INSN_CMMULHS, model_fr500_cmmulhs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104231 { FRVBF_INSN_CMMULHU, model_fr500_cmmulhu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104232 { FRVBF_INSN_MQMULHS, model_fr500_mqmulhs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104233 { FRVBF_INSN_MQMULHU, model_fr500_mqmulhu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104234 { FRVBF_INSN_MQMULXHS, model_fr500_mqmulxhs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104235 { FRVBF_INSN_MQMULXHU, model_fr500_mqmulxhu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104236 { FRVBF_INSN_CMQMULHS, model_fr500_cmqmulhs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104237 { FRVBF_INSN_CMQMULHU, model_fr500_cmqmulhu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104238 { FRVBF_INSN_MMACHS, model_fr500_mmachs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104239 { FRVBF_INSN_MMACHU, model_fr500_mmachu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104240 { FRVBF_INSN_MMRDHS, model_fr500_mmrdhs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104241 { FRVBF_INSN_MMRDHU, model_fr500_mmrdhu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104242 { FRVBF_INSN_CMMACHS, model_fr500_cmmachs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104243 { FRVBF_INSN_CMMACHU, model_fr500_cmmachu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104244 { FRVBF_INSN_MQMACHS, model_fr500_mqmachs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104245 { FRVBF_INSN_MQMACHU, model_fr500_mqmachu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104246 { FRVBF_INSN_CMQMACHS, model_fr500_cmqmachs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104247 { FRVBF_INSN_CMQMACHU, model_fr500_cmqmachu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104248 { FRVBF_INSN_MQXMACHS, model_fr500_mqxmachs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104249 { FRVBF_INSN_MQXMACXHS, model_fr500_mqxmacxhs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104250 { FRVBF_INSN_MQMACXHS, model_fr500_mqmacxhs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104251 { FRVBF_INSN_MCPXRS, model_fr500_mcpxrs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104252 { FRVBF_INSN_MCPXRU, model_fr500_mcpxru, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104253 { FRVBF_INSN_MCPXIS, model_fr500_mcpxis, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104254 { FRVBF_INSN_MCPXIU, model_fr500_mcpxiu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104255 { FRVBF_INSN_CMCPXRS, model_fr500_cmcpxrs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104256 { FRVBF_INSN_CMCPXRU, model_fr500_cmcpxru, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104257 { FRVBF_INSN_CMCPXIS, model_fr500_cmcpxis, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104258 { FRVBF_INSN_CMCPXIU, model_fr500_cmcpxiu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104259 { FRVBF_INSN_MQCPXRS, model_fr500_mqcpxrs, { { (int) UNIT_FR500_U_MEDIA_QUAD_COMPLEX, 1, 1 } } },
104260 { FRVBF_INSN_MQCPXRU, model_fr500_mqcpxru, { { (int) UNIT_FR500_U_MEDIA_QUAD_COMPLEX, 1, 1 } } },
104261 { FRVBF_INSN_MQCPXIS, model_fr500_mqcpxis, { { (int) UNIT_FR500_U_MEDIA_QUAD_COMPLEX, 1, 1 } } },
104262 { FRVBF_INSN_MQCPXIU, model_fr500_mqcpxiu, { { (int) UNIT_FR500_U_MEDIA_QUAD_COMPLEX, 1, 1 } } },
104263 { FRVBF_INSN_MEXPDHW, model_fr500_mexpdhw, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104264 { FRVBF_INSN_CMEXPDHW, model_fr500_cmexpdhw, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104265 { FRVBF_INSN_MEXPDHD, model_fr500_mexpdhd, { { (int) UNIT_FR500_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
104266 { FRVBF_INSN_CMEXPDHD, model_fr500_cmexpdhd, { { (int) UNIT_FR500_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
104267 { FRVBF_INSN_MPACKH, model_fr500_mpackh, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104268 { FRVBF_INSN_MDPACKH, model_fr500_mdpackh, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104269 { FRVBF_INSN_MUNPACKH, model_fr500_munpackh, { { (int) UNIT_FR500_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
104270 { FRVBF_INSN_MDUNPACKH, model_fr500_mdunpackh, { { (int) UNIT_FR500_U_MEDIA_DUAL_UNPACK, 1, 1 } } },
104271 { FRVBF_INSN_MBTOH, model_fr500_mbtoh, { { (int) UNIT_FR500_U_MEDIA_DUAL_BTOH, 1, 1 } } },
104272 { FRVBF_INSN_CMBTOH, model_fr500_cmbtoh, { { (int) UNIT_FR500_U_MEDIA_DUAL_BTOH, 1, 1 } } },
104273 { FRVBF_INSN_MHTOB, model_fr500_mhtob, { { (int) UNIT_FR500_U_MEDIA_DUAL_HTOB, 1, 1 } } },
104274 { FRVBF_INSN_CMHTOB, model_fr500_cmhtob, { { (int) UNIT_FR500_U_MEDIA_DUAL_HTOB, 1, 1 } } },
104275 { FRVBF_INSN_MBTOHE, model_fr500_mbtohe, { { (int) UNIT_FR500_U_MEDIA_DUAL_BTOHE, 1, 1 } } },
104276 { FRVBF_INSN_CMBTOHE, model_fr500_cmbtohe, { { (int) UNIT_FR500_U_MEDIA_DUAL_BTOHE, 1, 1 } } },
104277 { FRVBF_INSN_MNOP, model_fr500_mnop, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104278 { FRVBF_INSN_MCLRACC_0, model_fr500_mclracc_0, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104279 { FRVBF_INSN_MCLRACC_1, model_fr500_mclracc_1, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104280 { FRVBF_INSN_MRDACC, model_fr500_mrdacc, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104281 { FRVBF_INSN_MRDACCG, model_fr500_mrdaccg, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104282 { FRVBF_INSN_MWTACC, model_fr500_mwtacc, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104283 { FRVBF_INSN_MWTACCG, model_fr500_mwtaccg, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104284 { FRVBF_INSN_MCOP1, model_fr500_mcop1, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104285 { FRVBF_INSN_MCOP2, model_fr500_mcop2, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104286 { FRVBF_INSN_FNOP, model_fr500_fnop, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104289 /* Model timing data for `tomcat'. */
104291 static const INSN_TIMING tomcat_timing[] = {
104292 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104293 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104294 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104295 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104296 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104297 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104298 { FRVBF_INSN_ADD, model_tomcat_add, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104299 { FRVBF_INSN_SUB, model_tomcat_sub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104300 { FRVBF_INSN_AND, model_tomcat_and, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104301 { FRVBF_INSN_OR, model_tomcat_or, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104302 { FRVBF_INSN_XOR, model_tomcat_xor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104303 { FRVBF_INSN_NOT, model_tomcat_not, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104304 { FRVBF_INSN_SDIV, model_tomcat_sdiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104305 { FRVBF_INSN_NSDIV, model_tomcat_nsdiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104306 { FRVBF_INSN_UDIV, model_tomcat_udiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104307 { FRVBF_INSN_NUDIV, model_tomcat_nudiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104308 { FRVBF_INSN_SMUL, model_tomcat_smul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104309 { FRVBF_INSN_UMUL, model_tomcat_umul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104310 { FRVBF_INSN_SMU, model_tomcat_smu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104311 { FRVBF_INSN_SMASS, model_tomcat_smass, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104312 { FRVBF_INSN_SMSSS, model_tomcat_smsss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104313 { FRVBF_INSN_SLL, model_tomcat_sll, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104314 { FRVBF_INSN_SRL, model_tomcat_srl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104315 { FRVBF_INSN_SRA, model_tomcat_sra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104316 { FRVBF_INSN_SLASS, model_tomcat_slass, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104317 { FRVBF_INSN_SCUTSS, model_tomcat_scutss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104318 { FRVBF_INSN_SCAN, model_tomcat_scan, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104319 { FRVBF_INSN_CADD, model_tomcat_cadd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104320 { FRVBF_INSN_CSUB, model_tomcat_csub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104321 { FRVBF_INSN_CAND, model_tomcat_cand, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104322 { FRVBF_INSN_COR, model_tomcat_cor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104323 { FRVBF_INSN_CXOR, model_tomcat_cxor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104324 { FRVBF_INSN_CNOT, model_tomcat_cnot, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104325 { FRVBF_INSN_CSMUL, model_tomcat_csmul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104326 { FRVBF_INSN_CSDIV, model_tomcat_csdiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104327 { FRVBF_INSN_CUDIV, model_tomcat_cudiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104328 { FRVBF_INSN_CSLL, model_tomcat_csll, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104329 { FRVBF_INSN_CSRL, model_tomcat_csrl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104330 { FRVBF_INSN_CSRA, model_tomcat_csra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104331 { FRVBF_INSN_CSCAN, model_tomcat_cscan, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104332 { FRVBF_INSN_ADDCC, model_tomcat_addcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104333 { FRVBF_INSN_SUBCC, model_tomcat_subcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104334 { FRVBF_INSN_ANDCC, model_tomcat_andcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104335 { FRVBF_INSN_ORCC, model_tomcat_orcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104336 { FRVBF_INSN_XORCC, model_tomcat_xorcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104337 { FRVBF_INSN_SLLCC, model_tomcat_sllcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104338 { FRVBF_INSN_SRLCC, model_tomcat_srlcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104339 { FRVBF_INSN_SRACC, model_tomcat_sracc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104340 { FRVBF_INSN_SMULCC, model_tomcat_smulcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104341 { FRVBF_INSN_UMULCC, model_tomcat_umulcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104342 { FRVBF_INSN_CADDCC, model_tomcat_caddcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104343 { FRVBF_INSN_CSUBCC, model_tomcat_csubcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104344 { FRVBF_INSN_CSMULCC, model_tomcat_csmulcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104345 { FRVBF_INSN_CANDCC, model_tomcat_candcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104346 { FRVBF_INSN_CORCC, model_tomcat_corcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104347 { FRVBF_INSN_CXORCC, model_tomcat_cxorcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104348 { FRVBF_INSN_CSLLCC, model_tomcat_csllcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104349 { FRVBF_INSN_CSRLCC, model_tomcat_csrlcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104350 { FRVBF_INSN_CSRACC, model_tomcat_csracc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104351 { FRVBF_INSN_ADDX, model_tomcat_addx, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104352 { FRVBF_INSN_SUBX, model_tomcat_subx, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104353 { FRVBF_INSN_ADDXCC, model_tomcat_addxcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104354 { FRVBF_INSN_SUBXCC, model_tomcat_subxcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104355 { FRVBF_INSN_ADDSS, model_tomcat_addss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104356 { FRVBF_INSN_SUBSS, model_tomcat_subss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104357 { FRVBF_INSN_ADDI, model_tomcat_addi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104358 { FRVBF_INSN_SUBI, model_tomcat_subi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104359 { FRVBF_INSN_ANDI, model_tomcat_andi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104360 { FRVBF_INSN_ORI, model_tomcat_ori, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104361 { FRVBF_INSN_XORI, model_tomcat_xori, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104362 { FRVBF_INSN_SDIVI, model_tomcat_sdivi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104363 { FRVBF_INSN_NSDIVI, model_tomcat_nsdivi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104364 { FRVBF_INSN_UDIVI, model_tomcat_udivi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104365 { FRVBF_INSN_NUDIVI, model_tomcat_nudivi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104366 { FRVBF_INSN_SMULI, model_tomcat_smuli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104367 { FRVBF_INSN_UMULI, model_tomcat_umuli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104368 { FRVBF_INSN_SLLI, model_tomcat_slli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104369 { FRVBF_INSN_SRLI, model_tomcat_srli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104370 { FRVBF_INSN_SRAI, model_tomcat_srai, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104371 { FRVBF_INSN_SCANI, model_tomcat_scani, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104372 { FRVBF_INSN_ADDICC, model_tomcat_addicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104373 { FRVBF_INSN_SUBICC, model_tomcat_subicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104374 { FRVBF_INSN_ANDICC, model_tomcat_andicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104375 { FRVBF_INSN_ORICC, model_tomcat_oricc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104376 { FRVBF_INSN_XORICC, model_tomcat_xoricc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104377 { FRVBF_INSN_SMULICC, model_tomcat_smulicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104378 { FRVBF_INSN_UMULICC, model_tomcat_umulicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104379 { FRVBF_INSN_SLLICC, model_tomcat_sllicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104380 { FRVBF_INSN_SRLICC, model_tomcat_srlicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104381 { FRVBF_INSN_SRAICC, model_tomcat_sraicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104382 { FRVBF_INSN_ADDXI, model_tomcat_addxi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104383 { FRVBF_INSN_SUBXI, model_tomcat_subxi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104384 { FRVBF_INSN_ADDXICC, model_tomcat_addxicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104385 { FRVBF_INSN_SUBXICC, model_tomcat_subxicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104386 { FRVBF_INSN_CMPB, model_tomcat_cmpb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104387 { FRVBF_INSN_CMPBA, model_tomcat_cmpba, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104388 { FRVBF_INSN_SETLO, model_tomcat_setlo, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104389 { FRVBF_INSN_SETHI, model_tomcat_sethi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104390 { FRVBF_INSN_SETLOS, model_tomcat_setlos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104391 { FRVBF_INSN_LDSB, model_tomcat_ldsb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104392 { FRVBF_INSN_LDUB, model_tomcat_ldub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104393 { FRVBF_INSN_LDSH, model_tomcat_ldsh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104394 { FRVBF_INSN_LDUH, model_tomcat_lduh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104395 { FRVBF_INSN_LD, model_tomcat_ld, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104396 { FRVBF_INSN_LDBF, model_tomcat_ldbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104397 { FRVBF_INSN_LDHF, model_tomcat_ldhf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104398 { FRVBF_INSN_LDF, model_tomcat_ldf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104399 { FRVBF_INSN_LDC, model_tomcat_ldc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104400 { FRVBF_INSN_NLDSB, model_tomcat_nldsb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104401 { FRVBF_INSN_NLDUB, model_tomcat_nldub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104402 { FRVBF_INSN_NLDSH, model_tomcat_nldsh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104403 { FRVBF_INSN_NLDUH, model_tomcat_nlduh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104404 { FRVBF_INSN_NLD, model_tomcat_nld, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104405 { FRVBF_INSN_NLDBF, model_tomcat_nldbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104406 { FRVBF_INSN_NLDHF, model_tomcat_nldhf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104407 { FRVBF_INSN_NLDF, model_tomcat_nldf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104408 { FRVBF_INSN_LDD, model_tomcat_ldd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104409 { FRVBF_INSN_LDDF, model_tomcat_lddf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104410 { FRVBF_INSN_LDDC, model_tomcat_lddc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104411 { FRVBF_INSN_NLDD, model_tomcat_nldd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104412 { FRVBF_INSN_NLDDF, model_tomcat_nlddf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104413 { FRVBF_INSN_LDQ, model_tomcat_ldq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104414 { FRVBF_INSN_LDQF, model_tomcat_ldqf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104415 { FRVBF_INSN_LDQC, model_tomcat_ldqc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104416 { FRVBF_INSN_NLDQ, model_tomcat_nldq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104417 { FRVBF_INSN_NLDQF, model_tomcat_nldqf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104418 { FRVBF_INSN_LDSBU, model_tomcat_ldsbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104419 { FRVBF_INSN_LDUBU, model_tomcat_ldubu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104420 { FRVBF_INSN_LDSHU, model_tomcat_ldshu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104421 { FRVBF_INSN_LDUHU, model_tomcat_lduhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104422 { FRVBF_INSN_LDU, model_tomcat_ldu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104423 { FRVBF_INSN_NLDSBU, model_tomcat_nldsbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104424 { FRVBF_INSN_NLDUBU, model_tomcat_nldubu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104425 { FRVBF_INSN_NLDSHU, model_tomcat_nldshu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104426 { FRVBF_INSN_NLDUHU, model_tomcat_nlduhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104427 { FRVBF_INSN_NLDU, model_tomcat_nldu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104428 { FRVBF_INSN_LDBFU, model_tomcat_ldbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104429 { FRVBF_INSN_LDHFU, model_tomcat_ldhfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104430 { FRVBF_INSN_LDFU, model_tomcat_ldfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104431 { FRVBF_INSN_LDCU, model_tomcat_ldcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104432 { FRVBF_INSN_NLDBFU, model_tomcat_nldbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104433 { FRVBF_INSN_NLDHFU, model_tomcat_nldhfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104434 { FRVBF_INSN_NLDFU, model_tomcat_nldfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104435 { FRVBF_INSN_LDDU, model_tomcat_lddu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104436 { FRVBF_INSN_NLDDU, model_tomcat_nlddu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104437 { FRVBF_INSN_LDDFU, model_tomcat_lddfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104438 { FRVBF_INSN_LDDCU, model_tomcat_lddcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104439 { FRVBF_INSN_NLDDFU, model_tomcat_nlddfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104440 { FRVBF_INSN_LDQU, model_tomcat_ldqu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104441 { FRVBF_INSN_NLDQU, model_tomcat_nldqu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104442 { FRVBF_INSN_LDQFU, model_tomcat_ldqfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104443 { FRVBF_INSN_LDQCU, model_tomcat_ldqcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104444 { FRVBF_INSN_NLDQFU, model_tomcat_nldqfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104445 { FRVBF_INSN_LDSBI, model_tomcat_ldsbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104446 { FRVBF_INSN_LDSHI, model_tomcat_ldshi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104447 { FRVBF_INSN_LDI, model_tomcat_ldi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104448 { FRVBF_INSN_LDUBI, model_tomcat_ldubi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104449 { FRVBF_INSN_LDUHI, model_tomcat_lduhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104450 { FRVBF_INSN_LDBFI, model_tomcat_ldbfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104451 { FRVBF_INSN_LDHFI, model_tomcat_ldhfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104452 { FRVBF_INSN_LDFI, model_tomcat_ldfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104453 { FRVBF_INSN_NLDSBI, model_tomcat_nldsbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104454 { FRVBF_INSN_NLDUBI, model_tomcat_nldubi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104455 { FRVBF_INSN_NLDSHI, model_tomcat_nldshi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104456 { FRVBF_INSN_NLDUHI, model_tomcat_nlduhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104457 { FRVBF_INSN_NLDI, model_tomcat_nldi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104458 { FRVBF_INSN_NLDBFI, model_tomcat_nldbfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104459 { FRVBF_INSN_NLDHFI, model_tomcat_nldhfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104460 { FRVBF_INSN_NLDFI, model_tomcat_nldfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104461 { FRVBF_INSN_LDDI, model_tomcat_lddi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104462 { FRVBF_INSN_LDDFI, model_tomcat_lddfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104463 { FRVBF_INSN_NLDDI, model_tomcat_nlddi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104464 { FRVBF_INSN_NLDDFI, model_tomcat_nlddfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104465 { FRVBF_INSN_LDQI, model_tomcat_ldqi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104466 { FRVBF_INSN_LDQFI, model_tomcat_ldqfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104467 { FRVBF_INSN_NLDQFI, model_tomcat_nldqfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104468 { FRVBF_INSN_STB, model_tomcat_stb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104469 { FRVBF_INSN_STH, model_tomcat_sth, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104470 { FRVBF_INSN_ST, model_tomcat_st, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104471 { FRVBF_INSN_STBF, model_tomcat_stbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104472 { FRVBF_INSN_STHF, model_tomcat_sthf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104473 { FRVBF_INSN_STF, model_tomcat_stf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104474 { FRVBF_INSN_STC, model_tomcat_stc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104475 { FRVBF_INSN_STD, model_tomcat_std, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104476 { FRVBF_INSN_STDF, model_tomcat_stdf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104477 { FRVBF_INSN_STDC, model_tomcat_stdc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104478 { FRVBF_INSN_STQ, model_tomcat_stq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104479 { FRVBF_INSN_STQF, model_tomcat_stqf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104480 { FRVBF_INSN_STQC, model_tomcat_stqc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104481 { FRVBF_INSN_STBU, model_tomcat_stbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104482 { FRVBF_INSN_STHU, model_tomcat_sthu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104483 { FRVBF_INSN_STU, model_tomcat_stu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104484 { FRVBF_INSN_STBFU, model_tomcat_stbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104485 { FRVBF_INSN_STHFU, model_tomcat_sthfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104486 { FRVBF_INSN_STFU, model_tomcat_stfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104487 { FRVBF_INSN_STCU, model_tomcat_stcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104488 { FRVBF_INSN_STDU, model_tomcat_stdu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104489 { FRVBF_INSN_STDFU, model_tomcat_stdfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104490 { FRVBF_INSN_STDCU, model_tomcat_stdcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104491 { FRVBF_INSN_STQU, model_tomcat_stqu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104492 { FRVBF_INSN_STQFU, model_tomcat_stqfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104493 { FRVBF_INSN_STQCU, model_tomcat_stqcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104494 { FRVBF_INSN_CLDSB, model_tomcat_cldsb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104495 { FRVBF_INSN_CLDUB, model_tomcat_cldub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104496 { FRVBF_INSN_CLDSH, model_tomcat_cldsh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104497 { FRVBF_INSN_CLDUH, model_tomcat_clduh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104498 { FRVBF_INSN_CLD, model_tomcat_cld, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104499 { FRVBF_INSN_CLDBF, model_tomcat_cldbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104500 { FRVBF_INSN_CLDHF, model_tomcat_cldhf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104501 { FRVBF_INSN_CLDF, model_tomcat_cldf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104502 { FRVBF_INSN_CLDD, model_tomcat_cldd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104503 { FRVBF_INSN_CLDDF, model_tomcat_clddf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104504 { FRVBF_INSN_CLDQ, model_tomcat_cldq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104505 { FRVBF_INSN_CLDSBU, model_tomcat_cldsbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104506 { FRVBF_INSN_CLDUBU, model_tomcat_cldubu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104507 { FRVBF_INSN_CLDSHU, model_tomcat_cldshu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104508 { FRVBF_INSN_CLDUHU, model_tomcat_clduhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104509 { FRVBF_INSN_CLDU, model_tomcat_cldu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104510 { FRVBF_INSN_CLDBFU, model_tomcat_cldbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104511 { FRVBF_INSN_CLDHFU, model_tomcat_cldhfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104512 { FRVBF_INSN_CLDFU, model_tomcat_cldfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104513 { FRVBF_INSN_CLDDU, model_tomcat_clddu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104514 { FRVBF_INSN_CLDDFU, model_tomcat_clddfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104515 { FRVBF_INSN_CLDQU, model_tomcat_cldqu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104516 { FRVBF_INSN_CSTB, model_tomcat_cstb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104517 { FRVBF_INSN_CSTH, model_tomcat_csth, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104518 { FRVBF_INSN_CST, model_tomcat_cst, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104519 { FRVBF_INSN_CSTBF, model_tomcat_cstbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104520 { FRVBF_INSN_CSTHF, model_tomcat_csthf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104521 { FRVBF_INSN_CSTF, model_tomcat_cstf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104522 { FRVBF_INSN_CSTD, model_tomcat_cstd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104523 { FRVBF_INSN_CSTDF, model_tomcat_cstdf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104524 { FRVBF_INSN_CSTQ, model_tomcat_cstq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104525 { FRVBF_INSN_CSTBU, model_tomcat_cstbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104526 { FRVBF_INSN_CSTHU, model_tomcat_csthu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104527 { FRVBF_INSN_CSTU, model_tomcat_cstu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104528 { FRVBF_INSN_CSTBFU, model_tomcat_cstbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104529 { FRVBF_INSN_CSTHFU, model_tomcat_csthfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104530 { FRVBF_INSN_CSTFU, model_tomcat_cstfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104531 { FRVBF_INSN_CSTDU, model_tomcat_cstdu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104532 { FRVBF_INSN_CSTDFU, model_tomcat_cstdfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104533 { FRVBF_INSN_STBI, model_tomcat_stbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104534 { FRVBF_INSN_STHI, model_tomcat_sthi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104535 { FRVBF_INSN_STI, model_tomcat_sti, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104536 { FRVBF_INSN_STBFI, model_tomcat_stbfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104537 { FRVBF_INSN_STHFI, model_tomcat_sthfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104538 { FRVBF_INSN_STFI, model_tomcat_stfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104539 { FRVBF_INSN_STDI, model_tomcat_stdi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104540 { FRVBF_INSN_STDFI, model_tomcat_stdfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104541 { FRVBF_INSN_STQI, model_tomcat_stqi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104542 { FRVBF_INSN_STQFI, model_tomcat_stqfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104543 { FRVBF_INSN_SWAP, model_tomcat_swap, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104544 { FRVBF_INSN_SWAPI, model_tomcat_swapi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104545 { FRVBF_INSN_CSWAP, model_tomcat_cswap, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104546 { FRVBF_INSN_MOVGF, model_tomcat_movgf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104547 { FRVBF_INSN_MOVFG, model_tomcat_movfg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104548 { FRVBF_INSN_MOVGFD, model_tomcat_movgfd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104549 { FRVBF_INSN_MOVFGD, model_tomcat_movfgd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104550 { FRVBF_INSN_MOVGFQ, model_tomcat_movgfq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104551 { FRVBF_INSN_MOVFGQ, model_tomcat_movfgq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104552 { FRVBF_INSN_CMOVGF, model_tomcat_cmovgf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104553 { FRVBF_INSN_CMOVFG, model_tomcat_cmovfg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104554 { FRVBF_INSN_CMOVGFD, model_tomcat_cmovgfd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104555 { FRVBF_INSN_CMOVFGD, model_tomcat_cmovfgd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104556 { FRVBF_INSN_MOVGS, model_tomcat_movgs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104557 { FRVBF_INSN_MOVSG, model_tomcat_movsg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104558 { FRVBF_INSN_BRA, model_tomcat_bra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104559 { FRVBF_INSN_BNO, model_tomcat_bno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104560 { FRVBF_INSN_BEQ, model_tomcat_beq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104561 { FRVBF_INSN_BNE, model_tomcat_bne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104562 { FRVBF_INSN_BLE, model_tomcat_ble, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104563 { FRVBF_INSN_BGT, model_tomcat_bgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104564 { FRVBF_INSN_BLT, model_tomcat_blt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104565 { FRVBF_INSN_BGE, model_tomcat_bge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104566 { FRVBF_INSN_BLS, model_tomcat_bls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104567 { FRVBF_INSN_BHI, model_tomcat_bhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104568 { FRVBF_INSN_BC, model_tomcat_bc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104569 { FRVBF_INSN_BNC, model_tomcat_bnc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104570 { FRVBF_INSN_BN, model_tomcat_bn, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104571 { FRVBF_INSN_BP, model_tomcat_bp, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104572 { FRVBF_INSN_BV, model_tomcat_bv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104573 { FRVBF_INSN_BNV, model_tomcat_bnv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104574 { FRVBF_INSN_FBRA, model_tomcat_fbra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104575 { FRVBF_INSN_FBNO, model_tomcat_fbno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104576 { FRVBF_INSN_FBNE, model_tomcat_fbne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104577 { FRVBF_INSN_FBEQ, model_tomcat_fbeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104578 { FRVBF_INSN_FBLG, model_tomcat_fblg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104579 { FRVBF_INSN_FBUE, model_tomcat_fbue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104580 { FRVBF_INSN_FBUL, model_tomcat_fbul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104581 { FRVBF_INSN_FBGE, model_tomcat_fbge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104582 { FRVBF_INSN_FBLT, model_tomcat_fblt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104583 { FRVBF_INSN_FBUGE, model_tomcat_fbuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104584 { FRVBF_INSN_FBUG, model_tomcat_fbug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104585 { FRVBF_INSN_FBLE, model_tomcat_fble, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104586 { FRVBF_INSN_FBGT, model_tomcat_fbgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104587 { FRVBF_INSN_FBULE, model_tomcat_fbule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104588 { FRVBF_INSN_FBU, model_tomcat_fbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104589 { FRVBF_INSN_FBO, model_tomcat_fbo, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104590 { FRVBF_INSN_BCTRLR, model_tomcat_bctrlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104591 { FRVBF_INSN_BRALR, model_tomcat_bralr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104592 { FRVBF_INSN_BNOLR, model_tomcat_bnolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104593 { FRVBF_INSN_BEQLR, model_tomcat_beqlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104594 { FRVBF_INSN_BNELR, model_tomcat_bnelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104595 { FRVBF_INSN_BLELR, model_tomcat_blelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104596 { FRVBF_INSN_BGTLR, model_tomcat_bgtlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104597 { FRVBF_INSN_BLTLR, model_tomcat_bltlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104598 { FRVBF_INSN_BGELR, model_tomcat_bgelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104599 { FRVBF_INSN_BLSLR, model_tomcat_blslr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104600 { FRVBF_INSN_BHILR, model_tomcat_bhilr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104601 { FRVBF_INSN_BCLR, model_tomcat_bclr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104602 { FRVBF_INSN_BNCLR, model_tomcat_bnclr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104603 { FRVBF_INSN_BNLR, model_tomcat_bnlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104604 { FRVBF_INSN_BPLR, model_tomcat_bplr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104605 { FRVBF_INSN_BVLR, model_tomcat_bvlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104606 { FRVBF_INSN_BNVLR, model_tomcat_bnvlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104607 { FRVBF_INSN_FBRALR, model_tomcat_fbralr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104608 { FRVBF_INSN_FBNOLR, model_tomcat_fbnolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104609 { FRVBF_INSN_FBEQLR, model_tomcat_fbeqlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104610 { FRVBF_INSN_FBNELR, model_tomcat_fbnelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104611 { FRVBF_INSN_FBLGLR, model_tomcat_fblglr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104612 { FRVBF_INSN_FBUELR, model_tomcat_fbuelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104613 { FRVBF_INSN_FBULLR, model_tomcat_fbullr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104614 { FRVBF_INSN_FBGELR, model_tomcat_fbgelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104615 { FRVBF_INSN_FBLTLR, model_tomcat_fbltlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104616 { FRVBF_INSN_FBUGELR, model_tomcat_fbugelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104617 { FRVBF_INSN_FBUGLR, model_tomcat_fbuglr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104618 { FRVBF_INSN_FBLELR, model_tomcat_fblelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104619 { FRVBF_INSN_FBGTLR, model_tomcat_fbgtlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104620 { FRVBF_INSN_FBULELR, model_tomcat_fbulelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104621 { FRVBF_INSN_FBULR, model_tomcat_fbulr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104622 { FRVBF_INSN_FBOLR, model_tomcat_fbolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104623 { FRVBF_INSN_BCRALR, model_tomcat_bcralr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104624 { FRVBF_INSN_BCNOLR, model_tomcat_bcnolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104625 { FRVBF_INSN_BCEQLR, model_tomcat_bceqlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104626 { FRVBF_INSN_BCNELR, model_tomcat_bcnelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104627 { FRVBF_INSN_BCLELR, model_tomcat_bclelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104628 { FRVBF_INSN_BCGTLR, model_tomcat_bcgtlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104629 { FRVBF_INSN_BCLTLR, model_tomcat_bcltlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104630 { FRVBF_INSN_BCGELR, model_tomcat_bcgelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104631 { FRVBF_INSN_BCLSLR, model_tomcat_bclslr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104632 { FRVBF_INSN_BCHILR, model_tomcat_bchilr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104633 { FRVBF_INSN_BCCLR, model_tomcat_bcclr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104634 { FRVBF_INSN_BCNCLR, model_tomcat_bcnclr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104635 { FRVBF_INSN_BCNLR, model_tomcat_bcnlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104636 { FRVBF_INSN_BCPLR, model_tomcat_bcplr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104637 { FRVBF_INSN_BCVLR, model_tomcat_bcvlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104638 { FRVBF_INSN_BCNVLR, model_tomcat_bcnvlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104639 { FRVBF_INSN_FCBRALR, model_tomcat_fcbralr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104640 { FRVBF_INSN_FCBNOLR, model_tomcat_fcbnolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104641 { FRVBF_INSN_FCBEQLR, model_tomcat_fcbeqlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104642 { FRVBF_INSN_FCBNELR, model_tomcat_fcbnelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104643 { FRVBF_INSN_FCBLGLR, model_tomcat_fcblglr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104644 { FRVBF_INSN_FCBUELR, model_tomcat_fcbuelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104645 { FRVBF_INSN_FCBULLR, model_tomcat_fcbullr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104646 { FRVBF_INSN_FCBGELR, model_tomcat_fcbgelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104647 { FRVBF_INSN_FCBLTLR, model_tomcat_fcbltlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104648 { FRVBF_INSN_FCBUGELR, model_tomcat_fcbugelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104649 { FRVBF_INSN_FCBUGLR, model_tomcat_fcbuglr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104650 { FRVBF_INSN_FCBLELR, model_tomcat_fcblelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104651 { FRVBF_INSN_FCBGTLR, model_tomcat_fcbgtlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104652 { FRVBF_INSN_FCBULELR, model_tomcat_fcbulelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104653 { FRVBF_INSN_FCBULR, model_tomcat_fcbulr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104654 { FRVBF_INSN_FCBOLR, model_tomcat_fcbolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104655 { FRVBF_INSN_JMPL, model_tomcat_jmpl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104656 { FRVBF_INSN_CALLL, model_tomcat_calll, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104657 { FRVBF_INSN_JMPIL, model_tomcat_jmpil, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104658 { FRVBF_INSN_CALLIL, model_tomcat_callil, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104659 { FRVBF_INSN_CALL, model_tomcat_call, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104660 { FRVBF_INSN_RETT, model_tomcat_rett, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104661 { FRVBF_INSN_REI, model_tomcat_rei, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104662 { FRVBF_INSN_TRA, model_tomcat_tra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104663 { FRVBF_INSN_TNO, model_tomcat_tno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104664 { FRVBF_INSN_TEQ, model_tomcat_teq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104665 { FRVBF_INSN_TNE, model_tomcat_tne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104666 { FRVBF_INSN_TLE, model_tomcat_tle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104667 { FRVBF_INSN_TGT, model_tomcat_tgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104668 { FRVBF_INSN_TLT, model_tomcat_tlt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104669 { FRVBF_INSN_TGE, model_tomcat_tge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104670 { FRVBF_INSN_TLS, model_tomcat_tls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104671 { FRVBF_INSN_THI, model_tomcat_thi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104672 { FRVBF_INSN_TC, model_tomcat_tc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104673 { FRVBF_INSN_TNC, model_tomcat_tnc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104674 { FRVBF_INSN_TN, model_tomcat_tn, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104675 { FRVBF_INSN_TP, model_tomcat_tp, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104676 { FRVBF_INSN_TV, model_tomcat_tv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104677 { FRVBF_INSN_TNV, model_tomcat_tnv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104678 { FRVBF_INSN_FTRA, model_tomcat_ftra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104679 { FRVBF_INSN_FTNO, model_tomcat_ftno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104680 { FRVBF_INSN_FTNE, model_tomcat_ftne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104681 { FRVBF_INSN_FTEQ, model_tomcat_fteq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104682 { FRVBF_INSN_FTLG, model_tomcat_ftlg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104683 { FRVBF_INSN_FTUE, model_tomcat_ftue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104684 { FRVBF_INSN_FTUL, model_tomcat_ftul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104685 { FRVBF_INSN_FTGE, model_tomcat_ftge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104686 { FRVBF_INSN_FTLT, model_tomcat_ftlt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104687 { FRVBF_INSN_FTUGE, model_tomcat_ftuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104688 { FRVBF_INSN_FTUG, model_tomcat_ftug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104689 { FRVBF_INSN_FTLE, model_tomcat_ftle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104690 { FRVBF_INSN_FTGT, model_tomcat_ftgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104691 { FRVBF_INSN_FTULE, model_tomcat_ftule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104692 { FRVBF_INSN_FTU, model_tomcat_ftu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104693 { FRVBF_INSN_FTO, model_tomcat_fto, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104694 { FRVBF_INSN_TIRA, model_tomcat_tira, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104695 { FRVBF_INSN_TINO, model_tomcat_tino, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104696 { FRVBF_INSN_TIEQ, model_tomcat_tieq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104697 { FRVBF_INSN_TINE, model_tomcat_tine, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104698 { FRVBF_INSN_TILE, model_tomcat_tile, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104699 { FRVBF_INSN_TIGT, model_tomcat_tigt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104700 { FRVBF_INSN_TILT, model_tomcat_tilt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104701 { FRVBF_INSN_TIGE, model_tomcat_tige, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104702 { FRVBF_INSN_TILS, model_tomcat_tils, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104703 { FRVBF_INSN_TIHI, model_tomcat_tihi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104704 { FRVBF_INSN_TIC, model_tomcat_tic, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104705 { FRVBF_INSN_TINC, model_tomcat_tinc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104706 { FRVBF_INSN_TIN, model_tomcat_tin, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104707 { FRVBF_INSN_TIP, model_tomcat_tip, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104708 { FRVBF_INSN_TIV, model_tomcat_tiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104709 { FRVBF_INSN_TINV, model_tomcat_tinv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104710 { FRVBF_INSN_FTIRA, model_tomcat_ftira, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104711 { FRVBF_INSN_FTINO, model_tomcat_ftino, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104712 { FRVBF_INSN_FTINE, model_tomcat_ftine, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104713 { FRVBF_INSN_FTIEQ, model_tomcat_ftieq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104714 { FRVBF_INSN_FTILG, model_tomcat_ftilg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104715 { FRVBF_INSN_FTIUE, model_tomcat_ftiue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104716 { FRVBF_INSN_FTIUL, model_tomcat_ftiul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104717 { FRVBF_INSN_FTIGE, model_tomcat_ftige, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104718 { FRVBF_INSN_FTILT, model_tomcat_ftilt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104719 { FRVBF_INSN_FTIUGE, model_tomcat_ftiuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104720 { FRVBF_INSN_FTIUG, model_tomcat_ftiug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104721 { FRVBF_INSN_FTILE, model_tomcat_ftile, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104722 { FRVBF_INSN_FTIGT, model_tomcat_ftigt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104723 { FRVBF_INSN_FTIULE, model_tomcat_ftiule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104724 { FRVBF_INSN_FTIU, model_tomcat_ftiu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104725 { FRVBF_INSN_FTIO, model_tomcat_ftio, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104726 { FRVBF_INSN_BREAK, model_tomcat_break, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104727 { FRVBF_INSN_MTRAP, model_tomcat_mtrap, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104728 { FRVBF_INSN_ANDCR, model_tomcat_andcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104729 { FRVBF_INSN_ORCR, model_tomcat_orcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104730 { FRVBF_INSN_XORCR, model_tomcat_xorcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104731 { FRVBF_INSN_NANDCR, model_tomcat_nandcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104732 { FRVBF_INSN_NORCR, model_tomcat_norcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104733 { FRVBF_INSN_ANDNCR, model_tomcat_andncr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104734 { FRVBF_INSN_ORNCR, model_tomcat_orncr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104735 { FRVBF_INSN_NANDNCR, model_tomcat_nandncr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104736 { FRVBF_INSN_NORNCR, model_tomcat_norncr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104737 { FRVBF_INSN_NOTCR, model_tomcat_notcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104738 { FRVBF_INSN_CKRA, model_tomcat_ckra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104739 { FRVBF_INSN_CKNO, model_tomcat_ckno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104740 { FRVBF_INSN_CKEQ, model_tomcat_ckeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104741 { FRVBF_INSN_CKNE, model_tomcat_ckne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104742 { FRVBF_INSN_CKLE, model_tomcat_ckle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104743 { FRVBF_INSN_CKGT, model_tomcat_ckgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104744 { FRVBF_INSN_CKLT, model_tomcat_cklt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104745 { FRVBF_INSN_CKGE, model_tomcat_ckge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104746 { FRVBF_INSN_CKLS, model_tomcat_ckls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104747 { FRVBF_INSN_CKHI, model_tomcat_ckhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104748 { FRVBF_INSN_CKC, model_tomcat_ckc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104749 { FRVBF_INSN_CKNC, model_tomcat_cknc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104750 { FRVBF_INSN_CKN, model_tomcat_ckn, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104751 { FRVBF_INSN_CKP, model_tomcat_ckp, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104752 { FRVBF_INSN_CKV, model_tomcat_ckv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104753 { FRVBF_INSN_CKNV, model_tomcat_cknv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104754 { FRVBF_INSN_FCKRA, model_tomcat_fckra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104755 { FRVBF_INSN_FCKNO, model_tomcat_fckno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104756 { FRVBF_INSN_FCKNE, model_tomcat_fckne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104757 { FRVBF_INSN_FCKEQ, model_tomcat_fckeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104758 { FRVBF_INSN_FCKLG, model_tomcat_fcklg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104759 { FRVBF_INSN_FCKUE, model_tomcat_fckue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104760 { FRVBF_INSN_FCKUL, model_tomcat_fckul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104761 { FRVBF_INSN_FCKGE, model_tomcat_fckge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104762 { FRVBF_INSN_FCKLT, model_tomcat_fcklt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104763 { FRVBF_INSN_FCKUGE, model_tomcat_fckuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104764 { FRVBF_INSN_FCKUG, model_tomcat_fckug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104765 { FRVBF_INSN_FCKLE, model_tomcat_fckle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104766 { FRVBF_INSN_FCKGT, model_tomcat_fckgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104767 { FRVBF_INSN_FCKULE, model_tomcat_fckule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104768 { FRVBF_INSN_FCKU, model_tomcat_fcku, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104769 { FRVBF_INSN_FCKO, model_tomcat_fcko, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104770 { FRVBF_INSN_CCKRA, model_tomcat_cckra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104771 { FRVBF_INSN_CCKNO, model_tomcat_cckno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104772 { FRVBF_INSN_CCKEQ, model_tomcat_cckeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104773 { FRVBF_INSN_CCKNE, model_tomcat_cckne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104774 { FRVBF_INSN_CCKLE, model_tomcat_cckle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104775 { FRVBF_INSN_CCKGT, model_tomcat_cckgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104776 { FRVBF_INSN_CCKLT, model_tomcat_ccklt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104777 { FRVBF_INSN_CCKGE, model_tomcat_cckge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104778 { FRVBF_INSN_CCKLS, model_tomcat_cckls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104779 { FRVBF_INSN_CCKHI, model_tomcat_cckhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104780 { FRVBF_INSN_CCKC, model_tomcat_cckc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104781 { FRVBF_INSN_CCKNC, model_tomcat_ccknc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104782 { FRVBF_INSN_CCKN, model_tomcat_cckn, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104783 { FRVBF_INSN_CCKP, model_tomcat_cckp, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104784 { FRVBF_INSN_CCKV, model_tomcat_cckv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104785 { FRVBF_INSN_CCKNV, model_tomcat_ccknv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104786 { FRVBF_INSN_CFCKRA, model_tomcat_cfckra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104787 { FRVBF_INSN_CFCKNO, model_tomcat_cfckno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104788 { FRVBF_INSN_CFCKNE, model_tomcat_cfckne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104789 { FRVBF_INSN_CFCKEQ, model_tomcat_cfckeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104790 { FRVBF_INSN_CFCKLG, model_tomcat_cfcklg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104791 { FRVBF_INSN_CFCKUE, model_tomcat_cfckue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104792 { FRVBF_INSN_CFCKUL, model_tomcat_cfckul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104793 { FRVBF_INSN_CFCKGE, model_tomcat_cfckge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104794 { FRVBF_INSN_CFCKLT, model_tomcat_cfcklt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104795 { FRVBF_INSN_CFCKUGE, model_tomcat_cfckuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104796 { FRVBF_INSN_CFCKUG, model_tomcat_cfckug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104797 { FRVBF_INSN_CFCKLE, model_tomcat_cfckle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104798 { FRVBF_INSN_CFCKGT, model_tomcat_cfckgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104799 { FRVBF_INSN_CFCKULE, model_tomcat_cfckule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104800 { FRVBF_INSN_CFCKU, model_tomcat_cfcku, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104801 { FRVBF_INSN_CFCKO, model_tomcat_cfcko, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104802 { FRVBF_INSN_CJMPL, model_tomcat_cjmpl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104803 { FRVBF_INSN_CCALLL, model_tomcat_ccalll, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104804 { FRVBF_INSN_ICI, model_tomcat_ici, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104805 { FRVBF_INSN_DCI, model_tomcat_dci, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104806 { FRVBF_INSN_ICEI, model_tomcat_icei, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104807 { FRVBF_INSN_DCEI, model_tomcat_dcei, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104808 { FRVBF_INSN_DCF, model_tomcat_dcf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104809 { FRVBF_INSN_DCEF, model_tomcat_dcef, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104810 { FRVBF_INSN_WITLB, model_tomcat_witlb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104811 { FRVBF_INSN_WDTLB, model_tomcat_wdtlb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104812 { FRVBF_INSN_ITLBI, model_tomcat_itlbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104813 { FRVBF_INSN_DTLBI, model_tomcat_dtlbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104814 { FRVBF_INSN_ICPL, model_tomcat_icpl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104815 { FRVBF_INSN_DCPL, model_tomcat_dcpl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104816 { FRVBF_INSN_ICUL, model_tomcat_icul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104817 { FRVBF_INSN_DCUL, model_tomcat_dcul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104818 { FRVBF_INSN_BAR, model_tomcat_bar, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104819 { FRVBF_INSN_MEMBAR, model_tomcat_membar, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104820 { FRVBF_INSN_LRAI, model_tomcat_lrai, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104821 { FRVBF_INSN_LRAD, model_tomcat_lrad, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104822 { FRVBF_INSN_TLBPR, model_tomcat_tlbpr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104823 { FRVBF_INSN_COP1, model_tomcat_cop1, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104824 { FRVBF_INSN_COP2, model_tomcat_cop2, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104825 { FRVBF_INSN_CLRGR, model_tomcat_clrgr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104826 { FRVBF_INSN_CLRFR, model_tomcat_clrfr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104827 { FRVBF_INSN_CLRGA, model_tomcat_clrga, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104828 { FRVBF_INSN_CLRFA, model_tomcat_clrfa, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104829 { FRVBF_INSN_COMMITGR, model_tomcat_commitgr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104830 { FRVBF_INSN_COMMITFR, model_tomcat_commitfr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104831 { FRVBF_INSN_COMMITGA, model_tomcat_commitga, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104832 { FRVBF_INSN_COMMITFA, model_tomcat_commitfa, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104833 { FRVBF_INSN_FITOS, model_tomcat_fitos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104834 { FRVBF_INSN_FSTOI, model_tomcat_fstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104835 { FRVBF_INSN_FITOD, model_tomcat_fitod, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104836 { FRVBF_INSN_FDTOI, model_tomcat_fdtoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104837 { FRVBF_INSN_FDITOS, model_tomcat_fditos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104838 { FRVBF_INSN_FDSTOI, model_tomcat_fdstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104839 { FRVBF_INSN_NFDITOS, model_tomcat_nfditos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104840 { FRVBF_INSN_NFDSTOI, model_tomcat_nfdstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104841 { FRVBF_INSN_CFITOS, model_tomcat_cfitos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104842 { FRVBF_INSN_CFSTOI, model_tomcat_cfstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104843 { FRVBF_INSN_NFITOS, model_tomcat_nfitos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104844 { FRVBF_INSN_NFSTOI, model_tomcat_nfstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104845 { FRVBF_INSN_FMOVS, model_tomcat_fmovs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104846 { FRVBF_INSN_FMOVD, model_tomcat_fmovd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104847 { FRVBF_INSN_FDMOVS, model_tomcat_fdmovs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104848 { FRVBF_INSN_CFMOVS, model_tomcat_cfmovs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104849 { FRVBF_INSN_FNEGS, model_tomcat_fnegs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104850 { FRVBF_INSN_FNEGD, model_tomcat_fnegd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104851 { FRVBF_INSN_FDNEGS, model_tomcat_fdnegs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104852 { FRVBF_INSN_CFNEGS, model_tomcat_cfnegs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104853 { FRVBF_INSN_FABSS, model_tomcat_fabss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104854 { FRVBF_INSN_FABSD, model_tomcat_fabsd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104855 { FRVBF_INSN_FDABSS, model_tomcat_fdabss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104856 { FRVBF_INSN_CFABSS, model_tomcat_cfabss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104857 { FRVBF_INSN_FSQRTS, model_tomcat_fsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104858 { FRVBF_INSN_FDSQRTS, model_tomcat_fdsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104859 { FRVBF_INSN_NFDSQRTS, model_tomcat_nfdsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104860 { FRVBF_INSN_FSQRTD, model_tomcat_fsqrtd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104861 { FRVBF_INSN_CFSQRTS, model_tomcat_cfsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104862 { FRVBF_INSN_NFSQRTS, model_tomcat_nfsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104863 { FRVBF_INSN_FADDS, model_tomcat_fadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104864 { FRVBF_INSN_FSUBS, model_tomcat_fsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104865 { FRVBF_INSN_FMULS, model_tomcat_fmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104866 { FRVBF_INSN_FDIVS, model_tomcat_fdivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104867 { FRVBF_INSN_FADDD, model_tomcat_faddd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104868 { FRVBF_INSN_FSUBD, model_tomcat_fsubd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104869 { FRVBF_INSN_FMULD, model_tomcat_fmuld, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104870 { FRVBF_INSN_FDIVD, model_tomcat_fdivd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104871 { FRVBF_INSN_CFADDS, model_tomcat_cfadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104872 { FRVBF_INSN_CFSUBS, model_tomcat_cfsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104873 { FRVBF_INSN_CFMULS, model_tomcat_cfmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104874 { FRVBF_INSN_CFDIVS, model_tomcat_cfdivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104875 { FRVBF_INSN_NFADDS, model_tomcat_nfadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104876 { FRVBF_INSN_NFSUBS, model_tomcat_nfsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104877 { FRVBF_INSN_NFMULS, model_tomcat_nfmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104878 { FRVBF_INSN_NFDIVS, model_tomcat_nfdivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104879 { FRVBF_INSN_FCMPS, model_tomcat_fcmps, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104880 { FRVBF_INSN_FCMPD, model_tomcat_fcmpd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104881 { FRVBF_INSN_CFCMPS, model_tomcat_cfcmps, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104882 { FRVBF_INSN_FDCMPS, model_tomcat_fdcmps, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104883 { FRVBF_INSN_FMADDS, model_tomcat_fmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104884 { FRVBF_INSN_FMSUBS, model_tomcat_fmsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104885 { FRVBF_INSN_FMADDD, model_tomcat_fmaddd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104886 { FRVBF_INSN_FMSUBD, model_tomcat_fmsubd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104887 { FRVBF_INSN_FDMADDS, model_tomcat_fdmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104888 { FRVBF_INSN_NFDMADDS, model_tomcat_nfdmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104889 { FRVBF_INSN_CFMADDS, model_tomcat_cfmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104890 { FRVBF_INSN_CFMSUBS, model_tomcat_cfmsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104891 { FRVBF_INSN_NFMADDS, model_tomcat_nfmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104892 { FRVBF_INSN_NFMSUBS, model_tomcat_nfmsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104893 { FRVBF_INSN_FMAS, model_tomcat_fmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104894 { FRVBF_INSN_FMSS, model_tomcat_fmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104895 { FRVBF_INSN_FDMAS, model_tomcat_fdmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104896 { FRVBF_INSN_FDMSS, model_tomcat_fdmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104897 { FRVBF_INSN_NFDMAS, model_tomcat_nfdmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104898 { FRVBF_INSN_NFDMSS, model_tomcat_nfdmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104899 { FRVBF_INSN_CFMAS, model_tomcat_cfmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104900 { FRVBF_INSN_CFMSS, model_tomcat_cfmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104901 { FRVBF_INSN_FMAD, model_tomcat_fmad, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104902 { FRVBF_INSN_FMSD, model_tomcat_fmsd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104903 { FRVBF_INSN_NFMAS, model_tomcat_nfmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104904 { FRVBF_INSN_NFMSS, model_tomcat_nfmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104905 { FRVBF_INSN_FDADDS, model_tomcat_fdadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104906 { FRVBF_INSN_FDSUBS, model_tomcat_fdsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104907 { FRVBF_INSN_FDMULS, model_tomcat_fdmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104908 { FRVBF_INSN_FDDIVS, model_tomcat_fddivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104909 { FRVBF_INSN_FDSADS, model_tomcat_fdsads, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104910 { FRVBF_INSN_FDMULCS, model_tomcat_fdmulcs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104911 { FRVBF_INSN_NFDMULCS, model_tomcat_nfdmulcs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104912 { FRVBF_INSN_NFDADDS, model_tomcat_nfdadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104913 { FRVBF_INSN_NFDSUBS, model_tomcat_nfdsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104914 { FRVBF_INSN_NFDMULS, model_tomcat_nfdmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104915 { FRVBF_INSN_NFDDIVS, model_tomcat_nfddivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104916 { FRVBF_INSN_NFDSADS, model_tomcat_nfdsads, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104917 { FRVBF_INSN_NFDCMPS, model_tomcat_nfdcmps, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104918 { FRVBF_INSN_MHSETLOS, model_tomcat_mhsetlos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104919 { FRVBF_INSN_MHSETHIS, model_tomcat_mhsethis, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104920 { FRVBF_INSN_MHDSETS, model_tomcat_mhdsets, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104921 { FRVBF_INSN_MHSETLOH, model_tomcat_mhsetloh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104922 { FRVBF_INSN_MHSETHIH, model_tomcat_mhsethih, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104923 { FRVBF_INSN_MHDSETH, model_tomcat_mhdseth, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104924 { FRVBF_INSN_MAND, model_tomcat_mand, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104925 { FRVBF_INSN_MOR, model_tomcat_mor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104926 { FRVBF_INSN_MXOR, model_tomcat_mxor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104927 { FRVBF_INSN_CMAND, model_tomcat_cmand, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104928 { FRVBF_INSN_CMOR, model_tomcat_cmor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104929 { FRVBF_INSN_CMXOR, model_tomcat_cmxor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104930 { FRVBF_INSN_MNOT, model_tomcat_mnot, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104931 { FRVBF_INSN_CMNOT, model_tomcat_cmnot, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104932 { FRVBF_INSN_MROTLI, model_tomcat_mrotli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104933 { FRVBF_INSN_MROTRI, model_tomcat_mrotri, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104934 { FRVBF_INSN_MWCUT, model_tomcat_mwcut, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104935 { FRVBF_INSN_MWCUTI, model_tomcat_mwcuti, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104936 { FRVBF_INSN_MCUT, model_tomcat_mcut, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104937 { FRVBF_INSN_MCUTI, model_tomcat_mcuti, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104938 { FRVBF_INSN_MCUTSS, model_tomcat_mcutss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104939 { FRVBF_INSN_MCUTSSI, model_tomcat_mcutssi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104940 { FRVBF_INSN_MDCUTSSI, model_tomcat_mdcutssi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104941 { FRVBF_INSN_MAVEH, model_tomcat_maveh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104942 { FRVBF_INSN_MSLLHI, model_tomcat_msllhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104943 { FRVBF_INSN_MSRLHI, model_tomcat_msrlhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104944 { FRVBF_INSN_MSRAHI, model_tomcat_msrahi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104945 { FRVBF_INSN_MDROTLI, model_tomcat_mdrotli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104946 { FRVBF_INSN_MCPLHI, model_tomcat_mcplhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104947 { FRVBF_INSN_MCPLI, model_tomcat_mcpli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104948 { FRVBF_INSN_MSATHS, model_tomcat_msaths, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104949 { FRVBF_INSN_MQSATHS, model_tomcat_mqsaths, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104950 { FRVBF_INSN_MSATHU, model_tomcat_msathu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104951 { FRVBF_INSN_MCMPSH, model_tomcat_mcmpsh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104952 { FRVBF_INSN_MCMPUH, model_tomcat_mcmpuh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104953 { FRVBF_INSN_MABSHS, model_tomcat_mabshs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104954 { FRVBF_INSN_MADDHSS, model_tomcat_maddhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104955 { FRVBF_INSN_MADDHUS, model_tomcat_maddhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104956 { FRVBF_INSN_MSUBHSS, model_tomcat_msubhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104957 { FRVBF_INSN_MSUBHUS, model_tomcat_msubhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104958 { FRVBF_INSN_CMADDHSS, model_tomcat_cmaddhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104959 { FRVBF_INSN_CMADDHUS, model_tomcat_cmaddhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104960 { FRVBF_INSN_CMSUBHSS, model_tomcat_cmsubhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104961 { FRVBF_INSN_CMSUBHUS, model_tomcat_cmsubhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104962 { FRVBF_INSN_MQADDHSS, model_tomcat_mqaddhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104963 { FRVBF_INSN_MQADDHUS, model_tomcat_mqaddhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104964 { FRVBF_INSN_MQSUBHSS, model_tomcat_mqsubhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104965 { FRVBF_INSN_MQSUBHUS, model_tomcat_mqsubhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104966 { FRVBF_INSN_CMQADDHSS, model_tomcat_cmqaddhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104967 { FRVBF_INSN_CMQADDHUS, model_tomcat_cmqaddhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104968 { FRVBF_INSN_CMQSUBHSS, model_tomcat_cmqsubhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104969 { FRVBF_INSN_CMQSUBHUS, model_tomcat_cmqsubhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104970 { FRVBF_INSN_MQLCLRHS, model_tomcat_mqlclrhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104971 { FRVBF_INSN_MQLMTHS, model_tomcat_mqlmths, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104972 { FRVBF_INSN_MQSLLHI, model_tomcat_mqsllhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104973 { FRVBF_INSN_MQSRAHI, model_tomcat_mqsrahi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104974 { FRVBF_INSN_MADDACCS, model_tomcat_maddaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104975 { FRVBF_INSN_MSUBACCS, model_tomcat_msubaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104976 { FRVBF_INSN_MDADDACCS, model_tomcat_mdaddaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104977 { FRVBF_INSN_MDSUBACCS, model_tomcat_mdsubaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104978 { FRVBF_INSN_MASACCS, model_tomcat_masaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104979 { FRVBF_INSN_MDASACCS, model_tomcat_mdasaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104980 { FRVBF_INSN_MMULHS, model_tomcat_mmulhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104981 { FRVBF_INSN_MMULHU, model_tomcat_mmulhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104982 { FRVBF_INSN_MMULXHS, model_tomcat_mmulxhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104983 { FRVBF_INSN_MMULXHU, model_tomcat_mmulxhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104984 { FRVBF_INSN_CMMULHS, model_tomcat_cmmulhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104985 { FRVBF_INSN_CMMULHU, model_tomcat_cmmulhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104986 { FRVBF_INSN_MQMULHS, model_tomcat_mqmulhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104987 { FRVBF_INSN_MQMULHU, model_tomcat_mqmulhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104988 { FRVBF_INSN_MQMULXHS, model_tomcat_mqmulxhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104989 { FRVBF_INSN_MQMULXHU, model_tomcat_mqmulxhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104990 { FRVBF_INSN_CMQMULHS, model_tomcat_cmqmulhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104991 { FRVBF_INSN_CMQMULHU, model_tomcat_cmqmulhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104992 { FRVBF_INSN_MMACHS, model_tomcat_mmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104993 { FRVBF_INSN_MMACHU, model_tomcat_mmachu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104994 { FRVBF_INSN_MMRDHS, model_tomcat_mmrdhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104995 { FRVBF_INSN_MMRDHU, model_tomcat_mmrdhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104996 { FRVBF_INSN_CMMACHS, model_tomcat_cmmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104997 { FRVBF_INSN_CMMACHU, model_tomcat_cmmachu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104998 { FRVBF_INSN_MQMACHS, model_tomcat_mqmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104999 { FRVBF_INSN_MQMACHU, model_tomcat_mqmachu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105000 { FRVBF_INSN_CMQMACHS, model_tomcat_cmqmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105001 { FRVBF_INSN_CMQMACHU, model_tomcat_cmqmachu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105002 { FRVBF_INSN_MQXMACHS, model_tomcat_mqxmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105003 { FRVBF_INSN_MQXMACXHS, model_tomcat_mqxmacxhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105004 { FRVBF_INSN_MQMACXHS, model_tomcat_mqmacxhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105005 { FRVBF_INSN_MCPXRS, model_tomcat_mcpxrs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105006 { FRVBF_INSN_MCPXRU, model_tomcat_mcpxru, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105007 { FRVBF_INSN_MCPXIS, model_tomcat_mcpxis, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105008 { FRVBF_INSN_MCPXIU, model_tomcat_mcpxiu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105009 { FRVBF_INSN_CMCPXRS, model_tomcat_cmcpxrs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105010 { FRVBF_INSN_CMCPXRU, model_tomcat_cmcpxru, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105011 { FRVBF_INSN_CMCPXIS, model_tomcat_cmcpxis, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105012 { FRVBF_INSN_CMCPXIU, model_tomcat_cmcpxiu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105013 { FRVBF_INSN_MQCPXRS, model_tomcat_mqcpxrs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105014 { FRVBF_INSN_MQCPXRU, model_tomcat_mqcpxru, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105015 { FRVBF_INSN_MQCPXIS, model_tomcat_mqcpxis, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105016 { FRVBF_INSN_MQCPXIU, model_tomcat_mqcpxiu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105017 { FRVBF_INSN_MEXPDHW, model_tomcat_mexpdhw, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105018 { FRVBF_INSN_CMEXPDHW, model_tomcat_cmexpdhw, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105019 { FRVBF_INSN_MEXPDHD, model_tomcat_mexpdhd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105020 { FRVBF_INSN_CMEXPDHD, model_tomcat_cmexpdhd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105021 { FRVBF_INSN_MPACKH, model_tomcat_mpackh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105022 { FRVBF_INSN_MDPACKH, model_tomcat_mdpackh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105023 { FRVBF_INSN_MUNPACKH, model_tomcat_munpackh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105024 { FRVBF_INSN_MDUNPACKH, model_tomcat_mdunpackh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105025 { FRVBF_INSN_MBTOH, model_tomcat_mbtoh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105026 { FRVBF_INSN_CMBTOH, model_tomcat_cmbtoh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105027 { FRVBF_INSN_MHTOB, model_tomcat_mhtob, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105028 { FRVBF_INSN_CMHTOB, model_tomcat_cmhtob, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105029 { FRVBF_INSN_MBTOHE, model_tomcat_mbtohe, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105030 { FRVBF_INSN_CMBTOHE, model_tomcat_cmbtohe, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105031 { FRVBF_INSN_MNOP, model_tomcat_mnop, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105032 { FRVBF_INSN_MCLRACC_0, model_tomcat_mclracc_0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105033 { FRVBF_INSN_MCLRACC_1, model_tomcat_mclracc_1, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105034 { FRVBF_INSN_MRDACC, model_tomcat_mrdacc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105035 { FRVBF_INSN_MRDACCG, model_tomcat_mrdaccg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105036 { FRVBF_INSN_MWTACC, model_tomcat_mwtacc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105037 { FRVBF_INSN_MWTACCG, model_tomcat_mwtaccg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105038 { FRVBF_INSN_MCOP1, model_tomcat_mcop1, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105039 { FRVBF_INSN_MCOP2, model_tomcat_mcop2, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105040 { FRVBF_INSN_FNOP, model_tomcat_fnop, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105043 /* Model timing data for `fr400'. */
105045 static const INSN_TIMING fr400_timing[] = {
105046 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105047 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105048 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105049 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105050 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105051 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105052 { FRVBF_INSN_ADD, model_fr400_add, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105053 { FRVBF_INSN_SUB, model_fr400_sub, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105054 { FRVBF_INSN_AND, model_fr400_and, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105055 { FRVBF_INSN_OR, model_fr400_or, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105056 { FRVBF_INSN_XOR, model_fr400_xor, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105057 { FRVBF_INSN_NOT, model_fr400_not, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105058 { FRVBF_INSN_SDIV, model_fr400_sdiv, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105059 { FRVBF_INSN_NSDIV, model_fr400_nsdiv, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105060 { FRVBF_INSN_UDIV, model_fr400_udiv, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105061 { FRVBF_INSN_NUDIV, model_fr400_nudiv, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105062 { FRVBF_INSN_SMUL, model_fr400_smul, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105063 { FRVBF_INSN_UMUL, model_fr400_umul, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105064 { FRVBF_INSN_SMU, model_fr400_smu, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105065 { FRVBF_INSN_SMASS, model_fr400_smass, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105066 { FRVBF_INSN_SMSSS, model_fr400_smsss, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105067 { FRVBF_INSN_SLL, model_fr400_sll, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105068 { FRVBF_INSN_SRL, model_fr400_srl, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105069 { FRVBF_INSN_SRA, model_fr400_sra, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105070 { FRVBF_INSN_SLASS, model_fr400_slass, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105071 { FRVBF_INSN_SCUTSS, model_fr400_scutss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105072 { FRVBF_INSN_SCAN, model_fr400_scan, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105073 { FRVBF_INSN_CADD, model_fr400_cadd, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105074 { FRVBF_INSN_CSUB, model_fr400_csub, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105075 { FRVBF_INSN_CAND, model_fr400_cand, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105076 { FRVBF_INSN_COR, model_fr400_cor, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105077 { FRVBF_INSN_CXOR, model_fr400_cxor, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105078 { FRVBF_INSN_CNOT, model_fr400_cnot, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105079 { FRVBF_INSN_CSMUL, model_fr400_csmul, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105080 { FRVBF_INSN_CSDIV, model_fr400_csdiv, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105081 { FRVBF_INSN_CUDIV, model_fr400_cudiv, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105082 { FRVBF_INSN_CSLL, model_fr400_csll, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105083 { FRVBF_INSN_CSRL, model_fr400_csrl, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105084 { FRVBF_INSN_CSRA, model_fr400_csra, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105085 { FRVBF_INSN_CSCAN, model_fr400_cscan, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105086 { FRVBF_INSN_ADDCC, model_fr400_addcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105087 { FRVBF_INSN_SUBCC, model_fr400_subcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105088 { FRVBF_INSN_ANDCC, model_fr400_andcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105089 { FRVBF_INSN_ORCC, model_fr400_orcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105090 { FRVBF_INSN_XORCC, model_fr400_xorcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105091 { FRVBF_INSN_SLLCC, model_fr400_sllcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105092 { FRVBF_INSN_SRLCC, model_fr400_srlcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105093 { FRVBF_INSN_SRACC, model_fr400_sracc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105094 { FRVBF_INSN_SMULCC, model_fr400_smulcc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105095 { FRVBF_INSN_UMULCC, model_fr400_umulcc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105096 { FRVBF_INSN_CADDCC, model_fr400_caddcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105097 { FRVBF_INSN_CSUBCC, model_fr400_csubcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105098 { FRVBF_INSN_CSMULCC, model_fr400_csmulcc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105099 { FRVBF_INSN_CANDCC, model_fr400_candcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105100 { FRVBF_INSN_CORCC, model_fr400_corcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105101 { FRVBF_INSN_CXORCC, model_fr400_cxorcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105102 { FRVBF_INSN_CSLLCC, model_fr400_csllcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105103 { FRVBF_INSN_CSRLCC, model_fr400_csrlcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105104 { FRVBF_INSN_CSRACC, model_fr400_csracc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105105 { FRVBF_INSN_ADDX, model_fr400_addx, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105106 { FRVBF_INSN_SUBX, model_fr400_subx, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105107 { FRVBF_INSN_ADDXCC, model_fr400_addxcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105108 { FRVBF_INSN_SUBXCC, model_fr400_subxcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105109 { FRVBF_INSN_ADDSS, model_fr400_addss, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105110 { FRVBF_INSN_SUBSS, model_fr400_subss, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105111 { FRVBF_INSN_ADDI, model_fr400_addi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105112 { FRVBF_INSN_SUBI, model_fr400_subi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105113 { FRVBF_INSN_ANDI, model_fr400_andi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105114 { FRVBF_INSN_ORI, model_fr400_ori, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105115 { FRVBF_INSN_XORI, model_fr400_xori, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105116 { FRVBF_INSN_SDIVI, model_fr400_sdivi, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105117 { FRVBF_INSN_NSDIVI, model_fr400_nsdivi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105118 { FRVBF_INSN_UDIVI, model_fr400_udivi, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105119 { FRVBF_INSN_NUDIVI, model_fr400_nudivi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105120 { FRVBF_INSN_SMULI, model_fr400_smuli, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105121 { FRVBF_INSN_UMULI, model_fr400_umuli, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105122 { FRVBF_INSN_SLLI, model_fr400_slli, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105123 { FRVBF_INSN_SRLI, model_fr400_srli, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105124 { FRVBF_INSN_SRAI, model_fr400_srai, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105125 { FRVBF_INSN_SCANI, model_fr400_scani, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105126 { FRVBF_INSN_ADDICC, model_fr400_addicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105127 { FRVBF_INSN_SUBICC, model_fr400_subicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105128 { FRVBF_INSN_ANDICC, model_fr400_andicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105129 { FRVBF_INSN_ORICC, model_fr400_oricc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105130 { FRVBF_INSN_XORICC, model_fr400_xoricc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105131 { FRVBF_INSN_SMULICC, model_fr400_smulicc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105132 { FRVBF_INSN_UMULICC, model_fr400_umulicc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105133 { FRVBF_INSN_SLLICC, model_fr400_sllicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105134 { FRVBF_INSN_SRLICC, model_fr400_srlicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105135 { FRVBF_INSN_SRAICC, model_fr400_sraicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105136 { FRVBF_INSN_ADDXI, model_fr400_addxi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105137 { FRVBF_INSN_SUBXI, model_fr400_subxi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105138 { FRVBF_INSN_ADDXICC, model_fr400_addxicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105139 { FRVBF_INSN_SUBXICC, model_fr400_subxicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105140 { FRVBF_INSN_CMPB, model_fr400_cmpb, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105141 { FRVBF_INSN_CMPBA, model_fr400_cmpba, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105142 { FRVBF_INSN_SETLO, model_fr400_setlo, { { (int) UNIT_FR400_U_SET_HILO, 1, 1 } } },
105143 { FRVBF_INSN_SETHI, model_fr400_sethi, { { (int) UNIT_FR400_U_SET_HILO, 1, 1 } } },
105144 { FRVBF_INSN_SETLOS, model_fr400_setlos, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105145 { FRVBF_INSN_LDSB, model_fr400_ldsb, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105146 { FRVBF_INSN_LDUB, model_fr400_ldub, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105147 { FRVBF_INSN_LDSH, model_fr400_ldsh, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105148 { FRVBF_INSN_LDUH, model_fr400_lduh, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105149 { FRVBF_INSN_LD, model_fr400_ld, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105150 { FRVBF_INSN_LDBF, model_fr400_ldbf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105151 { FRVBF_INSN_LDHF, model_fr400_ldhf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105152 { FRVBF_INSN_LDF, model_fr400_ldf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105153 { FRVBF_INSN_LDC, model_fr400_ldc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105154 { FRVBF_INSN_NLDSB, model_fr400_nldsb, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105155 { FRVBF_INSN_NLDUB, model_fr400_nldub, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105156 { FRVBF_INSN_NLDSH, model_fr400_nldsh, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105157 { FRVBF_INSN_NLDUH, model_fr400_nlduh, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105158 { FRVBF_INSN_NLD, model_fr400_nld, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105159 { FRVBF_INSN_NLDBF, model_fr400_nldbf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105160 { FRVBF_INSN_NLDHF, model_fr400_nldhf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105161 { FRVBF_INSN_NLDF, model_fr400_nldf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105162 { FRVBF_INSN_LDD, model_fr400_ldd, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105163 { FRVBF_INSN_LDDF, model_fr400_lddf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105164 { FRVBF_INSN_LDDC, model_fr400_lddc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105165 { FRVBF_INSN_NLDD, model_fr400_nldd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105166 { FRVBF_INSN_NLDDF, model_fr400_nlddf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105167 { FRVBF_INSN_LDQ, model_fr400_ldq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105168 { FRVBF_INSN_LDQF, model_fr400_ldqf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105169 { FRVBF_INSN_LDQC, model_fr400_ldqc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105170 { FRVBF_INSN_NLDQ, model_fr400_nldq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105171 { FRVBF_INSN_NLDQF, model_fr400_nldqf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105172 { FRVBF_INSN_LDSBU, model_fr400_ldsbu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105173 { FRVBF_INSN_LDUBU, model_fr400_ldubu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105174 { FRVBF_INSN_LDSHU, model_fr400_ldshu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105175 { FRVBF_INSN_LDUHU, model_fr400_lduhu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105176 { FRVBF_INSN_LDU, model_fr400_ldu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105177 { FRVBF_INSN_NLDSBU, model_fr400_nldsbu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105178 { FRVBF_INSN_NLDUBU, model_fr400_nldubu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105179 { FRVBF_INSN_NLDSHU, model_fr400_nldshu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105180 { FRVBF_INSN_NLDUHU, model_fr400_nlduhu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105181 { FRVBF_INSN_NLDU, model_fr400_nldu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105182 { FRVBF_INSN_LDBFU, model_fr400_ldbfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105183 { FRVBF_INSN_LDHFU, model_fr400_ldhfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105184 { FRVBF_INSN_LDFU, model_fr400_ldfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105185 { FRVBF_INSN_LDCU, model_fr400_ldcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105186 { FRVBF_INSN_NLDBFU, model_fr400_nldbfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105187 { FRVBF_INSN_NLDHFU, model_fr400_nldhfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105188 { FRVBF_INSN_NLDFU, model_fr400_nldfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105189 { FRVBF_INSN_LDDU, model_fr400_lddu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105190 { FRVBF_INSN_NLDDU, model_fr400_nlddu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105191 { FRVBF_INSN_LDDFU, model_fr400_lddfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105192 { FRVBF_INSN_LDDCU, model_fr400_lddcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105193 { FRVBF_INSN_NLDDFU, model_fr400_nlddfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105194 { FRVBF_INSN_LDQU, model_fr400_ldqu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105195 { FRVBF_INSN_NLDQU, model_fr400_nldqu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105196 { FRVBF_INSN_LDQFU, model_fr400_ldqfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105197 { FRVBF_INSN_LDQCU, model_fr400_ldqcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105198 { FRVBF_INSN_NLDQFU, model_fr400_nldqfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105199 { FRVBF_INSN_LDSBI, model_fr400_ldsbi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105200 { FRVBF_INSN_LDSHI, model_fr400_ldshi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105201 { FRVBF_INSN_LDI, model_fr400_ldi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105202 { FRVBF_INSN_LDUBI, model_fr400_ldubi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105203 { FRVBF_INSN_LDUHI, model_fr400_lduhi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105204 { FRVBF_INSN_LDBFI, model_fr400_ldbfi, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105205 { FRVBF_INSN_LDHFI, model_fr400_ldhfi, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105206 { FRVBF_INSN_LDFI, model_fr400_ldfi, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105207 { FRVBF_INSN_NLDSBI, model_fr400_nldsbi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105208 { FRVBF_INSN_NLDUBI, model_fr400_nldubi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105209 { FRVBF_INSN_NLDSHI, model_fr400_nldshi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105210 { FRVBF_INSN_NLDUHI, model_fr400_nlduhi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105211 { FRVBF_INSN_NLDI, model_fr400_nldi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105212 { FRVBF_INSN_NLDBFI, model_fr400_nldbfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105213 { FRVBF_INSN_NLDHFI, model_fr400_nldhfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105214 { FRVBF_INSN_NLDFI, model_fr400_nldfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105215 { FRVBF_INSN_LDDI, model_fr400_lddi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105216 { FRVBF_INSN_LDDFI, model_fr400_lddfi, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105217 { FRVBF_INSN_NLDDI, model_fr400_nlddi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105218 { FRVBF_INSN_NLDDFI, model_fr400_nlddfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105219 { FRVBF_INSN_LDQI, model_fr400_ldqi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105220 { FRVBF_INSN_LDQFI, model_fr400_ldqfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105221 { FRVBF_INSN_NLDQFI, model_fr400_nldqfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105222 { FRVBF_INSN_STB, model_fr400_stb, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105223 { FRVBF_INSN_STH, model_fr400_sth, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105224 { FRVBF_INSN_ST, model_fr400_st, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105225 { FRVBF_INSN_STBF, model_fr400_stbf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105226 { FRVBF_INSN_STHF, model_fr400_sthf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105227 { FRVBF_INSN_STF, model_fr400_stf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105228 { FRVBF_INSN_STC, model_fr400_stc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105229 { FRVBF_INSN_STD, model_fr400_std, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105230 { FRVBF_INSN_STDF, model_fr400_stdf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105231 { FRVBF_INSN_STDC, model_fr400_stdc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105232 { FRVBF_INSN_STQ, model_fr400_stq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105233 { FRVBF_INSN_STQF, model_fr400_stqf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105234 { FRVBF_INSN_STQC, model_fr400_stqc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105235 { FRVBF_INSN_STBU, model_fr400_stbu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105236 { FRVBF_INSN_STHU, model_fr400_sthu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105237 { FRVBF_INSN_STU, model_fr400_stu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105238 { FRVBF_INSN_STBFU, model_fr400_stbfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105239 { FRVBF_INSN_STHFU, model_fr400_sthfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105240 { FRVBF_INSN_STFU, model_fr400_stfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105241 { FRVBF_INSN_STCU, model_fr400_stcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105242 { FRVBF_INSN_STDU, model_fr400_stdu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105243 { FRVBF_INSN_STDFU, model_fr400_stdfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105244 { FRVBF_INSN_STDCU, model_fr400_stdcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105245 { FRVBF_INSN_STQU, model_fr400_stqu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105246 { FRVBF_INSN_STQFU, model_fr400_stqfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105247 { FRVBF_INSN_STQCU, model_fr400_stqcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105248 { FRVBF_INSN_CLDSB, model_fr400_cldsb, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105249 { FRVBF_INSN_CLDUB, model_fr400_cldub, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105250 { FRVBF_INSN_CLDSH, model_fr400_cldsh, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105251 { FRVBF_INSN_CLDUH, model_fr400_clduh, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105252 { FRVBF_INSN_CLD, model_fr400_cld, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105253 { FRVBF_INSN_CLDBF, model_fr400_cldbf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105254 { FRVBF_INSN_CLDHF, model_fr400_cldhf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105255 { FRVBF_INSN_CLDF, model_fr400_cldf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105256 { FRVBF_INSN_CLDD, model_fr400_cldd, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105257 { FRVBF_INSN_CLDDF, model_fr400_clddf, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105258 { FRVBF_INSN_CLDQ, model_fr400_cldq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105259 { FRVBF_INSN_CLDSBU, model_fr400_cldsbu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105260 { FRVBF_INSN_CLDUBU, model_fr400_cldubu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105261 { FRVBF_INSN_CLDSHU, model_fr400_cldshu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105262 { FRVBF_INSN_CLDUHU, model_fr400_clduhu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105263 { FRVBF_INSN_CLDU, model_fr400_cldu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105264 { FRVBF_INSN_CLDBFU, model_fr400_cldbfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105265 { FRVBF_INSN_CLDHFU, model_fr400_cldhfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105266 { FRVBF_INSN_CLDFU, model_fr400_cldfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105267 { FRVBF_INSN_CLDDU, model_fr400_clddu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105268 { FRVBF_INSN_CLDDFU, model_fr400_clddfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105269 { FRVBF_INSN_CLDQU, model_fr400_cldqu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105270 { FRVBF_INSN_CSTB, model_fr400_cstb, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105271 { FRVBF_INSN_CSTH, model_fr400_csth, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105272 { FRVBF_INSN_CST, model_fr400_cst, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105273 { FRVBF_INSN_CSTBF, model_fr400_cstbf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105274 { FRVBF_INSN_CSTHF, model_fr400_csthf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105275 { FRVBF_INSN_CSTF, model_fr400_cstf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105276 { FRVBF_INSN_CSTD, model_fr400_cstd, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105277 { FRVBF_INSN_CSTDF, model_fr400_cstdf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105278 { FRVBF_INSN_CSTQ, model_fr400_cstq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105279 { FRVBF_INSN_CSTBU, model_fr400_cstbu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105280 { FRVBF_INSN_CSTHU, model_fr400_csthu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105281 { FRVBF_INSN_CSTU, model_fr400_cstu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105282 { FRVBF_INSN_CSTBFU, model_fr400_cstbfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105283 { FRVBF_INSN_CSTHFU, model_fr400_csthfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105284 { FRVBF_INSN_CSTFU, model_fr400_cstfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105285 { FRVBF_INSN_CSTDU, model_fr400_cstdu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105286 { FRVBF_INSN_CSTDFU, model_fr400_cstdfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105287 { FRVBF_INSN_STBI, model_fr400_stbi, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105288 { FRVBF_INSN_STHI, model_fr400_sthi, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105289 { FRVBF_INSN_STI, model_fr400_sti, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105290 { FRVBF_INSN_STBFI, model_fr400_stbfi, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105291 { FRVBF_INSN_STHFI, model_fr400_sthfi, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105292 { FRVBF_INSN_STFI, model_fr400_stfi, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105293 { FRVBF_INSN_STDI, model_fr400_stdi, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105294 { FRVBF_INSN_STDFI, model_fr400_stdfi, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105295 { FRVBF_INSN_STQI, model_fr400_stqi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105296 { FRVBF_INSN_STQFI, model_fr400_stqfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105297 { FRVBF_INSN_SWAP, model_fr400_swap, { { (int) UNIT_FR400_U_SWAP, 1, 1 } } },
105298 { FRVBF_INSN_SWAPI, model_fr400_swapi, { { (int) UNIT_FR400_U_SWAP, 1, 1 } } },
105299 { FRVBF_INSN_CSWAP, model_fr400_cswap, { { (int) UNIT_FR400_U_SWAP, 1, 1 } } },
105300 { FRVBF_INSN_MOVGF, model_fr400_movgf, { { (int) UNIT_FR400_U_GR2FR, 1, 1 } } },
105301 { FRVBF_INSN_MOVFG, model_fr400_movfg, { { (int) UNIT_FR400_U_FR2GR, 1, 1 } } },
105302 { FRVBF_INSN_MOVGFD, model_fr400_movgfd, { { (int) UNIT_FR400_U_GR2FR, 1, 1 } } },
105303 { FRVBF_INSN_MOVFGD, model_fr400_movfgd, { { (int) UNIT_FR400_U_FR2GR, 1, 1 } } },
105304 { FRVBF_INSN_MOVGFQ, model_fr400_movgfq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105305 { FRVBF_INSN_MOVFGQ, model_fr400_movfgq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105306 { FRVBF_INSN_CMOVGF, model_fr400_cmovgf, { { (int) UNIT_FR400_U_GR2FR, 1, 1 } } },
105307 { FRVBF_INSN_CMOVFG, model_fr400_cmovfg, { { (int) UNIT_FR400_U_FR2GR, 1, 1 } } },
105308 { FRVBF_INSN_CMOVGFD, model_fr400_cmovgfd, { { (int) UNIT_FR400_U_GR2FR, 1, 1 } } },
105309 { FRVBF_INSN_CMOVFGD, model_fr400_cmovfgd, { { (int) UNIT_FR400_U_FR2GR, 1, 1 } } },
105310 { FRVBF_INSN_MOVGS, model_fr400_movgs, { { (int) UNIT_FR400_U_GR2SPR, 1, 1 } } },
105311 { FRVBF_INSN_MOVSG, model_fr400_movsg, { { (int) UNIT_FR400_U_SPR2GR, 1, 1 } } },
105312 { FRVBF_INSN_BRA, model_fr400_bra, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105313 { FRVBF_INSN_BNO, model_fr400_bno, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105314 { FRVBF_INSN_BEQ, model_fr400_beq, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105315 { FRVBF_INSN_BNE, model_fr400_bne, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105316 { FRVBF_INSN_BLE, model_fr400_ble, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105317 { FRVBF_INSN_BGT, model_fr400_bgt, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105318 { FRVBF_INSN_BLT, model_fr400_blt, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105319 { FRVBF_INSN_BGE, model_fr400_bge, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105320 { FRVBF_INSN_BLS, model_fr400_bls, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105321 { FRVBF_INSN_BHI, model_fr400_bhi, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105322 { FRVBF_INSN_BC, model_fr400_bc, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105323 { FRVBF_INSN_BNC, model_fr400_bnc, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105324 { FRVBF_INSN_BN, model_fr400_bn, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105325 { FRVBF_INSN_BP, model_fr400_bp, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105326 { FRVBF_INSN_BV, model_fr400_bv, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105327 { FRVBF_INSN_BNV, model_fr400_bnv, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105328 { FRVBF_INSN_FBRA, model_fr400_fbra, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105329 { FRVBF_INSN_FBNO, model_fr400_fbno, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105330 { FRVBF_INSN_FBNE, model_fr400_fbne, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105331 { FRVBF_INSN_FBEQ, model_fr400_fbeq, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105332 { FRVBF_INSN_FBLG, model_fr400_fblg, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105333 { FRVBF_INSN_FBUE, model_fr400_fbue, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105334 { FRVBF_INSN_FBUL, model_fr400_fbul, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105335 { FRVBF_INSN_FBGE, model_fr400_fbge, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105336 { FRVBF_INSN_FBLT, model_fr400_fblt, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105337 { FRVBF_INSN_FBUGE, model_fr400_fbuge, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105338 { FRVBF_INSN_FBUG, model_fr400_fbug, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105339 { FRVBF_INSN_FBLE, model_fr400_fble, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105340 { FRVBF_INSN_FBGT, model_fr400_fbgt, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105341 { FRVBF_INSN_FBULE, model_fr400_fbule, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105342 { FRVBF_INSN_FBU, model_fr400_fbu, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105343 { FRVBF_INSN_FBO, model_fr400_fbo, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105344 { FRVBF_INSN_BCTRLR, model_fr400_bctrlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105345 { FRVBF_INSN_BRALR, model_fr400_bralr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105346 { FRVBF_INSN_BNOLR, model_fr400_bnolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105347 { FRVBF_INSN_BEQLR, model_fr400_beqlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105348 { FRVBF_INSN_BNELR, model_fr400_bnelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105349 { FRVBF_INSN_BLELR, model_fr400_blelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105350 { FRVBF_INSN_BGTLR, model_fr400_bgtlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105351 { FRVBF_INSN_BLTLR, model_fr400_bltlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105352 { FRVBF_INSN_BGELR, model_fr400_bgelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105353 { FRVBF_INSN_BLSLR, model_fr400_blslr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105354 { FRVBF_INSN_BHILR, model_fr400_bhilr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105355 { FRVBF_INSN_BCLR, model_fr400_bclr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105356 { FRVBF_INSN_BNCLR, model_fr400_bnclr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105357 { FRVBF_INSN_BNLR, model_fr400_bnlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105358 { FRVBF_INSN_BPLR, model_fr400_bplr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105359 { FRVBF_INSN_BVLR, model_fr400_bvlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105360 { FRVBF_INSN_BNVLR, model_fr400_bnvlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105361 { FRVBF_INSN_FBRALR, model_fr400_fbralr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105362 { FRVBF_INSN_FBNOLR, model_fr400_fbnolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105363 { FRVBF_INSN_FBEQLR, model_fr400_fbeqlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105364 { FRVBF_INSN_FBNELR, model_fr400_fbnelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105365 { FRVBF_INSN_FBLGLR, model_fr400_fblglr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105366 { FRVBF_INSN_FBUELR, model_fr400_fbuelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105367 { FRVBF_INSN_FBULLR, model_fr400_fbullr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105368 { FRVBF_INSN_FBGELR, model_fr400_fbgelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105369 { FRVBF_INSN_FBLTLR, model_fr400_fbltlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105370 { FRVBF_INSN_FBUGELR, model_fr400_fbugelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105371 { FRVBF_INSN_FBUGLR, model_fr400_fbuglr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105372 { FRVBF_INSN_FBLELR, model_fr400_fblelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105373 { FRVBF_INSN_FBGTLR, model_fr400_fbgtlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105374 { FRVBF_INSN_FBULELR, model_fr400_fbulelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105375 { FRVBF_INSN_FBULR, model_fr400_fbulr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105376 { FRVBF_INSN_FBOLR, model_fr400_fbolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105377 { FRVBF_INSN_BCRALR, model_fr400_bcralr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105378 { FRVBF_INSN_BCNOLR, model_fr400_bcnolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105379 { FRVBF_INSN_BCEQLR, model_fr400_bceqlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105380 { FRVBF_INSN_BCNELR, model_fr400_bcnelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105381 { FRVBF_INSN_BCLELR, model_fr400_bclelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105382 { FRVBF_INSN_BCGTLR, model_fr400_bcgtlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105383 { FRVBF_INSN_BCLTLR, model_fr400_bcltlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105384 { FRVBF_INSN_BCGELR, model_fr400_bcgelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105385 { FRVBF_INSN_BCLSLR, model_fr400_bclslr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105386 { FRVBF_INSN_BCHILR, model_fr400_bchilr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105387 { FRVBF_INSN_BCCLR, model_fr400_bcclr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105388 { FRVBF_INSN_BCNCLR, model_fr400_bcnclr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105389 { FRVBF_INSN_BCNLR, model_fr400_bcnlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105390 { FRVBF_INSN_BCPLR, model_fr400_bcplr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105391 { FRVBF_INSN_BCVLR, model_fr400_bcvlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105392 { FRVBF_INSN_BCNVLR, model_fr400_bcnvlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105393 { FRVBF_INSN_FCBRALR, model_fr400_fcbralr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105394 { FRVBF_INSN_FCBNOLR, model_fr400_fcbnolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105395 { FRVBF_INSN_FCBEQLR, model_fr400_fcbeqlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105396 { FRVBF_INSN_FCBNELR, model_fr400_fcbnelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105397 { FRVBF_INSN_FCBLGLR, model_fr400_fcblglr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105398 { FRVBF_INSN_FCBUELR, model_fr400_fcbuelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105399 { FRVBF_INSN_FCBULLR, model_fr400_fcbullr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105400 { FRVBF_INSN_FCBGELR, model_fr400_fcbgelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105401 { FRVBF_INSN_FCBLTLR, model_fr400_fcbltlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105402 { FRVBF_INSN_FCBUGELR, model_fr400_fcbugelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105403 { FRVBF_INSN_FCBUGLR, model_fr400_fcbuglr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105404 { FRVBF_INSN_FCBLELR, model_fr400_fcblelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105405 { FRVBF_INSN_FCBGTLR, model_fr400_fcbgtlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105406 { FRVBF_INSN_FCBULELR, model_fr400_fcbulelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105407 { FRVBF_INSN_FCBULR, model_fr400_fcbulr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105408 { FRVBF_INSN_FCBOLR, model_fr400_fcbolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105409 { FRVBF_INSN_JMPL, model_fr400_jmpl, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105410 { FRVBF_INSN_CALLL, model_fr400_calll, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105411 { FRVBF_INSN_JMPIL, model_fr400_jmpil, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105412 { FRVBF_INSN_CALLIL, model_fr400_callil, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105413 { FRVBF_INSN_CALL, model_fr400_call, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105414 { FRVBF_INSN_RETT, model_fr400_rett, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105415 { FRVBF_INSN_REI, model_fr400_rei, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105416 { FRVBF_INSN_TRA, model_fr400_tra, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105417 { FRVBF_INSN_TNO, model_fr400_tno, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105418 { FRVBF_INSN_TEQ, model_fr400_teq, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105419 { FRVBF_INSN_TNE, model_fr400_tne, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105420 { FRVBF_INSN_TLE, model_fr400_tle, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105421 { FRVBF_INSN_TGT, model_fr400_tgt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105422 { FRVBF_INSN_TLT, model_fr400_tlt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105423 { FRVBF_INSN_TGE, model_fr400_tge, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105424 { FRVBF_INSN_TLS, model_fr400_tls, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105425 { FRVBF_INSN_THI, model_fr400_thi, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105426 { FRVBF_INSN_TC, model_fr400_tc, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105427 { FRVBF_INSN_TNC, model_fr400_tnc, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105428 { FRVBF_INSN_TN, model_fr400_tn, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105429 { FRVBF_INSN_TP, model_fr400_tp, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105430 { FRVBF_INSN_TV, model_fr400_tv, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105431 { FRVBF_INSN_TNV, model_fr400_tnv, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105432 { FRVBF_INSN_FTRA, model_fr400_ftra, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105433 { FRVBF_INSN_FTNO, model_fr400_ftno, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105434 { FRVBF_INSN_FTNE, model_fr400_ftne, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105435 { FRVBF_INSN_FTEQ, model_fr400_fteq, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105436 { FRVBF_INSN_FTLG, model_fr400_ftlg, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105437 { FRVBF_INSN_FTUE, model_fr400_ftue, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105438 { FRVBF_INSN_FTUL, model_fr400_ftul, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105439 { FRVBF_INSN_FTGE, model_fr400_ftge, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105440 { FRVBF_INSN_FTLT, model_fr400_ftlt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105441 { FRVBF_INSN_FTUGE, model_fr400_ftuge, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105442 { FRVBF_INSN_FTUG, model_fr400_ftug, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105443 { FRVBF_INSN_FTLE, model_fr400_ftle, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105444 { FRVBF_INSN_FTGT, model_fr400_ftgt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105445 { FRVBF_INSN_FTULE, model_fr400_ftule, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105446 { FRVBF_INSN_FTU, model_fr400_ftu, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105447 { FRVBF_INSN_FTO, model_fr400_fto, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105448 { FRVBF_INSN_TIRA, model_fr400_tira, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105449 { FRVBF_INSN_TINO, model_fr400_tino, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105450 { FRVBF_INSN_TIEQ, model_fr400_tieq, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105451 { FRVBF_INSN_TINE, model_fr400_tine, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105452 { FRVBF_INSN_TILE, model_fr400_tile, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105453 { FRVBF_INSN_TIGT, model_fr400_tigt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105454 { FRVBF_INSN_TILT, model_fr400_tilt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105455 { FRVBF_INSN_TIGE, model_fr400_tige, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105456 { FRVBF_INSN_TILS, model_fr400_tils, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105457 { FRVBF_INSN_TIHI, model_fr400_tihi, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105458 { FRVBF_INSN_TIC, model_fr400_tic, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105459 { FRVBF_INSN_TINC, model_fr400_tinc, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105460 { FRVBF_INSN_TIN, model_fr400_tin, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105461 { FRVBF_INSN_TIP, model_fr400_tip, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105462 { FRVBF_INSN_TIV, model_fr400_tiv, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105463 { FRVBF_INSN_TINV, model_fr400_tinv, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105464 { FRVBF_INSN_FTIRA, model_fr400_ftira, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105465 { FRVBF_INSN_FTINO, model_fr400_ftino, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105466 { FRVBF_INSN_FTINE, model_fr400_ftine, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105467 { FRVBF_INSN_FTIEQ, model_fr400_ftieq, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105468 { FRVBF_INSN_FTILG, model_fr400_ftilg, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105469 { FRVBF_INSN_FTIUE, model_fr400_ftiue, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105470 { FRVBF_INSN_FTIUL, model_fr400_ftiul, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105471 { FRVBF_INSN_FTIGE, model_fr400_ftige, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105472 { FRVBF_INSN_FTILT, model_fr400_ftilt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105473 { FRVBF_INSN_FTIUGE, model_fr400_ftiuge, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105474 { FRVBF_INSN_FTIUG, model_fr400_ftiug, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105475 { FRVBF_INSN_FTILE, model_fr400_ftile, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105476 { FRVBF_INSN_FTIGT, model_fr400_ftigt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105477 { FRVBF_INSN_FTIULE, model_fr400_ftiule, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105478 { FRVBF_INSN_FTIU, model_fr400_ftiu, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105479 { FRVBF_INSN_FTIO, model_fr400_ftio, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105480 { FRVBF_INSN_BREAK, model_fr400_break, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105481 { FRVBF_INSN_MTRAP, model_fr400_mtrap, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105482 { FRVBF_INSN_ANDCR, model_fr400_andcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105483 { FRVBF_INSN_ORCR, model_fr400_orcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105484 { FRVBF_INSN_XORCR, model_fr400_xorcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105485 { FRVBF_INSN_NANDCR, model_fr400_nandcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105486 { FRVBF_INSN_NORCR, model_fr400_norcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105487 { FRVBF_INSN_ANDNCR, model_fr400_andncr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105488 { FRVBF_INSN_ORNCR, model_fr400_orncr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105489 { FRVBF_INSN_NANDNCR, model_fr400_nandncr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105490 { FRVBF_INSN_NORNCR, model_fr400_norncr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105491 { FRVBF_INSN_NOTCR, model_fr400_notcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105492 { FRVBF_INSN_CKRA, model_fr400_ckra, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105493 { FRVBF_INSN_CKNO, model_fr400_ckno, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105494 { FRVBF_INSN_CKEQ, model_fr400_ckeq, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105495 { FRVBF_INSN_CKNE, model_fr400_ckne, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105496 { FRVBF_INSN_CKLE, model_fr400_ckle, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105497 { FRVBF_INSN_CKGT, model_fr400_ckgt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105498 { FRVBF_INSN_CKLT, model_fr400_cklt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105499 { FRVBF_INSN_CKGE, model_fr400_ckge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105500 { FRVBF_INSN_CKLS, model_fr400_ckls, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105501 { FRVBF_INSN_CKHI, model_fr400_ckhi, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105502 { FRVBF_INSN_CKC, model_fr400_ckc, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105503 { FRVBF_INSN_CKNC, model_fr400_cknc, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105504 { FRVBF_INSN_CKN, model_fr400_ckn, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105505 { FRVBF_INSN_CKP, model_fr400_ckp, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105506 { FRVBF_INSN_CKV, model_fr400_ckv, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105507 { FRVBF_INSN_CKNV, model_fr400_cknv, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105508 { FRVBF_INSN_FCKRA, model_fr400_fckra, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105509 { FRVBF_INSN_FCKNO, model_fr400_fckno, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105510 { FRVBF_INSN_FCKNE, model_fr400_fckne, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105511 { FRVBF_INSN_FCKEQ, model_fr400_fckeq, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105512 { FRVBF_INSN_FCKLG, model_fr400_fcklg, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105513 { FRVBF_INSN_FCKUE, model_fr400_fckue, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105514 { FRVBF_INSN_FCKUL, model_fr400_fckul, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105515 { FRVBF_INSN_FCKGE, model_fr400_fckge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105516 { FRVBF_INSN_FCKLT, model_fr400_fcklt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105517 { FRVBF_INSN_FCKUGE, model_fr400_fckuge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105518 { FRVBF_INSN_FCKUG, model_fr400_fckug, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105519 { FRVBF_INSN_FCKLE, model_fr400_fckle, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105520 { FRVBF_INSN_FCKGT, model_fr400_fckgt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105521 { FRVBF_INSN_FCKULE, model_fr400_fckule, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105522 { FRVBF_INSN_FCKU, model_fr400_fcku, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105523 { FRVBF_INSN_FCKO, model_fr400_fcko, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105524 { FRVBF_INSN_CCKRA, model_fr400_cckra, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105525 { FRVBF_INSN_CCKNO, model_fr400_cckno, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105526 { FRVBF_INSN_CCKEQ, model_fr400_cckeq, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105527 { FRVBF_INSN_CCKNE, model_fr400_cckne, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105528 { FRVBF_INSN_CCKLE, model_fr400_cckle, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105529 { FRVBF_INSN_CCKGT, model_fr400_cckgt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105530 { FRVBF_INSN_CCKLT, model_fr400_ccklt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105531 { FRVBF_INSN_CCKGE, model_fr400_cckge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105532 { FRVBF_INSN_CCKLS, model_fr400_cckls, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105533 { FRVBF_INSN_CCKHI, model_fr400_cckhi, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105534 { FRVBF_INSN_CCKC, model_fr400_cckc, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105535 { FRVBF_INSN_CCKNC, model_fr400_ccknc, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105536 { FRVBF_INSN_CCKN, model_fr400_cckn, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105537 { FRVBF_INSN_CCKP, model_fr400_cckp, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105538 { FRVBF_INSN_CCKV, model_fr400_cckv, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105539 { FRVBF_INSN_CCKNV, model_fr400_ccknv, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105540 { FRVBF_INSN_CFCKRA, model_fr400_cfckra, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105541 { FRVBF_INSN_CFCKNO, model_fr400_cfckno, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105542 { FRVBF_INSN_CFCKNE, model_fr400_cfckne, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105543 { FRVBF_INSN_CFCKEQ, model_fr400_cfckeq, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105544 { FRVBF_INSN_CFCKLG, model_fr400_cfcklg, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105545 { FRVBF_INSN_CFCKUE, model_fr400_cfckue, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105546 { FRVBF_INSN_CFCKUL, model_fr400_cfckul, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105547 { FRVBF_INSN_CFCKGE, model_fr400_cfckge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105548 { FRVBF_INSN_CFCKLT, model_fr400_cfcklt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105549 { FRVBF_INSN_CFCKUGE, model_fr400_cfckuge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105550 { FRVBF_INSN_CFCKUG, model_fr400_cfckug, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105551 { FRVBF_INSN_CFCKLE, model_fr400_cfckle, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105552 { FRVBF_INSN_CFCKGT, model_fr400_cfckgt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105553 { FRVBF_INSN_CFCKULE, model_fr400_cfckule, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105554 { FRVBF_INSN_CFCKU, model_fr400_cfcku, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105555 { FRVBF_INSN_CFCKO, model_fr400_cfcko, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105556 { FRVBF_INSN_CJMPL, model_fr400_cjmpl, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105557 { FRVBF_INSN_CCALLL, model_fr400_ccalll, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105558 { FRVBF_INSN_ICI, model_fr400_ici, { { (int) UNIT_FR400_U_ICI, 1, 1 } } },
105559 { FRVBF_INSN_DCI, model_fr400_dci, { { (int) UNIT_FR400_U_DCI, 1, 1 } } },
105560 { FRVBF_INSN_ICEI, model_fr400_icei, { { (int) UNIT_FR400_U_ICI, 1, 1 } } },
105561 { FRVBF_INSN_DCEI, model_fr400_dcei, { { (int) UNIT_FR400_U_DCI, 1, 1 } } },
105562 { FRVBF_INSN_DCF, model_fr400_dcf, { { (int) UNIT_FR400_U_DCF, 1, 1 } } },
105563 { FRVBF_INSN_DCEF, model_fr400_dcef, { { (int) UNIT_FR400_U_DCF, 1, 1 } } },
105564 { FRVBF_INSN_WITLB, model_fr400_witlb, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105565 { FRVBF_INSN_WDTLB, model_fr400_wdtlb, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105566 { FRVBF_INSN_ITLBI, model_fr400_itlbi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105567 { FRVBF_INSN_DTLBI, model_fr400_dtlbi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105568 { FRVBF_INSN_ICPL, model_fr400_icpl, { { (int) UNIT_FR400_U_ICPL, 1, 1 } } },
105569 { FRVBF_INSN_DCPL, model_fr400_dcpl, { { (int) UNIT_FR400_U_DCPL, 1, 1 } } },
105570 { FRVBF_INSN_ICUL, model_fr400_icul, { { (int) UNIT_FR400_U_ICUL, 1, 1 } } },
105571 { FRVBF_INSN_DCUL, model_fr400_dcul, { { (int) UNIT_FR400_U_DCUL, 1, 1 } } },
105572 { FRVBF_INSN_BAR, model_fr400_bar, { { (int) UNIT_FR400_U_BARRIER, 1, 1 } } },
105573 { FRVBF_INSN_MEMBAR, model_fr400_membar, { { (int) UNIT_FR400_U_MEMBAR, 1, 1 } } },
105574 { FRVBF_INSN_LRAI, model_fr400_lrai, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105575 { FRVBF_INSN_LRAD, model_fr400_lrad, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105576 { FRVBF_INSN_TLBPR, model_fr400_tlbpr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105577 { FRVBF_INSN_COP1, model_fr400_cop1, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105578 { FRVBF_INSN_COP2, model_fr400_cop2, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105579 { FRVBF_INSN_CLRGR, model_fr400_clrgr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105580 { FRVBF_INSN_CLRFR, model_fr400_clrfr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105581 { FRVBF_INSN_CLRGA, model_fr400_clrga, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105582 { FRVBF_INSN_CLRFA, model_fr400_clrfa, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105583 { FRVBF_INSN_COMMITGR, model_fr400_commitgr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105584 { FRVBF_INSN_COMMITFR, model_fr400_commitfr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105585 { FRVBF_INSN_COMMITGA, model_fr400_commitga, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105586 { FRVBF_INSN_COMMITFA, model_fr400_commitfa, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105587 { FRVBF_INSN_FITOS, model_fr400_fitos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105588 { FRVBF_INSN_FSTOI, model_fr400_fstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105589 { FRVBF_INSN_FITOD, model_fr400_fitod, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105590 { FRVBF_INSN_FDTOI, model_fr400_fdtoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105591 { FRVBF_INSN_FDITOS, model_fr400_fditos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105592 { FRVBF_INSN_FDSTOI, model_fr400_fdstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105593 { FRVBF_INSN_NFDITOS, model_fr400_nfditos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105594 { FRVBF_INSN_NFDSTOI, model_fr400_nfdstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105595 { FRVBF_INSN_CFITOS, model_fr400_cfitos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105596 { FRVBF_INSN_CFSTOI, model_fr400_cfstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105597 { FRVBF_INSN_NFITOS, model_fr400_nfitos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105598 { FRVBF_INSN_NFSTOI, model_fr400_nfstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105599 { FRVBF_INSN_FMOVS, model_fr400_fmovs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105600 { FRVBF_INSN_FMOVD, model_fr400_fmovd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105601 { FRVBF_INSN_FDMOVS, model_fr400_fdmovs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105602 { FRVBF_INSN_CFMOVS, model_fr400_cfmovs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105603 { FRVBF_INSN_FNEGS, model_fr400_fnegs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105604 { FRVBF_INSN_FNEGD, model_fr400_fnegd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105605 { FRVBF_INSN_FDNEGS, model_fr400_fdnegs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105606 { FRVBF_INSN_CFNEGS, model_fr400_cfnegs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105607 { FRVBF_INSN_FABSS, model_fr400_fabss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105608 { FRVBF_INSN_FABSD, model_fr400_fabsd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105609 { FRVBF_INSN_FDABSS, model_fr400_fdabss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105610 { FRVBF_INSN_CFABSS, model_fr400_cfabss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105611 { FRVBF_INSN_FSQRTS, model_fr400_fsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105612 { FRVBF_INSN_FDSQRTS, model_fr400_fdsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105613 { FRVBF_INSN_NFDSQRTS, model_fr400_nfdsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105614 { FRVBF_INSN_FSQRTD, model_fr400_fsqrtd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105615 { FRVBF_INSN_CFSQRTS, model_fr400_cfsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105616 { FRVBF_INSN_NFSQRTS, model_fr400_nfsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105617 { FRVBF_INSN_FADDS, model_fr400_fadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105618 { FRVBF_INSN_FSUBS, model_fr400_fsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105619 { FRVBF_INSN_FMULS, model_fr400_fmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105620 { FRVBF_INSN_FDIVS, model_fr400_fdivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105621 { FRVBF_INSN_FADDD, model_fr400_faddd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105622 { FRVBF_INSN_FSUBD, model_fr400_fsubd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105623 { FRVBF_INSN_FMULD, model_fr400_fmuld, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105624 { FRVBF_INSN_FDIVD, model_fr400_fdivd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105625 { FRVBF_INSN_CFADDS, model_fr400_cfadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105626 { FRVBF_INSN_CFSUBS, model_fr400_cfsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105627 { FRVBF_INSN_CFMULS, model_fr400_cfmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105628 { FRVBF_INSN_CFDIVS, model_fr400_cfdivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105629 { FRVBF_INSN_NFADDS, model_fr400_nfadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105630 { FRVBF_INSN_NFSUBS, model_fr400_nfsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105631 { FRVBF_INSN_NFMULS, model_fr400_nfmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105632 { FRVBF_INSN_NFDIVS, model_fr400_nfdivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105633 { FRVBF_INSN_FCMPS, model_fr400_fcmps, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105634 { FRVBF_INSN_FCMPD, model_fr400_fcmpd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105635 { FRVBF_INSN_CFCMPS, model_fr400_cfcmps, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105636 { FRVBF_INSN_FDCMPS, model_fr400_fdcmps, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105637 { FRVBF_INSN_FMADDS, model_fr400_fmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105638 { FRVBF_INSN_FMSUBS, model_fr400_fmsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105639 { FRVBF_INSN_FMADDD, model_fr400_fmaddd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105640 { FRVBF_INSN_FMSUBD, model_fr400_fmsubd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105641 { FRVBF_INSN_FDMADDS, model_fr400_fdmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105642 { FRVBF_INSN_NFDMADDS, model_fr400_nfdmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105643 { FRVBF_INSN_CFMADDS, model_fr400_cfmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105644 { FRVBF_INSN_CFMSUBS, model_fr400_cfmsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105645 { FRVBF_INSN_NFMADDS, model_fr400_nfmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105646 { FRVBF_INSN_NFMSUBS, model_fr400_nfmsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105647 { FRVBF_INSN_FMAS, model_fr400_fmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105648 { FRVBF_INSN_FMSS, model_fr400_fmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105649 { FRVBF_INSN_FDMAS, model_fr400_fdmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105650 { FRVBF_INSN_FDMSS, model_fr400_fdmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105651 { FRVBF_INSN_NFDMAS, model_fr400_nfdmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105652 { FRVBF_INSN_NFDMSS, model_fr400_nfdmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105653 { FRVBF_INSN_CFMAS, model_fr400_cfmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105654 { FRVBF_INSN_CFMSS, model_fr400_cfmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105655 { FRVBF_INSN_FMAD, model_fr400_fmad, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105656 { FRVBF_INSN_FMSD, model_fr400_fmsd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105657 { FRVBF_INSN_NFMAS, model_fr400_nfmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105658 { FRVBF_INSN_NFMSS, model_fr400_nfmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105659 { FRVBF_INSN_FDADDS, model_fr400_fdadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105660 { FRVBF_INSN_FDSUBS, model_fr400_fdsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105661 { FRVBF_INSN_FDMULS, model_fr400_fdmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105662 { FRVBF_INSN_FDDIVS, model_fr400_fddivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105663 { FRVBF_INSN_FDSADS, model_fr400_fdsads, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105664 { FRVBF_INSN_FDMULCS, model_fr400_fdmulcs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105665 { FRVBF_INSN_NFDMULCS, model_fr400_nfdmulcs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105666 { FRVBF_INSN_NFDADDS, model_fr400_nfdadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105667 { FRVBF_INSN_NFDSUBS, model_fr400_nfdsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105668 { FRVBF_INSN_NFDMULS, model_fr400_nfdmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105669 { FRVBF_INSN_NFDDIVS, model_fr400_nfddivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105670 { FRVBF_INSN_NFDSADS, model_fr400_nfdsads, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105671 { FRVBF_INSN_NFDCMPS, model_fr400_nfdcmps, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105672 { FRVBF_INSN_MHSETLOS, model_fr400_mhsetlos, { { (int) UNIT_FR400_U_MEDIA_HILO, 1, 1 } } },
105673 { FRVBF_INSN_MHSETHIS, model_fr400_mhsethis, { { (int) UNIT_FR400_U_MEDIA_HILO, 1, 1 } } },
105674 { FRVBF_INSN_MHDSETS, model_fr400_mhdsets, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105675 { FRVBF_INSN_MHSETLOH, model_fr400_mhsetloh, { { (int) UNIT_FR400_U_MEDIA_HILO, 1, 1 } } },
105676 { FRVBF_INSN_MHSETHIH, model_fr400_mhsethih, { { (int) UNIT_FR400_U_MEDIA_HILO, 1, 1 } } },
105677 { FRVBF_INSN_MHDSETH, model_fr400_mhdseth, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105678 { FRVBF_INSN_MAND, model_fr400_mand, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105679 { FRVBF_INSN_MOR, model_fr400_mor, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105680 { FRVBF_INSN_MXOR, model_fr400_mxor, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105681 { FRVBF_INSN_CMAND, model_fr400_cmand, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105682 { FRVBF_INSN_CMOR, model_fr400_cmor, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105683 { FRVBF_INSN_CMXOR, model_fr400_cmxor, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105684 { FRVBF_INSN_MNOT, model_fr400_mnot, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105685 { FRVBF_INSN_CMNOT, model_fr400_cmnot, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105686 { FRVBF_INSN_MROTLI, model_fr400_mrotli, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105687 { FRVBF_INSN_MROTRI, model_fr400_mrotri, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105688 { FRVBF_INSN_MWCUT, model_fr400_mwcut, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105689 { FRVBF_INSN_MWCUTI, model_fr400_mwcuti, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105690 { FRVBF_INSN_MCUT, model_fr400_mcut, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105691 { FRVBF_INSN_MCUTI, model_fr400_mcuti, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105692 { FRVBF_INSN_MCUTSS, model_fr400_mcutss, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105693 { FRVBF_INSN_MCUTSSI, model_fr400_mcutssi, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105694 { FRVBF_INSN_MDCUTSSI, model_fr400_mdcutssi, { { (int) UNIT_FR400_U_MEDIA_4_ACC_DUAL, 1, 1 } } },
105695 { FRVBF_INSN_MAVEH, model_fr400_maveh, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105696 { FRVBF_INSN_MSLLHI, model_fr400_msllhi, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105697 { FRVBF_INSN_MSRLHI, model_fr400_msrlhi, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105698 { FRVBF_INSN_MSRAHI, model_fr400_msrahi, { { (int) UNIT_FR400_U_MEDIA_6, 1, 1 } } },
105699 { FRVBF_INSN_MDROTLI, model_fr400_mdrotli, { { (int) UNIT_FR400_U_MEDIA_3_QUAD, 1, 1 } } },
105700 { FRVBF_INSN_MCPLHI, model_fr400_mcplhi, { { (int) UNIT_FR400_U_MEDIA_3_DUAL, 1, 1 } } },
105701 { FRVBF_INSN_MCPLI, model_fr400_mcpli, { { (int) UNIT_FR400_U_MEDIA_3_DUAL, 1, 1 } } },
105702 { FRVBF_INSN_MSATHS, model_fr400_msaths, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105703 { FRVBF_INSN_MQSATHS, model_fr400_mqsaths, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105704 { FRVBF_INSN_MSATHU, model_fr400_msathu, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105705 { FRVBF_INSN_MCMPSH, model_fr400_mcmpsh, { { (int) UNIT_FR400_U_MEDIA_7, 1, 1 } } },
105706 { FRVBF_INSN_MCMPUH, model_fr400_mcmpuh, { { (int) UNIT_FR400_U_MEDIA_7, 1, 1 } } },
105707 { FRVBF_INSN_MABSHS, model_fr400_mabshs, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105708 { FRVBF_INSN_MADDHSS, model_fr400_maddhss, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105709 { FRVBF_INSN_MADDHUS, model_fr400_maddhus, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105710 { FRVBF_INSN_MSUBHSS, model_fr400_msubhss, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105711 { FRVBF_INSN_MSUBHUS, model_fr400_msubhus, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105712 { FRVBF_INSN_CMADDHSS, model_fr400_cmaddhss, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105713 { FRVBF_INSN_CMADDHUS, model_fr400_cmaddhus, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105714 { FRVBF_INSN_CMSUBHSS, model_fr400_cmsubhss, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105715 { FRVBF_INSN_CMSUBHUS, model_fr400_cmsubhus, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105716 { FRVBF_INSN_MQADDHSS, model_fr400_mqaddhss, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105717 { FRVBF_INSN_MQADDHUS, model_fr400_mqaddhus, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105718 { FRVBF_INSN_MQSUBHSS, model_fr400_mqsubhss, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105719 { FRVBF_INSN_MQSUBHUS, model_fr400_mqsubhus, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105720 { FRVBF_INSN_CMQADDHSS, model_fr400_cmqaddhss, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105721 { FRVBF_INSN_CMQADDHUS, model_fr400_cmqaddhus, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105722 { FRVBF_INSN_CMQSUBHSS, model_fr400_cmqsubhss, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105723 { FRVBF_INSN_CMQSUBHUS, model_fr400_cmqsubhus, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105724 { FRVBF_INSN_MQLCLRHS, model_fr400_mqlclrhs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105725 { FRVBF_INSN_MQLMTHS, model_fr400_mqlmths, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105726 { FRVBF_INSN_MQSLLHI, model_fr400_mqsllhi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105727 { FRVBF_INSN_MQSRAHI, model_fr400_mqsrahi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105728 { FRVBF_INSN_MADDACCS, model_fr400_maddaccs, { { (int) UNIT_FR400_U_MEDIA_2_ACC, 1, 1 } } },
105729 { FRVBF_INSN_MSUBACCS, model_fr400_msubaccs, { { (int) UNIT_FR400_U_MEDIA_2_ACC, 1, 1 } } },
105730 { FRVBF_INSN_MDADDACCS, model_fr400_mdaddaccs, { { (int) UNIT_FR400_U_MEDIA_2_ACC_DUAL, 1, 1 } } },
105731 { FRVBF_INSN_MDSUBACCS, model_fr400_mdsubaccs, { { (int) UNIT_FR400_U_MEDIA_2_ACC_DUAL, 1, 1 } } },
105732 { FRVBF_INSN_MASACCS, model_fr400_masaccs, { { (int) UNIT_FR400_U_MEDIA_2_ADD_SUB, 1, 1 } } },
105733 { FRVBF_INSN_MDASACCS, model_fr400_mdasaccs, { { (int) UNIT_FR400_U_MEDIA_2_ADD_SUB_DUAL, 1, 1 } } },
105734 { FRVBF_INSN_MMULHS, model_fr400_mmulhs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105735 { FRVBF_INSN_MMULHU, model_fr400_mmulhu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105736 { FRVBF_INSN_MMULXHS, model_fr400_mmulxhs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105737 { FRVBF_INSN_MMULXHU, model_fr400_mmulxhu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105738 { FRVBF_INSN_CMMULHS, model_fr400_cmmulhs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105739 { FRVBF_INSN_CMMULHU, model_fr400_cmmulhu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105740 { FRVBF_INSN_MQMULHS, model_fr400_mqmulhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105741 { FRVBF_INSN_MQMULHU, model_fr400_mqmulhu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105742 { FRVBF_INSN_MQMULXHS, model_fr400_mqmulxhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105743 { FRVBF_INSN_MQMULXHU, model_fr400_mqmulxhu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105744 { FRVBF_INSN_CMQMULHS, model_fr400_cmqmulhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105745 { FRVBF_INSN_CMQMULHU, model_fr400_cmqmulhu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105746 { FRVBF_INSN_MMACHS, model_fr400_mmachs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105747 { FRVBF_INSN_MMACHU, model_fr400_mmachu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105748 { FRVBF_INSN_MMRDHS, model_fr400_mmrdhs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105749 { FRVBF_INSN_MMRDHU, model_fr400_mmrdhu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105750 { FRVBF_INSN_CMMACHS, model_fr400_cmmachs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105751 { FRVBF_INSN_CMMACHU, model_fr400_cmmachu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105752 { FRVBF_INSN_MQMACHS, model_fr400_mqmachs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105753 { FRVBF_INSN_MQMACHU, model_fr400_mqmachu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105754 { FRVBF_INSN_CMQMACHS, model_fr400_cmqmachs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105755 { FRVBF_INSN_CMQMACHU, model_fr400_cmqmachu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105756 { FRVBF_INSN_MQXMACHS, model_fr400_mqxmachs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105757 { FRVBF_INSN_MQXMACXHS, model_fr400_mqxmacxhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105758 { FRVBF_INSN_MQMACXHS, model_fr400_mqmacxhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105759 { FRVBF_INSN_MCPXRS, model_fr400_mcpxrs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105760 { FRVBF_INSN_MCPXRU, model_fr400_mcpxru, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105761 { FRVBF_INSN_MCPXIS, model_fr400_mcpxis, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105762 { FRVBF_INSN_MCPXIU, model_fr400_mcpxiu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105763 { FRVBF_INSN_CMCPXRS, model_fr400_cmcpxrs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105764 { FRVBF_INSN_CMCPXRU, model_fr400_cmcpxru, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105765 { FRVBF_INSN_CMCPXIS, model_fr400_cmcpxis, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105766 { FRVBF_INSN_CMCPXIU, model_fr400_cmcpxiu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105767 { FRVBF_INSN_MQCPXRS, model_fr400_mqcpxrs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105768 { FRVBF_INSN_MQCPXRU, model_fr400_mqcpxru, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105769 { FRVBF_INSN_MQCPXIS, model_fr400_mqcpxis, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105770 { FRVBF_INSN_MQCPXIU, model_fr400_mqcpxiu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105771 { FRVBF_INSN_MEXPDHW, model_fr400_mexpdhw, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105772 { FRVBF_INSN_CMEXPDHW, model_fr400_cmexpdhw, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105773 { FRVBF_INSN_MEXPDHD, model_fr400_mexpdhd, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105774 { FRVBF_INSN_CMEXPDHD, model_fr400_cmexpdhd, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105775 { FRVBF_INSN_MPACKH, model_fr400_mpackh, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105776 { FRVBF_INSN_MDPACKH, model_fr400_mdpackh, { { (int) UNIT_FR400_U_MEDIA_3_QUAD, 1, 1 } } },
105777 { FRVBF_INSN_MUNPACKH, model_fr400_munpackh, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105778 { FRVBF_INSN_MDUNPACKH, model_fr400_mdunpackh, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105779 { FRVBF_INSN_MBTOH, model_fr400_mbtoh, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105780 { FRVBF_INSN_CMBTOH, model_fr400_cmbtoh, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105781 { FRVBF_INSN_MHTOB, model_fr400_mhtob, { { (int) UNIT_FR400_U_MEDIA_DUAL_HTOB, 1, 1 } } },
105782 { FRVBF_INSN_CMHTOB, model_fr400_cmhtob, { { (int) UNIT_FR400_U_MEDIA_DUAL_HTOB, 1, 1 } } },
105783 { FRVBF_INSN_MBTOHE, model_fr400_mbtohe, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105784 { FRVBF_INSN_CMBTOHE, model_fr400_cmbtohe, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105785 { FRVBF_INSN_MNOP, model_fr400_mnop, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105786 { FRVBF_INSN_MCLRACC_0, model_fr400_mclracc_0, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105787 { FRVBF_INSN_MCLRACC_1, model_fr400_mclracc_1, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105788 { FRVBF_INSN_MRDACC, model_fr400_mrdacc, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105789 { FRVBF_INSN_MRDACCG, model_fr400_mrdaccg, { { (int) UNIT_FR400_U_MEDIA_4_ACCG, 1, 1 } } },
105790 { FRVBF_INSN_MWTACC, model_fr400_mwtacc, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105791 { FRVBF_INSN_MWTACCG, model_fr400_mwtaccg, { { (int) UNIT_FR400_U_MEDIA_4_ACCG, 1, 1 } } },
105792 { FRVBF_INSN_MCOP1, model_fr400_mcop1, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105793 { FRVBF_INSN_MCOP2, model_fr400_mcop2, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105794 { FRVBF_INSN_FNOP, model_fr400_fnop, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105797 /* Model timing data for `fr450'. */
105799 static const INSN_TIMING fr450_timing[] = {
105800 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105801 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105802 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105803 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105804 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105805 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105806 { FRVBF_INSN_ADD, model_fr450_add, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105807 { FRVBF_INSN_SUB, model_fr450_sub, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105808 { FRVBF_INSN_AND, model_fr450_and, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105809 { FRVBF_INSN_OR, model_fr450_or, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105810 { FRVBF_INSN_XOR, model_fr450_xor, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105811 { FRVBF_INSN_NOT, model_fr450_not, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105812 { FRVBF_INSN_SDIV, model_fr450_sdiv, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105813 { FRVBF_INSN_NSDIV, model_fr450_nsdiv, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105814 { FRVBF_INSN_UDIV, model_fr450_udiv, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105815 { FRVBF_INSN_NUDIV, model_fr450_nudiv, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105816 { FRVBF_INSN_SMUL, model_fr450_smul, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105817 { FRVBF_INSN_UMUL, model_fr450_umul, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105818 { FRVBF_INSN_SMU, model_fr450_smu, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105819 { FRVBF_INSN_SMASS, model_fr450_smass, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105820 { FRVBF_INSN_SMSSS, model_fr450_smsss, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105821 { FRVBF_INSN_SLL, model_fr450_sll, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105822 { FRVBF_INSN_SRL, model_fr450_srl, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105823 { FRVBF_INSN_SRA, model_fr450_sra, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105824 { FRVBF_INSN_SLASS, model_fr450_slass, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105825 { FRVBF_INSN_SCUTSS, model_fr450_scutss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105826 { FRVBF_INSN_SCAN, model_fr450_scan, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105827 { FRVBF_INSN_CADD, model_fr450_cadd, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105828 { FRVBF_INSN_CSUB, model_fr450_csub, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105829 { FRVBF_INSN_CAND, model_fr450_cand, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105830 { FRVBF_INSN_COR, model_fr450_cor, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105831 { FRVBF_INSN_CXOR, model_fr450_cxor, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105832 { FRVBF_INSN_CNOT, model_fr450_cnot, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105833 { FRVBF_INSN_CSMUL, model_fr450_csmul, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105834 { FRVBF_INSN_CSDIV, model_fr450_csdiv, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105835 { FRVBF_INSN_CUDIV, model_fr450_cudiv, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105836 { FRVBF_INSN_CSLL, model_fr450_csll, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105837 { FRVBF_INSN_CSRL, model_fr450_csrl, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105838 { FRVBF_INSN_CSRA, model_fr450_csra, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105839 { FRVBF_INSN_CSCAN, model_fr450_cscan, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105840 { FRVBF_INSN_ADDCC, model_fr450_addcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105841 { FRVBF_INSN_SUBCC, model_fr450_subcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105842 { FRVBF_INSN_ANDCC, model_fr450_andcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105843 { FRVBF_INSN_ORCC, model_fr450_orcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105844 { FRVBF_INSN_XORCC, model_fr450_xorcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105845 { FRVBF_INSN_SLLCC, model_fr450_sllcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105846 { FRVBF_INSN_SRLCC, model_fr450_srlcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105847 { FRVBF_INSN_SRACC, model_fr450_sracc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105848 { FRVBF_INSN_SMULCC, model_fr450_smulcc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105849 { FRVBF_INSN_UMULCC, model_fr450_umulcc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105850 { FRVBF_INSN_CADDCC, model_fr450_caddcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105851 { FRVBF_INSN_CSUBCC, model_fr450_csubcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105852 { FRVBF_INSN_CSMULCC, model_fr450_csmulcc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105853 { FRVBF_INSN_CANDCC, model_fr450_candcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105854 { FRVBF_INSN_CORCC, model_fr450_corcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105855 { FRVBF_INSN_CXORCC, model_fr450_cxorcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105856 { FRVBF_INSN_CSLLCC, model_fr450_csllcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105857 { FRVBF_INSN_CSRLCC, model_fr450_csrlcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105858 { FRVBF_INSN_CSRACC, model_fr450_csracc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105859 { FRVBF_INSN_ADDX, model_fr450_addx, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105860 { FRVBF_INSN_SUBX, model_fr450_subx, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105861 { FRVBF_INSN_ADDXCC, model_fr450_addxcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105862 { FRVBF_INSN_SUBXCC, model_fr450_subxcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105863 { FRVBF_INSN_ADDSS, model_fr450_addss, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105864 { FRVBF_INSN_SUBSS, model_fr450_subss, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105865 { FRVBF_INSN_ADDI, model_fr450_addi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105866 { FRVBF_INSN_SUBI, model_fr450_subi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105867 { FRVBF_INSN_ANDI, model_fr450_andi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105868 { FRVBF_INSN_ORI, model_fr450_ori, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105869 { FRVBF_INSN_XORI, model_fr450_xori, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105870 { FRVBF_INSN_SDIVI, model_fr450_sdivi, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105871 { FRVBF_INSN_NSDIVI, model_fr450_nsdivi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105872 { FRVBF_INSN_UDIVI, model_fr450_udivi, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105873 { FRVBF_INSN_NUDIVI, model_fr450_nudivi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105874 { FRVBF_INSN_SMULI, model_fr450_smuli, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105875 { FRVBF_INSN_UMULI, model_fr450_umuli, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105876 { FRVBF_INSN_SLLI, model_fr450_slli, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105877 { FRVBF_INSN_SRLI, model_fr450_srli, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105878 { FRVBF_INSN_SRAI, model_fr450_srai, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105879 { FRVBF_INSN_SCANI, model_fr450_scani, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105880 { FRVBF_INSN_ADDICC, model_fr450_addicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105881 { FRVBF_INSN_SUBICC, model_fr450_subicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105882 { FRVBF_INSN_ANDICC, model_fr450_andicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105883 { FRVBF_INSN_ORICC, model_fr450_oricc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105884 { FRVBF_INSN_XORICC, model_fr450_xoricc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105885 { FRVBF_INSN_SMULICC, model_fr450_smulicc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105886 { FRVBF_INSN_UMULICC, model_fr450_umulicc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105887 { FRVBF_INSN_SLLICC, model_fr450_sllicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105888 { FRVBF_INSN_SRLICC, model_fr450_srlicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105889 { FRVBF_INSN_SRAICC, model_fr450_sraicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105890 { FRVBF_INSN_ADDXI, model_fr450_addxi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105891 { FRVBF_INSN_SUBXI, model_fr450_subxi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105892 { FRVBF_INSN_ADDXICC, model_fr450_addxicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105893 { FRVBF_INSN_SUBXICC, model_fr450_subxicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105894 { FRVBF_INSN_CMPB, model_fr450_cmpb, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105895 { FRVBF_INSN_CMPBA, model_fr450_cmpba, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105896 { FRVBF_INSN_SETLO, model_fr450_setlo, { { (int) UNIT_FR450_U_SET_HILO, 1, 1 } } },
105897 { FRVBF_INSN_SETHI, model_fr450_sethi, { { (int) UNIT_FR450_U_SET_HILO, 1, 1 } } },
105898 { FRVBF_INSN_SETLOS, model_fr450_setlos, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105899 { FRVBF_INSN_LDSB, model_fr450_ldsb, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105900 { FRVBF_INSN_LDUB, model_fr450_ldub, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105901 { FRVBF_INSN_LDSH, model_fr450_ldsh, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105902 { FRVBF_INSN_LDUH, model_fr450_lduh, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105903 { FRVBF_INSN_LD, model_fr450_ld, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105904 { FRVBF_INSN_LDBF, model_fr450_ldbf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105905 { FRVBF_INSN_LDHF, model_fr450_ldhf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105906 { FRVBF_INSN_LDF, model_fr450_ldf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105907 { FRVBF_INSN_LDC, model_fr450_ldc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105908 { FRVBF_INSN_NLDSB, model_fr450_nldsb, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105909 { FRVBF_INSN_NLDUB, model_fr450_nldub, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105910 { FRVBF_INSN_NLDSH, model_fr450_nldsh, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105911 { FRVBF_INSN_NLDUH, model_fr450_nlduh, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105912 { FRVBF_INSN_NLD, model_fr450_nld, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105913 { FRVBF_INSN_NLDBF, model_fr450_nldbf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105914 { FRVBF_INSN_NLDHF, model_fr450_nldhf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105915 { FRVBF_INSN_NLDF, model_fr450_nldf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105916 { FRVBF_INSN_LDD, model_fr450_ldd, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105917 { FRVBF_INSN_LDDF, model_fr450_lddf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105918 { FRVBF_INSN_LDDC, model_fr450_lddc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105919 { FRVBF_INSN_NLDD, model_fr450_nldd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105920 { FRVBF_INSN_NLDDF, model_fr450_nlddf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105921 { FRVBF_INSN_LDQ, model_fr450_ldq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105922 { FRVBF_INSN_LDQF, model_fr450_ldqf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105923 { FRVBF_INSN_LDQC, model_fr450_ldqc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105924 { FRVBF_INSN_NLDQ, model_fr450_nldq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105925 { FRVBF_INSN_NLDQF, model_fr450_nldqf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105926 { FRVBF_INSN_LDSBU, model_fr450_ldsbu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105927 { FRVBF_INSN_LDUBU, model_fr450_ldubu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105928 { FRVBF_INSN_LDSHU, model_fr450_ldshu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105929 { FRVBF_INSN_LDUHU, model_fr450_lduhu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105930 { FRVBF_INSN_LDU, model_fr450_ldu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105931 { FRVBF_INSN_NLDSBU, model_fr450_nldsbu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105932 { FRVBF_INSN_NLDUBU, model_fr450_nldubu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105933 { FRVBF_INSN_NLDSHU, model_fr450_nldshu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105934 { FRVBF_INSN_NLDUHU, model_fr450_nlduhu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105935 { FRVBF_INSN_NLDU, model_fr450_nldu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105936 { FRVBF_INSN_LDBFU, model_fr450_ldbfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105937 { FRVBF_INSN_LDHFU, model_fr450_ldhfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105938 { FRVBF_INSN_LDFU, model_fr450_ldfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105939 { FRVBF_INSN_LDCU, model_fr450_ldcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105940 { FRVBF_INSN_NLDBFU, model_fr450_nldbfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105941 { FRVBF_INSN_NLDHFU, model_fr450_nldhfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105942 { FRVBF_INSN_NLDFU, model_fr450_nldfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105943 { FRVBF_INSN_LDDU, model_fr450_lddu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105944 { FRVBF_INSN_NLDDU, model_fr450_nlddu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105945 { FRVBF_INSN_LDDFU, model_fr450_lddfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105946 { FRVBF_INSN_LDDCU, model_fr450_lddcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105947 { FRVBF_INSN_NLDDFU, model_fr450_nlddfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105948 { FRVBF_INSN_LDQU, model_fr450_ldqu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105949 { FRVBF_INSN_NLDQU, model_fr450_nldqu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105950 { FRVBF_INSN_LDQFU, model_fr450_ldqfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105951 { FRVBF_INSN_LDQCU, model_fr450_ldqcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105952 { FRVBF_INSN_NLDQFU, model_fr450_nldqfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105953 { FRVBF_INSN_LDSBI, model_fr450_ldsbi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105954 { FRVBF_INSN_LDSHI, model_fr450_ldshi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105955 { FRVBF_INSN_LDI, model_fr450_ldi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105956 { FRVBF_INSN_LDUBI, model_fr450_ldubi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105957 { FRVBF_INSN_LDUHI, model_fr450_lduhi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105958 { FRVBF_INSN_LDBFI, model_fr450_ldbfi, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105959 { FRVBF_INSN_LDHFI, model_fr450_ldhfi, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105960 { FRVBF_INSN_LDFI, model_fr450_ldfi, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105961 { FRVBF_INSN_NLDSBI, model_fr450_nldsbi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105962 { FRVBF_INSN_NLDUBI, model_fr450_nldubi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105963 { FRVBF_INSN_NLDSHI, model_fr450_nldshi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105964 { FRVBF_INSN_NLDUHI, model_fr450_nlduhi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105965 { FRVBF_INSN_NLDI, model_fr450_nldi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105966 { FRVBF_INSN_NLDBFI, model_fr450_nldbfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105967 { FRVBF_INSN_NLDHFI, model_fr450_nldhfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105968 { FRVBF_INSN_NLDFI, model_fr450_nldfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105969 { FRVBF_INSN_LDDI, model_fr450_lddi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105970 { FRVBF_INSN_LDDFI, model_fr450_lddfi, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105971 { FRVBF_INSN_NLDDI, model_fr450_nlddi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105972 { FRVBF_INSN_NLDDFI, model_fr450_nlddfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105973 { FRVBF_INSN_LDQI, model_fr450_ldqi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105974 { FRVBF_INSN_LDQFI, model_fr450_ldqfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105975 { FRVBF_INSN_NLDQFI, model_fr450_nldqfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105976 { FRVBF_INSN_STB, model_fr450_stb, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105977 { FRVBF_INSN_STH, model_fr450_sth, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105978 { FRVBF_INSN_ST, model_fr450_st, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105979 { FRVBF_INSN_STBF, model_fr450_stbf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105980 { FRVBF_INSN_STHF, model_fr450_sthf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105981 { FRVBF_INSN_STF, model_fr450_stf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105982 { FRVBF_INSN_STC, model_fr450_stc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105983 { FRVBF_INSN_STD, model_fr450_std, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105984 { FRVBF_INSN_STDF, model_fr450_stdf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105985 { FRVBF_INSN_STDC, model_fr450_stdc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105986 { FRVBF_INSN_STQ, model_fr450_stq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105987 { FRVBF_INSN_STQF, model_fr450_stqf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105988 { FRVBF_INSN_STQC, model_fr450_stqc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105989 { FRVBF_INSN_STBU, model_fr450_stbu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105990 { FRVBF_INSN_STHU, model_fr450_sthu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105991 { FRVBF_INSN_STU, model_fr450_stu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105992 { FRVBF_INSN_STBFU, model_fr450_stbfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105993 { FRVBF_INSN_STHFU, model_fr450_sthfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105994 { FRVBF_INSN_STFU, model_fr450_stfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105995 { FRVBF_INSN_STCU, model_fr450_stcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105996 { FRVBF_INSN_STDU, model_fr450_stdu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105997 { FRVBF_INSN_STDFU, model_fr450_stdfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105998 { FRVBF_INSN_STDCU, model_fr450_stdcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105999 { FRVBF_INSN_STQU, model_fr450_stqu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106000 { FRVBF_INSN_STQFU, model_fr450_stqfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106001 { FRVBF_INSN_STQCU, model_fr450_stqcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106002 { FRVBF_INSN_CLDSB, model_fr450_cldsb, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106003 { FRVBF_INSN_CLDUB, model_fr450_cldub, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106004 { FRVBF_INSN_CLDSH, model_fr450_cldsh, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106005 { FRVBF_INSN_CLDUH, model_fr450_clduh, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106006 { FRVBF_INSN_CLD, model_fr450_cld, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106007 { FRVBF_INSN_CLDBF, model_fr450_cldbf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106008 { FRVBF_INSN_CLDHF, model_fr450_cldhf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106009 { FRVBF_INSN_CLDF, model_fr450_cldf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106010 { FRVBF_INSN_CLDD, model_fr450_cldd, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106011 { FRVBF_INSN_CLDDF, model_fr450_clddf, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106012 { FRVBF_INSN_CLDQ, model_fr450_cldq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106013 { FRVBF_INSN_CLDSBU, model_fr450_cldsbu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106014 { FRVBF_INSN_CLDUBU, model_fr450_cldubu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106015 { FRVBF_INSN_CLDSHU, model_fr450_cldshu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106016 { FRVBF_INSN_CLDUHU, model_fr450_clduhu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106017 { FRVBF_INSN_CLDU, model_fr450_cldu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106018 { FRVBF_INSN_CLDBFU, model_fr450_cldbfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106019 { FRVBF_INSN_CLDHFU, model_fr450_cldhfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106020 { FRVBF_INSN_CLDFU, model_fr450_cldfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106021 { FRVBF_INSN_CLDDU, model_fr450_clddu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106022 { FRVBF_INSN_CLDDFU, model_fr450_clddfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106023 { FRVBF_INSN_CLDQU, model_fr450_cldqu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106024 { FRVBF_INSN_CSTB, model_fr450_cstb, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106025 { FRVBF_INSN_CSTH, model_fr450_csth, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106026 { FRVBF_INSN_CST, model_fr450_cst, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106027 { FRVBF_INSN_CSTBF, model_fr450_cstbf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106028 { FRVBF_INSN_CSTHF, model_fr450_csthf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106029 { FRVBF_INSN_CSTF, model_fr450_cstf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106030 { FRVBF_INSN_CSTD, model_fr450_cstd, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106031 { FRVBF_INSN_CSTDF, model_fr450_cstdf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106032 { FRVBF_INSN_CSTQ, model_fr450_cstq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106033 { FRVBF_INSN_CSTBU, model_fr450_cstbu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106034 { FRVBF_INSN_CSTHU, model_fr450_csthu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106035 { FRVBF_INSN_CSTU, model_fr450_cstu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106036 { FRVBF_INSN_CSTBFU, model_fr450_cstbfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106037 { FRVBF_INSN_CSTHFU, model_fr450_csthfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106038 { FRVBF_INSN_CSTFU, model_fr450_cstfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106039 { FRVBF_INSN_CSTDU, model_fr450_cstdu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106040 { FRVBF_INSN_CSTDFU, model_fr450_cstdfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106041 { FRVBF_INSN_STBI, model_fr450_stbi, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106042 { FRVBF_INSN_STHI, model_fr450_sthi, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106043 { FRVBF_INSN_STI, model_fr450_sti, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106044 { FRVBF_INSN_STBFI, model_fr450_stbfi, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106045 { FRVBF_INSN_STHFI, model_fr450_sthfi, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106046 { FRVBF_INSN_STFI, model_fr450_stfi, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106047 { FRVBF_INSN_STDI, model_fr450_stdi, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106048 { FRVBF_INSN_STDFI, model_fr450_stdfi, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106049 { FRVBF_INSN_STQI, model_fr450_stqi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106050 { FRVBF_INSN_STQFI, model_fr450_stqfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106051 { FRVBF_INSN_SWAP, model_fr450_swap, { { (int) UNIT_FR450_U_SWAP, 1, 1 } } },
106052 { FRVBF_INSN_SWAPI, model_fr450_swapi, { { (int) UNIT_FR450_U_SWAP, 1, 1 } } },
106053 { FRVBF_INSN_CSWAP, model_fr450_cswap, { { (int) UNIT_FR450_U_SWAP, 1, 1 } } },
106054 { FRVBF_INSN_MOVGF, model_fr450_movgf, { { (int) UNIT_FR450_U_GR2FR, 1, 1 } } },
106055 { FRVBF_INSN_MOVFG, model_fr450_movfg, { { (int) UNIT_FR450_U_FR2GR, 1, 1 } } },
106056 { FRVBF_INSN_MOVGFD, model_fr450_movgfd, { { (int) UNIT_FR450_U_GR2FR, 1, 1 } } },
106057 { FRVBF_INSN_MOVFGD, model_fr450_movfgd, { { (int) UNIT_FR450_U_FR2GR, 1, 1 } } },
106058 { FRVBF_INSN_MOVGFQ, model_fr450_movgfq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106059 { FRVBF_INSN_MOVFGQ, model_fr450_movfgq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106060 { FRVBF_INSN_CMOVGF, model_fr450_cmovgf, { { (int) UNIT_FR450_U_GR2FR, 1, 1 } } },
106061 { FRVBF_INSN_CMOVFG, model_fr450_cmovfg, { { (int) UNIT_FR450_U_FR2GR, 1, 1 } } },
106062 { FRVBF_INSN_CMOVGFD, model_fr450_cmovgfd, { { (int) UNIT_FR450_U_GR2FR, 1, 1 } } },
106063 { FRVBF_INSN_CMOVFGD, model_fr450_cmovfgd, { { (int) UNIT_FR450_U_FR2GR, 1, 1 } } },
106064 { FRVBF_INSN_MOVGS, model_fr450_movgs, { { (int) UNIT_FR450_U_GR2SPR, 1, 1 } } },
106065 { FRVBF_INSN_MOVSG, model_fr450_movsg, { { (int) UNIT_FR450_U_SPR2GR, 1, 1 } } },
106066 { FRVBF_INSN_BRA, model_fr450_bra, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106067 { FRVBF_INSN_BNO, model_fr450_bno, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106068 { FRVBF_INSN_BEQ, model_fr450_beq, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106069 { FRVBF_INSN_BNE, model_fr450_bne, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106070 { FRVBF_INSN_BLE, model_fr450_ble, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106071 { FRVBF_INSN_BGT, model_fr450_bgt, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106072 { FRVBF_INSN_BLT, model_fr450_blt, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106073 { FRVBF_INSN_BGE, model_fr450_bge, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106074 { FRVBF_INSN_BLS, model_fr450_bls, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106075 { FRVBF_INSN_BHI, model_fr450_bhi, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106076 { FRVBF_INSN_BC, model_fr450_bc, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106077 { FRVBF_INSN_BNC, model_fr450_bnc, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106078 { FRVBF_INSN_BN, model_fr450_bn, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106079 { FRVBF_INSN_BP, model_fr450_bp, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106080 { FRVBF_INSN_BV, model_fr450_bv, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106081 { FRVBF_INSN_BNV, model_fr450_bnv, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106082 { FRVBF_INSN_FBRA, model_fr450_fbra, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106083 { FRVBF_INSN_FBNO, model_fr450_fbno, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106084 { FRVBF_INSN_FBNE, model_fr450_fbne, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106085 { FRVBF_INSN_FBEQ, model_fr450_fbeq, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106086 { FRVBF_INSN_FBLG, model_fr450_fblg, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106087 { FRVBF_INSN_FBUE, model_fr450_fbue, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106088 { FRVBF_INSN_FBUL, model_fr450_fbul, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106089 { FRVBF_INSN_FBGE, model_fr450_fbge, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106090 { FRVBF_INSN_FBLT, model_fr450_fblt, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106091 { FRVBF_INSN_FBUGE, model_fr450_fbuge, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106092 { FRVBF_INSN_FBUG, model_fr450_fbug, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106093 { FRVBF_INSN_FBLE, model_fr450_fble, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106094 { FRVBF_INSN_FBGT, model_fr450_fbgt, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106095 { FRVBF_INSN_FBULE, model_fr450_fbule, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106096 { FRVBF_INSN_FBU, model_fr450_fbu, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106097 { FRVBF_INSN_FBO, model_fr450_fbo, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106098 { FRVBF_INSN_BCTRLR, model_fr450_bctrlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106099 { FRVBF_INSN_BRALR, model_fr450_bralr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106100 { FRVBF_INSN_BNOLR, model_fr450_bnolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106101 { FRVBF_INSN_BEQLR, model_fr450_beqlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106102 { FRVBF_INSN_BNELR, model_fr450_bnelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106103 { FRVBF_INSN_BLELR, model_fr450_blelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106104 { FRVBF_INSN_BGTLR, model_fr450_bgtlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106105 { FRVBF_INSN_BLTLR, model_fr450_bltlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106106 { FRVBF_INSN_BGELR, model_fr450_bgelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106107 { FRVBF_INSN_BLSLR, model_fr450_blslr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106108 { FRVBF_INSN_BHILR, model_fr450_bhilr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106109 { FRVBF_INSN_BCLR, model_fr450_bclr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106110 { FRVBF_INSN_BNCLR, model_fr450_bnclr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106111 { FRVBF_INSN_BNLR, model_fr450_bnlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106112 { FRVBF_INSN_BPLR, model_fr450_bplr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106113 { FRVBF_INSN_BVLR, model_fr450_bvlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106114 { FRVBF_INSN_BNVLR, model_fr450_bnvlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106115 { FRVBF_INSN_FBRALR, model_fr450_fbralr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106116 { FRVBF_INSN_FBNOLR, model_fr450_fbnolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106117 { FRVBF_INSN_FBEQLR, model_fr450_fbeqlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106118 { FRVBF_INSN_FBNELR, model_fr450_fbnelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106119 { FRVBF_INSN_FBLGLR, model_fr450_fblglr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106120 { FRVBF_INSN_FBUELR, model_fr450_fbuelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106121 { FRVBF_INSN_FBULLR, model_fr450_fbullr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106122 { FRVBF_INSN_FBGELR, model_fr450_fbgelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106123 { FRVBF_INSN_FBLTLR, model_fr450_fbltlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106124 { FRVBF_INSN_FBUGELR, model_fr450_fbugelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106125 { FRVBF_INSN_FBUGLR, model_fr450_fbuglr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106126 { FRVBF_INSN_FBLELR, model_fr450_fblelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106127 { FRVBF_INSN_FBGTLR, model_fr450_fbgtlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106128 { FRVBF_INSN_FBULELR, model_fr450_fbulelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106129 { FRVBF_INSN_FBULR, model_fr450_fbulr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106130 { FRVBF_INSN_FBOLR, model_fr450_fbolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106131 { FRVBF_INSN_BCRALR, model_fr450_bcralr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106132 { FRVBF_INSN_BCNOLR, model_fr450_bcnolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106133 { FRVBF_INSN_BCEQLR, model_fr450_bceqlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106134 { FRVBF_INSN_BCNELR, model_fr450_bcnelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106135 { FRVBF_INSN_BCLELR, model_fr450_bclelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106136 { FRVBF_INSN_BCGTLR, model_fr450_bcgtlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106137 { FRVBF_INSN_BCLTLR, model_fr450_bcltlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106138 { FRVBF_INSN_BCGELR, model_fr450_bcgelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106139 { FRVBF_INSN_BCLSLR, model_fr450_bclslr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106140 { FRVBF_INSN_BCHILR, model_fr450_bchilr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106141 { FRVBF_INSN_BCCLR, model_fr450_bcclr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106142 { FRVBF_INSN_BCNCLR, model_fr450_bcnclr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106143 { FRVBF_INSN_BCNLR, model_fr450_bcnlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106144 { FRVBF_INSN_BCPLR, model_fr450_bcplr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106145 { FRVBF_INSN_BCVLR, model_fr450_bcvlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106146 { FRVBF_INSN_BCNVLR, model_fr450_bcnvlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106147 { FRVBF_INSN_FCBRALR, model_fr450_fcbralr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106148 { FRVBF_INSN_FCBNOLR, model_fr450_fcbnolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106149 { FRVBF_INSN_FCBEQLR, model_fr450_fcbeqlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106150 { FRVBF_INSN_FCBNELR, model_fr450_fcbnelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106151 { FRVBF_INSN_FCBLGLR, model_fr450_fcblglr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106152 { FRVBF_INSN_FCBUELR, model_fr450_fcbuelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106153 { FRVBF_INSN_FCBULLR, model_fr450_fcbullr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106154 { FRVBF_INSN_FCBGELR, model_fr450_fcbgelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106155 { FRVBF_INSN_FCBLTLR, model_fr450_fcbltlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106156 { FRVBF_INSN_FCBUGELR, model_fr450_fcbugelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106157 { FRVBF_INSN_FCBUGLR, model_fr450_fcbuglr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106158 { FRVBF_INSN_FCBLELR, model_fr450_fcblelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106159 { FRVBF_INSN_FCBGTLR, model_fr450_fcbgtlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106160 { FRVBF_INSN_FCBULELR, model_fr450_fcbulelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106161 { FRVBF_INSN_FCBULR, model_fr450_fcbulr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106162 { FRVBF_INSN_FCBOLR, model_fr450_fcbolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106163 { FRVBF_INSN_JMPL, model_fr450_jmpl, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106164 { FRVBF_INSN_CALLL, model_fr450_calll, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106165 { FRVBF_INSN_JMPIL, model_fr450_jmpil, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106166 { FRVBF_INSN_CALLIL, model_fr450_callil, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106167 { FRVBF_INSN_CALL, model_fr450_call, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106168 { FRVBF_INSN_RETT, model_fr450_rett, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106169 { FRVBF_INSN_REI, model_fr450_rei, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106170 { FRVBF_INSN_TRA, model_fr450_tra, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106171 { FRVBF_INSN_TNO, model_fr450_tno, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106172 { FRVBF_INSN_TEQ, model_fr450_teq, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106173 { FRVBF_INSN_TNE, model_fr450_tne, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106174 { FRVBF_INSN_TLE, model_fr450_tle, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106175 { FRVBF_INSN_TGT, model_fr450_tgt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106176 { FRVBF_INSN_TLT, model_fr450_tlt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106177 { FRVBF_INSN_TGE, model_fr450_tge, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106178 { FRVBF_INSN_TLS, model_fr450_tls, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106179 { FRVBF_INSN_THI, model_fr450_thi, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106180 { FRVBF_INSN_TC, model_fr450_tc, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106181 { FRVBF_INSN_TNC, model_fr450_tnc, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106182 { FRVBF_INSN_TN, model_fr450_tn, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106183 { FRVBF_INSN_TP, model_fr450_tp, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106184 { FRVBF_INSN_TV, model_fr450_tv, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106185 { FRVBF_INSN_TNV, model_fr450_tnv, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106186 { FRVBF_INSN_FTRA, model_fr450_ftra, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106187 { FRVBF_INSN_FTNO, model_fr450_ftno, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106188 { FRVBF_INSN_FTNE, model_fr450_ftne, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106189 { FRVBF_INSN_FTEQ, model_fr450_fteq, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106190 { FRVBF_INSN_FTLG, model_fr450_ftlg, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106191 { FRVBF_INSN_FTUE, model_fr450_ftue, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106192 { FRVBF_INSN_FTUL, model_fr450_ftul, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106193 { FRVBF_INSN_FTGE, model_fr450_ftge, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106194 { FRVBF_INSN_FTLT, model_fr450_ftlt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106195 { FRVBF_INSN_FTUGE, model_fr450_ftuge, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106196 { FRVBF_INSN_FTUG, model_fr450_ftug, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106197 { FRVBF_INSN_FTLE, model_fr450_ftle, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106198 { FRVBF_INSN_FTGT, model_fr450_ftgt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106199 { FRVBF_INSN_FTULE, model_fr450_ftule, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106200 { FRVBF_INSN_FTU, model_fr450_ftu, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106201 { FRVBF_INSN_FTO, model_fr450_fto, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106202 { FRVBF_INSN_TIRA, model_fr450_tira, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106203 { FRVBF_INSN_TINO, model_fr450_tino, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106204 { FRVBF_INSN_TIEQ, model_fr450_tieq, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106205 { FRVBF_INSN_TINE, model_fr450_tine, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106206 { FRVBF_INSN_TILE, model_fr450_tile, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106207 { FRVBF_INSN_TIGT, model_fr450_tigt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106208 { FRVBF_INSN_TILT, model_fr450_tilt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106209 { FRVBF_INSN_TIGE, model_fr450_tige, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106210 { FRVBF_INSN_TILS, model_fr450_tils, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106211 { FRVBF_INSN_TIHI, model_fr450_tihi, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106212 { FRVBF_INSN_TIC, model_fr450_tic, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106213 { FRVBF_INSN_TINC, model_fr450_tinc, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106214 { FRVBF_INSN_TIN, model_fr450_tin, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106215 { FRVBF_INSN_TIP, model_fr450_tip, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106216 { FRVBF_INSN_TIV, model_fr450_tiv, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106217 { FRVBF_INSN_TINV, model_fr450_tinv, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106218 { FRVBF_INSN_FTIRA, model_fr450_ftira, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106219 { FRVBF_INSN_FTINO, model_fr450_ftino, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106220 { FRVBF_INSN_FTINE, model_fr450_ftine, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106221 { FRVBF_INSN_FTIEQ, model_fr450_ftieq, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106222 { FRVBF_INSN_FTILG, model_fr450_ftilg, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106223 { FRVBF_INSN_FTIUE, model_fr450_ftiue, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106224 { FRVBF_INSN_FTIUL, model_fr450_ftiul, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106225 { FRVBF_INSN_FTIGE, model_fr450_ftige, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106226 { FRVBF_INSN_FTILT, model_fr450_ftilt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106227 { FRVBF_INSN_FTIUGE, model_fr450_ftiuge, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106228 { FRVBF_INSN_FTIUG, model_fr450_ftiug, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106229 { FRVBF_INSN_FTILE, model_fr450_ftile, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106230 { FRVBF_INSN_FTIGT, model_fr450_ftigt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106231 { FRVBF_INSN_FTIULE, model_fr450_ftiule, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106232 { FRVBF_INSN_FTIU, model_fr450_ftiu, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106233 { FRVBF_INSN_FTIO, model_fr450_ftio, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106234 { FRVBF_INSN_BREAK, model_fr450_break, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106235 { FRVBF_INSN_MTRAP, model_fr450_mtrap, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106236 { FRVBF_INSN_ANDCR, model_fr450_andcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106237 { FRVBF_INSN_ORCR, model_fr450_orcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106238 { FRVBF_INSN_XORCR, model_fr450_xorcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106239 { FRVBF_INSN_NANDCR, model_fr450_nandcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106240 { FRVBF_INSN_NORCR, model_fr450_norcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106241 { FRVBF_INSN_ANDNCR, model_fr450_andncr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106242 { FRVBF_INSN_ORNCR, model_fr450_orncr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106243 { FRVBF_INSN_NANDNCR, model_fr450_nandncr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106244 { FRVBF_INSN_NORNCR, model_fr450_norncr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106245 { FRVBF_INSN_NOTCR, model_fr450_notcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106246 { FRVBF_INSN_CKRA, model_fr450_ckra, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106247 { FRVBF_INSN_CKNO, model_fr450_ckno, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106248 { FRVBF_INSN_CKEQ, model_fr450_ckeq, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106249 { FRVBF_INSN_CKNE, model_fr450_ckne, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106250 { FRVBF_INSN_CKLE, model_fr450_ckle, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106251 { FRVBF_INSN_CKGT, model_fr450_ckgt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106252 { FRVBF_INSN_CKLT, model_fr450_cklt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106253 { FRVBF_INSN_CKGE, model_fr450_ckge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106254 { FRVBF_INSN_CKLS, model_fr450_ckls, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106255 { FRVBF_INSN_CKHI, model_fr450_ckhi, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106256 { FRVBF_INSN_CKC, model_fr450_ckc, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106257 { FRVBF_INSN_CKNC, model_fr450_cknc, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106258 { FRVBF_INSN_CKN, model_fr450_ckn, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106259 { FRVBF_INSN_CKP, model_fr450_ckp, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106260 { FRVBF_INSN_CKV, model_fr450_ckv, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106261 { FRVBF_INSN_CKNV, model_fr450_cknv, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106262 { FRVBF_INSN_FCKRA, model_fr450_fckra, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106263 { FRVBF_INSN_FCKNO, model_fr450_fckno, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106264 { FRVBF_INSN_FCKNE, model_fr450_fckne, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106265 { FRVBF_INSN_FCKEQ, model_fr450_fckeq, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106266 { FRVBF_INSN_FCKLG, model_fr450_fcklg, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106267 { FRVBF_INSN_FCKUE, model_fr450_fckue, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106268 { FRVBF_INSN_FCKUL, model_fr450_fckul, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106269 { FRVBF_INSN_FCKGE, model_fr450_fckge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106270 { FRVBF_INSN_FCKLT, model_fr450_fcklt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106271 { FRVBF_INSN_FCKUGE, model_fr450_fckuge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106272 { FRVBF_INSN_FCKUG, model_fr450_fckug, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106273 { FRVBF_INSN_FCKLE, model_fr450_fckle, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106274 { FRVBF_INSN_FCKGT, model_fr450_fckgt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106275 { FRVBF_INSN_FCKULE, model_fr450_fckule, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106276 { FRVBF_INSN_FCKU, model_fr450_fcku, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106277 { FRVBF_INSN_FCKO, model_fr450_fcko, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106278 { FRVBF_INSN_CCKRA, model_fr450_cckra, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106279 { FRVBF_INSN_CCKNO, model_fr450_cckno, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106280 { FRVBF_INSN_CCKEQ, model_fr450_cckeq, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106281 { FRVBF_INSN_CCKNE, model_fr450_cckne, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106282 { FRVBF_INSN_CCKLE, model_fr450_cckle, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106283 { FRVBF_INSN_CCKGT, model_fr450_cckgt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106284 { FRVBF_INSN_CCKLT, model_fr450_ccklt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106285 { FRVBF_INSN_CCKGE, model_fr450_cckge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106286 { FRVBF_INSN_CCKLS, model_fr450_cckls, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106287 { FRVBF_INSN_CCKHI, model_fr450_cckhi, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106288 { FRVBF_INSN_CCKC, model_fr450_cckc, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106289 { FRVBF_INSN_CCKNC, model_fr450_ccknc, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106290 { FRVBF_INSN_CCKN, model_fr450_cckn, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106291 { FRVBF_INSN_CCKP, model_fr450_cckp, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106292 { FRVBF_INSN_CCKV, model_fr450_cckv, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106293 { FRVBF_INSN_CCKNV, model_fr450_ccknv, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106294 { FRVBF_INSN_CFCKRA, model_fr450_cfckra, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106295 { FRVBF_INSN_CFCKNO, model_fr450_cfckno, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106296 { FRVBF_INSN_CFCKNE, model_fr450_cfckne, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106297 { FRVBF_INSN_CFCKEQ, model_fr450_cfckeq, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106298 { FRVBF_INSN_CFCKLG, model_fr450_cfcklg, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106299 { FRVBF_INSN_CFCKUE, model_fr450_cfckue, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106300 { FRVBF_INSN_CFCKUL, model_fr450_cfckul, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106301 { FRVBF_INSN_CFCKGE, model_fr450_cfckge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106302 { FRVBF_INSN_CFCKLT, model_fr450_cfcklt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106303 { FRVBF_INSN_CFCKUGE, model_fr450_cfckuge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106304 { FRVBF_INSN_CFCKUG, model_fr450_cfckug, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106305 { FRVBF_INSN_CFCKLE, model_fr450_cfckle, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106306 { FRVBF_INSN_CFCKGT, model_fr450_cfckgt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106307 { FRVBF_INSN_CFCKULE, model_fr450_cfckule, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106308 { FRVBF_INSN_CFCKU, model_fr450_cfcku, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106309 { FRVBF_INSN_CFCKO, model_fr450_cfcko, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106310 { FRVBF_INSN_CJMPL, model_fr450_cjmpl, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106311 { FRVBF_INSN_CCALLL, model_fr450_ccalll, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106312 { FRVBF_INSN_ICI, model_fr450_ici, { { (int) UNIT_FR450_U_ICI, 1, 1 } } },
106313 { FRVBF_INSN_DCI, model_fr450_dci, { { (int) UNIT_FR450_U_DCI, 1, 1 } } },
106314 { FRVBF_INSN_ICEI, model_fr450_icei, { { (int) UNIT_FR450_U_ICI, 1, 1 } } },
106315 { FRVBF_INSN_DCEI, model_fr450_dcei, { { (int) UNIT_FR450_U_DCI, 1, 1 } } },
106316 { FRVBF_INSN_DCF, model_fr450_dcf, { { (int) UNIT_FR450_U_DCF, 1, 1 } } },
106317 { FRVBF_INSN_DCEF, model_fr450_dcef, { { (int) UNIT_FR450_U_DCF, 1, 1 } } },
106318 { FRVBF_INSN_WITLB, model_fr450_witlb, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106319 { FRVBF_INSN_WDTLB, model_fr450_wdtlb, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106320 { FRVBF_INSN_ITLBI, model_fr450_itlbi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106321 { FRVBF_INSN_DTLBI, model_fr450_dtlbi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106322 { FRVBF_INSN_ICPL, model_fr450_icpl, { { (int) UNIT_FR450_U_ICPL, 1, 1 } } },
106323 { FRVBF_INSN_DCPL, model_fr450_dcpl, { { (int) UNIT_FR450_U_DCPL, 1, 1 } } },
106324 { FRVBF_INSN_ICUL, model_fr450_icul, { { (int) UNIT_FR450_U_ICUL, 1, 1 } } },
106325 { FRVBF_INSN_DCUL, model_fr450_dcul, { { (int) UNIT_FR450_U_DCUL, 1, 1 } } },
106326 { FRVBF_INSN_BAR, model_fr450_bar, { { (int) UNIT_FR450_U_BARRIER, 1, 1 } } },
106327 { FRVBF_INSN_MEMBAR, model_fr450_membar, { { (int) UNIT_FR450_U_MEMBAR, 1, 1 } } },
106328 { FRVBF_INSN_LRAI, model_fr450_lrai, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106329 { FRVBF_INSN_LRAD, model_fr450_lrad, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106330 { FRVBF_INSN_TLBPR, model_fr450_tlbpr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106331 { FRVBF_INSN_COP1, model_fr450_cop1, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106332 { FRVBF_INSN_COP2, model_fr450_cop2, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106333 { FRVBF_INSN_CLRGR, model_fr450_clrgr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106334 { FRVBF_INSN_CLRFR, model_fr450_clrfr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106335 { FRVBF_INSN_CLRGA, model_fr450_clrga, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106336 { FRVBF_INSN_CLRFA, model_fr450_clrfa, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106337 { FRVBF_INSN_COMMITGR, model_fr450_commitgr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106338 { FRVBF_INSN_COMMITFR, model_fr450_commitfr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106339 { FRVBF_INSN_COMMITGA, model_fr450_commitga, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106340 { FRVBF_INSN_COMMITFA, model_fr450_commitfa, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106341 { FRVBF_INSN_FITOS, model_fr450_fitos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106342 { FRVBF_INSN_FSTOI, model_fr450_fstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106343 { FRVBF_INSN_FITOD, model_fr450_fitod, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106344 { FRVBF_INSN_FDTOI, model_fr450_fdtoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106345 { FRVBF_INSN_FDITOS, model_fr450_fditos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106346 { FRVBF_INSN_FDSTOI, model_fr450_fdstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106347 { FRVBF_INSN_NFDITOS, model_fr450_nfditos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106348 { FRVBF_INSN_NFDSTOI, model_fr450_nfdstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106349 { FRVBF_INSN_CFITOS, model_fr450_cfitos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106350 { FRVBF_INSN_CFSTOI, model_fr450_cfstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106351 { FRVBF_INSN_NFITOS, model_fr450_nfitos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106352 { FRVBF_INSN_NFSTOI, model_fr450_nfstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106353 { FRVBF_INSN_FMOVS, model_fr450_fmovs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106354 { FRVBF_INSN_FMOVD, model_fr450_fmovd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106355 { FRVBF_INSN_FDMOVS, model_fr450_fdmovs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106356 { FRVBF_INSN_CFMOVS, model_fr450_cfmovs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106357 { FRVBF_INSN_FNEGS, model_fr450_fnegs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106358 { FRVBF_INSN_FNEGD, model_fr450_fnegd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106359 { FRVBF_INSN_FDNEGS, model_fr450_fdnegs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106360 { FRVBF_INSN_CFNEGS, model_fr450_cfnegs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106361 { FRVBF_INSN_FABSS, model_fr450_fabss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106362 { FRVBF_INSN_FABSD, model_fr450_fabsd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106363 { FRVBF_INSN_FDABSS, model_fr450_fdabss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106364 { FRVBF_INSN_CFABSS, model_fr450_cfabss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106365 { FRVBF_INSN_FSQRTS, model_fr450_fsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106366 { FRVBF_INSN_FDSQRTS, model_fr450_fdsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106367 { FRVBF_INSN_NFDSQRTS, model_fr450_nfdsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106368 { FRVBF_INSN_FSQRTD, model_fr450_fsqrtd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106369 { FRVBF_INSN_CFSQRTS, model_fr450_cfsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106370 { FRVBF_INSN_NFSQRTS, model_fr450_nfsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106371 { FRVBF_INSN_FADDS, model_fr450_fadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106372 { FRVBF_INSN_FSUBS, model_fr450_fsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106373 { FRVBF_INSN_FMULS, model_fr450_fmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106374 { FRVBF_INSN_FDIVS, model_fr450_fdivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106375 { FRVBF_INSN_FADDD, model_fr450_faddd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106376 { FRVBF_INSN_FSUBD, model_fr450_fsubd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106377 { FRVBF_INSN_FMULD, model_fr450_fmuld, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106378 { FRVBF_INSN_FDIVD, model_fr450_fdivd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106379 { FRVBF_INSN_CFADDS, model_fr450_cfadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106380 { FRVBF_INSN_CFSUBS, model_fr450_cfsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106381 { FRVBF_INSN_CFMULS, model_fr450_cfmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106382 { FRVBF_INSN_CFDIVS, model_fr450_cfdivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106383 { FRVBF_INSN_NFADDS, model_fr450_nfadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106384 { FRVBF_INSN_NFSUBS, model_fr450_nfsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106385 { FRVBF_INSN_NFMULS, model_fr450_nfmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106386 { FRVBF_INSN_NFDIVS, model_fr450_nfdivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106387 { FRVBF_INSN_FCMPS, model_fr450_fcmps, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106388 { FRVBF_INSN_FCMPD, model_fr450_fcmpd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106389 { FRVBF_INSN_CFCMPS, model_fr450_cfcmps, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106390 { FRVBF_INSN_FDCMPS, model_fr450_fdcmps, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106391 { FRVBF_INSN_FMADDS, model_fr450_fmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106392 { FRVBF_INSN_FMSUBS, model_fr450_fmsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106393 { FRVBF_INSN_FMADDD, model_fr450_fmaddd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106394 { FRVBF_INSN_FMSUBD, model_fr450_fmsubd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106395 { FRVBF_INSN_FDMADDS, model_fr450_fdmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106396 { FRVBF_INSN_NFDMADDS, model_fr450_nfdmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106397 { FRVBF_INSN_CFMADDS, model_fr450_cfmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106398 { FRVBF_INSN_CFMSUBS, model_fr450_cfmsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106399 { FRVBF_INSN_NFMADDS, model_fr450_nfmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106400 { FRVBF_INSN_NFMSUBS, model_fr450_nfmsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106401 { FRVBF_INSN_FMAS, model_fr450_fmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106402 { FRVBF_INSN_FMSS, model_fr450_fmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106403 { FRVBF_INSN_FDMAS, model_fr450_fdmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106404 { FRVBF_INSN_FDMSS, model_fr450_fdmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106405 { FRVBF_INSN_NFDMAS, model_fr450_nfdmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106406 { FRVBF_INSN_NFDMSS, model_fr450_nfdmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106407 { FRVBF_INSN_CFMAS, model_fr450_cfmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106408 { FRVBF_INSN_CFMSS, model_fr450_cfmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106409 { FRVBF_INSN_FMAD, model_fr450_fmad, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106410 { FRVBF_INSN_FMSD, model_fr450_fmsd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106411 { FRVBF_INSN_NFMAS, model_fr450_nfmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106412 { FRVBF_INSN_NFMSS, model_fr450_nfmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106413 { FRVBF_INSN_FDADDS, model_fr450_fdadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106414 { FRVBF_INSN_FDSUBS, model_fr450_fdsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106415 { FRVBF_INSN_FDMULS, model_fr450_fdmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106416 { FRVBF_INSN_FDDIVS, model_fr450_fddivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106417 { FRVBF_INSN_FDSADS, model_fr450_fdsads, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106418 { FRVBF_INSN_FDMULCS, model_fr450_fdmulcs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106419 { FRVBF_INSN_NFDMULCS, model_fr450_nfdmulcs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106420 { FRVBF_INSN_NFDADDS, model_fr450_nfdadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106421 { FRVBF_INSN_NFDSUBS, model_fr450_nfdsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106422 { FRVBF_INSN_NFDMULS, model_fr450_nfdmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106423 { FRVBF_INSN_NFDDIVS, model_fr450_nfddivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106424 { FRVBF_INSN_NFDSADS, model_fr450_nfdsads, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106425 { FRVBF_INSN_NFDCMPS, model_fr450_nfdcmps, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106426 { FRVBF_INSN_MHSETLOS, model_fr450_mhsetlos, { { (int) UNIT_FR450_U_MEDIA_HILO, 1, 1 } } },
106427 { FRVBF_INSN_MHSETHIS, model_fr450_mhsethis, { { (int) UNIT_FR450_U_MEDIA_HILO, 1, 1 } } },
106428 { FRVBF_INSN_MHDSETS, model_fr450_mhdsets, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106429 { FRVBF_INSN_MHSETLOH, model_fr450_mhsetloh, { { (int) UNIT_FR450_U_MEDIA_HILO, 1, 1 } } },
106430 { FRVBF_INSN_MHSETHIH, model_fr450_mhsethih, { { (int) UNIT_FR450_U_MEDIA_HILO, 1, 1 } } },
106431 { FRVBF_INSN_MHDSETH, model_fr450_mhdseth, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106432 { FRVBF_INSN_MAND, model_fr450_mand, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106433 { FRVBF_INSN_MOR, model_fr450_mor, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106434 { FRVBF_INSN_MXOR, model_fr450_mxor, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106435 { FRVBF_INSN_CMAND, model_fr450_cmand, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106436 { FRVBF_INSN_CMOR, model_fr450_cmor, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106437 { FRVBF_INSN_CMXOR, model_fr450_cmxor, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106438 { FRVBF_INSN_MNOT, model_fr450_mnot, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106439 { FRVBF_INSN_CMNOT, model_fr450_cmnot, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106440 { FRVBF_INSN_MROTLI, model_fr450_mrotli, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106441 { FRVBF_INSN_MROTRI, model_fr450_mrotri, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106442 { FRVBF_INSN_MWCUT, model_fr450_mwcut, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106443 { FRVBF_INSN_MWCUTI, model_fr450_mwcuti, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106444 { FRVBF_INSN_MCUT, model_fr450_mcut, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106445 { FRVBF_INSN_MCUTI, model_fr450_mcuti, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106446 { FRVBF_INSN_MCUTSS, model_fr450_mcutss, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106447 { FRVBF_INSN_MCUTSSI, model_fr450_mcutssi, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106448 { FRVBF_INSN_MDCUTSSI, model_fr450_mdcutssi, { { (int) UNIT_FR450_U_MEDIA_4_ACC_DUAL, 1, 1 } } },
106449 { FRVBF_INSN_MAVEH, model_fr450_maveh, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106450 { FRVBF_INSN_MSLLHI, model_fr450_msllhi, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106451 { FRVBF_INSN_MSRLHI, model_fr450_msrlhi, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106452 { FRVBF_INSN_MSRAHI, model_fr450_msrahi, { { (int) UNIT_FR450_U_MEDIA_6, 1, 1 } } },
106453 { FRVBF_INSN_MDROTLI, model_fr450_mdrotli, { { (int) UNIT_FR450_U_MEDIA_3_QUAD, 1, 1 } } },
106454 { FRVBF_INSN_MCPLHI, model_fr450_mcplhi, { { (int) UNIT_FR450_U_MEDIA_3_DUAL, 1, 1 } } },
106455 { FRVBF_INSN_MCPLI, model_fr450_mcpli, { { (int) UNIT_FR450_U_MEDIA_3_DUAL, 1, 1 } } },
106456 { FRVBF_INSN_MSATHS, model_fr450_msaths, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106457 { FRVBF_INSN_MQSATHS, model_fr450_mqsaths, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106458 { FRVBF_INSN_MSATHU, model_fr450_msathu, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106459 { FRVBF_INSN_MCMPSH, model_fr450_mcmpsh, { { (int) UNIT_FR450_U_MEDIA_7, 1, 1 } } },
106460 { FRVBF_INSN_MCMPUH, model_fr450_mcmpuh, { { (int) UNIT_FR450_U_MEDIA_7, 1, 1 } } },
106461 { FRVBF_INSN_MABSHS, model_fr450_mabshs, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106462 { FRVBF_INSN_MADDHSS, model_fr450_maddhss, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106463 { FRVBF_INSN_MADDHUS, model_fr450_maddhus, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106464 { FRVBF_INSN_MSUBHSS, model_fr450_msubhss, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106465 { FRVBF_INSN_MSUBHUS, model_fr450_msubhus, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106466 { FRVBF_INSN_CMADDHSS, model_fr450_cmaddhss, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106467 { FRVBF_INSN_CMADDHUS, model_fr450_cmaddhus, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106468 { FRVBF_INSN_CMSUBHSS, model_fr450_cmsubhss, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106469 { FRVBF_INSN_CMSUBHUS, model_fr450_cmsubhus, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106470 { FRVBF_INSN_MQADDHSS, model_fr450_mqaddhss, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106471 { FRVBF_INSN_MQADDHUS, model_fr450_mqaddhus, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106472 { FRVBF_INSN_MQSUBHSS, model_fr450_mqsubhss, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106473 { FRVBF_INSN_MQSUBHUS, model_fr450_mqsubhus, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106474 { FRVBF_INSN_CMQADDHSS, model_fr450_cmqaddhss, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106475 { FRVBF_INSN_CMQADDHUS, model_fr450_cmqaddhus, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106476 { FRVBF_INSN_CMQSUBHSS, model_fr450_cmqsubhss, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106477 { FRVBF_INSN_CMQSUBHUS, model_fr450_cmqsubhus, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106478 { FRVBF_INSN_MQLCLRHS, model_fr450_mqlclrhs, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106479 { FRVBF_INSN_MQLMTHS, model_fr450_mqlmths, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106480 { FRVBF_INSN_MQSLLHI, model_fr450_mqsllhi, { { (int) UNIT_FR450_U_MEDIA_3_QUAD, 1, 1 } } },
106481 { FRVBF_INSN_MQSRAHI, model_fr450_mqsrahi, { { (int) UNIT_FR450_U_MEDIA_3_QUAD, 1, 1 } } },
106482 { FRVBF_INSN_MADDACCS, model_fr450_maddaccs, { { (int) UNIT_FR450_U_MEDIA_2_ACC, 1, 1 } } },
106483 { FRVBF_INSN_MSUBACCS, model_fr450_msubaccs, { { (int) UNIT_FR450_U_MEDIA_2_ACC, 1, 1 } } },
106484 { FRVBF_INSN_MDADDACCS, model_fr450_mdaddaccs, { { (int) UNIT_FR450_U_MEDIA_2_ACC_DUAL, 1, 1 } } },
106485 { FRVBF_INSN_MDSUBACCS, model_fr450_mdsubaccs, { { (int) UNIT_FR450_U_MEDIA_2_ACC_DUAL, 1, 1 } } },
106486 { FRVBF_INSN_MASACCS, model_fr450_masaccs, { { (int) UNIT_FR450_U_MEDIA_2_ADD_SUB, 1, 1 } } },
106487 { FRVBF_INSN_MDASACCS, model_fr450_mdasaccs, { { (int) UNIT_FR450_U_MEDIA_2_ADD_SUB_DUAL, 1, 1 } } },
106488 { FRVBF_INSN_MMULHS, model_fr450_mmulhs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106489 { FRVBF_INSN_MMULHU, model_fr450_mmulhu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106490 { FRVBF_INSN_MMULXHS, model_fr450_mmulxhs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106491 { FRVBF_INSN_MMULXHU, model_fr450_mmulxhu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106492 { FRVBF_INSN_CMMULHS, model_fr450_cmmulhs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106493 { FRVBF_INSN_CMMULHU, model_fr450_cmmulhu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106494 { FRVBF_INSN_MQMULHS, model_fr450_mqmulhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106495 { FRVBF_INSN_MQMULHU, model_fr450_mqmulhu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106496 { FRVBF_INSN_MQMULXHS, model_fr450_mqmulxhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106497 { FRVBF_INSN_MQMULXHU, model_fr450_mqmulxhu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106498 { FRVBF_INSN_CMQMULHS, model_fr450_cmqmulhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106499 { FRVBF_INSN_CMQMULHU, model_fr450_cmqmulhu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106500 { FRVBF_INSN_MMACHS, model_fr450_mmachs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106501 { FRVBF_INSN_MMACHU, model_fr450_mmachu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106502 { FRVBF_INSN_MMRDHS, model_fr450_mmrdhs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106503 { FRVBF_INSN_MMRDHU, model_fr450_mmrdhu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106504 { FRVBF_INSN_CMMACHS, model_fr450_cmmachs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106505 { FRVBF_INSN_CMMACHU, model_fr450_cmmachu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106506 { FRVBF_INSN_MQMACHS, model_fr450_mqmachs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106507 { FRVBF_INSN_MQMACHU, model_fr450_mqmachu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106508 { FRVBF_INSN_CMQMACHS, model_fr450_cmqmachs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106509 { FRVBF_INSN_CMQMACHU, model_fr450_cmqmachu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106510 { FRVBF_INSN_MQXMACHS, model_fr450_mqxmachs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106511 { FRVBF_INSN_MQXMACXHS, model_fr450_mqxmacxhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106512 { FRVBF_INSN_MQMACXHS, model_fr450_mqmacxhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106513 { FRVBF_INSN_MCPXRS, model_fr450_mcpxrs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106514 { FRVBF_INSN_MCPXRU, model_fr450_mcpxru, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106515 { FRVBF_INSN_MCPXIS, model_fr450_mcpxis, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106516 { FRVBF_INSN_MCPXIU, model_fr450_mcpxiu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106517 { FRVBF_INSN_CMCPXRS, model_fr450_cmcpxrs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106518 { FRVBF_INSN_CMCPXRU, model_fr450_cmcpxru, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106519 { FRVBF_INSN_CMCPXIS, model_fr450_cmcpxis, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106520 { FRVBF_INSN_CMCPXIU, model_fr450_cmcpxiu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106521 { FRVBF_INSN_MQCPXRS, model_fr450_mqcpxrs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106522 { FRVBF_INSN_MQCPXRU, model_fr450_mqcpxru, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106523 { FRVBF_INSN_MQCPXIS, model_fr450_mqcpxis, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106524 { FRVBF_INSN_MQCPXIU, model_fr450_mqcpxiu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106525 { FRVBF_INSN_MEXPDHW, model_fr450_mexpdhw, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106526 { FRVBF_INSN_CMEXPDHW, model_fr450_cmexpdhw, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106527 { FRVBF_INSN_MEXPDHD, model_fr450_mexpdhd, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106528 { FRVBF_INSN_CMEXPDHD, model_fr450_cmexpdhd, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106529 { FRVBF_INSN_MPACKH, model_fr450_mpackh, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106530 { FRVBF_INSN_MDPACKH, model_fr450_mdpackh, { { (int) UNIT_FR450_U_MEDIA_3_QUAD, 1, 1 } } },
106531 { FRVBF_INSN_MUNPACKH, model_fr450_munpackh, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106532 { FRVBF_INSN_MDUNPACKH, model_fr450_mdunpackh, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106533 { FRVBF_INSN_MBTOH, model_fr450_mbtoh, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106534 { FRVBF_INSN_CMBTOH, model_fr450_cmbtoh, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106535 { FRVBF_INSN_MHTOB, model_fr450_mhtob, { { (int) UNIT_FR450_U_MEDIA_DUAL_HTOB, 1, 1 } } },
106536 { FRVBF_INSN_CMHTOB, model_fr450_cmhtob, { { (int) UNIT_FR450_U_MEDIA_DUAL_HTOB, 1, 1 } } },
106537 { FRVBF_INSN_MBTOHE, model_fr450_mbtohe, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106538 { FRVBF_INSN_CMBTOHE, model_fr450_cmbtohe, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106539 { FRVBF_INSN_MNOP, model_fr450_mnop, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106540 { FRVBF_INSN_MCLRACC_0, model_fr450_mclracc_0, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106541 { FRVBF_INSN_MCLRACC_1, model_fr450_mclracc_1, { { (int) UNIT_FR450_U_MEDIA_4_MCLRACCA, 1, 1 } } },
106542 { FRVBF_INSN_MRDACC, model_fr450_mrdacc, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106543 { FRVBF_INSN_MRDACCG, model_fr450_mrdaccg, { { (int) UNIT_FR450_U_MEDIA_4_ACCG, 1, 1 } } },
106544 { FRVBF_INSN_MWTACC, model_fr450_mwtacc, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106545 { FRVBF_INSN_MWTACCG, model_fr450_mwtaccg, { { (int) UNIT_FR450_U_MEDIA_4_ACCG, 1, 1 } } },
106546 { FRVBF_INSN_MCOP1, model_fr450_mcop1, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106547 { FRVBF_INSN_MCOP2, model_fr450_mcop2, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106548 { FRVBF_INSN_FNOP, model_fr450_fnop, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106551 /* Model timing data for `simple'. */
106553 static const INSN_TIMING simple_timing[] = {
106554 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106555 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106556 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106557 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106558 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106559 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106560 { FRVBF_INSN_ADD, model_simple_add, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106561 { FRVBF_INSN_SUB, model_simple_sub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106562 { FRVBF_INSN_AND, model_simple_and, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106563 { FRVBF_INSN_OR, model_simple_or, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106564 { FRVBF_INSN_XOR, model_simple_xor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106565 { FRVBF_INSN_NOT, model_simple_not, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106566 { FRVBF_INSN_SDIV, model_simple_sdiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106567 { FRVBF_INSN_NSDIV, model_simple_nsdiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106568 { FRVBF_INSN_UDIV, model_simple_udiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106569 { FRVBF_INSN_NUDIV, model_simple_nudiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106570 { FRVBF_INSN_SMUL, model_simple_smul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106571 { FRVBF_INSN_UMUL, model_simple_umul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106572 { FRVBF_INSN_SMU, model_simple_smu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106573 { FRVBF_INSN_SMASS, model_simple_smass, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106574 { FRVBF_INSN_SMSSS, model_simple_smsss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106575 { FRVBF_INSN_SLL, model_simple_sll, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106576 { FRVBF_INSN_SRL, model_simple_srl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106577 { FRVBF_INSN_SRA, model_simple_sra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106578 { FRVBF_INSN_SLASS, model_simple_slass, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106579 { FRVBF_INSN_SCUTSS, model_simple_scutss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106580 { FRVBF_INSN_SCAN, model_simple_scan, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106581 { FRVBF_INSN_CADD, model_simple_cadd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106582 { FRVBF_INSN_CSUB, model_simple_csub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106583 { FRVBF_INSN_CAND, model_simple_cand, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106584 { FRVBF_INSN_COR, model_simple_cor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106585 { FRVBF_INSN_CXOR, model_simple_cxor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106586 { FRVBF_INSN_CNOT, model_simple_cnot, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106587 { FRVBF_INSN_CSMUL, model_simple_csmul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106588 { FRVBF_INSN_CSDIV, model_simple_csdiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106589 { FRVBF_INSN_CUDIV, model_simple_cudiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106590 { FRVBF_INSN_CSLL, model_simple_csll, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106591 { FRVBF_INSN_CSRL, model_simple_csrl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106592 { FRVBF_INSN_CSRA, model_simple_csra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106593 { FRVBF_INSN_CSCAN, model_simple_cscan, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106594 { FRVBF_INSN_ADDCC, model_simple_addcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106595 { FRVBF_INSN_SUBCC, model_simple_subcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106596 { FRVBF_INSN_ANDCC, model_simple_andcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106597 { FRVBF_INSN_ORCC, model_simple_orcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106598 { FRVBF_INSN_XORCC, model_simple_xorcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106599 { FRVBF_INSN_SLLCC, model_simple_sllcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106600 { FRVBF_INSN_SRLCC, model_simple_srlcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106601 { FRVBF_INSN_SRACC, model_simple_sracc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106602 { FRVBF_INSN_SMULCC, model_simple_smulcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106603 { FRVBF_INSN_UMULCC, model_simple_umulcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106604 { FRVBF_INSN_CADDCC, model_simple_caddcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106605 { FRVBF_INSN_CSUBCC, model_simple_csubcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106606 { FRVBF_INSN_CSMULCC, model_simple_csmulcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106607 { FRVBF_INSN_CANDCC, model_simple_candcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106608 { FRVBF_INSN_CORCC, model_simple_corcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106609 { FRVBF_INSN_CXORCC, model_simple_cxorcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106610 { FRVBF_INSN_CSLLCC, model_simple_csllcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106611 { FRVBF_INSN_CSRLCC, model_simple_csrlcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106612 { FRVBF_INSN_CSRACC, model_simple_csracc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106613 { FRVBF_INSN_ADDX, model_simple_addx, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106614 { FRVBF_INSN_SUBX, model_simple_subx, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106615 { FRVBF_INSN_ADDXCC, model_simple_addxcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106616 { FRVBF_INSN_SUBXCC, model_simple_subxcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106617 { FRVBF_INSN_ADDSS, model_simple_addss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106618 { FRVBF_INSN_SUBSS, model_simple_subss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106619 { FRVBF_INSN_ADDI, model_simple_addi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106620 { FRVBF_INSN_SUBI, model_simple_subi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106621 { FRVBF_INSN_ANDI, model_simple_andi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106622 { FRVBF_INSN_ORI, model_simple_ori, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106623 { FRVBF_INSN_XORI, model_simple_xori, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106624 { FRVBF_INSN_SDIVI, model_simple_sdivi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106625 { FRVBF_INSN_NSDIVI, model_simple_nsdivi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106626 { FRVBF_INSN_UDIVI, model_simple_udivi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106627 { FRVBF_INSN_NUDIVI, model_simple_nudivi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106628 { FRVBF_INSN_SMULI, model_simple_smuli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106629 { FRVBF_INSN_UMULI, model_simple_umuli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106630 { FRVBF_INSN_SLLI, model_simple_slli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106631 { FRVBF_INSN_SRLI, model_simple_srli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106632 { FRVBF_INSN_SRAI, model_simple_srai, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106633 { FRVBF_INSN_SCANI, model_simple_scani, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106634 { FRVBF_INSN_ADDICC, model_simple_addicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106635 { FRVBF_INSN_SUBICC, model_simple_subicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106636 { FRVBF_INSN_ANDICC, model_simple_andicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106637 { FRVBF_INSN_ORICC, model_simple_oricc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106638 { FRVBF_INSN_XORICC, model_simple_xoricc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106639 { FRVBF_INSN_SMULICC, model_simple_smulicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106640 { FRVBF_INSN_UMULICC, model_simple_umulicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106641 { FRVBF_INSN_SLLICC, model_simple_sllicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106642 { FRVBF_INSN_SRLICC, model_simple_srlicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106643 { FRVBF_INSN_SRAICC, model_simple_sraicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106644 { FRVBF_INSN_ADDXI, model_simple_addxi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106645 { FRVBF_INSN_SUBXI, model_simple_subxi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106646 { FRVBF_INSN_ADDXICC, model_simple_addxicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106647 { FRVBF_INSN_SUBXICC, model_simple_subxicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106648 { FRVBF_INSN_CMPB, model_simple_cmpb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106649 { FRVBF_INSN_CMPBA, model_simple_cmpba, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106650 { FRVBF_INSN_SETLO, model_simple_setlo, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106651 { FRVBF_INSN_SETHI, model_simple_sethi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106652 { FRVBF_INSN_SETLOS, model_simple_setlos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106653 { FRVBF_INSN_LDSB, model_simple_ldsb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106654 { FRVBF_INSN_LDUB, model_simple_ldub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106655 { FRVBF_INSN_LDSH, model_simple_ldsh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106656 { FRVBF_INSN_LDUH, model_simple_lduh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106657 { FRVBF_INSN_LD, model_simple_ld, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106658 { FRVBF_INSN_LDBF, model_simple_ldbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106659 { FRVBF_INSN_LDHF, model_simple_ldhf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106660 { FRVBF_INSN_LDF, model_simple_ldf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106661 { FRVBF_INSN_LDC, model_simple_ldc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106662 { FRVBF_INSN_NLDSB, model_simple_nldsb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106663 { FRVBF_INSN_NLDUB, model_simple_nldub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106664 { FRVBF_INSN_NLDSH, model_simple_nldsh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106665 { FRVBF_INSN_NLDUH, model_simple_nlduh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106666 { FRVBF_INSN_NLD, model_simple_nld, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106667 { FRVBF_INSN_NLDBF, model_simple_nldbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106668 { FRVBF_INSN_NLDHF, model_simple_nldhf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106669 { FRVBF_INSN_NLDF, model_simple_nldf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106670 { FRVBF_INSN_LDD, model_simple_ldd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106671 { FRVBF_INSN_LDDF, model_simple_lddf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106672 { FRVBF_INSN_LDDC, model_simple_lddc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106673 { FRVBF_INSN_NLDD, model_simple_nldd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106674 { FRVBF_INSN_NLDDF, model_simple_nlddf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106675 { FRVBF_INSN_LDQ, model_simple_ldq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106676 { FRVBF_INSN_LDQF, model_simple_ldqf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106677 { FRVBF_INSN_LDQC, model_simple_ldqc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106678 { FRVBF_INSN_NLDQ, model_simple_nldq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106679 { FRVBF_INSN_NLDQF, model_simple_nldqf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106680 { FRVBF_INSN_LDSBU, model_simple_ldsbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106681 { FRVBF_INSN_LDUBU, model_simple_ldubu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106682 { FRVBF_INSN_LDSHU, model_simple_ldshu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106683 { FRVBF_INSN_LDUHU, model_simple_lduhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106684 { FRVBF_INSN_LDU, model_simple_ldu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106685 { FRVBF_INSN_NLDSBU, model_simple_nldsbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106686 { FRVBF_INSN_NLDUBU, model_simple_nldubu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106687 { FRVBF_INSN_NLDSHU, model_simple_nldshu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106688 { FRVBF_INSN_NLDUHU, model_simple_nlduhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106689 { FRVBF_INSN_NLDU, model_simple_nldu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106690 { FRVBF_INSN_LDBFU, model_simple_ldbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106691 { FRVBF_INSN_LDHFU, model_simple_ldhfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106692 { FRVBF_INSN_LDFU, model_simple_ldfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106693 { FRVBF_INSN_LDCU, model_simple_ldcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106694 { FRVBF_INSN_NLDBFU, model_simple_nldbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106695 { FRVBF_INSN_NLDHFU, model_simple_nldhfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106696 { FRVBF_INSN_NLDFU, model_simple_nldfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106697 { FRVBF_INSN_LDDU, model_simple_lddu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106698 { FRVBF_INSN_NLDDU, model_simple_nlddu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106699 { FRVBF_INSN_LDDFU, model_simple_lddfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106700 { FRVBF_INSN_LDDCU, model_simple_lddcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106701 { FRVBF_INSN_NLDDFU, model_simple_nlddfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106702 { FRVBF_INSN_LDQU, model_simple_ldqu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106703 { FRVBF_INSN_NLDQU, model_simple_nldqu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106704 { FRVBF_INSN_LDQFU, model_simple_ldqfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106705 { FRVBF_INSN_LDQCU, model_simple_ldqcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106706 { FRVBF_INSN_NLDQFU, model_simple_nldqfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106707 { FRVBF_INSN_LDSBI, model_simple_ldsbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106708 { FRVBF_INSN_LDSHI, model_simple_ldshi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106709 { FRVBF_INSN_LDI, model_simple_ldi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106710 { FRVBF_INSN_LDUBI, model_simple_ldubi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106711 { FRVBF_INSN_LDUHI, model_simple_lduhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106712 { FRVBF_INSN_LDBFI, model_simple_ldbfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106713 { FRVBF_INSN_LDHFI, model_simple_ldhfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106714 { FRVBF_INSN_LDFI, model_simple_ldfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106715 { FRVBF_INSN_NLDSBI, model_simple_nldsbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106716 { FRVBF_INSN_NLDUBI, model_simple_nldubi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106717 { FRVBF_INSN_NLDSHI, model_simple_nldshi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106718 { FRVBF_INSN_NLDUHI, model_simple_nlduhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106719 { FRVBF_INSN_NLDI, model_simple_nldi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106720 { FRVBF_INSN_NLDBFI, model_simple_nldbfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106721 { FRVBF_INSN_NLDHFI, model_simple_nldhfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106722 { FRVBF_INSN_NLDFI, model_simple_nldfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106723 { FRVBF_INSN_LDDI, model_simple_lddi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106724 { FRVBF_INSN_LDDFI, model_simple_lddfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106725 { FRVBF_INSN_NLDDI, model_simple_nlddi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106726 { FRVBF_INSN_NLDDFI, model_simple_nlddfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106727 { FRVBF_INSN_LDQI, model_simple_ldqi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106728 { FRVBF_INSN_LDQFI, model_simple_ldqfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106729 { FRVBF_INSN_NLDQFI, model_simple_nldqfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106730 { FRVBF_INSN_STB, model_simple_stb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106731 { FRVBF_INSN_STH, model_simple_sth, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106732 { FRVBF_INSN_ST, model_simple_st, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106733 { FRVBF_INSN_STBF, model_simple_stbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106734 { FRVBF_INSN_STHF, model_simple_sthf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106735 { FRVBF_INSN_STF, model_simple_stf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106736 { FRVBF_INSN_STC, model_simple_stc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106737 { FRVBF_INSN_STD, model_simple_std, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106738 { FRVBF_INSN_STDF, model_simple_stdf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106739 { FRVBF_INSN_STDC, model_simple_stdc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106740 { FRVBF_INSN_STQ, model_simple_stq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106741 { FRVBF_INSN_STQF, model_simple_stqf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106742 { FRVBF_INSN_STQC, model_simple_stqc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106743 { FRVBF_INSN_STBU, model_simple_stbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106744 { FRVBF_INSN_STHU, model_simple_sthu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106745 { FRVBF_INSN_STU, model_simple_stu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106746 { FRVBF_INSN_STBFU, model_simple_stbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106747 { FRVBF_INSN_STHFU, model_simple_sthfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106748 { FRVBF_INSN_STFU, model_simple_stfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106749 { FRVBF_INSN_STCU, model_simple_stcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106750 { FRVBF_INSN_STDU, model_simple_stdu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106751 { FRVBF_INSN_STDFU, model_simple_stdfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106752 { FRVBF_INSN_STDCU, model_simple_stdcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106753 { FRVBF_INSN_STQU, model_simple_stqu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106754 { FRVBF_INSN_STQFU, model_simple_stqfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106755 { FRVBF_INSN_STQCU, model_simple_stqcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106756 { FRVBF_INSN_CLDSB, model_simple_cldsb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106757 { FRVBF_INSN_CLDUB, model_simple_cldub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106758 { FRVBF_INSN_CLDSH, model_simple_cldsh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106759 { FRVBF_INSN_CLDUH, model_simple_clduh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106760 { FRVBF_INSN_CLD, model_simple_cld, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106761 { FRVBF_INSN_CLDBF, model_simple_cldbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106762 { FRVBF_INSN_CLDHF, model_simple_cldhf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106763 { FRVBF_INSN_CLDF, model_simple_cldf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106764 { FRVBF_INSN_CLDD, model_simple_cldd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106765 { FRVBF_INSN_CLDDF, model_simple_clddf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106766 { FRVBF_INSN_CLDQ, model_simple_cldq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106767 { FRVBF_INSN_CLDSBU, model_simple_cldsbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106768 { FRVBF_INSN_CLDUBU, model_simple_cldubu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106769 { FRVBF_INSN_CLDSHU, model_simple_cldshu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106770 { FRVBF_INSN_CLDUHU, model_simple_clduhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106771 { FRVBF_INSN_CLDU, model_simple_cldu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106772 { FRVBF_INSN_CLDBFU, model_simple_cldbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106773 { FRVBF_INSN_CLDHFU, model_simple_cldhfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106774 { FRVBF_INSN_CLDFU, model_simple_cldfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106775 { FRVBF_INSN_CLDDU, model_simple_clddu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106776 { FRVBF_INSN_CLDDFU, model_simple_clddfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106777 { FRVBF_INSN_CLDQU, model_simple_cldqu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106778 { FRVBF_INSN_CSTB, model_simple_cstb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106779 { FRVBF_INSN_CSTH, model_simple_csth, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106780 { FRVBF_INSN_CST, model_simple_cst, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106781 { FRVBF_INSN_CSTBF, model_simple_cstbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106782 { FRVBF_INSN_CSTHF, model_simple_csthf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106783 { FRVBF_INSN_CSTF, model_simple_cstf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106784 { FRVBF_INSN_CSTD, model_simple_cstd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106785 { FRVBF_INSN_CSTDF, model_simple_cstdf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106786 { FRVBF_INSN_CSTQ, model_simple_cstq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106787 { FRVBF_INSN_CSTBU, model_simple_cstbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106788 { FRVBF_INSN_CSTHU, model_simple_csthu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106789 { FRVBF_INSN_CSTU, model_simple_cstu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106790 { FRVBF_INSN_CSTBFU, model_simple_cstbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106791 { FRVBF_INSN_CSTHFU, model_simple_csthfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106792 { FRVBF_INSN_CSTFU, model_simple_cstfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106793 { FRVBF_INSN_CSTDU, model_simple_cstdu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106794 { FRVBF_INSN_CSTDFU, model_simple_cstdfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106795 { FRVBF_INSN_STBI, model_simple_stbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106796 { FRVBF_INSN_STHI, model_simple_sthi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106797 { FRVBF_INSN_STI, model_simple_sti, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106798 { FRVBF_INSN_STBFI, model_simple_stbfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106799 { FRVBF_INSN_STHFI, model_simple_sthfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106800 { FRVBF_INSN_STFI, model_simple_stfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106801 { FRVBF_INSN_STDI, model_simple_stdi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106802 { FRVBF_INSN_STDFI, model_simple_stdfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106803 { FRVBF_INSN_STQI, model_simple_stqi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106804 { FRVBF_INSN_STQFI, model_simple_stqfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106805 { FRVBF_INSN_SWAP, model_simple_swap, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106806 { FRVBF_INSN_SWAPI, model_simple_swapi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106807 { FRVBF_INSN_CSWAP, model_simple_cswap, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106808 { FRVBF_INSN_MOVGF, model_simple_movgf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106809 { FRVBF_INSN_MOVFG, model_simple_movfg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106810 { FRVBF_INSN_MOVGFD, model_simple_movgfd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106811 { FRVBF_INSN_MOVFGD, model_simple_movfgd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106812 { FRVBF_INSN_MOVGFQ, model_simple_movgfq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106813 { FRVBF_INSN_MOVFGQ, model_simple_movfgq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106814 { FRVBF_INSN_CMOVGF, model_simple_cmovgf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106815 { FRVBF_INSN_CMOVFG, model_simple_cmovfg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106816 { FRVBF_INSN_CMOVGFD, model_simple_cmovgfd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106817 { FRVBF_INSN_CMOVFGD, model_simple_cmovfgd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106818 { FRVBF_INSN_MOVGS, model_simple_movgs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106819 { FRVBF_INSN_MOVSG, model_simple_movsg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106820 { FRVBF_INSN_BRA, model_simple_bra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106821 { FRVBF_INSN_BNO, model_simple_bno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106822 { FRVBF_INSN_BEQ, model_simple_beq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106823 { FRVBF_INSN_BNE, model_simple_bne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106824 { FRVBF_INSN_BLE, model_simple_ble, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106825 { FRVBF_INSN_BGT, model_simple_bgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106826 { FRVBF_INSN_BLT, model_simple_blt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106827 { FRVBF_INSN_BGE, model_simple_bge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106828 { FRVBF_INSN_BLS, model_simple_bls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106829 { FRVBF_INSN_BHI, model_simple_bhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106830 { FRVBF_INSN_BC, model_simple_bc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106831 { FRVBF_INSN_BNC, model_simple_bnc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106832 { FRVBF_INSN_BN, model_simple_bn, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106833 { FRVBF_INSN_BP, model_simple_bp, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106834 { FRVBF_INSN_BV, model_simple_bv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106835 { FRVBF_INSN_BNV, model_simple_bnv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106836 { FRVBF_INSN_FBRA, model_simple_fbra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106837 { FRVBF_INSN_FBNO, model_simple_fbno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106838 { FRVBF_INSN_FBNE, model_simple_fbne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106839 { FRVBF_INSN_FBEQ, model_simple_fbeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106840 { FRVBF_INSN_FBLG, model_simple_fblg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106841 { FRVBF_INSN_FBUE, model_simple_fbue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106842 { FRVBF_INSN_FBUL, model_simple_fbul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106843 { FRVBF_INSN_FBGE, model_simple_fbge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106844 { FRVBF_INSN_FBLT, model_simple_fblt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106845 { FRVBF_INSN_FBUGE, model_simple_fbuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106846 { FRVBF_INSN_FBUG, model_simple_fbug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106847 { FRVBF_INSN_FBLE, model_simple_fble, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106848 { FRVBF_INSN_FBGT, model_simple_fbgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106849 { FRVBF_INSN_FBULE, model_simple_fbule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106850 { FRVBF_INSN_FBU, model_simple_fbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106851 { FRVBF_INSN_FBO, model_simple_fbo, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106852 { FRVBF_INSN_BCTRLR, model_simple_bctrlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106853 { FRVBF_INSN_BRALR, model_simple_bralr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106854 { FRVBF_INSN_BNOLR, model_simple_bnolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106855 { FRVBF_INSN_BEQLR, model_simple_beqlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106856 { FRVBF_INSN_BNELR, model_simple_bnelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106857 { FRVBF_INSN_BLELR, model_simple_blelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106858 { FRVBF_INSN_BGTLR, model_simple_bgtlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106859 { FRVBF_INSN_BLTLR, model_simple_bltlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106860 { FRVBF_INSN_BGELR, model_simple_bgelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106861 { FRVBF_INSN_BLSLR, model_simple_blslr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106862 { FRVBF_INSN_BHILR, model_simple_bhilr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106863 { FRVBF_INSN_BCLR, model_simple_bclr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106864 { FRVBF_INSN_BNCLR, model_simple_bnclr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106865 { FRVBF_INSN_BNLR, model_simple_bnlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106866 { FRVBF_INSN_BPLR, model_simple_bplr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106867 { FRVBF_INSN_BVLR, model_simple_bvlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106868 { FRVBF_INSN_BNVLR, model_simple_bnvlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106869 { FRVBF_INSN_FBRALR, model_simple_fbralr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106870 { FRVBF_INSN_FBNOLR, model_simple_fbnolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106871 { FRVBF_INSN_FBEQLR, model_simple_fbeqlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106872 { FRVBF_INSN_FBNELR, model_simple_fbnelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106873 { FRVBF_INSN_FBLGLR, model_simple_fblglr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106874 { FRVBF_INSN_FBUELR, model_simple_fbuelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106875 { FRVBF_INSN_FBULLR, model_simple_fbullr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106876 { FRVBF_INSN_FBGELR, model_simple_fbgelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106877 { FRVBF_INSN_FBLTLR, model_simple_fbltlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106878 { FRVBF_INSN_FBUGELR, model_simple_fbugelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106879 { FRVBF_INSN_FBUGLR, model_simple_fbuglr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106880 { FRVBF_INSN_FBLELR, model_simple_fblelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106881 { FRVBF_INSN_FBGTLR, model_simple_fbgtlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106882 { FRVBF_INSN_FBULELR, model_simple_fbulelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106883 { FRVBF_INSN_FBULR, model_simple_fbulr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106884 { FRVBF_INSN_FBOLR, model_simple_fbolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106885 { FRVBF_INSN_BCRALR, model_simple_bcralr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106886 { FRVBF_INSN_BCNOLR, model_simple_bcnolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106887 { FRVBF_INSN_BCEQLR, model_simple_bceqlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106888 { FRVBF_INSN_BCNELR, model_simple_bcnelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106889 { FRVBF_INSN_BCLELR, model_simple_bclelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106890 { FRVBF_INSN_BCGTLR, model_simple_bcgtlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106891 { FRVBF_INSN_BCLTLR, model_simple_bcltlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106892 { FRVBF_INSN_BCGELR, model_simple_bcgelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106893 { FRVBF_INSN_BCLSLR, model_simple_bclslr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106894 { FRVBF_INSN_BCHILR, model_simple_bchilr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106895 { FRVBF_INSN_BCCLR, model_simple_bcclr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106896 { FRVBF_INSN_BCNCLR, model_simple_bcnclr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106897 { FRVBF_INSN_BCNLR, model_simple_bcnlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106898 { FRVBF_INSN_BCPLR, model_simple_bcplr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106899 { FRVBF_INSN_BCVLR, model_simple_bcvlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106900 { FRVBF_INSN_BCNVLR, model_simple_bcnvlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106901 { FRVBF_INSN_FCBRALR, model_simple_fcbralr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106902 { FRVBF_INSN_FCBNOLR, model_simple_fcbnolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106903 { FRVBF_INSN_FCBEQLR, model_simple_fcbeqlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106904 { FRVBF_INSN_FCBNELR, model_simple_fcbnelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106905 { FRVBF_INSN_FCBLGLR, model_simple_fcblglr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106906 { FRVBF_INSN_FCBUELR, model_simple_fcbuelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106907 { FRVBF_INSN_FCBULLR, model_simple_fcbullr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106908 { FRVBF_INSN_FCBGELR, model_simple_fcbgelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106909 { FRVBF_INSN_FCBLTLR, model_simple_fcbltlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106910 { FRVBF_INSN_FCBUGELR, model_simple_fcbugelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106911 { FRVBF_INSN_FCBUGLR, model_simple_fcbuglr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106912 { FRVBF_INSN_FCBLELR, model_simple_fcblelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106913 { FRVBF_INSN_FCBGTLR, model_simple_fcbgtlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106914 { FRVBF_INSN_FCBULELR, model_simple_fcbulelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106915 { FRVBF_INSN_FCBULR, model_simple_fcbulr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106916 { FRVBF_INSN_FCBOLR, model_simple_fcbolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106917 { FRVBF_INSN_JMPL, model_simple_jmpl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106918 { FRVBF_INSN_CALLL, model_simple_calll, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106919 { FRVBF_INSN_JMPIL, model_simple_jmpil, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106920 { FRVBF_INSN_CALLIL, model_simple_callil, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106921 { FRVBF_INSN_CALL, model_simple_call, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106922 { FRVBF_INSN_RETT, model_simple_rett, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106923 { FRVBF_INSN_REI, model_simple_rei, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106924 { FRVBF_INSN_TRA, model_simple_tra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106925 { FRVBF_INSN_TNO, model_simple_tno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106926 { FRVBF_INSN_TEQ, model_simple_teq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106927 { FRVBF_INSN_TNE, model_simple_tne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106928 { FRVBF_INSN_TLE, model_simple_tle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106929 { FRVBF_INSN_TGT, model_simple_tgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106930 { FRVBF_INSN_TLT, model_simple_tlt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106931 { FRVBF_INSN_TGE, model_simple_tge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106932 { FRVBF_INSN_TLS, model_simple_tls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106933 { FRVBF_INSN_THI, model_simple_thi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106934 { FRVBF_INSN_TC, model_simple_tc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106935 { FRVBF_INSN_TNC, model_simple_tnc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106936 { FRVBF_INSN_TN, model_simple_tn, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106937 { FRVBF_INSN_TP, model_simple_tp, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106938 { FRVBF_INSN_TV, model_simple_tv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106939 { FRVBF_INSN_TNV, model_simple_tnv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106940 { FRVBF_INSN_FTRA, model_simple_ftra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106941 { FRVBF_INSN_FTNO, model_simple_ftno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106942 { FRVBF_INSN_FTNE, model_simple_ftne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106943 { FRVBF_INSN_FTEQ, model_simple_fteq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106944 { FRVBF_INSN_FTLG, model_simple_ftlg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106945 { FRVBF_INSN_FTUE, model_simple_ftue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106946 { FRVBF_INSN_FTUL, model_simple_ftul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106947 { FRVBF_INSN_FTGE, model_simple_ftge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106948 { FRVBF_INSN_FTLT, model_simple_ftlt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106949 { FRVBF_INSN_FTUGE, model_simple_ftuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106950 { FRVBF_INSN_FTUG, model_simple_ftug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106951 { FRVBF_INSN_FTLE, model_simple_ftle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106952 { FRVBF_INSN_FTGT, model_simple_ftgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106953 { FRVBF_INSN_FTULE, model_simple_ftule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106954 { FRVBF_INSN_FTU, model_simple_ftu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106955 { FRVBF_INSN_FTO, model_simple_fto, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106956 { FRVBF_INSN_TIRA, model_simple_tira, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106957 { FRVBF_INSN_TINO, model_simple_tino, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106958 { FRVBF_INSN_TIEQ, model_simple_tieq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106959 { FRVBF_INSN_TINE, model_simple_tine, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106960 { FRVBF_INSN_TILE, model_simple_tile, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106961 { FRVBF_INSN_TIGT, model_simple_tigt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106962 { FRVBF_INSN_TILT, model_simple_tilt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106963 { FRVBF_INSN_TIGE, model_simple_tige, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106964 { FRVBF_INSN_TILS, model_simple_tils, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106965 { FRVBF_INSN_TIHI, model_simple_tihi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106966 { FRVBF_INSN_TIC, model_simple_tic, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106967 { FRVBF_INSN_TINC, model_simple_tinc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106968 { FRVBF_INSN_TIN, model_simple_tin, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106969 { FRVBF_INSN_TIP, model_simple_tip, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106970 { FRVBF_INSN_TIV, model_simple_tiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106971 { FRVBF_INSN_TINV, model_simple_tinv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106972 { FRVBF_INSN_FTIRA, model_simple_ftira, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106973 { FRVBF_INSN_FTINO, model_simple_ftino, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106974 { FRVBF_INSN_FTINE, model_simple_ftine, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106975 { FRVBF_INSN_FTIEQ, model_simple_ftieq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106976 { FRVBF_INSN_FTILG, model_simple_ftilg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106977 { FRVBF_INSN_FTIUE, model_simple_ftiue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106978 { FRVBF_INSN_FTIUL, model_simple_ftiul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106979 { FRVBF_INSN_FTIGE, model_simple_ftige, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106980 { FRVBF_INSN_FTILT, model_simple_ftilt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106981 { FRVBF_INSN_FTIUGE, model_simple_ftiuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106982 { FRVBF_INSN_FTIUG, model_simple_ftiug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106983 { FRVBF_INSN_FTILE, model_simple_ftile, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106984 { FRVBF_INSN_FTIGT, model_simple_ftigt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106985 { FRVBF_INSN_FTIULE, model_simple_ftiule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106986 { FRVBF_INSN_FTIU, model_simple_ftiu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106987 { FRVBF_INSN_FTIO, model_simple_ftio, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106988 { FRVBF_INSN_BREAK, model_simple_break, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106989 { FRVBF_INSN_MTRAP, model_simple_mtrap, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106990 { FRVBF_INSN_ANDCR, model_simple_andcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106991 { FRVBF_INSN_ORCR, model_simple_orcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106992 { FRVBF_INSN_XORCR, model_simple_xorcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106993 { FRVBF_INSN_NANDCR, model_simple_nandcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106994 { FRVBF_INSN_NORCR, model_simple_norcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106995 { FRVBF_INSN_ANDNCR, model_simple_andncr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106996 { FRVBF_INSN_ORNCR, model_simple_orncr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106997 { FRVBF_INSN_NANDNCR, model_simple_nandncr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106998 { FRVBF_INSN_NORNCR, model_simple_norncr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106999 { FRVBF_INSN_NOTCR, model_simple_notcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107000 { FRVBF_INSN_CKRA, model_simple_ckra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107001 { FRVBF_INSN_CKNO, model_simple_ckno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107002 { FRVBF_INSN_CKEQ, model_simple_ckeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107003 { FRVBF_INSN_CKNE, model_simple_ckne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107004 { FRVBF_INSN_CKLE, model_simple_ckle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107005 { FRVBF_INSN_CKGT, model_simple_ckgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107006 { FRVBF_INSN_CKLT, model_simple_cklt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107007 { FRVBF_INSN_CKGE, model_simple_ckge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107008 { FRVBF_INSN_CKLS, model_simple_ckls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107009 { FRVBF_INSN_CKHI, model_simple_ckhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107010 { FRVBF_INSN_CKC, model_simple_ckc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107011 { FRVBF_INSN_CKNC, model_simple_cknc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107012 { FRVBF_INSN_CKN, model_simple_ckn, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107013 { FRVBF_INSN_CKP, model_simple_ckp, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107014 { FRVBF_INSN_CKV, model_simple_ckv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107015 { FRVBF_INSN_CKNV, model_simple_cknv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107016 { FRVBF_INSN_FCKRA, model_simple_fckra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107017 { FRVBF_INSN_FCKNO, model_simple_fckno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107018 { FRVBF_INSN_FCKNE, model_simple_fckne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107019 { FRVBF_INSN_FCKEQ, model_simple_fckeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107020 { FRVBF_INSN_FCKLG, model_simple_fcklg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107021 { FRVBF_INSN_FCKUE, model_simple_fckue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107022 { FRVBF_INSN_FCKUL, model_simple_fckul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107023 { FRVBF_INSN_FCKGE, model_simple_fckge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107024 { FRVBF_INSN_FCKLT, model_simple_fcklt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107025 { FRVBF_INSN_FCKUGE, model_simple_fckuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107026 { FRVBF_INSN_FCKUG, model_simple_fckug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107027 { FRVBF_INSN_FCKLE, model_simple_fckle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107028 { FRVBF_INSN_FCKGT, model_simple_fckgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107029 { FRVBF_INSN_FCKULE, model_simple_fckule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107030 { FRVBF_INSN_FCKU, model_simple_fcku, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107031 { FRVBF_INSN_FCKO, model_simple_fcko, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107032 { FRVBF_INSN_CCKRA, model_simple_cckra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107033 { FRVBF_INSN_CCKNO, model_simple_cckno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107034 { FRVBF_INSN_CCKEQ, model_simple_cckeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107035 { FRVBF_INSN_CCKNE, model_simple_cckne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107036 { FRVBF_INSN_CCKLE, model_simple_cckle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107037 { FRVBF_INSN_CCKGT, model_simple_cckgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107038 { FRVBF_INSN_CCKLT, model_simple_ccklt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107039 { FRVBF_INSN_CCKGE, model_simple_cckge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107040 { FRVBF_INSN_CCKLS, model_simple_cckls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107041 { FRVBF_INSN_CCKHI, model_simple_cckhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107042 { FRVBF_INSN_CCKC, model_simple_cckc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107043 { FRVBF_INSN_CCKNC, model_simple_ccknc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107044 { FRVBF_INSN_CCKN, model_simple_cckn, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107045 { FRVBF_INSN_CCKP, model_simple_cckp, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107046 { FRVBF_INSN_CCKV, model_simple_cckv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107047 { FRVBF_INSN_CCKNV, model_simple_ccknv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107048 { FRVBF_INSN_CFCKRA, model_simple_cfckra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107049 { FRVBF_INSN_CFCKNO, model_simple_cfckno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107050 { FRVBF_INSN_CFCKNE, model_simple_cfckne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107051 { FRVBF_INSN_CFCKEQ, model_simple_cfckeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107052 { FRVBF_INSN_CFCKLG, model_simple_cfcklg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107053 { FRVBF_INSN_CFCKUE, model_simple_cfckue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107054 { FRVBF_INSN_CFCKUL, model_simple_cfckul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107055 { FRVBF_INSN_CFCKGE, model_simple_cfckge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107056 { FRVBF_INSN_CFCKLT, model_simple_cfcklt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107057 { FRVBF_INSN_CFCKUGE, model_simple_cfckuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107058 { FRVBF_INSN_CFCKUG, model_simple_cfckug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107059 { FRVBF_INSN_CFCKLE, model_simple_cfckle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107060 { FRVBF_INSN_CFCKGT, model_simple_cfckgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107061 { FRVBF_INSN_CFCKULE, model_simple_cfckule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107062 { FRVBF_INSN_CFCKU, model_simple_cfcku, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107063 { FRVBF_INSN_CFCKO, model_simple_cfcko, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107064 { FRVBF_INSN_CJMPL, model_simple_cjmpl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107065 { FRVBF_INSN_CCALLL, model_simple_ccalll, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107066 { FRVBF_INSN_ICI, model_simple_ici, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107067 { FRVBF_INSN_DCI, model_simple_dci, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107068 { FRVBF_INSN_ICEI, model_simple_icei, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107069 { FRVBF_INSN_DCEI, model_simple_dcei, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107070 { FRVBF_INSN_DCF, model_simple_dcf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107071 { FRVBF_INSN_DCEF, model_simple_dcef, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107072 { FRVBF_INSN_WITLB, model_simple_witlb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107073 { FRVBF_INSN_WDTLB, model_simple_wdtlb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107074 { FRVBF_INSN_ITLBI, model_simple_itlbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107075 { FRVBF_INSN_DTLBI, model_simple_dtlbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107076 { FRVBF_INSN_ICPL, model_simple_icpl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107077 { FRVBF_INSN_DCPL, model_simple_dcpl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107078 { FRVBF_INSN_ICUL, model_simple_icul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107079 { FRVBF_INSN_DCUL, model_simple_dcul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107080 { FRVBF_INSN_BAR, model_simple_bar, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107081 { FRVBF_INSN_MEMBAR, model_simple_membar, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107082 { FRVBF_INSN_LRAI, model_simple_lrai, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107083 { FRVBF_INSN_LRAD, model_simple_lrad, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107084 { FRVBF_INSN_TLBPR, model_simple_tlbpr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107085 { FRVBF_INSN_COP1, model_simple_cop1, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107086 { FRVBF_INSN_COP2, model_simple_cop2, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107087 { FRVBF_INSN_CLRGR, model_simple_clrgr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107088 { FRVBF_INSN_CLRFR, model_simple_clrfr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107089 { FRVBF_INSN_CLRGA, model_simple_clrga, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107090 { FRVBF_INSN_CLRFA, model_simple_clrfa, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107091 { FRVBF_INSN_COMMITGR, model_simple_commitgr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107092 { FRVBF_INSN_COMMITFR, model_simple_commitfr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107093 { FRVBF_INSN_COMMITGA, model_simple_commitga, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107094 { FRVBF_INSN_COMMITFA, model_simple_commitfa, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107095 { FRVBF_INSN_FITOS, model_simple_fitos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107096 { FRVBF_INSN_FSTOI, model_simple_fstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107097 { FRVBF_INSN_FITOD, model_simple_fitod, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107098 { FRVBF_INSN_FDTOI, model_simple_fdtoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107099 { FRVBF_INSN_FDITOS, model_simple_fditos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107100 { FRVBF_INSN_FDSTOI, model_simple_fdstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107101 { FRVBF_INSN_NFDITOS, model_simple_nfditos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107102 { FRVBF_INSN_NFDSTOI, model_simple_nfdstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107103 { FRVBF_INSN_CFITOS, model_simple_cfitos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107104 { FRVBF_INSN_CFSTOI, model_simple_cfstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107105 { FRVBF_INSN_NFITOS, model_simple_nfitos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107106 { FRVBF_INSN_NFSTOI, model_simple_nfstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107107 { FRVBF_INSN_FMOVS, model_simple_fmovs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107108 { FRVBF_INSN_FMOVD, model_simple_fmovd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107109 { FRVBF_INSN_FDMOVS, model_simple_fdmovs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107110 { FRVBF_INSN_CFMOVS, model_simple_cfmovs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107111 { FRVBF_INSN_FNEGS, model_simple_fnegs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107112 { FRVBF_INSN_FNEGD, model_simple_fnegd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107113 { FRVBF_INSN_FDNEGS, model_simple_fdnegs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107114 { FRVBF_INSN_CFNEGS, model_simple_cfnegs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107115 { FRVBF_INSN_FABSS, model_simple_fabss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107116 { FRVBF_INSN_FABSD, model_simple_fabsd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107117 { FRVBF_INSN_FDABSS, model_simple_fdabss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107118 { FRVBF_INSN_CFABSS, model_simple_cfabss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107119 { FRVBF_INSN_FSQRTS, model_simple_fsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107120 { FRVBF_INSN_FDSQRTS, model_simple_fdsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107121 { FRVBF_INSN_NFDSQRTS, model_simple_nfdsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107122 { FRVBF_INSN_FSQRTD, model_simple_fsqrtd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107123 { FRVBF_INSN_CFSQRTS, model_simple_cfsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107124 { FRVBF_INSN_NFSQRTS, model_simple_nfsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107125 { FRVBF_INSN_FADDS, model_simple_fadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107126 { FRVBF_INSN_FSUBS, model_simple_fsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107127 { FRVBF_INSN_FMULS, model_simple_fmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107128 { FRVBF_INSN_FDIVS, model_simple_fdivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107129 { FRVBF_INSN_FADDD, model_simple_faddd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107130 { FRVBF_INSN_FSUBD, model_simple_fsubd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107131 { FRVBF_INSN_FMULD, model_simple_fmuld, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107132 { FRVBF_INSN_FDIVD, model_simple_fdivd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107133 { FRVBF_INSN_CFADDS, model_simple_cfadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107134 { FRVBF_INSN_CFSUBS, model_simple_cfsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107135 { FRVBF_INSN_CFMULS, model_simple_cfmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107136 { FRVBF_INSN_CFDIVS, model_simple_cfdivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107137 { FRVBF_INSN_NFADDS, model_simple_nfadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107138 { FRVBF_INSN_NFSUBS, model_simple_nfsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107139 { FRVBF_INSN_NFMULS, model_simple_nfmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107140 { FRVBF_INSN_NFDIVS, model_simple_nfdivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107141 { FRVBF_INSN_FCMPS, model_simple_fcmps, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107142 { FRVBF_INSN_FCMPD, model_simple_fcmpd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107143 { FRVBF_INSN_CFCMPS, model_simple_cfcmps, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107144 { FRVBF_INSN_FDCMPS, model_simple_fdcmps, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107145 { FRVBF_INSN_FMADDS, model_simple_fmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107146 { FRVBF_INSN_FMSUBS, model_simple_fmsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107147 { FRVBF_INSN_FMADDD, model_simple_fmaddd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107148 { FRVBF_INSN_FMSUBD, model_simple_fmsubd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107149 { FRVBF_INSN_FDMADDS, model_simple_fdmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107150 { FRVBF_INSN_NFDMADDS, model_simple_nfdmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107151 { FRVBF_INSN_CFMADDS, model_simple_cfmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107152 { FRVBF_INSN_CFMSUBS, model_simple_cfmsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107153 { FRVBF_INSN_NFMADDS, model_simple_nfmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107154 { FRVBF_INSN_NFMSUBS, model_simple_nfmsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107155 { FRVBF_INSN_FMAS, model_simple_fmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107156 { FRVBF_INSN_FMSS, model_simple_fmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107157 { FRVBF_INSN_FDMAS, model_simple_fdmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107158 { FRVBF_INSN_FDMSS, model_simple_fdmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107159 { FRVBF_INSN_NFDMAS, model_simple_nfdmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107160 { FRVBF_INSN_NFDMSS, model_simple_nfdmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107161 { FRVBF_INSN_CFMAS, model_simple_cfmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107162 { FRVBF_INSN_CFMSS, model_simple_cfmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107163 { FRVBF_INSN_FMAD, model_simple_fmad, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107164 { FRVBF_INSN_FMSD, model_simple_fmsd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107165 { FRVBF_INSN_NFMAS, model_simple_nfmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107166 { FRVBF_INSN_NFMSS, model_simple_nfmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107167 { FRVBF_INSN_FDADDS, model_simple_fdadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107168 { FRVBF_INSN_FDSUBS, model_simple_fdsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107169 { FRVBF_INSN_FDMULS, model_simple_fdmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107170 { FRVBF_INSN_FDDIVS, model_simple_fddivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107171 { FRVBF_INSN_FDSADS, model_simple_fdsads, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107172 { FRVBF_INSN_FDMULCS, model_simple_fdmulcs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107173 { FRVBF_INSN_NFDMULCS, model_simple_nfdmulcs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107174 { FRVBF_INSN_NFDADDS, model_simple_nfdadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107175 { FRVBF_INSN_NFDSUBS, model_simple_nfdsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107176 { FRVBF_INSN_NFDMULS, model_simple_nfdmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107177 { FRVBF_INSN_NFDDIVS, model_simple_nfddivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107178 { FRVBF_INSN_NFDSADS, model_simple_nfdsads, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107179 { FRVBF_INSN_NFDCMPS, model_simple_nfdcmps, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107180 { FRVBF_INSN_MHSETLOS, model_simple_mhsetlos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107181 { FRVBF_INSN_MHSETHIS, model_simple_mhsethis, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107182 { FRVBF_INSN_MHDSETS, model_simple_mhdsets, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107183 { FRVBF_INSN_MHSETLOH, model_simple_mhsetloh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107184 { FRVBF_INSN_MHSETHIH, model_simple_mhsethih, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107185 { FRVBF_INSN_MHDSETH, model_simple_mhdseth, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107186 { FRVBF_INSN_MAND, model_simple_mand, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107187 { FRVBF_INSN_MOR, model_simple_mor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107188 { FRVBF_INSN_MXOR, model_simple_mxor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107189 { FRVBF_INSN_CMAND, model_simple_cmand, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107190 { FRVBF_INSN_CMOR, model_simple_cmor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107191 { FRVBF_INSN_CMXOR, model_simple_cmxor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107192 { FRVBF_INSN_MNOT, model_simple_mnot, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107193 { FRVBF_INSN_CMNOT, model_simple_cmnot, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107194 { FRVBF_INSN_MROTLI, model_simple_mrotli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107195 { FRVBF_INSN_MROTRI, model_simple_mrotri, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107196 { FRVBF_INSN_MWCUT, model_simple_mwcut, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107197 { FRVBF_INSN_MWCUTI, model_simple_mwcuti, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107198 { FRVBF_INSN_MCUT, model_simple_mcut, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107199 { FRVBF_INSN_MCUTI, model_simple_mcuti, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107200 { FRVBF_INSN_MCUTSS, model_simple_mcutss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107201 { FRVBF_INSN_MCUTSSI, model_simple_mcutssi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107202 { FRVBF_INSN_MDCUTSSI, model_simple_mdcutssi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107203 { FRVBF_INSN_MAVEH, model_simple_maveh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107204 { FRVBF_INSN_MSLLHI, model_simple_msllhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107205 { FRVBF_INSN_MSRLHI, model_simple_msrlhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107206 { FRVBF_INSN_MSRAHI, model_simple_msrahi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107207 { FRVBF_INSN_MDROTLI, model_simple_mdrotli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107208 { FRVBF_INSN_MCPLHI, model_simple_mcplhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107209 { FRVBF_INSN_MCPLI, model_simple_mcpli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107210 { FRVBF_INSN_MSATHS, model_simple_msaths, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107211 { FRVBF_INSN_MQSATHS, model_simple_mqsaths, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107212 { FRVBF_INSN_MSATHU, model_simple_msathu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107213 { FRVBF_INSN_MCMPSH, model_simple_mcmpsh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107214 { FRVBF_INSN_MCMPUH, model_simple_mcmpuh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107215 { FRVBF_INSN_MABSHS, model_simple_mabshs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107216 { FRVBF_INSN_MADDHSS, model_simple_maddhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107217 { FRVBF_INSN_MADDHUS, model_simple_maddhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107218 { FRVBF_INSN_MSUBHSS, model_simple_msubhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107219 { FRVBF_INSN_MSUBHUS, model_simple_msubhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107220 { FRVBF_INSN_CMADDHSS, model_simple_cmaddhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107221 { FRVBF_INSN_CMADDHUS, model_simple_cmaddhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107222 { FRVBF_INSN_CMSUBHSS, model_simple_cmsubhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107223 { FRVBF_INSN_CMSUBHUS, model_simple_cmsubhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107224 { FRVBF_INSN_MQADDHSS, model_simple_mqaddhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107225 { FRVBF_INSN_MQADDHUS, model_simple_mqaddhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107226 { FRVBF_INSN_MQSUBHSS, model_simple_mqsubhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107227 { FRVBF_INSN_MQSUBHUS, model_simple_mqsubhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107228 { FRVBF_INSN_CMQADDHSS, model_simple_cmqaddhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107229 { FRVBF_INSN_CMQADDHUS, model_simple_cmqaddhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107230 { FRVBF_INSN_CMQSUBHSS, model_simple_cmqsubhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107231 { FRVBF_INSN_CMQSUBHUS, model_simple_cmqsubhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107232 { FRVBF_INSN_MQLCLRHS, model_simple_mqlclrhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107233 { FRVBF_INSN_MQLMTHS, model_simple_mqlmths, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107234 { FRVBF_INSN_MQSLLHI, model_simple_mqsllhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107235 { FRVBF_INSN_MQSRAHI, model_simple_mqsrahi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107236 { FRVBF_INSN_MADDACCS, model_simple_maddaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107237 { FRVBF_INSN_MSUBACCS, model_simple_msubaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107238 { FRVBF_INSN_MDADDACCS, model_simple_mdaddaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107239 { FRVBF_INSN_MDSUBACCS, model_simple_mdsubaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107240 { FRVBF_INSN_MASACCS, model_simple_masaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107241 { FRVBF_INSN_MDASACCS, model_simple_mdasaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107242 { FRVBF_INSN_MMULHS, model_simple_mmulhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107243 { FRVBF_INSN_MMULHU, model_simple_mmulhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107244 { FRVBF_INSN_MMULXHS, model_simple_mmulxhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107245 { FRVBF_INSN_MMULXHU, model_simple_mmulxhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107246 { FRVBF_INSN_CMMULHS, model_simple_cmmulhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107247 { FRVBF_INSN_CMMULHU, model_simple_cmmulhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107248 { FRVBF_INSN_MQMULHS, model_simple_mqmulhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107249 { FRVBF_INSN_MQMULHU, model_simple_mqmulhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107250 { FRVBF_INSN_MQMULXHS, model_simple_mqmulxhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107251 { FRVBF_INSN_MQMULXHU, model_simple_mqmulxhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107252 { FRVBF_INSN_CMQMULHS, model_simple_cmqmulhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107253 { FRVBF_INSN_CMQMULHU, model_simple_cmqmulhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107254 { FRVBF_INSN_MMACHS, model_simple_mmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107255 { FRVBF_INSN_MMACHU, model_simple_mmachu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107256 { FRVBF_INSN_MMRDHS, model_simple_mmrdhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107257 { FRVBF_INSN_MMRDHU, model_simple_mmrdhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107258 { FRVBF_INSN_CMMACHS, model_simple_cmmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107259 { FRVBF_INSN_CMMACHU, model_simple_cmmachu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107260 { FRVBF_INSN_MQMACHS, model_simple_mqmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107261 { FRVBF_INSN_MQMACHU, model_simple_mqmachu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107262 { FRVBF_INSN_CMQMACHS, model_simple_cmqmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107263 { FRVBF_INSN_CMQMACHU, model_simple_cmqmachu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107264 { FRVBF_INSN_MQXMACHS, model_simple_mqxmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107265 { FRVBF_INSN_MQXMACXHS, model_simple_mqxmacxhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107266 { FRVBF_INSN_MQMACXHS, model_simple_mqmacxhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107267 { FRVBF_INSN_MCPXRS, model_simple_mcpxrs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107268 { FRVBF_INSN_MCPXRU, model_simple_mcpxru, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107269 { FRVBF_INSN_MCPXIS, model_simple_mcpxis, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107270 { FRVBF_INSN_MCPXIU, model_simple_mcpxiu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107271 { FRVBF_INSN_CMCPXRS, model_simple_cmcpxrs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107272 { FRVBF_INSN_CMCPXRU, model_simple_cmcpxru, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107273 { FRVBF_INSN_CMCPXIS, model_simple_cmcpxis, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107274 { FRVBF_INSN_CMCPXIU, model_simple_cmcpxiu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107275 { FRVBF_INSN_MQCPXRS, model_simple_mqcpxrs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107276 { FRVBF_INSN_MQCPXRU, model_simple_mqcpxru, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107277 { FRVBF_INSN_MQCPXIS, model_simple_mqcpxis, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107278 { FRVBF_INSN_MQCPXIU, model_simple_mqcpxiu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107279 { FRVBF_INSN_MEXPDHW, model_simple_mexpdhw, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107280 { FRVBF_INSN_CMEXPDHW, model_simple_cmexpdhw, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107281 { FRVBF_INSN_MEXPDHD, model_simple_mexpdhd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107282 { FRVBF_INSN_CMEXPDHD, model_simple_cmexpdhd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107283 { FRVBF_INSN_MPACKH, model_simple_mpackh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107284 { FRVBF_INSN_MDPACKH, model_simple_mdpackh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107285 { FRVBF_INSN_MUNPACKH, model_simple_munpackh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107286 { FRVBF_INSN_MDUNPACKH, model_simple_mdunpackh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107287 { FRVBF_INSN_MBTOH, model_simple_mbtoh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107288 { FRVBF_INSN_CMBTOH, model_simple_cmbtoh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107289 { FRVBF_INSN_MHTOB, model_simple_mhtob, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107290 { FRVBF_INSN_CMHTOB, model_simple_cmhtob, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107291 { FRVBF_INSN_MBTOHE, model_simple_mbtohe, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107292 { FRVBF_INSN_CMBTOHE, model_simple_cmbtohe, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107293 { FRVBF_INSN_MNOP, model_simple_mnop, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107294 { FRVBF_INSN_MCLRACC_0, model_simple_mclracc_0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107295 { FRVBF_INSN_MCLRACC_1, model_simple_mclracc_1, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107296 { FRVBF_INSN_MRDACC, model_simple_mrdacc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107297 { FRVBF_INSN_MRDACCG, model_simple_mrdaccg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107298 { FRVBF_INSN_MWTACC, model_simple_mwtacc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107299 { FRVBF_INSN_MWTACCG, model_simple_mwtaccg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107300 { FRVBF_INSN_MCOP1, model_simple_mcop1, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107301 { FRVBF_INSN_MCOP2, model_simple_mcop2, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107302 { FRVBF_INSN_FNOP, model_simple_fnop, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107305 #endif /* WITH_PROFILE_MODEL_P */
107307 static void
107308 frv_model_init (SIM_CPU *cpu)
107310 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FRV_DATA));
107313 static void
107314 fr550_model_init (SIM_CPU *cpu)
107316 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR550_DATA));
107319 static void
107320 fr500_model_init (SIM_CPU *cpu)
107322 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR500_DATA));
107325 static void
107326 tomcat_model_init (SIM_CPU *cpu)
107328 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_TOMCAT_DATA));
107331 static void
107332 fr400_model_init (SIM_CPU *cpu)
107334 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR400_DATA));
107337 static void
107338 fr450_model_init (SIM_CPU *cpu)
107340 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR450_DATA));
107343 static void
107344 simple_model_init (SIM_CPU *cpu)
107346 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_SIMPLE_DATA));
107349 #if WITH_PROFILE_MODEL_P
107350 #define TIMING_DATA(td) td
107351 #else
107352 #define TIMING_DATA(td) 0
107353 #endif
107355 static const SIM_MODEL frv_models[] =
107357 { "frv", & frv_mach, MODEL_FRV, TIMING_DATA (& frv_timing[0]), frv_model_init },
107358 { 0 }
107361 static const SIM_MODEL fr550_models[] =
107363 { "fr550", & fr550_mach, MODEL_FR550, TIMING_DATA (& fr550_timing[0]), fr550_model_init },
107364 { 0 }
107367 static const SIM_MODEL fr500_models[] =
107369 { "fr500", & fr500_mach, MODEL_FR500, TIMING_DATA (& fr500_timing[0]), fr500_model_init },
107370 { 0 }
107373 static const SIM_MODEL tomcat_models[] =
107375 { "tomcat", & tomcat_mach, MODEL_TOMCAT, TIMING_DATA (& tomcat_timing[0]), tomcat_model_init },
107376 { 0 }
107379 static const SIM_MODEL fr400_models[] =
107381 { "fr400", & fr400_mach, MODEL_FR400, TIMING_DATA (& fr400_timing[0]), fr400_model_init },
107382 { 0 }
107385 static const SIM_MODEL fr450_models[] =
107387 { "fr450", & fr450_mach, MODEL_FR450, TIMING_DATA (& fr450_timing[0]), fr450_model_init },
107388 { 0 }
107391 static const SIM_MODEL simple_models[] =
107393 { "simple", & simple_mach, MODEL_SIMPLE, TIMING_DATA (& simple_timing[0]), simple_model_init },
107394 { 0 }
107397 /* The properties of this cpu's implementation. */
107399 static const SIM_MACH_IMP_PROPERTIES frvbf_imp_properties =
107401 sizeof (SIM_CPU),
107402 #if WITH_SCACHE
107403 sizeof (SCACHE)
107404 #else
107406 #endif
107410 static void
107411 frvbf_prepare_run (SIM_CPU *cpu)
107413 if (CPU_IDESC (cpu) == NULL)
107414 frvbf_init_idesc_table (cpu);
107417 static const CGEN_INSN *
107418 frvbf_get_idata (SIM_CPU *cpu, int inum)
107420 return CPU_IDESC (cpu) [inum].idata;
107423 static void
107424 frv_init_cpu (SIM_CPU *cpu)
107426 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107427 CPU_REG_STORE (cpu) = frvbf_store_register;
107428 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107429 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107430 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107431 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107432 CPU_INSN_NAME (cpu) = cgen_insn_name;
107433 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107434 #if WITH_FAST
107435 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107436 #else
107437 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107438 #endif
107441 const SIM_MACH frv_mach =
107443 "frv", "frv", MACH_FRV,
107444 32, 32, & frv_models[0], & frvbf_imp_properties,
107445 frv_init_cpu,
107446 frvbf_prepare_run
107449 static void
107450 fr550_init_cpu (SIM_CPU *cpu)
107452 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107453 CPU_REG_STORE (cpu) = frvbf_store_register;
107454 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107455 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107456 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107457 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107458 CPU_INSN_NAME (cpu) = cgen_insn_name;
107459 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107460 #if WITH_FAST
107461 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107462 #else
107463 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107464 #endif
107467 const SIM_MACH fr550_mach =
107469 "fr550", "fr550", MACH_FR550,
107470 32, 32, & fr550_models[0], & frvbf_imp_properties,
107471 fr550_init_cpu,
107472 frvbf_prepare_run
107475 static void
107476 fr500_init_cpu (SIM_CPU *cpu)
107478 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107479 CPU_REG_STORE (cpu) = frvbf_store_register;
107480 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107481 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107482 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107483 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107484 CPU_INSN_NAME (cpu) = cgen_insn_name;
107485 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107486 #if WITH_FAST
107487 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107488 #else
107489 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107490 #endif
107493 const SIM_MACH fr500_mach =
107495 "fr500", "fr500", MACH_FR500,
107496 32, 32, & fr500_models[0], & frvbf_imp_properties,
107497 fr500_init_cpu,
107498 frvbf_prepare_run
107501 static void
107502 tomcat_init_cpu (SIM_CPU *cpu)
107504 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107505 CPU_REG_STORE (cpu) = frvbf_store_register;
107506 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107507 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107508 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107509 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107510 CPU_INSN_NAME (cpu) = cgen_insn_name;
107511 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107512 #if WITH_FAST
107513 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107514 #else
107515 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107516 #endif
107519 const SIM_MACH tomcat_mach =
107521 "tomcat", "tomcat", MACH_TOMCAT,
107522 32, 32, & tomcat_models[0], & frvbf_imp_properties,
107523 tomcat_init_cpu,
107524 frvbf_prepare_run
107527 static void
107528 fr400_init_cpu (SIM_CPU *cpu)
107530 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107531 CPU_REG_STORE (cpu) = frvbf_store_register;
107532 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107533 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107534 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107535 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107536 CPU_INSN_NAME (cpu) = cgen_insn_name;
107537 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107538 #if WITH_FAST
107539 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107540 #else
107541 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107542 #endif
107545 const SIM_MACH fr400_mach =
107547 "fr400", "fr400", MACH_FR400,
107548 32, 32, & fr400_models[0], & frvbf_imp_properties,
107549 fr400_init_cpu,
107550 frvbf_prepare_run
107553 static void
107554 fr450_init_cpu (SIM_CPU *cpu)
107556 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107557 CPU_REG_STORE (cpu) = frvbf_store_register;
107558 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107559 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107560 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107561 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107562 CPU_INSN_NAME (cpu) = cgen_insn_name;
107563 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107564 #if WITH_FAST
107565 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107566 #else
107567 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107568 #endif
107571 const SIM_MACH fr450_mach =
107573 "fr450", "fr450", MACH_FR450,
107574 32, 32, & fr450_models[0], & frvbf_imp_properties,
107575 fr450_init_cpu,
107576 frvbf_prepare_run
107579 static void
107580 simple_init_cpu (SIM_CPU *cpu)
107582 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107583 CPU_REG_STORE (cpu) = frvbf_store_register;
107584 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107585 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107586 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107587 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107588 CPU_INSN_NAME (cpu) = cgen_insn_name;
107589 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107590 #if WITH_FAST
107591 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107592 #else
107593 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107594 #endif
107597 const SIM_MACH simple_mach =
107599 "simple", "simple", MACH_SIMPLE,
107600 32, 32, & simple_models[0], & frvbf_imp_properties,
107601 simple_init_cpu,
107602 frvbf_prepare_run